@ikas/storefront 1.0.3-alpha.1 → 1.0.3-beta.2
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.
- package/build/api/cart/__generated__/getCart.d.ts +16 -1
- package/build/index.es.js +524 -239
- package/build/index.js +521 -236
- package/build/models/data/cart/index.d.ts +2 -0
- package/build/models/data/order/line-item/index.d.ts +2 -0
- package/build/models/data/order/line-item/options/index.d.ts +20 -0
- package/build/models/data/order/line-item/options/options-value/index.d.ts +6 -0
- package/build/models/data/product/index.d.ts +1 -0
- package/build/models/data/product-cart-item-options/index.d.ts +6 -0
- package/build/models/data/product-option-set/index.d.ts +19 -4
- package/build/store/cart.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import { AmountTypeEnum, OrderLineItemStatusEnum, CartStatusEnum } from "../../../__generated__/global-types";
|
|
1
|
+
import { AmountTypeEnum, ProductOptionTypeEnum, OrderLineItemStatusEnum, CartStatusEnum } from "../../../__generated__/global-types";
|
|
2
2
|
export interface getCart_getCart_items_discount {
|
|
3
3
|
__typename: "OrderLineDiscount";
|
|
4
4
|
amount: number;
|
|
5
5
|
amountType: AmountTypeEnum;
|
|
6
6
|
reason: string | null;
|
|
7
7
|
}
|
|
8
|
+
export interface getCart_getCart_items_options_values {
|
|
9
|
+
__typename: "OrderLineOptionValue";
|
|
10
|
+
name: string | null;
|
|
11
|
+
price: number | null;
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
export interface getCart_getCart_items_options {
|
|
15
|
+
__typename: "OrderLineOption";
|
|
16
|
+
name: string;
|
|
17
|
+
productOptionId: string;
|
|
18
|
+
productOptionsSetId: string;
|
|
19
|
+
type: ProductOptionTypeEnum;
|
|
20
|
+
values: getCart_getCart_items_options_values[];
|
|
21
|
+
}
|
|
8
22
|
export interface getCart_getCart_items_variant_variantValues {
|
|
9
23
|
__typename: "OrderLineVariantVariantValues";
|
|
10
24
|
order: number;
|
|
@@ -32,6 +46,7 @@ export interface getCart_getCart_items {
|
|
|
32
46
|
discountPrice: number | null;
|
|
33
47
|
finalPrice: number | null;
|
|
34
48
|
id: string;
|
|
49
|
+
options: getCart_getCart_items_options[] | null;
|
|
35
50
|
originalOrderLineItemId: string | null;
|
|
36
51
|
price: number;
|
|
37
52
|
quantity: number;
|