* breaking: remove deprecated commands * feat: remove deprecated code and usages * refactor: remove more logic around default relations * fix tests * remove log * fix: remove defaultFields usage * fix: add back accidentally removed code * refactor: implement feedback * feat: add --cluster flag to the start command * refactor: assign limit to defaultLimit property * fix: breaking code because of removed check --------- Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
16 lines
365 B
TypeScript
16 lines
365 B
TypeScript
import {
|
|
CommonEvents,
|
|
moduleEventBuilderFactory,
|
|
Modules,
|
|
NotificationEvents,
|
|
} from "@medusajs/framework/utils"
|
|
|
|
export const eventBuilders = {
|
|
createdNotification: moduleEventBuilderFactory({
|
|
source: Modules.NOTIFICATION,
|
|
action: CommonEvents.CREATED,
|
|
object: "notification",
|
|
eventName: NotificationEvents.NOTIFICATION_CREATED,
|
|
}),
|
|
}
|