| 202 | } |
| 203 | |
| 204 | interface ContentWithMetadata { |
| 205 | id: number; |
| 206 | type: string; |
| 207 | title: string; |
| 208 | description: string | null; |
| 209 | thumbnail: string | null; |
| 210 | parentId: number | null; |
| 211 | createdAt: Date; |
| 212 | VideoMetadata?: { |
| 213 | duration: number | null; |
| 214 | } | null; |
| 215 | } |
| 216 | |
| 217 | async function getRootCourseContent(courseId: number): Promise< |
| 218 | { |
nothing calls this directly
no outgoing calls
no test coverage detected