owltide/shared/types/schedule.d.ts
Hornwitser db8393c3a9 Add crew designator to events
Distinguish between events for attendees to see and events that are
meant only for the crew.
2025-03-10 14:40:02 +01:00

29 lines
480 B
TypeScript

export interface ScheduleEvent {
name: string,
id: string,
crew?: boolean,
host?: string,
cancelled?: boolean,
description?: string,
interested?: number,
slots: TimeSlot[],
}
export interface ScheduleLocation {
name: string,
id: string,
description?: string,
}
export interface TimeSlot {
id: string,
start: string,
end: string,
locations: string[],
interested?: number,
}
export interface Schedule {
locations: ScheduleLocation[],
events: ScheduleEvent[],
}