@silverbirder/caat
Version:
CaAT is the Google Apps Script Library that Calculate the Assigned Time.
27 lines (26 loc) • 664 B
TypeScript
export default interface ICalendarApp {
calendars?: Array<ICalendarSet>;
getCalendarById(id: string): ICalendar;
}
export interface ICalendarSet {
id: number;
calendar: ICalendar;
}
export interface ICalendar {
calendarEvent?: Array<ICalendarEvent>;
getEvents(startTime: Date, endTime: Date): Array<ICalendarEvent>;
}
export interface ICalendarEvent {
title?: string;
startTime?: any;
endTime?: any;
myStatus?: any;
description?: string;
isAllDay?: boolean;
getTitle(): string;
getStartTime(): any;
getEndTime(): any;
getMyStatus(): any;
getDescription(): string;
isAllDayEvent(): boolean;
}