]>
Commit | Line | Data |
---|---|---|
1 | import { Account } from '../../actors' | |
2 | ||
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 | |
12 | deletedAt: Date | string | |
13 | isDeleted: boolean | |
14 | totalRepliesFromVideoAuthor: number | |
15 | totalReplies: number | |
16 | account: Account | |
17 | } | |
18 | ||
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 | ||
39 | export interface VideoCommentThreadTree { | |
40 | comment: VideoComment | |
41 | children: VideoCommentThreadTree[] | |
42 | } | |
43 | ||
44 | export interface VideoCommentCreate { | |
45 | text: string | |
46 | } |