TodoListService
Component Detail
Service Layer
medium complexity
backend
0
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Manages the creation, retrieval, updating, and deletion of to-do lists and individual tasks linked to workshop sessions. Enforces ownership and role-based permission checks so only authorized coordinators or facilitators can modify items. Persists task state and assignment data to the database and exposes a REST API consumed by the UI widget.
todo-list-service
Sources & reasoning
Line 100 explicitly lists "to-do-lister" as a named component of the Blindeforbundet Mentorordning alongside note tools and participant lists. Line 471 names Workshop To-Do Lists as a distinct mentor-program feature. The Mentorordning is placed in Fase 3 (line 358), confirming v1.1 as the target release by ordinal mapping.
-
docs/source/likeperson.md · line 100**Mentorordning (karriereverksted):** Eget notatverktøy, to-do-lister og deltakerlister for gruppeveiledning over to dager.
-
docs/source/likeperson.md · line 471| mentor-program | Mentor Program | Career Workshops, Workshop Notes, Workshop Participant Lists, Workshop To-Do Lists |
Responsibilities
- Create and retrieve to-do lists scoped to a specific workshop ID
- Add, update, and delete individual task items within a list
- Validate assignee references against known participants and staff
- Enforce role-based access so only coordinators and facilitators can mutate tasks
- Return paginated task lists ordered by due date and completion status
Interfaces
getTodoList(workshopId: string): TodoList
createTodoItem(workshopId: string, item: TodoItemInput): TodoItem
updateTodoItem(todoId: string, changes: Partial<TodoItem>): TodoItem
deleteTodoItem(todoId: string): void
markComplete(todoId: string, userId: string): TodoItem
Related Data Entities (2)
Data entities managed by this component