27 lines
419 B
TypeScript
27 lines
419 B
TypeScript
|
export interface ScheduleEvent {
|
||
|
name: string,
|
||
|
id: string,
|
||
|
host?: string,
|
||
|
cancelled?: boolean,
|
||
|
description?: string,
|
||
|
slots: TimeSlot[],
|
||
|
}
|
||
|
|
||
|
export interface ScheduleLocation {
|
||
|
name: string,
|
||
|
id: string,
|
||
|
description?: string,
|
||
|
}
|
||
|
|
||
|
export interface TimeSlot {
|
||
|
id: string,
|
||
|
start: string,
|
||
|
end: string,
|
||
|
locations: string[],
|
||
|
}
|
||
|
|
||
|
export interface Schedule {
|
||
|
locations: ScheduleLocation[],
|
||
|
events: ScheduleEvent[],
|
||
|
}
|