You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
declare module 'ical.js' {
|
|
|
|
function parse(input: string): Array<any>;
|
|
|
|
class Component {
|
|
|
|
name: string;
|
|
|
|
|
|
|
|
constructor(jCal: Array<any> | string, parent?: Component);
|
|
|
|
|
|
|
|
getFirstSubcomponent(name?: string): Component | null;
|
|
|
|
|
|
|
|
getFirstPropertyValue(name?: string): any;
|
|
|
|
|
|
|
|
getFirstProperty(name?: string): Property;
|
|
|
|
getAllProperties(name?: string): Array<Property>;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Event {
|
|
|
|
uid: string;
|
|
|
|
summary: string;
|
|
|
|
startDate: Time;
|
|
|
|
endDate: Time;
|
|
|
|
description: string;
|
|
|
|
location: string;
|
|
|
|
attendees: Array<Property>;
|
|
|
|
|
|
|
|
constructor(component?: Component | null,
|
|
|
|
options?: {strictExceptions: boolean, exepctions: Array<Component|Event>});
|
|
|
|
}
|
|
|
|
|
|
|
|
class Property {
|
|
|
|
name: string;
|
|
|
|
type: string;
|
|
|
|
|
|
|
|
getFirstValue(): any;
|
|
|
|
getValues(): Array<any>;
|
|
|
|
toJSON(): any;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Time {
|
|
|
|
isDate: boolean;
|
|
|
|
|
|
|
|
toJSDate(): Date;
|
|
|
|
}
|
|
|
|
}
|