refactor: history

This commit is contained in:
xiaojunnuo
2022-10-30 01:13:08 +08:00
parent dcdb25d92d
commit 909b75eb40
5 changed files with 67 additions and 57 deletions
+2 -3
View File
@@ -57,14 +57,13 @@ export type Trigger = {
export type Runnable = {
id: string;
title: string;
status?: string;
lastTime?: number;
strategy?: RunnableStrategy;
runnableType?: string; // pipeline, stage, task , step
status?: HistoryResult;
};
export type Pipeline = Runnable & {
version: number;
version?: number;
stages: Stage[];
triggers: Trigger[];
};