]>
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 | |
69222afa JM |
12 | deletedAt: Date | string |
13 | isDeleted: boolean | |
5b0413dd | 14 | totalRepliesFromVideoAuthor: number |
4635f59d | 15 | totalReplies: number |
cf117aaa | 16 | account: Account |
bf1f6508 C |
17 | } |
18 | ||
0f8d00e3 C |
19 | export interface VideoCommentAdmin { |
20 | id: number | |
21 | url: string | |
22 | text: string | |
23 | ||
24 | threadId: number | |
25 | inReplyToCommentId: number | |
26 | ||
27 | createdAt: Date | string | |
28 | updatedAt: Date | string | |
29 | ||
30 | account: Account | |
31 | ||
32 | video: { | |
33 | id: number | |
34 | uuid: string | |
35 | name: string | |
36 | } | |
37 | } | |
38 | ||
d3ea8975 | 39 | export interface VideoCommentThreadTree { |
bf1f6508 | 40 | comment: VideoComment |
d3ea8975 | 41 | children: VideoCommentThreadTree[] |
bf1f6508 C |
42 | } |
43 | ||
44 | export interface VideoCommentCreate { | |
45 | text: string | |
46 | } |