@open-tender/types 0.4.95 → 0.4.97
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.
|
@@ -14,6 +14,7 @@ export interface BaseItem {
|
|
|
14
14
|
groups: BaseItemGroups;
|
|
15
15
|
}
|
|
16
16
|
export declare type BaseItems = BaseItem[];
|
|
17
|
+
export declare type PizzaShape = 'CIRCULAR' | 'RECTANGULAR';
|
|
17
18
|
export interface CartItemOption {
|
|
18
19
|
allergens: string[];
|
|
19
20
|
allergens_list?: MenuItemAllergens;
|
|
@@ -43,6 +44,7 @@ export interface CartItemOption {
|
|
|
43
44
|
totalCals: number | null;
|
|
44
45
|
totalPoints: number | null;
|
|
45
46
|
totalPrice: number | null;
|
|
47
|
+
shape: PizzaShape | null;
|
|
46
48
|
}
|
|
47
49
|
export declare type CartItemOptions = CartItemOption[];
|
|
48
50
|
export interface CartItemOptionWithGroup extends CartItemOption {
|
|
@@ -78,6 +80,7 @@ export interface CartItemGroup {
|
|
|
78
80
|
name: string;
|
|
79
81
|
options: CartItemOptions;
|
|
80
82
|
quantity: number;
|
|
83
|
+
shape: PizzaShape | null;
|
|
81
84
|
}
|
|
82
85
|
export declare type CartItemGroups = CartItemGroup[];
|
|
83
86
|
export declare type Cart = CartItem[];
|
|
@@ -14,6 +14,7 @@ export interface BaseItem {
|
|
|
14
14
|
groups: BaseItemGroups;
|
|
15
15
|
}
|
|
16
16
|
export declare type BaseItems = BaseItem[];
|
|
17
|
+
export declare type PizzaShape = 'CIRCULAR' | 'RECTANGULAR';
|
|
17
18
|
export interface CartItemOption {
|
|
18
19
|
allergens: string[];
|
|
19
20
|
allergens_list?: MenuItemAllergens;
|
|
@@ -43,6 +44,7 @@ export interface CartItemOption {
|
|
|
43
44
|
totalCals: number | null;
|
|
44
45
|
totalPoints: number | null;
|
|
45
46
|
totalPrice: number | null;
|
|
47
|
+
shape: PizzaShape | null;
|
|
46
48
|
}
|
|
47
49
|
export declare type CartItemOptions = CartItemOption[];
|
|
48
50
|
export interface CartItemOptionWithGroup extends CartItemOption {
|
|
@@ -78,6 +80,7 @@ export interface CartItemGroup {
|
|
|
78
80
|
name: string;
|
|
79
81
|
options: CartItemOptions;
|
|
80
82
|
quantity: number;
|
|
83
|
+
shape: PizzaShape | null;
|
|
81
84
|
}
|
|
82
85
|
export declare type CartItemGroups = CartItemGroup[];
|
|
83
86
|
export declare type Cart = CartItem[];
|
package/package.json
CHANGED