owltide/shared/types/schedule.d.ts

29 lines
463 B
TypeScript
Raw Normal View History

2025-02-26 23:56:19 +01:00
export interface ScheduleEvent {
name: string,
id: string,
host?: string,
cancelled?: boolean,
description?: string,
interested?: number,
2025-02-26 23:56:19 +01:00
slots: TimeSlot[],
}
export interface ScheduleLocation {
name: string,
id: string,
description?: string,
}
export interface TimeSlot {
id: string,
start: string,
end: string,
locations: string[],
interested?: number,
2025-02-26 23:56:19 +01:00
}
export interface Schedule {
locations: ScheduleLocation[],
events: ScheduleEvent[],
}