refactor: fix bugs

This commit is contained in:
xiaojunnuo
2022-10-31 15:01:50 +08:00
parent 146ac49703
commit 6094a4af79
7 changed files with 41 additions and 16 deletions
@@ -52,6 +52,7 @@ export type Trigger = {
id: string;
title: string;
cron: string;
type: string;
};
export type Runnable = {
@@ -60,6 +61,9 @@ export type Runnable = {
strategy?: RunnableStrategy;
runnableType?: string; // pipeline, stage, task , step
status?: HistoryResult;
default?: {
[key: string]: any;
};
};
export type Pipeline = Runnable & {