@open-tender/types 0.0.133 → 0.0.135
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,6 +1,5 @@
|
|
|
1
1
|
import { Favorite } from './favorite';
|
|
2
2
|
import { NutritionalInfo } from './menu';
|
|
3
|
-
import { OrderItemImages } from './order';
|
|
4
3
|
export interface GuestItem {
|
|
5
4
|
cart_guest_id?: number | null;
|
|
6
5
|
customer_id?: number | null;
|
|
@@ -52,11 +51,11 @@ export interface CartItemGroup {
|
|
|
52
51
|
export declare type CartItemGroups = Array<Partial<CartItemGroup>>;
|
|
53
52
|
export interface CartItem {
|
|
54
53
|
index?: number;
|
|
55
|
-
id
|
|
56
|
-
name
|
|
57
|
-
shortName
|
|
54
|
+
id: number;
|
|
55
|
+
name: string;
|
|
56
|
+
shortName: string;
|
|
58
57
|
cart_guest_id?: number | null;
|
|
59
|
-
category: string
|
|
58
|
+
category: string;
|
|
60
59
|
customer_id?: number | null;
|
|
61
60
|
description: string | null;
|
|
62
61
|
imageUrl: string | null;
|
|
@@ -74,24 +73,15 @@ export interface CartItem {
|
|
|
74
73
|
increment: number;
|
|
75
74
|
max: number;
|
|
76
75
|
min: number;
|
|
77
|
-
points:
|
|
76
|
+
points: number | null;
|
|
78
77
|
upsellItems: number[];
|
|
79
78
|
similarItems: number[];
|
|
80
79
|
totalPrice: number;
|
|
81
80
|
totalPoints: number | null;
|
|
82
81
|
totalCals: number | null;
|
|
83
|
-
|
|
84
|
-
nutritional_info: NutritionalInfo | null;
|
|
85
|
-
price_total?: number;
|
|
86
|
-
favorite_id?: number;
|
|
87
|
-
images?: OrderItemImages;
|
|
88
|
-
short_description?: string;
|
|
89
|
-
shortDescription?: string;
|
|
90
|
-
made_for?: string;
|
|
91
|
-
signature?: string;
|
|
92
|
-
isDefault?: boolean | number;
|
|
82
|
+
favorite: Favorite;
|
|
93
83
|
isSoldOut?: boolean;
|
|
94
|
-
|
|
84
|
+
signature?: string;
|
|
95
85
|
}
|
|
96
86
|
export declare type Cart = Array<CartItem>;
|
|
97
87
|
export declare type CartCounts = Record<string, number>;
|
|
@@ -282,6 +282,8 @@ export interface ConfigContent {
|
|
|
282
282
|
showGuest: boolean;
|
|
283
283
|
subtitle: string;
|
|
284
284
|
title: string;
|
|
285
|
+
videoUrl: string;
|
|
286
|
+
videoUrlMobile: string;
|
|
285
287
|
};
|
|
286
288
|
home: ConfigContentField & {
|
|
287
289
|
background: string;
|
|
@@ -321,6 +323,7 @@ export interface ConfigContent {
|
|
|
321
323
|
showDescriptions: boolean;
|
|
322
324
|
showDescriptionsMobile: boolean;
|
|
323
325
|
showHero: boolean;
|
|
326
|
+
videoUrl: string;
|
|
324
327
|
};
|
|
325
328
|
orders: ConfigContentField;
|
|
326
329
|
profile: ConfigContentField;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Favorite } from './favorite';
|
|
2
2
|
import { NutritionalInfo } from './menu';
|
|
3
|
-
import { OrderItemImages } from './order';
|
|
4
3
|
export interface GuestItem {
|
|
5
4
|
cart_guest_id?: number | null;
|
|
6
5
|
customer_id?: number | null;
|
|
@@ -52,11 +51,11 @@ export interface CartItemGroup {
|
|
|
52
51
|
export declare type CartItemGroups = Array<Partial<CartItemGroup>>;
|
|
53
52
|
export interface CartItem {
|
|
54
53
|
index?: number;
|
|
55
|
-
id
|
|
56
|
-
name
|
|
57
|
-
shortName
|
|
54
|
+
id: number;
|
|
55
|
+
name: string;
|
|
56
|
+
shortName: string;
|
|
58
57
|
cart_guest_id?: number | null;
|
|
59
|
-
category: string
|
|
58
|
+
category: string;
|
|
60
59
|
customer_id?: number | null;
|
|
61
60
|
description: string | null;
|
|
62
61
|
imageUrl: string | null;
|
|
@@ -74,24 +73,15 @@ export interface CartItem {
|
|
|
74
73
|
increment: number;
|
|
75
74
|
max: number;
|
|
76
75
|
min: number;
|
|
77
|
-
points:
|
|
76
|
+
points: number | null;
|
|
78
77
|
upsellItems: number[];
|
|
79
78
|
similarItems: number[];
|
|
80
79
|
totalPrice: number;
|
|
81
80
|
totalPoints: number | null;
|
|
82
81
|
totalCals: number | null;
|
|
83
|
-
|
|
84
|
-
nutritional_info: NutritionalInfo | null;
|
|
85
|
-
price_total?: number;
|
|
86
|
-
favorite_id?: number;
|
|
87
|
-
images?: OrderItemImages;
|
|
88
|
-
short_description?: string;
|
|
89
|
-
shortDescription?: string;
|
|
90
|
-
made_for?: string;
|
|
91
|
-
signature?: string;
|
|
92
|
-
isDefault?: boolean | number;
|
|
82
|
+
favorite: Favorite;
|
|
93
83
|
isSoldOut?: boolean;
|
|
94
|
-
|
|
84
|
+
signature?: string;
|
|
95
85
|
}
|
|
96
86
|
export declare type Cart = Array<CartItem>;
|
|
97
87
|
export declare type CartCounts = Record<string, number>;
|
|
@@ -282,6 +282,8 @@ export interface ConfigContent {
|
|
|
282
282
|
showGuest: boolean;
|
|
283
283
|
subtitle: string;
|
|
284
284
|
title: string;
|
|
285
|
+
videoUrl: string;
|
|
286
|
+
videoUrlMobile: string;
|
|
285
287
|
};
|
|
286
288
|
home: ConfigContentField & {
|
|
287
289
|
background: string;
|
|
@@ -321,6 +323,7 @@ export interface ConfigContent {
|
|
|
321
323
|
showDescriptions: boolean;
|
|
322
324
|
showDescriptionsMobile: boolean;
|
|
323
325
|
showHero: boolean;
|
|
326
|
+
videoUrl: string;
|
|
324
327
|
};
|
|
325
328
|
orders: ConfigContentField;
|
|
326
329
|
profile: ConfigContentField;
|
package/package.json
CHANGED