wedance-shared 1.0.195 → 1.0.196
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.
|
@@ -48,7 +48,7 @@ export type PrivateClass = {
|
|
|
48
48
|
* column on the private_classes table; null when that document is gone.
|
|
49
49
|
*/
|
|
50
50
|
teacher: UserSummary | null;
|
|
51
|
-
priority: number;
|
|
51
|
+
priority: number | null;
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
54
|
* `PUT /private-classes` — creates or replaces the caller's own listing. A full
|
package/dist/types/school.d.ts
CHANGED
|
@@ -96,13 +96,13 @@ export interface SchoolClass {
|
|
|
96
96
|
/** Class booking format (e.g. open vs lead/follow). */
|
|
97
97
|
format: string;
|
|
98
98
|
/** Recurrence rule for generating sessions. */
|
|
99
|
-
|
|
99
|
+
recurrenceType: string;
|
|
100
100
|
/** Weekdays to repeat on (0 = Sunday … 6 = Saturday). Empty when not recurring. */
|
|
101
101
|
repeatWeekdays: number[];
|
|
102
102
|
/** Default session start time (`HH:MM:SS` / `HH:MM`). */
|
|
103
103
|
defaultStartTime: string | null;
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
recurrenceStartsOn: string | null;
|
|
105
|
+
recurrenceEndsOn: string | null;
|
|
106
106
|
/** Fallback session length when a session has no explicit endsAt override. */
|
|
107
107
|
defaultClassDurationMinutes: number | null;
|
|
108
108
|
status: SchoolClassStatus;
|
|
@@ -143,6 +143,8 @@ export interface ClassSession {
|
|
|
143
143
|
roomId: string | null;
|
|
144
144
|
/** Overrides the parent class capacity for this session only. */
|
|
145
145
|
capacityOverride: number | null;
|
|
146
|
+
capacityLeadOverride: number | null;
|
|
147
|
+
capacityFollowOverride: number | null;
|
|
146
148
|
status: ClassSessionStatus;
|
|
147
149
|
cancellationReason: string | null;
|
|
148
150
|
cancelledAt: string | null;
|
package/dist/types/ticket.d.ts
CHANGED
|
@@ -304,7 +304,7 @@ export type CheckoutClient = "mobile" | "web";
|
|
|
304
304
|
export type CheckoutMode = "payment" | "setup" | "subscription";
|
|
305
305
|
export type CheckoutSession = {
|
|
306
306
|
id: string;
|
|
307
|
-
user_id: string;
|
|
307
|
+
user_id: string | null;
|
|
308
308
|
amount: number;
|
|
309
309
|
client: CheckoutClient;
|
|
310
310
|
created: Date;
|
|
@@ -317,7 +317,6 @@ export type CheckoutSession = {
|
|
|
317
317
|
transfer_data_destination: string | null;
|
|
318
318
|
quantity: number;
|
|
319
319
|
event_id: string | null;
|
|
320
|
-
organizer_id: string;
|
|
321
320
|
event_ticket_id: string;
|
|
322
321
|
discount_code: string | null;
|
|
323
322
|
discount_code_id: string | null;
|
package/package.json
CHANGED