@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
|
-
|
|
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";
|