wedance-shared 1.0.204 → 1.0.206

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.
@@ -79,6 +79,7 @@ export type OrganizerCapabilities = {
79
79
  promotions: boolean;
80
80
  pushNotifications: boolean;
81
81
  analytics: boolean;
82
+ studioManagement: boolean;
82
83
  };
83
84
  export type UserOrganizerFollow = {
84
85
  id: string;
@@ -12,6 +12,7 @@ export type ClassSessionRegistrationStatus = "booked" | "waitlisted" | "attended
12
12
  /** How a student gained access to a session — sellable products plus non-purchase paths. */
13
13
  export type ClassSessionAccessType = Exclude<ProductType, "event"> | "free" | "manual";
14
14
  export type DancerRole = "lead" | "follow";
15
+ export type EnrollmentMode = "session" | "series";
15
16
  /** Row shape for `public.school_students`. */
16
17
  export interface SchoolStudent {
17
18
  id: string;
@@ -106,6 +107,8 @@ export interface SchoolClass {
106
107
  roomId: string | null;
107
108
  /** Class booking format (e.g. open vs lead/follow). */
108
109
  format: string;
110
+ /** Enrollment mode (e.g. session vs series). */
111
+ enrollmentMode: EnrollmentMode;
109
112
  /** Recurrence rule for generating sessions. */
110
113
  recurrenceType: string;
111
114
  /** Weekdays to repeat on (0 = Sunday … 6 = Saturday). Empty when not recurring. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.204",
3
+ "version": "1.0.206",
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",