wedance-shared 1.0.186 → 1.0.187
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/coupons.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ export type TicketCoupon = {
|
|
|
24
24
|
organizerId: string | null;
|
|
25
25
|
maxRedemptions: number | null;
|
|
26
26
|
redemptionCount: number;
|
|
27
|
+
/** Soft-delete timestamp; null while the coupon is active. */
|
|
28
|
+
deletedAt: string | null;
|
|
27
29
|
/**
|
|
28
30
|
* ticketTypes will be populated in the server with join. It is not in the ticket_coupons table.
|
|
29
31
|
*/
|
|
@@ -62,6 +62,12 @@ export type OrganizerData = {
|
|
|
62
62
|
addressCity?: string | null;
|
|
63
63
|
/** ISO-3166 alpha-2, e.g. "FI". */
|
|
64
64
|
addressCountryCode?: string | null;
|
|
65
|
+
phone?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Default length (minutes) used when creating class sessions for this
|
|
68
|
+
* organizer. Per-class overrides live on SchoolClass.
|
|
69
|
+
*/
|
|
70
|
+
defaultClassDurationMinutes?: number | null;
|
|
65
71
|
};
|
|
66
72
|
/**
|
|
67
73
|
* Lightweight organizer projection with the public info needed
|
package/dist/types/school.d.ts
CHANGED
|
@@ -52,6 +52,8 @@ export interface SchoolClass {
|
|
|
52
52
|
level: string | null;
|
|
53
53
|
capacity: number | null;
|
|
54
54
|
instructorStaffId: string | null;
|
|
55
|
+
/** Fallback session length when a session has no explicit endsAt override. */
|
|
56
|
+
defaultClassDurationMinutes: number | null;
|
|
55
57
|
status: SchoolClassStatus;
|
|
56
58
|
createdAt: string;
|
|
57
59
|
updatedAt: string;
|
package/package.json
CHANGED