@qrush/types 2.1.11 → 2.1.12
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/Location.d.ts +21 -3
- package/dist/Location.js +6 -6
- package/package.json +1 -1
package/dist/Location.d.ts
CHANGED
|
@@ -15,20 +15,28 @@ export declare const LOCATION_TYPE_TO_SLUG_MAPPING: Record<LocationTypeKey, Loca
|
|
|
15
15
|
export type LocationType = LocationTypeKey[];
|
|
16
16
|
export type LocationTypeSlugArray = LocationTypeSlug[];
|
|
17
17
|
export type LocationTypeArray = LocationTypeKey[];
|
|
18
|
+
export type LocationHighlightSlug = "rooftop" | "whirlpool" | "pool-table" | "billiard" | "darts" | "dance-floor" | "outdoor-area" | "beer-garden" | "terrace" | "sauna" | "hot-tub" | "game-room" | "live-sports" | string;
|
|
18
19
|
/**
|
|
19
20
|
* @deprecated Old type, replaced by LocationType. Handle migration for 'Open Air' to 'Outdoor' and for 'Other'.
|
|
20
21
|
*/
|
|
21
|
-
export type VenueType =
|
|
22
|
-
export type SocialMediaPlatform =
|
|
22
|
+
export type VenueType = "Bar" | "Club" | "Open Air" | "Festivals" | "Other";
|
|
23
|
+
export type SocialMediaPlatform = "Facebook" | "Instagram" | "Twitter" | "LinkedIn" | "TikTok";
|
|
23
24
|
export type TimeFormat = `${number}:${number}`;
|
|
24
25
|
export interface IFireEventLegacy {
|
|
25
26
|
id?: string;
|
|
26
27
|
mapsImageURI?: string;
|
|
27
28
|
bookmarkUserIds?: string[];
|
|
28
29
|
topPickEvent?: boolean;
|
|
29
|
-
promotedBy?:
|
|
30
|
+
promotedBy?: "LFF" | "DFF";
|
|
30
31
|
customRadiusM?: number;
|
|
31
32
|
}
|
|
33
|
+
export type DaySchedule = {
|
|
34
|
+
activities?: EventCategorySlug[];
|
|
35
|
+
highlights?: LocationHighlightSlug[];
|
|
36
|
+
showAsEvent?: boolean;
|
|
37
|
+
eventTitle?: string;
|
|
38
|
+
specialNotes?: string;
|
|
39
|
+
};
|
|
32
40
|
export type IFireLocation = {
|
|
33
41
|
id: string;
|
|
34
42
|
title: string;
|
|
@@ -78,6 +86,16 @@ export type IFireLocation = {
|
|
|
78
86
|
close: TimeFormat;
|
|
79
87
|
};
|
|
80
88
|
};
|
|
89
|
+
locationHighlights?: LocationHighlightSlug[];
|
|
90
|
+
weeklySchedule?: {
|
|
91
|
+
monday?: DaySchedule;
|
|
92
|
+
tuesday?: DaySchedule;
|
|
93
|
+
wednesday?: DaySchedule;
|
|
94
|
+
thursday?: DaySchedule;
|
|
95
|
+
friday?: DaySchedule;
|
|
96
|
+
saturday?: DaySchedule;
|
|
97
|
+
sunday?: DaySchedule;
|
|
98
|
+
};
|
|
81
99
|
location: BaseLocation & {
|
|
82
100
|
surrounding: string;
|
|
83
101
|
};
|
package/dist/Location.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export const LOCATION_TYPE_MAPPING = {
|
|
2
|
-
Bar:
|
|
3
|
-
Outdoor:
|
|
4
|
-
Club:
|
|
5
|
-
Festival:
|
|
6
|
-
Concert:
|
|
7
|
-
"City Festival":
|
|
2
|
+
Bar: "bars",
|
|
3
|
+
Outdoor: "outdoor",
|
|
4
|
+
Club: "clubs",
|
|
5
|
+
Festival: "festivals",
|
|
6
|
+
Concert: "concerts",
|
|
7
|
+
"City Festival": "cityfestivals",
|
|
8
8
|
};
|
|
9
9
|
export const LOCATION_TYPE_TO_SLUG_MAPPING = LOCATION_TYPE_MAPPING;
|