mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
⚡️ Add expression position variable (#2024)
This commit is contained in:
parent
47eb2c73ca
commit
34c1123636
|
@ -608,6 +608,7 @@ export interface IWorkflowDataProxyData {
|
|||
$json: any; // tslint:disable-line:no-any
|
||||
$node: any; // tslint:disable-line:no-any
|
||||
$parameter: any; // tslint:disable-line:no-any
|
||||
$position: any; // tslint:disable-line:no-any
|
||||
$workflow: any; // tslint:disable-line:no-any
|
||||
}
|
||||
|
||||
|
|
|
@ -395,6 +395,7 @@ export class WorkflowDataProxy {
|
|||
$node: this.nodeGetter(),
|
||||
$self: this.selfGetter(),
|
||||
$parameter: this.nodeParameterGetter(this.activeNodeName),
|
||||
$position: this.itemIndex,
|
||||
$runIndex: this.runIndex,
|
||||
$mode: this.mode,
|
||||
$workflow: this.workflowGetter(),
|
||||
|
|
Loading…
Reference in a new issue