@open-tender/types 0.2.91 → 0.2.92
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.
|
@@ -3,12 +3,14 @@ export interface ContentImage {
|
|
|
3
3
|
url: string | null;
|
|
4
4
|
}
|
|
5
5
|
export declare type ContentImages = ContentImage[];
|
|
6
|
+
export declare type AnnouncementVertical = 'TOP' | 'BOTTOM' | 'CENTER';
|
|
7
|
+
export declare type AnnouncementHorizontal = 'LEFT' | 'RIGHT' | 'CENTER';
|
|
6
8
|
export interface Announcement {
|
|
7
9
|
announcement_id: number;
|
|
8
10
|
display_order: number;
|
|
9
11
|
hide_text: boolean;
|
|
10
12
|
hide_text_mobile: boolean;
|
|
11
|
-
horizontal:
|
|
13
|
+
horizontal: AnnouncementHorizontal;
|
|
12
14
|
images: ContentImages;
|
|
13
15
|
overlay_color: string;
|
|
14
16
|
overlay_opacity: number;
|
|
@@ -22,7 +24,7 @@ export interface Announcement {
|
|
|
22
24
|
title_size: number | string | null;
|
|
23
25
|
url: string | null;
|
|
24
26
|
url_text: string | null;
|
|
25
|
-
vertical:
|
|
27
|
+
vertical: AnnouncementVertical;
|
|
26
28
|
imageUrl?: string | null;
|
|
27
29
|
}
|
|
28
30
|
export declare type AnnouncementPageType = 'ABOUT' | 'ACCOUNT' | 'CATERING' | 'CHECKOUT' | 'GUEST' | 'HOME' | 'MENU' | 'ORDER_TYPE';
|
|
@@ -3,12 +3,14 @@ export interface ContentImage {
|
|
|
3
3
|
url: string | null;
|
|
4
4
|
}
|
|
5
5
|
export declare type ContentImages = ContentImage[];
|
|
6
|
+
export declare type AnnouncementVertical = 'TOP' | 'BOTTOM' | 'CENTER';
|
|
7
|
+
export declare type AnnouncementHorizontal = 'LEFT' | 'RIGHT' | 'CENTER';
|
|
6
8
|
export interface Announcement {
|
|
7
9
|
announcement_id: number;
|
|
8
10
|
display_order: number;
|
|
9
11
|
hide_text: boolean;
|
|
10
12
|
hide_text_mobile: boolean;
|
|
11
|
-
horizontal:
|
|
13
|
+
horizontal: AnnouncementHorizontal;
|
|
12
14
|
images: ContentImages;
|
|
13
15
|
overlay_color: string;
|
|
14
16
|
overlay_opacity: number;
|
|
@@ -22,7 +24,7 @@ export interface Announcement {
|
|
|
22
24
|
title_size: number | string | null;
|
|
23
25
|
url: string | null;
|
|
24
26
|
url_text: string | null;
|
|
25
|
-
vertical:
|
|
27
|
+
vertical: AnnouncementVertical;
|
|
26
28
|
imageUrl?: string | null;
|
|
27
29
|
}
|
|
28
30
|
export declare type AnnouncementPageType = 'ABOUT' | 'ACCOUNT' | 'CATERING' | 'CHECKOUT' | 'GUEST' | 'HOME' | 'MENU' | 'ORDER_TYPE';
|
package/package.json
CHANGED