wedance-shared 1.0.157 → 1.0.158

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.
@@ -78,16 +78,6 @@ export type TicketTransfer = {
78
78
  toUserId: string;
79
79
  timestamp: Timestamp;
80
80
  };
81
- /**
82
- * @deprecated Replaced by TicketCoupon
83
- */
84
- export type CouponCode = {
85
- code: string;
86
- discountType: "fixed" | "percentage";
87
- discountAmount: number;
88
- startDate: string | null;
89
- expiryDate: string | null;
90
- };
91
81
  export type EventTicket = {
92
82
  id: string;
93
83
  /**
@@ -108,10 +98,6 @@ export type EventTicket = {
108
98
  */
109
99
  thresholdShowQuantity?: number | null;
110
100
  amountSold: number;
111
- /**
112
- * @deprecated Replaced by TicketCoupon in ticket_coupons table
113
- */
114
- coupons: CouponCode[] | null;
115
101
  name: string;
116
102
  description?: string;
117
103
  maxQuantityPerPurchase?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.157",
3
+ "version": "1.0.158",
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",