UNPKG

n8n

Version:

n8n Workflow Automation Tool

8 lines (7 loc) 724 B
import type { IDataObject, INode, IRun, ITaskData, NodeApiError, WorkflowExecuteMode, WorkflowOperationError, NodeOperationError } from 'n8n-workflow'; import type { WorkflowEntity } from './databases/entities/workflow-entity'; 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 getVariables(): Promise<IDataObject>;