diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-11 11:27:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-11 11:32:31 +0200 |
commit | 2b02c520e66ea452687cab39401b371711caa9ed (patch) | |
tree | ecc216ee5a7453384ee1aad6e3a825b1c058f001 /shared/models/videos/video-comment.model.ts | |
parent | 7d9ba5c08999c6482f0bc5e0c09c6f55b7724090 (diff) | |
download | PeerTube-2b02c520e66ea452687cab39401b371711caa9ed.tar.gz PeerTube-2b02c520e66ea452687cab39401b371711caa9ed.tar.zst PeerTube-2b02c520e66ea452687cab39401b371711caa9ed.zip |
Cleanup shared models
Diffstat (limited to 'shared/models/videos/video-comment.model.ts')
-rw-r--r-- | shared/models/videos/video-comment.model.ts | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/shared/models/videos/video-comment.model.ts b/shared/models/videos/video-comment.model.ts deleted file mode 100644 index 9730a3f76..000000000 --- a/shared/models/videos/video-comment.model.ts +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
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 | } | ||