From f10d958785f46582855bfef2ee9c0831712bd50c Mon Sep 17 00:00:00 2001 From: ImJustChew Date: Wed, 11 Dec 2024 11:52:07 +0900 Subject: [PATCH] chore: added new departments --- src/components/CustomCourseDialog.tsx | 218 +++++++++++ src/const/departments.ts | 528 ++++++++++++++++++++------ 2 files changed, 639 insertions(+), 107 deletions(-) create mode 100644 src/components/CustomCourseDialog.tsx diff --git a/src/components/CustomCourseDialog.tsx b/src/components/CustomCourseDialog.tsx new file mode 100644 index 00000000..1887b566 --- /dev/null +++ b/src/components/CustomCourseDialog.tsx @@ -0,0 +1,218 @@ +import React from "react"; +import { useForm, Controller } from "react-hook-form"; +import { + Dialog, + DialogTrigger, + DialogContent, + DialogHeader, + DialogTitle, +} from "@/components/ui/dialog"; +import { + Form, + FormField, + FormItem, + FormLabel, + FormControl, + FormMessage, +} from "@/components/ui/form"; +import { Input } from "@/components/ui/input"; +import { + Select, + SelectTrigger, + SelectContent, + SelectItem, + SelectValue, +} from "@/components/ui/select"; +import { Button } from "@/components/ui/button"; +import { Textarea } from "@/components/ui/textarea"; +import { useRxDB } from "rxdb-hooks"; +import { MinimalCourse } from "@/types/courses"; + +interface CustomCourseFormValues { + name: string; + department: string; + courseCode: string; + classCode: string; + credits: number; + venues: string; + times: string; + teachers: string; + language: string; +} + +const CustomCourseDialog: React.FC = () => { + const { control, handleSubmit, reset } = useForm(); + const db = useRxDB(); + + const onSubmit = async (data: CustomCourseFormValues) => { + const minimalCourse: MinimalCourse = { + raw_id: `${data.department}${data.courseCode}${data.classCode}`, + name_zh: data.name, + name_en: data.name, + semester: "2023", + department: data.department, + course: data.courseCode, + class: data.classCode, + credits: data.credits, + venues: data.venues.split(","), + times: data.times.split(","), + teacher_zh: data.teachers.split(","), + teacher_en: data.teachers.split(","), + language: data.language as "中" | "英", + }; + + await db.items.insert({ + id: minimalCourse.raw_id, + title: minimalCourse.name_zh, + parent: "custom", + credits: minimalCourse.credits, + type: "custom", + minimalCourse, + }); + + reset(); + }; + + return ( + + + + + + + Add Custom Course + +
+ ( + + Course Name + + + + + + )} + /> + ( + + Department + + + + + + )} + /> + ( + + Course Code + + + + + + )} + /> + ( + + Class Code + + + + + + )} + /> + ( + + Credits + + + + + + )} + /> + ( + + Venues (comma separated) + + + + + + )} + /> + ( + + Times (comma separated) + + + + + + )} + /> + ( + + Teachers (comma separated) + + + + + + )} + /> + ( + + Language + + + + + + )} + /> + + +
+
+ ); +}; + +export default CustomCourseDialog; diff --git a/src/const/departments.ts b/src/const/departments.ts index 93e41ccd..ee47d0db 100644 --- a/src/const/departments.ts +++ b/src/const/departments.ts @@ -4,6 +4,11 @@ export const departments = [ name_zh: "分環所", name_en: "Institute of Analytical and Environmental Sciences", }, + { + code: "AIA", + name_zh: "台灣人工智慧學程聯盟", + name_en: "Taiwan Artificial Intelligence College Alliance", + }, { code: "AIIM", name_zh: "AI智造暨聯網產碩專班", @@ -16,37 +21,81 @@ export const departments = [ name_en: "Advanced Intelligent Manufacture for Electric Vehicle Master Program", }, - { code: "ANTH", name_zh: "人類所", name_en: "Anthropology" }, + { + code: "ANTH", + name_zh: "人類所", + name_en: "Anthropology", + }, { code: "ANTU", name_zh: "人類所與交大合作課程", name_en: "Anthropology and NCTU", }, - { code: "ASTR", name_zh: "天文所", name_en: "Astronomy" }, - { code: "BAI", name_zh: "智慧生醫博士學位學程", name_en: " " }, - { code: "BME", name_zh: "醫工所", name_en: "Biomedical Engineering" }, + { + code: "ASTR", + name_zh: "天文所", + name_en: "Astronomy", + }, + { + code: "BAI", + name_zh: "智慧生醫博士學位學程", + name_en: "Doctoral Program in Intelligent Biomedical Science", + }, + { + code: "BME", + name_zh: "醫工所", + name_en: "Biomedical Engineering", + }, { code: "BMES", name_zh: "醫環系", name_en: "Biomedical Engineering and Environmental Sciences", }, - { code: "CF", name_zh: "大學中文", name_en: "College Chinese" }, - { code: "CHE", name_zh: "化工系", name_en: "Chemical Engineering" }, - { code: "CHEM", name_zh: "化學系", name_en: "Chemistry" }, + { + code: "CF", + name_zh: "大學中文", + name_en: "College Chinese", + }, + { + code: "CHE", + name_zh: "化工系", + name_en: "Chemical Engineering", + }, + { + code: "CHEM", + name_zh: "化學系", + name_en: "Chemistry", + }, { code: "CHSS", name_zh: "人社院", name_en: "College of Humanities & Social Sciences", }, - { code: "CL", name_zh: "中文系", name_en: "Chinese Literature" }, - { code: "CLC", name_zh: "華語中心", name_en: "Chinese Language Center" }, + { + code: "CL", + name_zh: "中文系", + name_en: "Chinese Literature", + }, + { + code: "CLC", + name_zh: "華語中心", + name_en: "Chinese Language Center", + }, { code: "CLU", name_zh: "中文系與交大合作課程", - name_en: "Chinese Literature and NCTU", + name_en: "Chinese Literature and NCTU", + }, + { + code: "COM", + name_zh: "通訊所", + name_en: "Communications Engineering", + }, + { + code: "CS", + name_zh: "資工系", + name_en: "Computer Science", }, - { code: "COM", name_zh: "通訊所", name_en: "Communications Engineering" }, - { code: "CS", name_zh: "資工系", name_en: "Computer Science" }, { code: "CSR", name_zh: "半導體研究學院", @@ -57,11 +106,36 @@ export const departments = [ name_zh: "科管院", name_en: "College of Technology Management", }, - { code: "DL", name_zh: "遠距課(同步/非同步)", name_en: "Distance Learning" }, - { code: "DMS", name_zh: "醫科系", name_en: "Medical Science" }, - { code: "E", name_zh: "工學院", name_en: "College of Engineering" }, - { code: "ECON", name_zh: "經濟系", name_en: "Economics" }, - { code: "EE", name_zh: "電機系", name_en: "Electrical Engineering" }, + { + code: "DL", + name_zh: "遠距課(同步/非同步)", + name_en: "Distance Learning", + }, + { + code: "DMS", + name_zh: "醫科系", + name_en: "Medical Science", + }, + { + code: "E", + name_zh: "工學院", + name_en: "College of Engineering", + }, + { + code: "EC", + name_zh: "電資院", + name_en: "College of Electrical Engineering and Computer Science", + }, + { + code: "ECON", + name_zh: "經濟系", + name_en: "Economics", + }, + { + code: "EE", + name_zh: "電機系", + name_en: "Electrical Engineering", + }, { code: "EECS", name_zh: "電資院學士班", @@ -73,7 +147,11 @@ export const departments = [ name_zh: "高階經營管理碩士專班", name_en: "Executive Master of Business Administration", }, - { code: "EMD", name_zh: "EMBA雙聯學位學程", name_en: " " }, + { + code: "EMD", + name_zh: "EMBA雙聯學位學程", + name_en: "Executive MBA Dual Degree Program", + }, { code: "EMIM", name_zh: "智慧製造高階在職專班", @@ -86,16 +164,32 @@ export const departments = [ name_en: "Asia-Pacific Executive Master of Business Administration in Malaysia", }, - { code: "EMS", name_zh: "EMBA深圳境外專班", name_en: "MBA (ShenZhen)" }, - { code: "ENE", name_zh: "電子所", name_en: "Electronic Engineering" }, - { code: "ESS", name_zh: "工科系", name_en: "Engineering and System Science" }, + { + code: "EMS", + name_zh: "EMBA深圳境外專班", + name_en: "MBA (ShenZhen)", + }, + { + code: "ENE", + name_zh: "電子所", + name_en: "Electronic Engineering", + }, + { + code: "ESS", + name_zh: "工科系", + name_en: "Engineering and System Science", + }, { code: "EST", name_zh: "環境博士學位學程", name_en: - "International Ph.D. Program in Environmental Science and Technology(University System of Taiwan)", + "International Ph.D. Program in Environmental Science and Technology (University System of Taiwan)", + }, + { + code: "ESTU", + name_zh: "環境博士學程與台聯大", + name_en: "Environmental Ph.D. Program with University System of Taiwan", }, - { code: "ESTU", name_zh: "環境博士學程與台聯大", name_en: " " }, { code: "FL", name_zh: "外語系", @@ -112,7 +206,11 @@ export const departments = [ name_en: "Industrial Technology Graduate Program of Fluid Machinery and Advanced Materials with Intelligent In", }, - { code: "GE", name_zh: "通識中心", name_en: "General Education Center" }, + { + code: "GE", + name_zh: "通識中心", + name_en: "General Education Center", + }, { code: "GEC", name_zh: "通識核心", @@ -123,7 +221,11 @@ export const departments = [ name_zh: "通識中心與交大合作課", name_en: "General Education and NCTU", }, - { code: "GLLB", name_zh: "學士後法律學士學位學", name_en: " " }, + { + code: "GLLB", + name_zh: "學士後法律學士學位學", + name_en: "Post-Bachelor’s Program in Law", + }, { code: "GOM", name_zh: "全球營運管理碩士學程", @@ -139,7 +241,11 @@ export const departments = [ name_zh: "健康經管碩士在職專班", name_en: "Master Program of Health Policy and Business Administration", }, - { code: "HIS", name_zh: "歷史所", name_en: "History" }, + { + code: "HIS", + name_zh: "歷史所", + name_en: "History", + }, { code: "HSS", name_zh: "人社院學士班", @@ -183,6 +289,12 @@ export const departments = [ name_en: "Industrial Engineering and Engineering Management (Engineering Professional Master Program)", }, + { + code: "IIMT", + name_zh: "智慧製造技術產碩專班", + name_en: + "Industrial Technology Graduate Program of Intelligent Manufacturing Technology", + }, { code: "IIS", name_zh: "資安所", @@ -193,13 +305,6 @@ export const departments = [ name_zh: "IMBA碩士班", name_en: "International Master of Business Administration", }, - { code: "IMCT", name_zh: "資通訊控制與熱流專班", name_en: " " }, - { - code: "IMII", - name_zh: "AI製造與物聯網產碩班", - name_en: - "AI Intelligent Manufacturing and Industrial IoT Master Program of Industry", - }, { code: "IMS", name_zh: "跨院國際碩士學位", @@ -208,7 +313,7 @@ export const departments = [ { code: "IPE", name_zh: "工學院學士班", - name_en: "Interdisciplinary Program of Engineering", + name_en: "Interdisciplinary Program of Engineering", }, { code: "IPHD", @@ -217,15 +322,19 @@ export const departments = [ }, { code: "IPMT", - name_zh: "科管院學士班", - name_en: "(112起) Interdisciplinary Program of Management and Technology", + name_zh: "科管院學士班 (112起)", + name_en: "Interdisciplinary Program of Management and Technology", }, { code: "IPNS", name_zh: "原科院學士班", name_en: "Interdisciplinary Program of Nuclear Science", }, - { code: "IPT", name_zh: "光電所", name_en: "Photonics Technologies" }, + { + code: "IPT", + name_zh: "光電所", + name_en: "Photonics Technologies", + }, { code: "IPTH", name_zh: "清華學院學士班", @@ -236,13 +345,25 @@ export const departments = [ name_zh: "資應所", name_en: "Information Systems and Applications", }, - { code: "ISS", name_zh: "服科所", name_en: "Service Science" }, - { code: "JAC", name_zh: "藝術學院", name_en: "College of Arts" }, - { code: "JAD", name_zh: "藝設系", name_en: "Department of Arts and Design" }, + { + code: "ISS", + name_zh: "服科所", + name_en: "Service Science", + }, + { + code: "JAC", + name_zh: "藝術學院", + name_en: "College of Arts", + }, + { + code: "JAD", + name_zh: "藝設系", + name_en: "Department of Arts and Design", + }, { code: "JADN", name_zh: "藝設系在職專班", - name_en: " In-service Master Program of Arts Education for Teachers", + name_en: "In-service Master Program of Arts Education for Teachers", }, { code: "JANT", @@ -254,11 +375,15 @@ export const departments = [ name_zh: "藝術學院學士班", name_en: "Interdisciplinary Program of Technology and Art", }, - { code: "JMU", name_zh: "音樂系", name_en: "Department of Music" }, + { + code: "JMU", + name_zh: "音樂系", + name_en: "Department of Music", + }, { code: "JMUN", name_zh: "音樂系在職專班", - name_en: " In-service Master Program in Music", + name_en: "In-service Master Program in Music", }, { code: "KCSN", @@ -274,7 +399,7 @@ export const departments = [ code: "KECN", name_zh: "環文系在職專班", name_en: - " In-service Master Program of Community Development and Social Studies, Department of Environmental", + "In-service Master Program of Community Development and Social Studies, Department of Environmental", }, { code: "KEE", @@ -285,7 +410,7 @@ export const departments = [ code: "KEEN", name_zh: "幼教系在職專班", name_en: - " Master Program in Early Childhood Education for In-service Practitioners", + "Master Program in Early Childhood Education for In-service Practitioners", }, { code: "KEL", @@ -296,15 +421,23 @@ export const departments = [ code: "KELN", name_zh: "教科系在職專班", name_en: - " In-service Master Program of Curriculum and Instruction/Educational Administration", + "In-service Master Program of Curriculum and Instruction/Educational Administration", + }, + { + code: "KENI", + name_zh: "英教系", + name_en: "English Instruction", }, - { code: "KENI", name_zh: "英教系", name_en: "English Instruction" }, { code: "KES", name_zh: "竹師教育學院博士班", name_en: "Ph.D. Program in Education Sciences", }, - { code: "KHCT", name_zh: "竹師教育學院", name_en: "College of Education" }, + { + code: "KHCT", + name_zh: "竹師教育學院", + name_en: "College of Education", + }, { code: "KIPE", name_zh: "竹師教育學院學士班", @@ -323,7 +456,7 @@ export const departments = [ { code: "KMSN", name_zh: "數理所在職專班", - name_en: " Mathematics & Science Education Master Inservice Program", + name_en: "Mathematics & Science Education Master Inservice Program", }, { code: "KPC", @@ -338,8 +471,8 @@ export const departments = [ }, { code: "KPE", - name_zh: "體育系", - name_en: "(已停用 Deactivate) Department of Physical Education", + name_zh: "體育系 (已停用)", + name_en: "Department of Physical Education (Deactivated)", }, { code: "KSEN", @@ -349,10 +482,18 @@ export const departments = [ { code: "KSN", name_zh: "新加坡心諮碩專班", - name_en: "Master ’s Program in Psychology and Counseling, Singapore", + name_en: "Master’s Program in Psychology and Counseling, Singapore", + }, + { + code: "KSPE", + name_zh: "特教系", + name_en: "Special Education", + }, + { + code: "KSS", + name_zh: "運科系", + name_en: "Department of Kinesiology", }, - { code: "KSPE", name_zh: "特教系", name_en: "Special Education" }, - { code: "KSS", name_zh: "運科系", name_en: "Department of Kinesiology" }, { code: "KSSN", name_zh: "運科系在職專班", @@ -373,38 +514,82 @@ export const departments = [ name_zh: "英語教育中心(110起)", name_en: "Center for English Education", }, - { code: "LE", name_zh: "語文中心", name_en: "Center for Language Education" }, - { code: "LING", name_zh: "語言所", name_en: "Linguistics" }, + { + code: "LE", + name_zh: "語文中心", + name_en: "Center for Language Education", + }, + { + code: "LING", + name_zh: "語言所", + name_en: "Linguistics", + }, { code: "LMIP", - name_zh: "生醫學院學士班(112起", + name_zh: "生醫學院學士班(112起)", name_en: "Interdisciplinary Program of Life Sciences and Medicine", }, - { code: "LS", name_zh: "生科系", name_en: "Life Science" }, - { code: "LSBI", name_zh: "生技產業博士學程", name_en: " " }, + { + code: "LS", + name_zh: "生科系", + name_en: "Life Science", + }, + { + code: "LSBI", + name_zh: "生技產業博士學程", + name_en: "Doctoral Program in Biotechnology Industry", + }, { code: "LSBS", name_zh: "生資所", name_en: "Bioinformatics and Structural Biology", }, - { code: "LSBT", name_zh: "生技所", name_en: "Biotechnology" }, - { code: "LSC", name_zh: "生醫學院", name_en: "College of Life Science" }, + { + code: "LSBT", + name_zh: "生技所", + name_en: "Biotechnology", + }, + { + code: "LSC", + name_zh: "生醫學院", + name_en: "College of Life Science", + }, { code: "LSIN", name_zh: "神經科學博士學程", name_en: - "Ph.D. Program in Interdisciplinary Neuroscience(University System of Taiwan)", + "Ph.D. Program in Interdisciplinary Neuroscience (University System of Taiwan)", }, { code: "LSMC", name_zh: "分生所", name_en: "Molecular and Cellular Biology", }, - { code: "LSMM", name_zh: "分醫所", name_en: "Molecular Medicine" }, - { code: "LSSN", name_zh: "系神所", name_en: "Systems Neuroscience" }, - { code: "LST", name_zh: "科法所", name_en: "Law for Science and Technology" }, - { code: "MATH", name_zh: "數學系", name_en: "Mathematics" }, - { code: "MATU", name_zh: "數學系與交大合作", name_en: "Mathematics & NCTU" }, + { + code: "LSMM", + name_zh: "分醫所", + name_en: "Molecular Medicine", + }, + { + code: "LSSN", + name_zh: "系神所", + name_en: "Systems Neuroscience", + }, + { + code: "LST", + name_zh: "科法所", + name_en: "Law for Science and Technology", + }, + { + code: "MATH", + name_zh: "數學系", + name_en: "Mathematics", + }, + { + code: "MATU", + name_zh: "數學系與陽明交大合作", + name_en: "Mathematics & NYCU", + }, { code: "MBA", name_zh: "MBA專班", @@ -418,9 +603,13 @@ export const departments = [ { code: "MFB", name_zh: "財金碩士專班", - name_en: "Master Program of Finance and Banking", + name_en: "Master Program of Finance and Banking", + }, + { + code: "MI", + name_zh: "國防教育課", + name_en: "Military Education", }, - { code: "MI", name_zh: "國防教育課", name_en: "Military Education" }, { code: "MPM", name_zh: "公共政策與管理專班", @@ -441,33 +630,65 @@ export const departments = [ name_zh: "核工所", name_en: "Nuclear Engineering and Science", }, - { code: "NUCL", name_zh: "原科院", name_en: "College of Nuclear Science" }, - { code: "PE", name_zh: "體育室", name_en: "Physical Education" }, - { code: "PE1", name_zh: "大一體育", name_en: "Physical Education" }, - { code: "PE3", name_zh: "體育(校隊)", name_en: "Physical Education" }, + { + code: "NUCL", + name_zh: "原科院", + name_en: "College of Nuclear Science", + }, + { + code: "PE", + name_zh: "體育室", + name_en: "Physical Education", + }, + { + code: "PE1", + name_zh: "大一體育", + name_en: "Freshman Physical Education", + }, + { + code: "PE3", + name_zh: "體育(校隊)", + name_en: "Physical Education (School Teams)", + }, { code: "PFMI", name_zh: "前瞻產博學程", - name_en: "Ph. D. Program in Prospective Functional Materials Industry", + name_en: "Ph.D. Program in Prospective Functional Materials Industry", + }, + { + code: "PHIL", + name_zh: "哲學所", + name_en: "Philosophy", + }, + { + code: "PHYS", + name_zh: "物理系", + name_en: "Physics", }, - { code: "PHIL", name_zh: "哲學所", name_en: "Philosophy" }, - { code: "PHYS", name_zh: "物理系", name_en: "Physics" }, { code: "PHYU", name_zh: "物理系與交大合作課程", name_en: "Physics and NCTU", }, - { code: "PME", name_zh: "動機系", name_en: "Power Mechanical Engineering" }, + { + code: "PME", + name_zh: "動機系", + name_en: "Power Mechanical Engineering", + }, { code: "PMED", name_zh: "精準醫療博士學位學程", - name_en: "Presicion Medicine Ph.D. Program", + name_en: "Precision Medicine Ph.D. Program", + }, + { + code: "QF", + name_zh: "計財系", + name_en: "Quantitative Finance", }, - { code: "QF", name_zh: "計財系", name_en: "Quantitative Finance" }, { code: "QTAM", name_zh: "量子科技博士學位學程", - name_en: "Graduate Program of Quantum Technology and Advanced Materials", + name_en: "Graduate Program of Quantum Technology and Advanced Materials", }, { code: "RADM", @@ -490,13 +711,21 @@ export const departments = [ name_zh: "產業研發碩士電力電子", name_en: "Industrial Technology R&D Master Program on Power Electronics", }, - { code: "S", name_zh: "理學院", name_en: "College of Science" }, + { + code: "S", + name_zh: "理學院", + name_en: "College of Science", + }, { code: "SCI", name_zh: "理學院學士班", name_en: "Interdisciplinary Program of Sciences", }, - { code: "SL", name_zh: "華文所", name_en: " " }, + { + code: "SL", + name_zh: "華文所", + name_en: "Chinese Literature Department", + }, { code: "SLS", name_zh: "先進光源科技學位學程", @@ -508,49 +737,134 @@ export const departments = [ name_zh: "社群人智國際學程", name_en: "Social Networks and Human-Centered Computing", }, - { code: "SOC", name_zh: "社會所", name_en: "Sociology" }, - { code: "STAT", name_zh: "統計所", name_en: "Statistics" }, + { + code: "SOC", + name_zh: "社會所", + name_en: "Sociology", + }, + { + code: "STAT", + name_zh: "統計所", + name_en: "Statistics", + }, { code: "STAU", - name_zh: "統計所與交大合作課程", - name_en: "Statistics & NCTU", + name_zh: "統計所與陽明交大合作", + name_en: "Statistics & NYCU", + }, + { + code: "TE", + name_zh: "師培中心(中等教程)", + name_en: "Educational Program for Secondary School Teachers", + }, + { + code: "TEE", + name_zh: "師培中心(國小教程)", + name_en: "Educational Program for Elementary School Teachers", }, - { code: "TE", name_zh: "師培中心(中等教程)", name_en: "Teacher Education" }, - { code: "TEE", name_zh: "師培中心(國小教程)", name_en: "Teacher Education" }, { code: "TEG", - name_zh: "師培中心(一般課程)", + name_zh: "師培一般(非教育專業)", name_en: "Teacher Education (General Courses)", }, - { code: "THC", name_zh: "清華學院", name_en: "Tsing Hua College" }, - { code: "THSM", name_zh: "學士後醫學系", name_en: " " }, + { + code: "THC", + name_zh: "清華學院", + name_en: "Tsing Hua College", + }, + { + code: "THSM", + name_zh: "學士後醫學系", + name_en: "School of Medicine", + }, { code: "TIGP", name_zh: "國際研究生學程", name_en: "Taiwan International Graduate Program", }, - { code: "TL", name_zh: "台文所", name_en: "Taiwan Literature" }, - { code: "TM", name_zh: "科管所", name_en: "Technology Management" }, + { + code: "TL", + name_zh: "台文所", + name_en: "Taiwan Literature", + }, + { + code: "TM", + name_zh: "科管所", + name_en: "Technology Management", + }, { code: "TSE", - name_zh: "台北政經學院", - name_en: "Taipei School of Economics and Political Science", + name_zh: "台北政經學院碩士班", + name_en: "Master Program in Political Economy", + }, + { + code: "TSED", + name_zh: "台北政經學院博士班", + name_en: "Doctoral Program in Political Economy", }, { code: "UPPP", name_zh: "光電博士學程", name_en: "Ph.D. Program in Photonics (University System of Taiwan)", }, - { code: "VA", name_zh: "合校過渡單位", name_en: " " }, - { code: "VGE", name_zh: "南大校區原系統通識課", name_en: " " }, - { code: "VM", name_zh: "加退選後開設之微學分", name_en: " " }, - { code: "W", name_zh: "W課號課程", name_en: "Interschool Courses" }, - { code: "WH", name_zh: "跨系統,台聯大&互惠課", name_en: " " }, - { code: "WW", name_zh: "陽明交大課程", name_en: "NCTU COURSE" }, - { code: "WZ", name_zh: "外校課程", name_en: "" }, - { code: "X", name_zh: "X抵免課程", name_en: " " }, - { code: "XA", name_zh: "抵免課程(大)", name_en: "" }, - { code: "XZ", name_zh: "抵免課程(研)", name_en: "" }, - { code: "YZ", name_zh: "課務組專用", name_en: "" }, - { code: "ZY", name_zh: "服務學習", name_en: "Service Learning" }, + { + code: "VA", + name_zh: "合校過渡單位", + name_en: "Transition Unit after School Merger", + }, + { + code: "VGE", + name_zh: "南大校區原系統通識課", + name_en: "General Education Courses at Nanda Campus", + }, + { + code: "VM", + name_zh: "加退選後開設之微學分", + name_en: "Micro-Credit Courses Opened After Add/Drop Period", + }, + { + code: "W", + name_zh: "W課號課程", + name_en: "Interschool Courses", + }, + { + code: "WH", + name_zh: "跨系統,台聯大&互惠課", + name_en: "Inter-University Cooperative Courses", + }, + { + code: "WW", + name_zh: "陽明交大課程", + name_en: "NYCU Courses", + }, + { + code: "WZ", + name_zh: "外校課程", + name_en: "External Courses", + }, + { + code: "X", + name_zh: "X抵免課程", + name_en: "Credit Transfer Courses", + }, + { + code: "XA", + name_zh: "抵免課程(大)", + name_en: "Undergraduate Credit Transfer Courses", + }, + { + code: "XZ", + name_zh: "抵免課程(研)", + name_en: "Graduate Credit Transfer Courses", + }, + { + code: "YZ", + name_zh: "課務組專用", + name_en: "Reserved for Curriculum Section", + }, + { + code: "ZY", + name_zh: "服務學習", + name_en: "Service Learning", + }, ];