feat(core): Expose item index being processed (#3590)

* 🧑‍💻 Expose item index being processed

*  Fix tests for getCurrentItemIndex

*  Fix tests for getCurrentItemIndex

*  Rename method

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
brianinoa
2022-06-27 00:52:37 +02:00
committed by GitHub
parent 23eba33613
commit 1e4fd9e4df
4 changed files with 197 additions and 0 deletions

View File

@@ -566,6 +566,7 @@ export interface IExecuteSingleFunctions {
getContext(type: string): IContextObject;
getCredentials(type: string): Promise<ICredentialDataDecryptedObject>;
getInputData(inputIndex?: number, inputName?: string): INodeExecutionData;
getItemIndex(): number;
getMode(): WorkflowExecuteMode;
getNode(): INode;
getNodeParameter(