From d595e1856fcbbb7aa4f70320d5c74ed12e6ac6ab Mon Sep 17 00:00:00 2001 From: joeward98 Date: Fri, 2 Sep 2022 11:28:28 +0100 Subject: [PATCH] fixed variants field type on product_Full to be an array of variants, not just a single variant --- lib/internal/reference/generated/catalog.v3.d.ts | 2 +- src/internal/reference/generated/catalog.v3.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/internal/reference/generated/catalog.v3.d.ts b/lib/internal/reference/generated/catalog.v3.d.ts index 03bc368..1b45c18 100644 --- a/lib/internal/reference/generated/catalog.v3.d.ts +++ b/lib/internal/reference/generated/catalog.v3.d.ts @@ -2461,7 +2461,7 @@ export interface definitions { /** Legacy template setting which controls if the option set shows up to the side of or below the product image and description. */ readonly option_set_display?: string; } & { - readonly variants?: definitions["productVariant_Full"]; + readonly variants?: definitions["productVariant_Full"][]; }; /** Common ProductImage properties. */ readonly productImage_Full: definitions["productImage_Base"] & { diff --git a/src/internal/reference/generated/catalog.v3.ts b/src/internal/reference/generated/catalog.v3.ts index 08b5ea3..8f101c0 100644 --- a/src/internal/reference/generated/catalog.v3.ts +++ b/src/internal/reference/generated/catalog.v3.ts @@ -2507,7 +2507,7 @@ export interface definitions { /** Legacy template setting which controls if the option set shows up to the side of or below the product image and description. */ readonly option_set_display?: string; } & { - readonly variants?: definitions["productVariant_Full"]; + readonly variants?: definitions["productVariant_Full"][]; }; /** Common ProductImage properties. */ readonly productImage_Full: definitions["productImage_Base"] & {