-
- Course Viewer
-
-
- Total: {courses.length}
- (
-
- {course.id} {course.name} - {course.teacher} ({course.credit} credits)
-
- )}
- style={{ marginTop: '20px' }}
- />
-
+
);
};
diff --git a/nsysu_selector_helper/src/api/NSYSUCourseAPI.ts b/nsysu_selector_helper/src/api/NSYSUCourseAPI.ts
index 22633ca..049081e 100644
--- a/nsysu_selector_helper/src/api/NSYSUCourseAPI.ts
+++ b/nsysu_selector_helper/src/api/NSYSUCourseAPI.ts
@@ -3,6 +3,9 @@ import { AcademicYear, Course, SemesterUpdate } from '@/types';
const BASE_URL = 'https://whats2000.github.io/NSYSUCourseAPI';
export class NSYSUCourseAPI {
+ /**
+ * 取得所有可用學期列表
+ */
static async getAvailableSemesters(): Promise