feat(pricing,utils,types): add operator field to price rule (#10315)

what:

- adds an operator field to price rule with specific operator fields

RESOLVES CMRC-746
This commit is contained in:
Riqwan Thamir
2024-11-28 09:23:26 +00:00
committed by GitHub
parent 2838100efc
commit 3b1a63eca7
8 changed files with 91 additions and 6 deletions
+2 -1
View File
@@ -6,14 +6,15 @@ export * as DMLUtils from "./dml"
export * as EventBusUtils from "./event-bus"
export * as FeatureFlagUtils from "./feature-flags"
export * as FulfillmentUtils from "./fulfillment"
export * as GraphQLUtils from "./graphql"
export * as InventoryUtils from "./inventory"
export * as LinkUtils from "./link"
export * as ModulesSdkUtils from "./modules-sdk"
export * as OrchestrationUtils from "./orchestration"
export * as OrderUtils from "./order"
export * as PricingUtils from "./pricing"
export * as ProductUtils from "./product"
export * as PromotionUtils from "./promotion"
export * as SearchUtils from "./search"
export * as ShippingProfileUtils from "./shipping"
export * as UserUtils from "./user"
export * as GraphQLUtils from "./graphql"
+7
View File
@@ -0,0 +1,7 @@
export enum PricingRuleOperator {
GTE = "gte",
LTE = "lte",
GT = "gt",
LT = "lt",
EQ = "eq",
}
+2 -1
View File
@@ -1,3 +1,4 @@
export * from "./builders"
export * from "./price-list"
export * from "./enums"
export * from "./events"
export * from "./price-list"