diff options
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/video-comment.model.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/shared/models/videos/video-comment.model.ts b/shared/models/videos/video-comment.model.ts index eec7dba1c..9730a3f76 100644 --- a/shared/models/videos/video-comment.model.ts +++ b/shared/models/videos/video-comment.model.ts | |||
@@ -16,6 +16,26 @@ export interface VideoComment { | |||
16 | account: Account | 16 | account: Account |
17 | } | 17 | } |
18 | 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 | |||
19 | export interface VideoCommentThreadTree { | 39 | export interface VideoCommentThreadTree { |
20 | comment: VideoComment | 40 | comment: VideoComment |
21 | children: VideoCommentThreadTree[] | 41 | children: VideoCommentThreadTree[] |