AI_Agent_Final / web /src /lib /courseDirectory.ts
SarahXia0405's picture
Update web/src/lib/courseDirectory.ts
0698e11 verified
// 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; // optional: some courses may not have info yet
teachingAssistant?: Person; // optional
};
/**
* NOTE:
* - Fill in missing names/emails here once confirmed.
* - Keep emails empty ("") or undefined if you don't have them yet.
*/
export const COURSE_DIRECTORY: CourseDirectoryItem[] = [
{
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: "" },
},
];