wedance-shared 1.0.9 → 1.0.10

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/ticket.d.ts CHANGED
@@ -41,7 +41,7 @@ export type EventTicket = {
41
41
  ticketType: string;
42
42
  eventId: string;
43
43
  quantity: number;
44
- soldQuantity: number;
44
+ amountSold: number;
45
45
  coupons?: CouponCode[];
46
46
  name: string;
47
47
  description?: string;
@@ -52,4 +52,5 @@ export type EventTicket = {
52
52
  isEarlyBird?: boolean;
53
53
  isTransferable: boolean;
54
54
  isRefundable: boolean;
55
+ status: "published" | "draft";
55
56
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
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",
package/src/ticket.ts CHANGED
@@ -50,7 +50,7 @@ export type EventTicket = {
50
50
  ticketType: string;
51
51
  eventId: string;
52
52
  quantity: number; // Total tickets allocated
53
- soldQuantity: number; // Number of tickets sold
53
+ amountSold: number; // Number of tickets sold
54
54
  coupons?: CouponCode[];
55
55
  name: string;
56
56
  description?: string;
@@ -61,4 +61,5 @@ export type EventTicket = {
61
61
  isEarlyBird?: boolean;
62
62
  isTransferable: boolean;
63
63
  isRefundable: boolean;
64
+ status: "published" | "draft";
64
65
  };