Add first basic code for external hooks

This commit is contained in:
Jan Oberhauser
2020-05-04 08:56:01 +02:00
parent 582ff76799
commit a380a9a394
7 changed files with 126 additions and 0 deletions

View File

@@ -188,6 +188,11 @@ export interface IExecutingWorkflowData {
workflowExecution?: PCancelable<IRun>;
}
export interface IExternalHooks {
init(): Promise<void>;
run(hookName: string): Promise<void>;
}
export interface IN8nConfig {
database: IN8nConfigDatabase;
endpoints: IN8nConfigEndpoints;