mirror of
https://github.com/hexastack/hexabot
synced 2025-02-23 12:59:14 +00:00
Merge pull request #465 from Hexastack/455-issue-event-emitter-custom-custom-hooks-are-missing-select-all-selector
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker NLU Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker NLU Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
fix(api): add select all selector to the custom events
This commit is contained in:
commit
5030bc1f79
3
api/types/event-emitter.d.ts
vendored
3
api/types/event-emitter.d.ts
vendored
@ -314,7 +314,8 @@ declare module '@nestjs/event-emitter' {
|
||||
: false;
|
||||
|
||||
type TCustomEvents<G extends keyof IHookEntityOperationMap> =
|
||||
keyof IHookEntityOperationMap[G]['operations'];
|
||||
| '*'
|
||||
| keyof IHookEntityOperationMap[G]['operations'];
|
||||
|
||||
type TNormalizedOrCustomized<G> = G extends IHookEntities
|
||||
? TNormalizedEvents | TCustomEvents<G>
|
||||
|
Loading…
Reference in New Issue
Block a user