mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
⚡ Add additional external hooks and provide additional data
This commit is contained in:
@@ -188,9 +188,13 @@ export interface IExecutingWorkflowData {
|
||||
workflowExecution?: PCancelable<IRun>;
|
||||
}
|
||||
|
||||
export interface IExternalHookFunctions {
|
||||
DbCollections: IDatabaseCollections;
|
||||
}
|
||||
|
||||
export interface IExternalHooks {
|
||||
init(): Promise<void>;
|
||||
run(hookName: string): Promise<void>;
|
||||
run(hookName: string, hookParameters?: any[]): Promise<void>; // tslint:disable-line:no-any
|
||||
}
|
||||
|
||||
export interface IN8nConfig {
|
||||
|
||||
Reference in New Issue
Block a user