Spaces:
Running
Running
File size: 1,426 Bytes
c8c6034 a91db77 c8c6034 a91db77 c8c6034 a91db77 c8c6034 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | // 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: "" },
},
];
|