refactor(core): Break up more code in the execution engine, and add tests (no-changelog) (#12320)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-12-20 14:40:06 +01:00
committed by GitHub
parent 2f21404987
commit a8dd35b0f0
20 changed files with 1492 additions and 764 deletions

View File

@@ -1992,7 +1992,28 @@ export interface IWorkflowDataProxyData {
constructor: any;
}
export type IWorkflowDataProxyAdditionalKeys = IDataObject;
export type IWorkflowDataProxyAdditionalKeys = IDataObject & {
$execution?: {
id: string;
mode: 'test' | 'production';
resumeUrl: string;
resumeFormUrl: string;
customData?: {
set(key: string, value: string): void;
setAll(obj: Record<string, string>): void;
get(key: string): string;
getAll(): Record<string, string>;
};
};
$vars?: IDataObject;
$secrets?: IDataObject;
$pageCount?: number;
/** @deprecated */
$executionId?: string;
/** @deprecated */
$resumeWebhookUrl?: string;
};
export interface IWorkflowMetadata {
id?: string;