feat(medusa): added endpoints for rule attribute/operator/values options (#6911)
what: adds endpoints that returns attribute options, operator options and value options for a particular rule.
This commit is contained in:
@@ -23,10 +23,19 @@ export const joinerConfig: ModuleJoinerConfig = {
|
||||
serviceName: Modules.CUSTOMER,
|
||||
primaryKeys: ["id"],
|
||||
linkableKeys: LinkableKeys,
|
||||
alias: {
|
||||
name: ["customer", "customers"],
|
||||
args: {
|
||||
entity: Customer.name,
|
||||
alias: [
|
||||
{
|
||||
name: ["customer", "customers"],
|
||||
args: {
|
||||
entity: Customer.name,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: ["customer_group", "customer_groups"],
|
||||
args: {
|
||||
entity: CustomerGroup.name,
|
||||
methodSuffix: "CustomerGroups",
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user