@open-tender/types 0.4.96 → 0.4.98
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuItemAllergens, MenuItemTags, NutritionalInfo } from './menu';
|
|
1
|
+
import { MenuItemAllergens, MenuItemTags, NutritionalInfo, PizzaShape } from './menu';
|
|
2
2
|
import { OrderItemPoints } from './order';
|
|
3
3
|
export interface BaseItemGroup {
|
|
4
4
|
id: number;
|
|
@@ -43,6 +43,8 @@ export interface CartItemOption {
|
|
|
43
43
|
totalCals: number | null;
|
|
44
44
|
totalPoints: number | null;
|
|
45
45
|
totalPrice: number | null;
|
|
46
|
+
itemShape: PizzaShape | null;
|
|
47
|
+
excludeFromBuilder: boolean;
|
|
46
48
|
}
|
|
47
49
|
export declare type CartItemOptions = CartItemOption[];
|
|
48
50
|
export interface CartItemOptionWithGroup extends CartItemOption {
|
|
@@ -78,6 +80,8 @@ export interface CartItemGroup {
|
|
|
78
80
|
name: string;
|
|
79
81
|
options: CartItemOptions;
|
|
80
82
|
quantity: number;
|
|
83
|
+
itemShape: PizzaShape | null;
|
|
84
|
+
excludeFromBuilder: boolean;
|
|
81
85
|
}
|
|
82
86
|
export declare type CartItemGroups = CartItemGroup[];
|
|
83
87
|
export declare type Cart = CartItem[];
|
|
@@ -58,6 +58,8 @@ export interface MenuItemGroup {
|
|
|
58
58
|
short_name: string;
|
|
59
59
|
slug: string;
|
|
60
60
|
small_image_url: string | null;
|
|
61
|
+
item_shape: PizzaShape | null;
|
|
62
|
+
exclude_from_builder: boolean;
|
|
61
63
|
}
|
|
62
64
|
export declare type MenuItemGroups = MenuItemGroup[];
|
|
63
65
|
export interface MenuItemFavorite {
|
|
@@ -81,6 +83,7 @@ export interface MenuItemTag {
|
|
|
81
83
|
tag_id: number;
|
|
82
84
|
}
|
|
83
85
|
export declare type MenuItemTags = MenuItemTag[];
|
|
86
|
+
export declare type PizzaShape = 'CIRCULAR' | 'RECTANGULAR';
|
|
84
87
|
export interface MenuItem {
|
|
85
88
|
allergens: string | null;
|
|
86
89
|
allergens_list?: MenuItemAllergens;
|
|
@@ -119,6 +122,8 @@ export interface MenuItem {
|
|
|
119
122
|
taxes: MenuItemTaxes;
|
|
120
123
|
temperature: Temperature;
|
|
121
124
|
upsell_items: number[];
|
|
125
|
+
item_shape: PizzaShape | null;
|
|
126
|
+
exclude_from_builder: boolean;
|
|
122
127
|
}
|
|
123
128
|
export interface OptionItem extends MenuItem {
|
|
124
129
|
opt_is_default: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuItemAllergens, MenuItemTags, NutritionalInfo } from './menu';
|
|
1
|
+
import { MenuItemAllergens, MenuItemTags, NutritionalInfo, PizzaShape } from './menu';
|
|
2
2
|
import { OrderItemPoints } from './order';
|
|
3
3
|
export interface BaseItemGroup {
|
|
4
4
|
id: number;
|
|
@@ -43,6 +43,8 @@ export interface CartItemOption {
|
|
|
43
43
|
totalCals: number | null;
|
|
44
44
|
totalPoints: number | null;
|
|
45
45
|
totalPrice: number | null;
|
|
46
|
+
itemShape: PizzaShape | null;
|
|
47
|
+
excludeFromBuilder: boolean;
|
|
46
48
|
}
|
|
47
49
|
export declare type CartItemOptions = CartItemOption[];
|
|
48
50
|
export interface CartItemOptionWithGroup extends CartItemOption {
|
|
@@ -78,6 +80,8 @@ export interface CartItemGroup {
|
|
|
78
80
|
name: string;
|
|
79
81
|
options: CartItemOptions;
|
|
80
82
|
quantity: number;
|
|
83
|
+
itemShape: PizzaShape | null;
|
|
84
|
+
excludeFromBuilder: boolean;
|
|
81
85
|
}
|
|
82
86
|
export declare type CartItemGroups = CartItemGroup[];
|
|
83
87
|
export declare type Cart = CartItem[];
|
|
@@ -58,6 +58,8 @@ export interface MenuItemGroup {
|
|
|
58
58
|
short_name: string;
|
|
59
59
|
slug: string;
|
|
60
60
|
small_image_url: string | null;
|
|
61
|
+
item_shape: PizzaShape | null;
|
|
62
|
+
exclude_from_builder: boolean;
|
|
61
63
|
}
|
|
62
64
|
export declare type MenuItemGroups = MenuItemGroup[];
|
|
63
65
|
export interface MenuItemFavorite {
|
|
@@ -81,6 +83,7 @@ export interface MenuItemTag {
|
|
|
81
83
|
tag_id: number;
|
|
82
84
|
}
|
|
83
85
|
export declare type MenuItemTags = MenuItemTag[];
|
|
86
|
+
export declare type PizzaShape = 'CIRCULAR' | 'RECTANGULAR';
|
|
84
87
|
export interface MenuItem {
|
|
85
88
|
allergens: string | null;
|
|
86
89
|
allergens_list?: MenuItemAllergens;
|
|
@@ -119,6 +122,8 @@ export interface MenuItem {
|
|
|
119
122
|
taxes: MenuItemTaxes;
|
|
120
123
|
temperature: Temperature;
|
|
121
124
|
upsell_items: number[];
|
|
125
|
+
item_shape: PizzaShape | null;
|
|
126
|
+
exclude_from_builder: boolean;
|
|
122
127
|
}
|
|
123
128
|
export interface OptionItem extends MenuItem {
|
|
124
129
|
opt_is_default: boolean;
|
package/package.json
CHANGED