ecoledirecte.js
Version:
Good-looking client for EcoleDirecte's private API.
54 lines (53 loc) • 1.2 kB
TypeScript
import { course as _course } from "ecoledirecte-api-types/v3";
export declare class Course {
id: number;
text: string;
courseType: string;
subject: string;
subjectCode: string;
teacher: string;
room: string;
class: string;
classCode: string;
group: string;
groupCode: string;
startDate: Date;
endDate: Date;
isFlexible: boolean;
isModified: boolean;
isCancelled: boolean;
color: string;
icon: string;
isExemptable: boolean;
isExempted: number;
hasSessionContent: boolean;
hasHomework: boolean;
_raw: _course;
constructor(o: _course);
toJSON(): courseJson;
}
export interface courseJson {
id: number;
text: string;
courseType: string;
subject: string;
subjectCode: string;
teacher: string;
room: string;
class: string;
classCode: string;
group: string;
groupCode: string;
startDate: Date;
endDate: Date;
isFlexible: boolean;
isModified: boolean;
isCancelled: boolean;
color: string;
icon: string;
isExemptable: boolean;
isExempted: number;
hasSessionContent: boolean;
hasHomework: boolean;
_raw: _course;
}