Data Layer medium complexity backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Persistence layer for workshop to-do items. Stores each item with its workshop reference, assignee, due date, and done state as part of the workshop's permanent record.

Feature: Workshop To-Do Lists

todo-list-store

Sources & reasoning

To-do lists are the third explicit Blindeforbundet workshop sub-need named in §3.1 ("to-do-lister") and a distinct feature in the canonical Mentor Program area listing in §8. Workshop-scoped to-dos are separate from implementation tasks and from contact notes, justifying their own feature in this area.

  • Mentorordning (karriereverksted): Eget notatverktøy, to-do-lister og deltakerlister for gruppeveiledning over to dager.
  • mentor-program | Mentor Program | Career Workshops, Workshop Notes, Workshop Participant Lists, Workshop To-Do Lists

Responsibilities

  • Persist to-do item records with workshop_id foreign key
  • Index items by workshop for efficient retrieval
  • Store assignee reference, due date, and done flag
  • Maintain referential integrity with workshop and participant entities
  • Support queries filtered by workshop, assignee, and completion state

Interfaces

insert(todo): TodoRecord
findByWorkshopId(workshopId): TodoRecord[]
findByAssignee(assigneeId): TodoRecord[]
update(todoId, fields): TodoRecord
delete(todoId): void