(#28)Add a api frame (incomplete file) #51

Merged
MrKBear merged 10 commits from dev-tamako into master 2022-01-20 23:52:35 +08:00
Showing only changes of commit a8e16f5972 - Show all commits

View File

@ -13,9 +13,41 @@ interface IScheduleInput {
semester: string; semester: string;
} }
interface IClassData {
/**
*
*/
name: string;
/**
*
*/
room?: string;
/**
*
*/
teacher?: string;
/**
*
*/
week: string;
}
interface IScheduleOutput { interface IScheduleOutput {
} /**
*
*/
classList: IClassData[];
/**
*
*/
index: number;
}[];
interface IScheduleEvent { interface IScheduleEvent {
/** /**
@ -73,3 +105,6 @@ class Schedlue extends API<IScheduleInput, IScheduleOutput, IScheduleEvent> {
this.addFailedCallBack(); this.addFailedCallBack();
} }
} }
export { Schedlue };
export default Schedlue;