##// END OF EJS Templates
added reduce() and next() methods to observable...
added reduce() and next() methods to observable query traits are moved to store.ts

File last commit:

r116:aac297dda27d v1.6.0 default
r116:aac297dda27d v1.6.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>;
}