| 6 | import { getBookmarkData } from './bookmark'; |
| 7 | |
| 8 | export 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 | |
| 23 | export interface Folder extends Content { |
| 24 | type: 'folder'; |
nothing calls this directly
no outgoing calls
no test coverage detected