]>
Commit | Line | Data |
---|---|---|
1 | export interface VideoComment { | |
2 | id: number | |
3 | url: string | |
4 | text: string | |
5 | threadId: number | |
6 | inReplyToCommentId: number | |
7 | videoId: number | |
8 | createdAt: Date | string | |
9 | updatedAt: Date | string | |
10 | totalReplies: number | |
11 | account: { | |
12 | name: string | |
13 | host: string | |
14 | } | |
15 | } | |
16 | ||
17 | export interface VideoCommentThreadTree { | |
18 | comment: VideoComment | |
19 | children: VideoCommentThreadTree[] | |
20 | } | |
21 | ||
22 | export interface VideoCommentCreate { | |
23 | text: string | |
24 | } |