Spaces:
Sleeping
Sleeping
Create courseDirectory.ts
Browse files
web/src/lib/courseDirectory.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
type Person = { name: string; email?: string };
|
| 2 |
+
|
| 3 |
+
export type CourseDirectoryItem = {
|
| 4 |
+
id: string;
|
| 5 |
+
name: string;
|
| 6 |
+
instructor?: Person;
|
| 7 |
+
teachingAssistant?: Person;
|
| 8 |
+
};
|