fix: Add only necessary information to executions (no-changelog) (#6916)

* fix: Add only necessary information to executions

* Fix lint

* fix: lint issue

---------

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
Omar Ajoue
2023-08-14 09:44:04 +02:00
committed by GitHub
parent 808a92809e
commit 139e08a549
2 changed files with 13 additions and 3 deletions

View File

@@ -61,6 +61,7 @@ import type {
WorkflowTagMappingRepository,
} from '@db/repositories';
import type { LICENSE_FEATURES, LICENSE_QUOTAS } from './constants';
import type { WorkflowWithSharingsAndCredentials } from './workflows/workflows.types';
export interface IActivationError {
time: number;
@@ -194,7 +195,7 @@ export interface IExecutionResponse extends IExecutionBase {
retryOf?: string;
retrySuccessId?: string;
waitTill?: Date | null;
workflowData: IWorkflowBase;
workflowData: IWorkflowBase | WorkflowWithSharingsAndCredentials;
}
// Flatted data to save memory when saving in database or transferring