wedance-shared 1.0.153 → 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.
- package/dist/types/event.d.ts +15 -0
- package/dist/types/organizer.d.ts +3 -0
- package/package.json +1 -1
package/dist/types/event.d.ts
CHANGED
|
@@ -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