fix: export ProductImage to allow for custom links to add alt text (#12357)
This commit is contained in:
@@ -3,6 +3,7 @@ import {
|
||||
Product,
|
||||
ProductCategory,
|
||||
ProductCollection,
|
||||
ProductImage,
|
||||
ProductOption,
|
||||
ProductOptionValue,
|
||||
ProductTag,
|
||||
@@ -22,6 +23,7 @@ export const joinerConfig = defineJoinerConfig(Modules.PRODUCT, {
|
||||
ProductTag,
|
||||
ProductCollection,
|
||||
ProductCategory,
|
||||
ProductImage,
|
||||
],
|
||||
linkableKeys: {
|
||||
// Merged with the autogenerated ones to maintain backward compatibility
|
||||
|
||||
@@ -96,6 +96,9 @@ export default class ProductModuleService
|
||||
ProductVariant: {
|
||||
dto: ProductTypes.ProductVariantDTO
|
||||
}
|
||||
ProductImage: {
|
||||
dto: ProductTypes.ProductImageDTO
|
||||
}
|
||||
}>({
|
||||
Product,
|
||||
ProductCategory,
|
||||
@@ -105,6 +108,7 @@ export default class ProductModuleService
|
||||
ProductTag,
|
||||
ProductType,
|
||||
ProductVariant,
|
||||
ProductImage,
|
||||
})
|
||||
implements ProductTypes.IProductModuleService
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user