n8n-workflow
Advanced tools
Comparing version 0.145.0 to 0.146.0
@@ -424,2 +424,3 @@ /// <reference types="node" /> | ||
getCredentials(type: string, itemIndex?: number): Promise<ICredentialDataDecryptedObject>; | ||
getExecutionId(): string; | ||
getNode(): INode; | ||
@@ -926,2 +927,3 @@ getWorkflow(): IWorkflowMetadata; | ||
actions?: INodeActionTypeDescription[]; | ||
__loadOptionsMethods?: string[]; | ||
} | ||
@@ -953,17 +955,25 @@ export interface INodeHookDescription { | ||
} | ||
export interface ProxyInput { | ||
all: () => INodeExecutionData[]; | ||
context: any; | ||
first: () => INodeExecutionData | undefined; | ||
item: INodeExecutionData | undefined; | ||
last: () => INodeExecutionData | undefined; | ||
params?: INodeParameters; | ||
} | ||
export interface IWorkflowDataProxyData { | ||
[key: string]: any; | ||
$binary: any; | ||
$binary: INodeExecutionData['binary']; | ||
$data: any; | ||
$env: any; | ||
$evaluateExpression: any; | ||
$item: any; | ||
$items: any; | ||
$json: any; | ||
$evaluateExpression: (expression: string, itemIndex?: number) => NodeParameterValueType; | ||
$item: (itemIndex: number, runIndex?: number) => IWorkflowDataProxyData; | ||
$items: (nodeName?: string, outputIndex?: number, runIndex?: number) => INodeExecutionData[]; | ||
$json: INodeExecutionData['json']; | ||
$node: any; | ||
$parameter: any; | ||
$position: any; | ||
$parameter: INodeParameters; | ||
$position: number; | ||
$workflow: any; | ||
$: any; | ||
$input: any; | ||
$input: ProxyInput; | ||
$thisItem: any; | ||
@@ -1134,2 +1144,3 @@ $thisRunIndex: number; | ||
userId: string; | ||
variables: IDataObject; | ||
} | ||
@@ -1136,0 +1147,0 @@ export type WorkflowExecuteMode = 'cli' | 'error' | 'integrated' | 'internal' | 'manual' | 'retry' | 'trigger' | 'webhook'; |
@@ -471,8 +471,5 @@ "use strict"; | ||
} | ||
const previousNodeHasPinData = sourceData && this.workflow.getPinDataOfNode(sourceData.previousNode) !== undefined; | ||
let currentPairedItem = pairedItem; | ||
let nodeBeforeLast; | ||
while (!previousNodeHasPinData && | ||
sourceData !== null && | ||
destinationNodeName !== sourceData.previousNode) { | ||
while (sourceData !== null && destinationNodeName !== sourceData.previousNode) { | ||
taskData = | ||
@@ -479,0 +476,0 @@ that.runExecutionData.resultData.runData[sourceData.previousNode][(sourceData === null || sourceData === void 0 ? void 0 : sourceData.previousNodeRun) || 0]; |
{ | ||
"name": "n8n-workflow", | ||
"version": "0.145.0", | ||
"version": "0.146.0", | ||
"description": "Workflow base code of n8n", | ||
@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE.md", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
642959
8714