chore(product): Update the events emitted from the product module (#9557)
This commit is contained in:
committed by
GitHub
parent
b40fa6353e
commit
d8b7f90689
@@ -114,4 +114,22 @@ export const eventBuilders = {
|
||||
object: "product_category",
|
||||
eventsEnum: ProductEvents,
|
||||
}),
|
||||
createdProductCollection: moduleEventBuilderFactory({
|
||||
source: Modules.PRODUCT,
|
||||
action: CommonEvents.CREATED,
|
||||
object: "product_collection",
|
||||
eventName: ProductEvents.PRODUCT_COLLECTION_CREATED,
|
||||
}),
|
||||
updatedProductCollection: moduleEventBuilderFactory({
|
||||
source: Modules.PRODUCT,
|
||||
action: CommonEvents.UPDATED,
|
||||
object: "product_collection",
|
||||
eventName: ProductEvents.PRODUCT_COLLECTION_UPDATED,
|
||||
}),
|
||||
deletedProductCollection: moduleEventBuilderFactory({
|
||||
source: Modules.PRODUCT,
|
||||
action: CommonEvents.DELETED,
|
||||
object: "product_collection",
|
||||
eventName: ProductEvents.PRODUCT_COLLECTION_DELETED,
|
||||
}),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user