diff --git a/src/types/pcm-variations.ts b/src/types/pcm-variations.ts index f115ce6d3..3e8bb126d 100644 --- a/src/types/pcm-variations.ts +++ b/src/types/pcm-variations.ts @@ -24,7 +24,7 @@ import { export interface PCMVariation extends Identifiable, PCMVariationBase { type: 'product-variation' meta: { - options?: VariationsOptionResponse[] + options?: PCMVariationMetaOption[] owner: 'organization' | 'store' } } @@ -40,6 +40,8 @@ import { } } + export type PCMVariationMetaOption = Identifiable & VariationsOption['attributes'] + export interface VariationsOptionResponse extends Identifiable { type: 'product-variation-option' attributes : {