-
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.
lectureGroupBlock .jsx nd shape.jsx into tsx
- Loading branch information
1 parent
3dc36fa
commit 83deb14
Showing
8 changed files
with
146 additions
and
57 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
interface classtimeType { | ||
building_code: string; | ||
classroom: string; | ||
classroom_en: string; | ||
classroom_short: string; | ||
classroom_short_en: string; | ||
room_name: string; | ||
day: number; | ||
begin: number; | ||
end: number; | ||
} | ||
|
||
export default classtimeType; |
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,8 @@ | ||
type examtimeType = { | ||
day: number; | ||
str: string; | ||
str_en: string; | ||
begin: number; | ||
end: number; | ||
}; | ||
export default examtimeType; |
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,40 @@ | ||
import classtimeType from './ClasstimeShape'; | ||
import examtimeType from './ExamtimeShape'; | ||
import nestedProfessorType from './NestedProfessorShape'; | ||
|
||
interface lectureType { | ||
id: number; | ||
title: string; | ||
title_en: string; | ||
course: number; | ||
old_code: string; | ||
class_no: string; | ||
year: number; | ||
semester: 1 | 2 | 3 | 4; | ||
code: string; | ||
department: number; | ||
department_code: string; | ||
department_name: string; | ||
department_name_en: string; | ||
type: string; | ||
type_en: string; | ||
limit: number; | ||
num_people: number; | ||
is_english: boolean; | ||
num_classes: number; | ||
num_labs: number; | ||
credit: number; | ||
credit_au: number; | ||
common_title: string; | ||
common_title_en: string; | ||
class_title: string; | ||
class_title_en: string; | ||
review_total_weight: number; | ||
professors: nestedProfessorType; | ||
grade: number; | ||
load: number; | ||
speech: number; | ||
classtimes: classtimeType[]; | ||
examtimes: examtimeType[]; | ||
} | ||
export default lectureType; |
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,7 @@ | ||
type nestedProfessorType = { | ||
name: string; | ||
name_en: string; | ||
professor_id: number; | ||
review_total_weight: number; | ||
}; | ||
export default nestedProfessorType; |