@medusajs/medusa
Version:
Building blocks for digital commerce
56 lines • 1.37 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.ruleQueryConfigurations = void 0;
exports.ruleQueryConfigurations = {
region: {
entryPoint: "region",
labelAttr: "name",
valueAttr: "id",
},
currency_code: {
entryPoint: "currency",
labelAttr: "name",
valueAttr: "code",
},
customer_group: {
entryPoint: "customer_group",
labelAttr: "name",
valueAttr: "id",
},
sales_channel: {
entryPoint: "sales_channel",
labelAttr: "name",
valueAttr: "id",
},
country: {
entryPoint: "country",
labelAttr: "display_name",
valueAttr: "iso_2",
},
product: {
entryPoint: "product",
labelAttr: "title",
valueAttr: "id",
},
product_category: {
entryPoint: "product_category",
labelAttr: "name",
valueAttr: "id",
},
product_collection: {
entryPoint: "product_collection",
labelAttr: "title",
valueAttr: "id",
},
product_type: {
entryPoint: "product_type",
labelAttr: "value",
valueAttr: "id",
},
product_tag: {
entryPoint: "product_tag",
labelAttr: "value",
valueAttr: "id",
},
};
//# sourceMappingURL=rule-query-configuration.js.map
;