@open-tender/types 0.2.45 → 0.2.47
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/dist/.DS_Store
ADDED
|
Binary file
|
|
@@ -93,6 +93,12 @@ export interface ConfigContentField {
|
|
|
93
93
|
empty?: string;
|
|
94
94
|
}
|
|
95
95
|
export declare type ConfigOrderTypes = 'CATERING' | 'DELIVERY' | 'DONATIONS' | 'GIFT_CARDS' | 'GROUP' | 'MERCH' | 'OUTPOST' | 'PICKUP' | 'WALKIN';
|
|
96
|
+
declare type GuestSection = 'ANNOUNCEMENTS' | 'HERO' | 'CONTENT' | 'DEALS' | 'LOYALTY';
|
|
97
|
+
declare type GuestSections = GuestSection[];
|
|
98
|
+
declare type AccountSection = 'ANNOUNCEMENTS' | 'HERO' | 'CONTENT' | 'LOYALTY' | 'REWARDS' | 'DEALS' | 'ORDERS' | 'GROUP_ORDERS';
|
|
99
|
+
declare type AccountSections = AccountSection[];
|
|
100
|
+
declare type MenuSection = 'FEATURED' | 'FAVORITES' | 'RECENTS' | 'DEALS';
|
|
101
|
+
declare type MenuSections = MenuSection[];
|
|
96
102
|
export interface ConfigContent {
|
|
97
103
|
about: {
|
|
98
104
|
background: string;
|
|
@@ -117,8 +123,8 @@ export interface ConfigContent {
|
|
|
117
123
|
displayLogo: boolean;
|
|
118
124
|
displayLogoApp: boolean;
|
|
119
125
|
displayLogoMobile: boolean;
|
|
120
|
-
displayed:
|
|
121
|
-
displayedMobile:
|
|
126
|
+
displayed: AccountSections;
|
|
127
|
+
displayedMobile: AccountSections;
|
|
122
128
|
favorites: ConfigContentField;
|
|
123
129
|
giftCards: ConfigContentField;
|
|
124
130
|
greeting: string;
|
|
@@ -229,8 +235,8 @@ export interface ConfigContent {
|
|
|
229
235
|
displayLogo: boolean;
|
|
230
236
|
displayLogoApp: boolean;
|
|
231
237
|
displayLogoMobile: boolean;
|
|
232
|
-
displayed:
|
|
233
|
-
displayedMobile:
|
|
238
|
+
displayed: GuestSections;
|
|
239
|
+
displayedMobile: GuestSections;
|
|
234
240
|
mobile: string;
|
|
235
241
|
showGuest: boolean;
|
|
236
242
|
subtitle: string;
|
|
@@ -251,8 +257,8 @@ export interface ConfigContent {
|
|
|
251
257
|
menu: {
|
|
252
258
|
background: string;
|
|
253
259
|
cartErrors: ConfigContentField;
|
|
254
|
-
displayed:
|
|
255
|
-
displayedMobile:
|
|
260
|
+
displayed: MenuSections;
|
|
261
|
+
displayedMobile: MenuSections;
|
|
256
262
|
loadingMessage: string;
|
|
257
263
|
mobile: string;
|
|
258
264
|
soldOutMessage: string;
|
|
@@ -442,3 +448,4 @@ export interface ConfigSettings {
|
|
|
442
448
|
orderTypes: ConfigOrderTypes[];
|
|
443
449
|
recaptcha: ConfigRecaptcha;
|
|
444
450
|
}
|
|
451
|
+
export {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { OrderType } from '../global';
|
|
2
|
-
export interface
|
|
2
|
+
export interface MenuPageSection {
|
|
3
3
|
name: string;
|
|
4
4
|
pos_section_id: number;
|
|
5
5
|
position: number;
|
|
6
6
|
}
|
|
7
|
-
export declare type
|
|
7
|
+
export declare type MenuPageSections = MenuPageSection[];
|
|
8
8
|
export interface MenuPage {
|
|
9
9
|
name: string;
|
|
10
10
|
order_type: OrderType;
|
|
11
11
|
pos_page_id: number;
|
|
12
12
|
position: number;
|
|
13
|
-
sections:
|
|
13
|
+
sections: MenuPageSections;
|
|
14
14
|
}
|
|
15
|
-
export declare type MenuPages =
|
|
15
|
+
export declare type MenuPages = MenuPage[];
|
|
16
16
|
export interface MenuColor {
|
|
17
17
|
id: number;
|
|
18
18
|
color: string;
|
|
19
19
|
}
|
|
20
|
-
export declare type MenuColors =
|
|
20
|
+
export declare type MenuColors = MenuColor[];
|
|
@@ -93,6 +93,12 @@ export interface ConfigContentField {
|
|
|
93
93
|
empty?: string;
|
|
94
94
|
}
|
|
95
95
|
export declare type ConfigOrderTypes = 'CATERING' | 'DELIVERY' | 'DONATIONS' | 'GIFT_CARDS' | 'GROUP' | 'MERCH' | 'OUTPOST' | 'PICKUP' | 'WALKIN';
|
|
96
|
+
declare type GuestSection = 'ANNOUNCEMENTS' | 'HERO' | 'CONTENT' | 'DEALS' | 'LOYALTY';
|
|
97
|
+
declare type GuestSections = GuestSection[];
|
|
98
|
+
declare type AccountSection = 'ANNOUNCEMENTS' | 'HERO' | 'CONTENT' | 'LOYALTY' | 'REWARDS' | 'DEALS' | 'ORDERS' | 'GROUP_ORDERS';
|
|
99
|
+
declare type AccountSections = AccountSection[];
|
|
100
|
+
declare type MenuSection = 'FEATURED' | 'FAVORITES' | 'RECENTS' | 'DEALS';
|
|
101
|
+
declare type MenuSections = MenuSection[];
|
|
96
102
|
export interface ConfigContent {
|
|
97
103
|
about: {
|
|
98
104
|
background: string;
|
|
@@ -117,8 +123,8 @@ export interface ConfigContent {
|
|
|
117
123
|
displayLogo: boolean;
|
|
118
124
|
displayLogoApp: boolean;
|
|
119
125
|
displayLogoMobile: boolean;
|
|
120
|
-
displayed:
|
|
121
|
-
displayedMobile:
|
|
126
|
+
displayed: AccountSections;
|
|
127
|
+
displayedMobile: AccountSections;
|
|
122
128
|
favorites: ConfigContentField;
|
|
123
129
|
giftCards: ConfigContentField;
|
|
124
130
|
greeting: string;
|
|
@@ -229,8 +235,8 @@ export interface ConfigContent {
|
|
|
229
235
|
displayLogo: boolean;
|
|
230
236
|
displayLogoApp: boolean;
|
|
231
237
|
displayLogoMobile: boolean;
|
|
232
|
-
displayed:
|
|
233
|
-
displayedMobile:
|
|
238
|
+
displayed: GuestSections;
|
|
239
|
+
displayedMobile: GuestSections;
|
|
234
240
|
mobile: string;
|
|
235
241
|
showGuest: boolean;
|
|
236
242
|
subtitle: string;
|
|
@@ -251,8 +257,8 @@ export interface ConfigContent {
|
|
|
251
257
|
menu: {
|
|
252
258
|
background: string;
|
|
253
259
|
cartErrors: ConfigContentField;
|
|
254
|
-
displayed:
|
|
255
|
-
displayedMobile:
|
|
260
|
+
displayed: MenuSections;
|
|
261
|
+
displayedMobile: MenuSections;
|
|
256
262
|
loadingMessage: string;
|
|
257
263
|
mobile: string;
|
|
258
264
|
soldOutMessage: string;
|
|
@@ -442,3 +448,4 @@ export interface ConfigSettings {
|
|
|
442
448
|
orderTypes: ConfigOrderTypes[];
|
|
443
449
|
recaptcha: ConfigRecaptcha;
|
|
444
450
|
}
|
|
451
|
+
export {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { OrderType } from '../global';
|
|
2
|
-
export interface
|
|
2
|
+
export interface MenuPageSection {
|
|
3
3
|
name: string;
|
|
4
4
|
pos_section_id: number;
|
|
5
5
|
position: number;
|
|
6
6
|
}
|
|
7
|
-
export declare type
|
|
7
|
+
export declare type MenuPageSections = MenuPageSection[];
|
|
8
8
|
export interface MenuPage {
|
|
9
9
|
name: string;
|
|
10
10
|
order_type: OrderType;
|
|
11
11
|
pos_page_id: number;
|
|
12
12
|
position: number;
|
|
13
|
-
sections:
|
|
13
|
+
sections: MenuPageSections;
|
|
14
14
|
}
|
|
15
|
-
export declare type MenuPages =
|
|
15
|
+
export declare type MenuPages = MenuPage[];
|
|
16
16
|
export interface MenuColor {
|
|
17
17
|
id: number;
|
|
18
18
|
color: string;
|
|
19
19
|
}
|
|
20
|
-
export declare type MenuColors =
|
|
20
|
+
export declare type MenuColors = MenuColor[];
|
package/package.json
CHANGED