feat: Add support for exporting products in backend (#8214)
CLOSES CC-221 CLOSES CC-223 CLOSES CC-224
This commit is contained in:
15
packages/modules/notification/src/utils/events.ts
Normal file
15
packages/modules/notification/src/utils/events.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import {
|
||||
CommonEvents,
|
||||
eventBuilderFactory,
|
||||
Modules,
|
||||
NotificationEvents,
|
||||
} from "@medusajs/utils"
|
||||
|
||||
export const eventBuilders = {
|
||||
createdNotification: eventBuilderFactory({
|
||||
source: Modules.NOTIFICATION,
|
||||
action: CommonEvents.CREATED,
|
||||
object: "notification",
|
||||
eventsEnum: NotificationEvents,
|
||||
}),
|
||||
}
|
||||
1
packages/modules/notification/src/utils/index.ts
Normal file
1
packages/modules/notification/src/utils/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./events"
|
||||
Reference in New Issue
Block a user