Classes and scheduling

Class types, weekly schedules, dated sessions, and capacity.

Pages: /dashboard/platform/class-catalog (generated CRUD on ClassType), /instructors, /locations, /scheduling (schedulingWorkspace).

Define class types and coaches

Difficulty, duration, equipment. Coaches: createCoachProfile from an existing user (eligibleCoachAccounts).

Save a weekly schedule

saveGymClassSchedule, then updateClassScheduleCapacity.

Generate sessions

generateUpcomingClassInstances creates dated ClassInstance rows for 1 to 12 weeks. Conflicts with a coach, room, closure, or qualification are skipped and reported.

Edit or cancel a session

saveGymClassInstance, updateClassInstanceCapacity, cancelClassInstance. "Class capacity exceeds the room".

On this page