|
1
|
// TODO: Comment temporarely and we will re enable it in the near future #14478 |
|
2
|
// import { EventOptions } from "@medusajs/types" |
|
3
|
import { buildEventNamesFromEntityName } from "../event-bus" |
|
4
|
import { Modules } from "../modules-sdk" |
|
5
|
|
|
6
|
const eventBaseNames: ["notification"] = ["notification"] |
|
7
|
|
|
8
|
export const NotificationEvents = buildEventNamesFromEntityName( |
|
9
|
eventBaseNames, |
|
10
|
Modules.NOTIFICATION |
|
11
|
) |
|
12
|
|
|
13
|
// TODO: Comment temporarely and we will re enable it in the near future #14478 |
|
14
|
// declare module "@medusajs/types" { |
|
15
|
// export interface EventBusEventsOptions { |
|
16
|
// // Notification events |
|
17
|
// [NotificationEvents.NOTIFICATION_CREATED]?: EventOptions |
|
18
|
// [NotificationEvents.NOTIFICATION_UPDATED]?: EventOptions |
|
19
|
// [NotificationEvents.NOTIFICATION_DELETED]?: EventOptions |
|
20
|
// [NotificationEvents.NOTIFICATION_RESTORED]?: EventOptions |
|
21
|
// [NotificationEvents.NOTIFICATION_ATTACHED]?: EventOptions |
|
22
|
// [NotificationEvents.NOTIFICATION_DETACHED]?: EventOptions |
|
23
|
// } |
|
24
|
// } |