MCPcopy Create free account
hub / github.com/code100x/cms / ContentWithMetadata

Interface ContentWithMetadata

src/db/course.ts:204–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204interface 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
217async function getRootCourseContent(courseId: number): Promise<
218 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected