From d6157117286a8cd7b286f960e88f20c67e43d708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Mon, 17 Jun 2024 13:00:04 +0200 Subject: [PATCH] refactor(core): Remove unused execution status `warning` (no-changelog) (#9759) --- packages/cli/src/types/commands.types.ts | 4 ++-- packages/workflow/src/ExecutionStatus.ts | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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];