]>
Commit | Line | Data |
---|---|---|
bf1f6508 C |
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 | |
d3ea8975 C |
10 | account: { |
11 | name: string | |
12 | } | |
bf1f6508 C |
13 | } |
14 | ||
d3ea8975 | 15 | export interface VideoCommentThreadTree { |
bf1f6508 | 16 | comment: VideoComment |
d3ea8975 | 17 | children: VideoCommentThreadTree[] |
bf1f6508 C |
18 | } |
19 | ||
20 | export interface VideoCommentCreate { | |
21 | text: string | |
22 | } |