mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(core): Move more code out of NodeExecutionFunctions, and add unit tests (no-changelog) (#13131)
This commit is contained in:
committed by
GitHub
parent
ccdca6b39f
commit
4577ce0846
@@ -398,26 +398,6 @@ export interface INodeTypeNameVersion {
|
||||
version: number;
|
||||
}
|
||||
|
||||
export interface IGetExecutePollFunctions {
|
||||
(
|
||||
workflow: Workflow,
|
||||
node: INode,
|
||||
additionalData: IWorkflowExecuteAdditionalData,
|
||||
mode: WorkflowExecuteMode,
|
||||
activation: WorkflowActivateMode,
|
||||
): IPollFunctions;
|
||||
}
|
||||
|
||||
export interface IGetExecuteTriggerFunctions {
|
||||
(
|
||||
workflow: Workflow,
|
||||
node: INode,
|
||||
additionalData: IWorkflowExecuteAdditionalData,
|
||||
mode: WorkflowExecuteMode,
|
||||
activation: WorkflowActivateMode,
|
||||
): ITriggerFunctions;
|
||||
}
|
||||
|
||||
export interface IRunNodeResponse {
|
||||
data: INodeExecutionData[][] | NodeExecutionOutput | null | undefined;
|
||||
closeFunction?: CloseFunction;
|
||||
@@ -759,7 +739,7 @@ export interface DeduplicationHelperFunctions {
|
||||
options: ICheckProcessedOptions,
|
||||
): Promise<number>;
|
||||
}
|
||||
export interface NodeHelperFunctions {
|
||||
interface NodeHelperFunctions {
|
||||
copyBinaryFile(filePath: string, fileName: string, mimeType?: string): Promise<IBinaryData>;
|
||||
}
|
||||
|
||||
@@ -1196,11 +1176,6 @@ export interface INodeExecutionData {
|
||||
index?: number;
|
||||
}
|
||||
|
||||
export interface INodeExecuteFunctions {
|
||||
getExecutePollFunctions: IGetExecutePollFunctions;
|
||||
getExecuteTriggerFunctions: IGetExecuteTriggerFunctions;
|
||||
}
|
||||
|
||||
export type NodeParameterValue = string | number | boolean | undefined | null;
|
||||
|
||||
export type ResourceLocatorModes = 'id' | 'url' | 'list' | string;
|
||||
|
||||
Reference in New Issue
Block a user