mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: rename hooks enum
This commit is contained in:
4
api/types/event-emitter.d.ts
vendored
4
api/types/event-emitter.d.ts
vendored
@@ -247,7 +247,7 @@ declare module '@nestjs/event-emitter' {
|
||||
T = IHookEntityOperationMap[E]['schema'],
|
||||
> =
|
||||
| {
|
||||
[EHook.preValidate]: TPreValidate<T>;
|
||||
[EHook.preCreateValidate]: TPreValidate<T>;
|
||||
}
|
||||
| {
|
||||
[EHook.preCreate]: TPreCreate<T>;
|
||||
@@ -259,7 +259,7 @@ declare module '@nestjs/event-emitter' {
|
||||
[EHook.preDelete]: TPreDelete<T>;
|
||||
}
|
||||
| {
|
||||
[EHook.postValidate]: TPostValidate<T>;
|
||||
[EHook.postCreateValidate]: TPostValidate<T>;
|
||||
}
|
||||
| {
|
||||
[EHook.postCreate]: TPostCreate<T>;
|
||||
|
||||
Reference in New Issue
Block a user