Workshop Session Service
Component Detail
Service Layer
medium complexity
mobilebackend
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Service handling workshop session lifecycle including creation, retrieval, and status management. Workshop sessions are modelled as course enrollments with a workshop-type discriminator in the courses table, coordinating with the shared Course Repository.
workshop-session-service
Responsibilities
- Fetch workshop sessions available to the current user via REST API
- Create and update workshop session records with workshop-type discriminator
- Resolve enrolled participants for a given workshop session
- Manage to-do item records associated with workshop sessions
Interfaces
getWorkshopSessions() → Future<List<WorkshopSession>>
getWorkshopById(String workshopId) → Future<WorkshopSession>
createTodoItem(String workshopId, String title) → Future<TodoItem>
updateTodoItem(String todoId, bool completed) → Future<TodoItem>
deleteTodoItem(String todoId) → Future<void>