-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
211 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
export namespace ITimetable { | ||
export interface IClasstime { | ||
id: number; | ||
day: number; | ||
begin: Date; | ||
end: Date; | ||
type: string; | ||
building_id: string | null; | ||
building_full_name: string | null; | ||
building_full_name_en: string | null; | ||
room_name: string | null; | ||
unit_time: number | null; | ||
lecture_id: number | null; | ||
// Additional properties as needed | ||
} | ||
|
||
export interface ILecture { | ||
id: number; | ||
code: string; | ||
old_code: string; | ||
year: number; | ||
semester: number; | ||
department_id: number; | ||
class_no: string; | ||
title: string; | ||
title_en: string; | ||
type: string; | ||
type_en: string; | ||
audience: number; | ||
credit: number; | ||
title_en_no_space: string; | ||
title_no_space: string; | ||
num_classes: number; | ||
num_labs: number; | ||
credit_au: number; | ||
limit: number; | ||
num_people: number | null; // Allow num_people to be null | ||
is_english: boolean; | ||
deleted: boolean; | ||
course_id: number; | ||
grade_sum: number; | ||
load_sum: number; | ||
speech_sum: number; | ||
grade: number; | ||
load: number; | ||
speech: number; | ||
review_total_weight: number; | ||
class_title: string | null; | ||
class_title_en: string | null; | ||
common_title: string | null; | ||
common_title_en: string | null; | ||
subject_classtime: IClasstime[]; | ||
// Additional properties as needed | ||
} | ||
|
||
// Other interfaces as needed... | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * from './IAuth'; | ||
export * from './ICourse'; | ||
export * from './IFeed'; | ||
export * from './ITimetable'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.