feat(product): Make product option value linkable (#10116)
RESOLVES FRMW-2799 **What** Make the product option value linkable
This commit is contained in:
committed by
GitHub
parent
10da8b379f
commit
1afc577e54
@@ -55,6 +55,7 @@ moduleIntegrationTestRunner<Service>({
|
||||
"product",
|
||||
"productVariant",
|
||||
"productOption",
|
||||
"productOptionValue",
|
||||
"productType",
|
||||
"productImage",
|
||||
"productTag",
|
||||
@@ -101,6 +102,15 @@ moduleIntegrationTestRunner<Service>({
|
||||
field: "productOption",
|
||||
},
|
||||
},
|
||||
productOptionValue: {
|
||||
id: {
|
||||
linkable: "product_option_value_id",
|
||||
entity: "ProductOptionValue",
|
||||
primaryKey: "id",
|
||||
serviceName: "product",
|
||||
field: "productOptionValue",
|
||||
},
|
||||
},
|
||||
productType: {
|
||||
id: {
|
||||
linkable: "product_type_id",
|
||||
|
||||
@@ -4,6 +4,7 @@ import {
|
||||
ProductCategory,
|
||||
ProductCollection,
|
||||
ProductOption,
|
||||
ProductOptionValue,
|
||||
ProductTag,
|
||||
ProductType,
|
||||
ProductVariant,
|
||||
@@ -17,6 +18,7 @@ export const joinerConfig = defineJoinerConfig(Modules.PRODUCT, {
|
||||
Product,
|
||||
ProductVariant,
|
||||
ProductOption,
|
||||
ProductOptionValue,
|
||||
ProductType,
|
||||
ProductImage,
|
||||
ProductTag,
|
||||
|
||||
Reference in New Issue
Block a user