(#28) Add output data mod

This commit is contained in:
MrKBear 2022-01-20 20:57:41 +08:00
parent d9825d6d68
commit a8e16f5972

View File

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