-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
backendthis ticket is part of the backendthis ticket is part of the backend
Milestone
Description
Implement the get_volunteers_table function to fetch all the volunteers' data from the database.
Return a list of volunteer objects. Use types declared in src/lib/client/supabase/types.ts for more precise return values. Example:
[
{ volunteer: Volunteer1, cohorts: [Cohort1Volunteer1, Cohort2Volunteer1], roles: [Role1Volunteer1, Role2Volunteer1] },
{ volunteer: Volunteer2, cohorts: [Cohort1Volunteer2, Cohort2Volunteer2, Cohort3Volunteer2], roles: [Role1Volunteer2] },
...
]
Implement tests for this function.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
backendthis ticket is part of the backendthis ticket is part of the backend