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
1
shared/types/account.d.ts
vendored
1
shared/types/account.d.ts
vendored
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue