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

@ -3,6 +3,7 @@ export interface Account {
type: "anonymous" | "regular" | "crew" | "admin",
/** Name of the account. Not present on anonymous accounts */
name?: string,
interestedIds?: string[],
}
export interface Subscription {