diff options
Diffstat (limited to 'shared/models/videos/comment/video-comment.model.ts')
-rw-r--r-- | shared/models/videos/comment/video-comment.model.ts | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/shared/models/videos/comment/video-comment.model.ts b/shared/models/videos/comment/video-comment.model.ts deleted file mode 100644 index 737cfe098..000000000 --- a/shared/models/videos/comment/video-comment.model.ts +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | import { ResultList } from '../../common' | ||
2 | import { Account } from '../../actors' | ||
3 | |||
4 | export interface VideoComment { | ||
5 | id: number | ||
6 | url: string | ||
7 | text: string | ||
8 | threadId: number | ||
9 | inReplyToCommentId: number | ||
10 | videoId: number | ||
11 | createdAt: Date | string | ||
12 | updatedAt: Date | string | ||
13 | deletedAt: Date | string | ||
14 | isDeleted: boolean | ||
15 | totalRepliesFromVideoAuthor: number | ||
16 | totalReplies: number | ||
17 | account: Account | ||
18 | } | ||
19 | |||
20 | export interface VideoCommentAdmin { | ||
21 | id: number | ||
22 | url: string | ||
23 | text: string | ||
24 | |||
25 | threadId: number | ||
26 | inReplyToCommentId: number | ||
27 | |||
28 | createdAt: Date | string | ||
29 | updatedAt: Date | string | ||
30 | |||
31 | account: Account | ||
32 | |||
33 | video: { | ||
34 | id: number | ||
35 | uuid: string | ||
36 | name: string | ||
37 | } | ||
38 | } | ||
39 | |||
40 | export type VideoCommentThreads = ResultList<VideoComment> & { totalNotDeletedComments: number } | ||
41 | |||
42 | export interface VideoCommentThreadTree { | ||
43 | comment: VideoComment | ||
44 | children: VideoCommentThreadTree[] | ||
45 | } | ||