fix: add select all selector to the custom events

This commit is contained in:
yassinedorbozgithub 2024-12-18 15:22:25 +01:00
parent 84f25ecfb1
commit e523676147

View File

@ -314,7 +314,8 @@ declare module '@nestjs/event-emitter' {
: false; : false;
type TCustomEvents<G extends keyof IHookEntityOperationMap> = type TCustomEvents<G extends keyof IHookEntityOperationMap> =
keyof IHookEntityOperationMap[G]['operations']; | '*'
| keyof IHookEntityOperationMap[G]['operations'];
type TNormalizedOrCustomized<G> = G extends IHookEntities type TNormalizedOrCustomized<G> = G extends IHookEntities
? TNormalizedEvents | TCustomEvents<G> ? TNormalizedEvents | TCustomEvents<G>