aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-22 12:10:40 +0100
committerChocobozzz <me@florianbigard.com>2017-12-22 12:12:33 +0100
commitd3ea89759104e6c14b00443526f2c2a0a13aeb97 (patch)
treee30dc7025f284c163a450cb08f7060875e368e6c /shared/models/videos
parentbf1f650817dadfd5eeee9e5e0b6b6938c136e25d (diff)
downloadPeerTube-d3ea89759104e6c14b00443526f2c2a0a13aeb97.tar.gz
PeerTube-d3ea89759104e6c14b00443526f2c2a0a13aeb97.tar.zst
PeerTube-d3ea89759104e6c14b00443526f2c2a0a13aeb97.zip
Begin unit tests
Diffstat (limited to 'shared/models/videos')
-rw-r--r--shared/models/videos/video-comment.model.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/shared/models/videos/video-comment.model.ts b/shared/models/videos/video-comment.model.ts
index bdeb30d28..69884782f 100644
--- a/shared/models/videos/video-comment.model.ts
+++ b/shared/models/videos/video-comment.model.ts
@@ -7,11 +7,14 @@ export interface VideoComment {
7 videoId: number 7 videoId: number
8 createdAt: Date | string 8 createdAt: Date | string
9 updatedAt: Date | string 9 updatedAt: Date | string
10 account: {
11 name: string
12 }
10} 13}
11 14
12export interface VideoCommentThread { 15export interface VideoCommentThreadTree {
13 comment: VideoComment 16 comment: VideoComment
14 children: VideoCommentThread[] 17 children: VideoCommentThreadTree[]
15} 18}
16 19
17export interface VideoCommentCreate { 20export interface VideoCommentCreate {