Track which account is interested in which events

Store a list of ids of events and slots that accounts have marked as
being interested in, and show aggeregate counts in the schedule.
This commit is contained in:
Hornwitser 2025-03-07 20:15:41 +01:00
parent ca51c07065
commit db9a12250e
5 changed files with 137 additions and 0 deletions

View file

@ -4,6 +4,7 @@ export interface ScheduleEvent {
host?: string,
cancelled?: boolean,
description?: string,
interested?: number,
slots: TimeSlot[],
}
@ -18,6 +19,7 @@ export interface TimeSlot {
start: string,
end: string,
locations: string[],
interested?: number,
}
export interface Schedule {