diff --git a/packages/cli/src/types/commands.types.ts b/packages/cli/src/types/commands.types.ts index 80e556ee62..483fc9ee42 100644 --- a/packages/cli/src/types/commands.types.ts +++ b/packages/cli/src/types/commands.types.ts @@ -21,7 +21,7 @@ export interface IExecutionResult { workflowName: string; executionTime: number; // Given in seconds with decimals for milliseconds finished: boolean; - executionStatus: ExecutionStatus; + executionStatus: ExecutionStatus | 'warning'; error?: string; changes?: object; coveredNodes: { @@ -36,7 +36,7 @@ interface IExecutionError { export interface IWorkflowExecutionProgress { workflowId: string; - status: ExecutionStatus; + status: ExecutionStatus | 'warning'; } export interface INodeSpecialCases { diff --git a/packages/workflow/src/ExecutionStatus.ts b/packages/workflow/src/ExecutionStatus.ts index 24fbdbf1ed..b56558ad49 100644 --- a/packages/workflow/src/ExecutionStatus.ts +++ b/packages/workflow/src/ExecutionStatus.ts @@ -7,7 +7,6 @@ export const ExecutionStatusList = [ 'success', 'unknown', 'waiting', - 'warning', ] as const; export type ExecutionStatus = (typeof ExecutionStatusList)[number];