feat(product, types, modules-sdk): added event bus events for products (#4654)
what: - adds an eventbus dependency to product module. - emits events on product, category and collection CUD RESOLVES CORE-1450
This commit is contained in:
1 parent
43f34866c8
commit
8af55aed87
16 files changed
+616
-23
No files matched your search
@@ -4,7 +4,7 @@ export interface IEventBusModuleService {
|
||||
emit<T>(
|
||||
eventName: string,
|
||||
data: T,
|
||||
options: Record<string, unknown>
|
||||
options?: Record<string, unknown>
|
||||
): Promise<void>
|
||||
emit<T>(data: EmitData<T>[]): Promise<void>
|
||||
|
||||
|
||||
Reference in new issue
Block a user