Appointment.ts
19 lines
| 379 B
| video/mp2t
|
TypeScriptLexer
cin
|
r107 | import { Contact } from "./Contact"; | |
cin
|
r110 | export type AppointmentRole = "organizer" | "speaker" | "participant"; | |
cin
|
r107 | ||
export interface Member extends Contact { | |||
role: AppointmentRole; | |||
} | |||
export interface Appointment { | |||
cin
|
r110 | id: string; | |
cin
|
r107 | title: string; | |
startAt: Date; | |||
/** Duration in minutes */ | |||
duration: number; | |||
getMembers(role?: AppointmentRole): Member[]; | |||
} |