@open-tender/types 0.2.104 → 0.2.105
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.
|
@@ -8,16 +8,16 @@ export interface ConfigApp {
|
|
|
8
8
|
brandId: string;
|
|
9
9
|
clientId: string;
|
|
10
10
|
}
|
|
11
|
-
export declare type
|
|
12
|
-
export interface
|
|
11
|
+
export declare type ConfigPageType = 'ACCOUNT' | 'CHECKOUT' | 'CONFIRMATION' | 'GUEST' | 'ITEM' | 'ORDER_TYPES' | 'LOCATIONS' | 'MENU' | 'MENU_CATEGORY' | 'UPSELL';
|
|
12
|
+
export interface ConfigPageElement {
|
|
13
13
|
props: Record<string, string>;
|
|
14
14
|
text: Record<string, string> | null;
|
|
15
15
|
}
|
|
16
|
-
export interface
|
|
17
|
-
desktop: Record<string,
|
|
18
|
-
mobile: Record<string,
|
|
16
|
+
export interface ConfigPage {
|
|
17
|
+
desktop: Record<string, ConfigPageElement>;
|
|
18
|
+
mobile: Record<string, ConfigPageElement>;
|
|
19
19
|
}
|
|
20
|
-
export declare type
|
|
20
|
+
export declare type ConfigPages = Record<ConfigPageType, ConfigPage>;
|
|
21
21
|
export interface ConfigAcceptMarketing {
|
|
22
22
|
default: boolean;
|
|
23
23
|
description: string;
|
|
@@ -8,16 +8,16 @@ export interface ConfigApp {
|
|
|
8
8
|
brandId: string;
|
|
9
9
|
clientId: string;
|
|
10
10
|
}
|
|
11
|
-
export declare type
|
|
12
|
-
export interface
|
|
11
|
+
export declare type ConfigPageType = 'ACCOUNT' | 'CHECKOUT' | 'CONFIRMATION' | 'GUEST' | 'ITEM' | 'ORDER_TYPES' | 'LOCATIONS' | 'MENU' | 'MENU_CATEGORY' | 'UPSELL';
|
|
12
|
+
export interface ConfigPageElement {
|
|
13
13
|
props: Record<string, string>;
|
|
14
14
|
text: Record<string, string> | null;
|
|
15
15
|
}
|
|
16
|
-
export interface
|
|
17
|
-
desktop: Record<string,
|
|
18
|
-
mobile: Record<string,
|
|
16
|
+
export interface ConfigPage {
|
|
17
|
+
desktop: Record<string, ConfigPageElement>;
|
|
18
|
+
mobile: Record<string, ConfigPageElement>;
|
|
19
19
|
}
|
|
20
|
-
export declare type
|
|
20
|
+
export declare type ConfigPages = Record<ConfigPageType, ConfigPage>;
|
|
21
21
|
export interface ConfigAcceptMarketing {
|
|
22
22
|
default: boolean;
|
|
23
23
|
description: string;
|
package/package.json
CHANGED