Appointment.ts
20 lines
| 441 B
| video/mp2t
|
TypeScriptLexer
cin
|
r107 | import { Contact } from "./Contact"; | |
cin
|
r116 | import { QueryResults } from "@implab/djx/store"; | |
cin
|
r107 | ||
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; | |||
cin
|
r116 | getMembers(role?: AppointmentRole): QueryResults<Member>; | |
cin
|
r107 | } |