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