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:
parent
ca51c07065
commit
db9a12250e
5 changed files with 137 additions and 0 deletions
2
shared/types/schedule.d.ts
vendored
2
shared/types/schedule.d.ts
vendored
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue