]>
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 | totalReplies: number | |
13 | account: Account | |
14 | } | |
15 | ||
16 | export interface VideoCommentThreadTree { | |
17 | comment: VideoComment | |
18 | children: VideoCommentThreadTree[] | |
19 | } | |
20 | ||
21 | export interface VideoCommentCreate { | |
22 | text: string | |
23 | } |