@open-tender/types 0.4.8 → 0.4.10
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.
|
@@ -123,6 +123,17 @@ export declare type GuestSection = 'ANNOUNCEMENTS' | 'HERO' | 'CONTENT' | 'DEALS
|
|
|
123
123
|
export declare type GuestSections = GuestSection[];
|
|
124
124
|
export declare type AccountSection = 'ANNOUNCEMENTS' | 'HERO' | 'CONTENT' | 'LOYALTY' | 'REWARDS' | 'DEALS' | 'ORDERS' | 'GROUP_ORDERS';
|
|
125
125
|
export declare type AccountSections = AccountSection[];
|
|
126
|
+
export declare type BottomTabsSection = 'ACCOUNT' | 'DEALS' | 'HOME' | 'LOYALTY' | 'LOCATIONS' | 'MENU' | 'MORE' | 'NEWS' | 'ORDERS' | 'POINTS_SHOP' | 'REWARDS' | 'SCAN';
|
|
127
|
+
export declare type BottomTabsSections = BottomTabsSection[];
|
|
128
|
+
export interface BottomTabsSectionContent {
|
|
129
|
+
title: string;
|
|
130
|
+
}
|
|
131
|
+
export interface BottomTabsTitles {
|
|
132
|
+
[key: string]: BottomTabsSectionContent | BottomTabsSections;
|
|
133
|
+
}
|
|
134
|
+
export interface BottomTabs extends BottomTabsTitles {
|
|
135
|
+
display: BottomTabsSections;
|
|
136
|
+
}
|
|
126
137
|
export declare type MenuSection = 'FEATURED' | 'FAVORITES' | 'RECENTS';
|
|
127
138
|
export declare type MenuSections = MenuSection[];
|
|
128
139
|
export interface ConfigContent {
|
|
@@ -181,6 +192,7 @@ export interface ConfigContent {
|
|
|
181
192
|
accountSettings: ConfigContentField;
|
|
182
193
|
addresses: ConfigContentField;
|
|
183
194
|
allergens: ConfigContentField;
|
|
195
|
+
bottomTabs: BottomTabs;
|
|
184
196
|
catering: {
|
|
185
197
|
background: string;
|
|
186
198
|
content: string;
|
|
@@ -302,6 +314,13 @@ export interface ConfigContent {
|
|
|
302
314
|
content: string;
|
|
303
315
|
mobile: string;
|
|
304
316
|
};
|
|
317
|
+
news: {
|
|
318
|
+
background: string;
|
|
319
|
+
content: string;
|
|
320
|
+
mobile: string;
|
|
321
|
+
subtitle: string;
|
|
322
|
+
title: string;
|
|
323
|
+
};
|
|
305
324
|
notFound: ConfigContentField & {
|
|
306
325
|
back: string;
|
|
307
326
|
background: string;
|
|
@@ -581,7 +581,7 @@ export interface ThemeModifiersColors extends Record<string, string> {
|
|
|
581
581
|
bgColor: string;
|
|
582
582
|
borderColor: string;
|
|
583
583
|
}
|
|
584
|
-
export declare type ThemeModifiersBoxType = 'DEFAULT' | 'CARDS' | 'SQUARES';
|
|
584
|
+
export declare type ThemeModifiersBoxType = 'DEFAULT' | 'CARDS' | 'SQUARES' | 'SIMPLE';
|
|
585
585
|
export interface ThemeModifiersBox extends Record<string, string | number> {
|
|
586
586
|
border: string;
|
|
587
587
|
borderMobile: string;
|
|
@@ -123,6 +123,17 @@ export declare type GuestSection = 'ANNOUNCEMENTS' | 'HERO' | 'CONTENT' | 'DEALS
|
|
|
123
123
|
export declare type GuestSections = GuestSection[];
|
|
124
124
|
export declare type AccountSection = 'ANNOUNCEMENTS' | 'HERO' | 'CONTENT' | 'LOYALTY' | 'REWARDS' | 'DEALS' | 'ORDERS' | 'GROUP_ORDERS';
|
|
125
125
|
export declare type AccountSections = AccountSection[];
|
|
126
|
+
export declare type BottomTabsSection = 'ACCOUNT' | 'DEALS' | 'HOME' | 'LOYALTY' | 'LOCATIONS' | 'MENU' | 'MORE' | 'NEWS' | 'ORDERS' | 'POINTS_SHOP' | 'REWARDS' | 'SCAN';
|
|
127
|
+
export declare type BottomTabsSections = BottomTabsSection[];
|
|
128
|
+
export interface BottomTabsSectionContent {
|
|
129
|
+
title: string;
|
|
130
|
+
}
|
|
131
|
+
export interface BottomTabsTitles {
|
|
132
|
+
[key: string]: BottomTabsSectionContent | BottomTabsSections;
|
|
133
|
+
}
|
|
134
|
+
export interface BottomTabs extends BottomTabsTitles {
|
|
135
|
+
display: BottomTabsSections;
|
|
136
|
+
}
|
|
126
137
|
export declare type MenuSection = 'FEATURED' | 'FAVORITES' | 'RECENTS';
|
|
127
138
|
export declare type MenuSections = MenuSection[];
|
|
128
139
|
export interface ConfigContent {
|
|
@@ -181,6 +192,7 @@ export interface ConfigContent {
|
|
|
181
192
|
accountSettings: ConfigContentField;
|
|
182
193
|
addresses: ConfigContentField;
|
|
183
194
|
allergens: ConfigContentField;
|
|
195
|
+
bottomTabs: BottomTabs;
|
|
184
196
|
catering: {
|
|
185
197
|
background: string;
|
|
186
198
|
content: string;
|
|
@@ -302,6 +314,13 @@ export interface ConfigContent {
|
|
|
302
314
|
content: string;
|
|
303
315
|
mobile: string;
|
|
304
316
|
};
|
|
317
|
+
news: {
|
|
318
|
+
background: string;
|
|
319
|
+
content: string;
|
|
320
|
+
mobile: string;
|
|
321
|
+
subtitle: string;
|
|
322
|
+
title: string;
|
|
323
|
+
};
|
|
305
324
|
notFound: ConfigContentField & {
|
|
306
325
|
back: string;
|
|
307
326
|
background: string;
|
|
@@ -581,7 +581,7 @@ export interface ThemeModifiersColors extends Record<string, string> {
|
|
|
581
581
|
bgColor: string;
|
|
582
582
|
borderColor: string;
|
|
583
583
|
}
|
|
584
|
-
export declare type ThemeModifiersBoxType = 'DEFAULT' | 'CARDS' | 'SQUARES';
|
|
584
|
+
export declare type ThemeModifiersBoxType = 'DEFAULT' | 'CARDS' | 'SQUARES' | 'SIMPLE';
|
|
585
585
|
export interface ThemeModifiersBox extends Record<string, string | number> {
|
|
586
586
|
border: string;
|
|
587
587
|
borderMobile: string;
|
package/package.json
CHANGED