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

Interface Content

src/db/course.ts:8–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import { getBookmarkData } from './bookmark';
7
8export interface Content {
9 id: number;
10 type: string;
11 title: string;
12 description: string | null;
13 thumbnail: string | null;
14 parentId: number | null;
15 createdAt: string;
16 children: Content[];
17 videoProgress?: {
18 currentTimestamp: string;
19 markAsCompleted?: boolean;
20 };
21}
22
23export interface Folder extends Content {
24 type: 'folder';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected