@ikas/bp-storefront 1.4.0-beta.144 → 1.4.0-beta.146

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,4 +10,9 @@ export type IkasProductAttribute = {
10
10
  tableTemplate: IkasProductAttributeTableTemplate | null;
11
11
  translations?: IkasProductAttributeTranslation[] | null;
12
12
  };
13
- export type IkasProductAttributeType = "CHOICE" | "MULTIPLE_CHOICE" | "TEXT" | "BOOLEAN" | "NUMERIC" | "DATETIME" | "HTML" | "TABLE" | "IMAGE" | "PRODUCT";
13
+ /**
14
+ * Mirror of the API's `ProductAttributeTypeEnum` (see storefront-api `__api/types`). The API value is
15
+ * force-cast into this union when products are mapped (`functions/api/product`), so a value missing
16
+ * here still arrives at runtime — it just stops being visible to the compiler. Keep both lists in sync.
17
+ */
18
+ export type IkasProductAttributeType = "CHOICE" | "MULTIPLE_CHOICE" | "COLOR_THUMBNAIL_MULTIPLE_CHOICE" | "TEXT" | "BOOLEAN" | "NUMERIC" | "DATE" | "DATETIME" | "HTML" | "TABLE" | "IMAGE" | "PRODUCT";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/bp-storefront",
3
- "version": "1.4.0-beta.144",
3
+ "version": "1.4.0-beta.146",
4
4
  "description": "A framework for the ikas blueprint storefronts.",
5
5
  "author": "ikas",
6
6
  "license": "ISC",