##// END OF EJS Templates
added observable.collect() method to collect a sequnce to the array...
added observable.collect() method to collect a sequnce to the array added support for Promises to of(...) function

File last commit:

r116:aac297dda27d v1.6.0 default
r129:66546e709732 v1.8.0 default
Show More
Appointment.ts
20 lines | 441 B | video/mp2t | TypeScriptLexer
import { Contact } from "./Contact";
import { QueryResults } from "@implab/djx/store";
export type AppointmentRole = "organizer" | "speaker" | "participant";
export interface Member extends Contact {
role: AppointmentRole;
}
export interface Appointment {
id: string;
title: string;
startAt: Date;
/** Duration in minutes */
duration: number;
getMembers(role?: AppointmentRole): QueryResults<Member>;
}