wedance-shared 1.0.190 → 1.0.191

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.
@@ -220,23 +220,21 @@ export interface ClassSessionRegistration {
220
220
  attendanceMarkedAt: string | null;
221
221
  cancelledAt: string | null;
222
222
  role: DancerRole | null;
223
- /**
224
- * Populated by the server with a join. Not a column on the class_session_registrations table.
225
- */
226
- session?: ClassSessionSummary;
227
- /**
228
- * Populated by the server with a join. Not a column on the class_session_registrations table.
229
- */
230
- student?: SchoolStudentSummary;
231
- /**
232
- * Populated by the server with a join. Not a column on the class_session_registrations table.
233
- */
234
- class?: SchoolClassSummary;
235
- /**
236
- * Populated by the server with a join when access is course-based.
237
- * Not a column on the class_session_registrations table.
238
- */
239
- enrollment?: ClassEnrollmentSummary;
240
223
  createdAt: string;
241
224
  updatedAt: string;
242
225
  }
226
+ /**
227
+ * Admin roster row — session context lives on the parent response, not each row.
228
+ * Populated server-side via joins.
229
+ */
230
+ export type ClassSessionRegistrationRosterItem = ClassSessionRegistration & {
231
+ student: SchoolStudentSummary;
232
+ enrollment?: ClassEnrollmentSummary;
233
+ };
234
+ /**
235
+ * User booking row — each row carries its own session context.
236
+ * Populated server-side via joins.
237
+ */
238
+ export type ClassSessionRegistrationListItem = ClassSessionRegistration & {
239
+ session: ClassSessionSummary;
240
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.190",
3
+ "version": "1.0.191",
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",