aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/videos/video-comment.model.ts19
1 files changed, 19 insertions, 0 deletions
diff --git a/shared/models/videos/video-comment.model.ts b/shared/models/videos/video-comment.model.ts
new file mode 100644
index 000000000..bdeb30d28
--- /dev/null
+++ b/shared/models/videos/video-comment.model.ts
@@ -0,0 +1,19 @@
1export interface VideoComment {
2 id: number
3 url: string
4 text: string
5 threadId: number
6 inReplyToCommentId: number
7 videoId: number
8 createdAt: Date | string
9 updatedAt: Date | string
10}
11
12export interface VideoCommentThread {
13 comment: VideoComment
14 children: VideoCommentThread[]
15}
16
17export interface VideoCommentCreate {
18 text: string
19}