]>
Commit | Line | Data |
---|---|---|
cf117aaa C |
1 | import { Account } from '../actors' |
2 | ||
bf1f6508 C |
3 | export interface VideoComment { |
4 | id: number | |
5 | url: string | |
6 | text: string | |
7 | threadId: number | |
8 | inReplyToCommentId: number | |
9 | videoId: number | |
10 | createdAt: Date | string | |
11 | updatedAt: Date | string | |
4635f59d | 12 | totalReplies: number |
cf117aaa | 13 | account: Account |
bf1f6508 C |
14 | } |
15 | ||
d3ea8975 | 16 | export interface VideoCommentThreadTree { |
bf1f6508 | 17 | comment: VideoComment |
d3ea8975 | 18 | children: VideoCommentThreadTree[] |
bf1f6508 C |
19 | } |
20 | ||
21 | export interface VideoCommentCreate { | |
22 | text: string | |
23 | } |