wedance-shared 1.0.127 → 1.0.130
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/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
|
@@ -8,6 +8,7 @@ export * from "./other.js";
|
|
|
8
8
|
export * from "./analytics.js";
|
|
9
9
|
export * from "./infoBanner.js";
|
|
10
10
|
export * from "./wedancePosts.js";
|
|
11
|
+
export * from "./support.js";
|
|
11
12
|
// Re-export from subdirectories
|
|
12
13
|
export * from "./festivals/index.js";
|
|
13
14
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAE7B,gCAAgC;AAChC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface WeDanceSupportTicket {
|
|
2
|
+
id: string;
|
|
3
|
+
userId: string;
|
|
4
|
+
email: string;
|
|
5
|
+
subject: string | null | undefined;
|
|
6
|
+
message: string;
|
|
7
|
+
appVersion: string;
|
|
8
|
+
deviceModel: string;
|
|
9
|
+
platform: string;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
status: "open" | "in_progress" | "closed";
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"support.js","sourceRoot":"","sources":["../../src/types/support.ts"],"names":[],"mappings":""}
|
package/dist/types/ticket.d.ts
CHANGED
|
@@ -76,6 +76,9 @@ export type TicketTransfer = {
|
|
|
76
76
|
toUserId: string;
|
|
77
77
|
timestamp: Timestamp;
|
|
78
78
|
};
|
|
79
|
+
/**
|
|
80
|
+
* @deprecated Replaced by TicketCoupon
|
|
81
|
+
*/
|
|
79
82
|
export type CouponCode = {
|
|
80
83
|
code: string;
|
|
81
84
|
discountType: "fixed" | "percentage";
|
|
@@ -83,6 +86,22 @@ export type CouponCode = {
|
|
|
83
86
|
startDate: string | null;
|
|
84
87
|
expiryDate: string | null;
|
|
85
88
|
};
|
|
89
|
+
export type TicketCouponDiscountType = "fixed" | "percentage";
|
|
90
|
+
/**
|
|
91
|
+
* Row shape for `public.ticket_coupons`.
|
|
92
|
+
*/
|
|
93
|
+
export type TicketCoupon = {
|
|
94
|
+
id: string;
|
|
95
|
+
ticketTypeId: string | null;
|
|
96
|
+
code: string;
|
|
97
|
+
discountType: TicketCouponDiscountType;
|
|
98
|
+
discountAmount: number;
|
|
99
|
+
startDate: string | null;
|
|
100
|
+
expiryDate: string | null;
|
|
101
|
+
organizerId: string | null;
|
|
102
|
+
maxRedemptions: number | null;
|
|
103
|
+
redemptionCount: number;
|
|
104
|
+
};
|
|
86
105
|
export type EventTicket = {
|
|
87
106
|
id: string;
|
|
88
107
|
/**
|
package/package.json
CHANGED