hookFunctionsPreExecute -> hookFunctionsSaveProgress

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2025-01-30 13:48:10 +01:00
parent 793ef7a24f
commit e4ee65fdc5
No known key found for this signature in database

View file

@ -212,7 +212,7 @@ function hookFunctionsExternalHooks(): IWorkflowExecuteHooks {
}; };
} }
function hookFunctionsPreExecute(): IWorkflowExecuteHooks { function hookFunctionsSaveProgress(): IWorkflowExecuteHooks {
return { return {
nodeExecuteAfter: [ nodeExecuteAfter: [
async function ( async function (
@ -477,7 +477,7 @@ export function getWorkflowHooksIntegrated(
hookFunctionsNodeEvents(), hookFunctionsNodeEvents(),
hookFunctionsFinalizeExecutionStatus(), hookFunctionsFinalizeExecutionStatus(),
hookFunctionsSave(), hookFunctionsSave(),
hookFunctionsPreExecute(), hookFunctionsSaveProgress(),
hookFunctionsExternalHooks(), hookFunctionsExternalHooks(),
); );
return new WorkflowHooks(hookFunctions, mode, executionId, workflowData); return new WorkflowHooks(hookFunctions, mode, executionId, workflowData);
@ -496,7 +496,7 @@ export function getWorkflowHooksWorkerExecuter(
hookFunctionsNodeEvents(), hookFunctionsNodeEvents(),
hookFunctionsFinalizeExecutionStatus(), hookFunctionsFinalizeExecutionStatus(),
hookFunctionsSaveWorker(), hookFunctionsSaveWorker(),
hookFunctionsPreExecute(), hookFunctionsSaveProgress(),
hookFunctionsExternalHooks(), hookFunctionsExternalHooks(),
]; ];
@ -520,7 +520,7 @@ export function getWorkflowHooksWorkerMain(
const executionRepository = Container.get(ExecutionRepository); const executionRepository = Container.get(ExecutionRepository);
const hookFunctions = mergeHookFunctions( const hookFunctions = mergeHookFunctions(
hookFunctionsWorkflowEvents(), hookFunctionsWorkflowEvents(),
hookFunctionsPreExecute(), hookFunctionsSaveProgress(),
hookFunctionsExternalHooks(), hookFunctionsExternalHooks(),
hookFunctionsFinalizeExecutionStatus(), hookFunctionsFinalizeExecutionStatus(),
{ {
@ -585,7 +585,7 @@ export function getWorkflowHooksMain(
hookFunctionsFinalizeExecutionStatus(), hookFunctionsFinalizeExecutionStatus(),
hookFunctionsSave(), hookFunctionsSave(),
hookFunctionsPush(), hookFunctionsPush(),
hookFunctionsPreExecute(), hookFunctionsSaveProgress(),
hookFunctionsExternalHooks(), hookFunctionsExternalHooks(),
); );
return new WorkflowHooks(hookFunctions, data.executionMode, executionId, data.workflowData, { return new WorkflowHooks(hookFunctions, data.executionMode, executionId, data.workflowData, {