ClareCourseWare / web /src /lib /courseDirectory.ts
claudqunwang's picture
IST345 course + multi-TA, AI Quiz API doc, courseDirectory and sidebar updates
a91db77
// web/src/lib/courseDirectory.ts
export type Person = {
name: string;
email?: string; // optional: can be empty for now
};
export type CourseDirectoryItem = {
id: string;
name: string;
instructor?: Person;
teachingAssistant?: Person;
/** Optional: when multiple TAs (display all) */
teachingAssistants?: Person[];
};
/**
* IST345 from syllabus; Instructor and TAs from course info.
*/
export const COURSE_DIRECTORY: CourseDirectoryItem[] = [
{
id: "ist345",
name: "IST345",
instructor: { name: "Yan Li", email: "Yan.Li@cgu.edu" },
teachingAssistant: { name: "Kaijie Yu", email: "Kaijie.Yu@cgu.edu" },
teachingAssistants: [
{ name: "Kaijie Yu", email: "Kaijie.Yu@cgu.edu" },
{ name: "Yongjia Sun", email: "Yongjia.Sun@cgu.edu" },
],
},
{
id: "intro_ai",
name: "Introduction to AI",
instructor: { name: "Dr. Sarah Johnson", email: "" },
teachingAssistant: { name: "Michael Chen", email: "" },
},
{
id: "ml",
name: "Machine Learning",
instructor: { name: "TBD", email: "" },
teachingAssistant: { name: "TBD", email: "" },
},
{
id: "ds",
name: "Data Structures",
instructor: { name: "TBD", email: "" },
teachingAssistant: { name: "TBD", email: "" },
},
{
id: "web_dev",
name: "Web Development",
instructor: { name: "TBD", email: "" },
teachingAssistant: { name: "TBD", email: "" },
},
];