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