chore: Rename all event keys to uppercase (#7787)
* chore: Rename all event keys to uppercase * fix: Remove main entity from event builder
This commit is contained in:
@@ -11,21 +11,18 @@ export const eventBuilders = {
|
||||
action: CommonEvents.CREATED,
|
||||
object: "product",
|
||||
eventsEnum: ProductEvents,
|
||||
isMainEntity: true,
|
||||
}),
|
||||
updatedProduct: eventBuilderFactory({
|
||||
source: Modules.PRODUCT,
|
||||
action: CommonEvents.UPDATED,
|
||||
object: "product",
|
||||
eventsEnum: ProductEvents,
|
||||
isMainEntity: true,
|
||||
}),
|
||||
deletedProduct: eventBuilderFactory({
|
||||
source: Modules.PRODUCT,
|
||||
action: CommonEvents.DELETED,
|
||||
object: "product",
|
||||
eventsEnum: ProductEvents,
|
||||
isMainEntity: true,
|
||||
}),
|
||||
createdProductVariant: eventBuilderFactory({
|
||||
source: Modules.PRODUCT,
|
||||
|
||||
Reference in New Issue
Block a user