Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
fix: PcmVariationMetaOption type restored
Browse files Browse the repository at this point in the history
This reverts commit 9a46ff7.
  • Loading branch information
GeorgeBotzakis authored Sep 27, 2023
1 parent 6bd33da commit fe3860e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types/pcm-variations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
export interface PCMVariation extends Identifiable, PCMVariationBase {
type: 'product-variation'
meta: {
options?: VariationsOptionResponse[]
options?: PCMVariationMetaOption[]
owner: 'organization' | 'store'
}
}
Expand All @@ -40,6 +40,8 @@ import {
}
}

export type PCMVariationMetaOption = Identifiable & VariationsOption['attributes']

export interface VariationsOptionResponse extends Identifiable {
type: 'product-variation-option'
attributes : {
Expand Down

0 comments on commit fe3860e

Please sign in to comment.