@qrush/types 2.1.10 → 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.
@@ -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 = 'Bar' | 'Club' | 'Open Air' | 'Festivals' | 'Other';
22
- export type SocialMediaPlatform = 'Facebook' | 'Instagram' | 'Twitter' | 'LinkedIn' | 'TikTok';
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?: 'LFF' | 'DFF';
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: 'bars',
3
- Outdoor: 'outdoor',
4
- Club: 'clubs',
5
- Festival: 'festivals',
6
- Concert: 'concerts',
7
- "City Festival": 'cityfestivals'
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;
@@ -141,6 +141,7 @@ export interface PromotionTeaser {
141
141
  itemTypeSnapshot: PromotionItemType;
142
142
  dealTypeSnapshot?: PromotionDealType;
143
143
  savingSnapshot: number;
144
+ activeDays?: number[];
144
145
  }
145
146
  export interface RedeemPromotionPayload {
146
147
  instanceId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrush/types",
3
- "version": "2.1.10",
3
+ "version": "2.1.12",
4
4
  "description": "Shared TypeScript types for the QRush ecosystem",
5
5
  "type": "module",
6
6
  "scripts": {