wedance-shared 1.0.154 → 1.0.155

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.
@@ -21,6 +21,17 @@ export type ImageData = {
21
21
  alt?: string;
22
22
  blurhash?: string;
23
23
  };
24
+ export type ActivePromotion = {
25
+ ticketTypeId: string;
26
+ title: string;
27
+ price: number;
28
+ currency: string;
29
+ discountAmount: number;
30
+ discountPercentage: number;
31
+ description?: string;
32
+ startDate: string;
33
+ endDate: string;
34
+ };
24
35
  /**
25
36
  * This is the type of the data we get from the server
26
37
  * */
@@ -81,6 +92,10 @@ export type EventData = {
81
92
  eventTickets?: EventTicket[] | null;
82
93
  lineup?: LineUpArtist[] | null;
83
94
  hasEventTickets: boolean;
95
+ /**
96
+ * Added by the handler the active promotional period
97
+ */
98
+ activePromotions?: ActivePromotion[] | null;
84
99
  };
85
100
  /**
86
101
  * Workshop: Only workshop
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.154",
3
+ "version": "1.0.155",
4
4
  "description": "This repository contains shared TypeScript types and interfaces used across multiple WeDance applications:",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",