mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -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
|
$json: any; // tslint:disable-line:no-any
|
||||||
$node: any; // tslint:disable-line:no-any
|
$node: any; // tslint:disable-line:no-any
|
||||||
$parameter: 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
|
$workflow: any; // tslint:disable-line:no-any
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -395,6 +395,7 @@ export class WorkflowDataProxy {
|
||||||
$node: this.nodeGetter(),
|
$node: this.nodeGetter(),
|
||||||
$self: this.selfGetter(),
|
$self: this.selfGetter(),
|
||||||
$parameter: this.nodeParameterGetter(this.activeNodeName),
|
$parameter: this.nodeParameterGetter(this.activeNodeName),
|
||||||
|
$position: this.itemIndex,
|
||||||
$runIndex: this.runIndex,
|
$runIndex: this.runIndex,
|
||||||
$mode: this.mode,
|
$mode: this.mode,
|
||||||
$workflow: this.workflowGetter(),
|
$workflow: this.workflowGetter(),
|
||||||
|
|
Loading…
Reference in a new issue