n8n
Version:
n8n Workflow Automation Tool
10 lines (9 loc) • 923 B
TypeScript
import type { IDataObject, INode, IRun, ITaskData, NodeApiError, WorkflowExecuteMode, WorkflowOperationError, Workflow, NodeOperationError } from 'n8n-workflow';
import type { IWorkflowExecutionDataProcess } from './Interfaces';
import type { WorkflowEntity } from './databases/entities/WorkflowEntity';
export declare function generateFailedExecutionFromError(mode: WorkflowExecuteMode, error: NodeApiError | NodeOperationError | WorkflowOperationError, node: INode): IRun;
export declare function getDataLastExecutedNodeData(inputData: IRun): ITaskData | undefined;
export declare function addNodeIds(workflow: WorkflowEntity): void;
export declare function replaceInvalidCredentials(workflow: WorkflowEntity): Promise<WorkflowEntity>;
export declare function getExecutionStartNode(data: IWorkflowExecutionDataProcess, workflow: Workflow): INode | undefined;
export declare function getVariables(): Promise<IDataObject>;