chore(core-flows): product events (#8769)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export const OrderEvents = {
|
||||
export const OrderWorkflowEvents = {
|
||||
PLACED: "order.placed",
|
||||
CANCELED: "order.canceled",
|
||||
COMPLETED: "order.completed",
|
||||
|
||||
@@ -21,3 +21,27 @@ export const ProductEvents = buildEventNamesFromEntityName(
|
||||
eventBaseNames,
|
||||
Modules.PRODUCT
|
||||
)
|
||||
|
||||
export const ProductCategoryWorkflowEvents = {
|
||||
CREATED: "product-category.created",
|
||||
UPDATED: "product-category.updated",
|
||||
DELETED: "product-category.deleted",
|
||||
}
|
||||
|
||||
export const ProductCollectionWorkflowEvents = {
|
||||
CREATED: "product-collection.created",
|
||||
UPDATED: "product-collection.updated",
|
||||
DELETED: "product-collection.deleted",
|
||||
}
|
||||
|
||||
export const ProductVariantWorkflowEvents = {
|
||||
UPDATED: "product-variant.updated",
|
||||
CREATED: "product-variant.created",
|
||||
DELETED: "product-variant.deleted",
|
||||
}
|
||||
|
||||
export const ProductWorkflowEvents = {
|
||||
UPDATED: "product.updated",
|
||||
CREATED: "product.created",
|
||||
DELETED: "product.deleted",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user