n8n
Version:
n8n Workflow Automation Tool
16 lines (15 loc) • 727 B
TypeScript
import type { ExecutionDataStorageLocation } from '@n8n/db';
import type { IWorkflowBase } from 'n8n-workflow';
export type BlobStorageLocation = Exclude<ExecutionDataStorageLocation, 'db'>;
export type ExecutionRef = {
workflowId: string;
executionId: string;
};
export declare function createExecutionRef(workflowId: string, executionId: string): ExecutionRef;
export type WorkflowSnapshot = Pick<IWorkflowBase, 'id' | 'name' | 'nodes' | 'connections' | 'settings' | 'nodeGroups'>;
export type ExecutionDataPayload = {
data: string;
workflowData: WorkflowSnapshot;
workflowVersionId: string | null;
};
export type BundleWorkflowSnapshot = Pick<ExecutionDataPayload, 'workflowData' | 'workflowVersionId'>;