implement events to the pricing module (#7584)

This commit is contained in:
Harminder Virk
2024-06-05 17:33:49 +05:30
committed by GitHub
parent b2f2c366ec
commit 2b62686ec6
8 changed files with 435 additions and 17 deletions

View File

@@ -0,0 +1,27 @@
import { buildEventNamesFromEntityName } from "../event-bus"
import { Modules } from "../modules-sdk"
const eventBaseNames: [
"priceListRuleValue",
"priceListRule",
"priceList",
"priceRule",
"priceSetRuleType",
"priceSet",
"price",
"ruleType"
] = [
"priceListRuleValue",
"priceListRule",
"priceList",
"priceRule",
"priceSetRuleType",
"priceSet",
"price",
"ruleType",
]
export const PricingEvents = buildEventNamesFromEntityName(
eventBaseNames,
Modules.PRICING
)

View File

@@ -1,3 +1,4 @@
export * from "./builders"
export * from "./price-list"
export * from "./rule-type"
export * from "./events"