Make it possible to supply hook data with reload

This commit is contained in:
Jan Oberhauser
2020-12-30 11:45:29 +01:00
parent 8ada4534ec
commit ed1f29feba
2 changed files with 32 additions and 16 deletions

View File

@@ -219,6 +219,12 @@ export interface IExternalHooks {
};
}
export interface IExternalHooksFileData {
[key: string]: {
[key: string]: Array<(...args: any[]) => Promise<void>>; //tslint:disable-line:no-any
};
}
export interface IExternalHooksFunctions {
dbCollections: IDatabaseCollections;
}