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

Description

Manages persistence and retrieval of workshop participant records and attendance data in the database. Provides transactional operations for registrations and attendance updates, and supports efficient queries for list views and reporting. Acts as the single data access layer for all participant-related storage.

Feature: Workshop Participant Lists

workshop-participant-repository

Sources & reasoning

Line 100 explicitly lists "deltakerlister" (participant lists) as a named component of the Blindeforbundet Mentorordning in the context of two-day group sessions. Line 471 names Workshop Participant Lists as a distinct mentor-program feature. The Mentorordning is placed in Fase 3 (line 358), mapping to v1.1.

  • 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

  • Persist participant registration records with timestamps and metadata
  • Retrieve participant lists by workshop session with pagination support
  • Update attendance flags atomically to prevent partial writes
  • Query aggregate attendance counts for headcount and reporting
  • Delete or archive participant records per data retention policies

Interfaces

insertRegistration(workshopId: string, userId: string): void
deleteRegistration(workshopId: string, userId: string): void
findByWorkshop(workshopId: string, options: QueryOptions): Participant[]
updateAttendance(workshopId: string, userId: string, attended: boolean): void
countAttendees(workshopId: string): AttendanceSummary

Related Data Entities (1)

Data entities managed by this component