wedance-shared 1.0.240 → 1.0.242
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/school.d.ts +5 -1
- package/package.json +1 -1
package/dist/types/school.d.ts
CHANGED
|
@@ -117,6 +117,10 @@ export interface SchoolClass {
|
|
|
117
117
|
organizerId: string;
|
|
118
118
|
name: string;
|
|
119
119
|
description: string | null;
|
|
120
|
+
/**
|
|
121
|
+
* Description of the class when paying at the door on the booking sheet
|
|
122
|
+
*/
|
|
123
|
+
payAtDoorDescription: string | null;
|
|
120
124
|
danceTags: string[];
|
|
121
125
|
level: string | null;
|
|
122
126
|
capacity: number | null;
|
|
@@ -235,7 +239,7 @@ export type PublicRoomSummary = Pick<SchoolRoom, "id" | "name" | "color">;
|
|
|
235
239
|
* the field would carry no information — and plus `description`, which the class detail
|
|
236
240
|
* screen needs and which a second public route just for it would not be worth.
|
|
237
241
|
*/
|
|
238
|
-
export type PublicClassSummary = Pick<SchoolClass, "id" | "name" | "description" | "level" | "danceTags" | "format" | "capacity" | "capacityLead" | "capacityFollow" | "defaultClassDurationMinutes">;
|
|
242
|
+
export type PublicClassSummary = Pick<SchoolClass, "id" | "name" | "description" | "payAtDoorDescription" | "level" | "danceTags" | "format" | "capacity" | "capacityLead" | "capacityFollow" | "defaultClassDurationMinutes">;
|
|
239
243
|
/**
|
|
240
244
|
* One occurrence of a class as an unauthenticated caller sees it. Every capacity is already
|
|
241
245
|
* resolved server side, so a client never reads a raw override.
|
package/package.json
CHANGED