diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-22 12:10:40 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-22 12:12:33 +0100 |
commit | d3ea89759104e6c14b00443526f2c2a0a13aeb97 (patch) | |
tree | e30dc7025f284c163a450cb08f7060875e368e6c /shared/models/videos/video-comment.model.ts | |
parent | bf1f650817dadfd5eeee9e5e0b6b6938c136e25d (diff) | |
download | PeerTube-d3ea89759104e6c14b00443526f2c2a0a13aeb97.tar.gz PeerTube-d3ea89759104e6c14b00443526f2c2a0a13aeb97.tar.zst PeerTube-d3ea89759104e6c14b00443526f2c2a0a13aeb97.zip |
Begin unit tests
Diffstat (limited to 'shared/models/videos/video-comment.model.ts')
-rw-r--r-- | shared/models/videos/video-comment.model.ts | 7 |
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 | ||
12 | export interface VideoCommentThread { | 15 | export interface VideoCommentThreadTree { |
13 | comment: VideoComment | 16 | comment: VideoComment |
14 | children: VideoCommentThread[] | 17 | children: VideoCommentThreadTree[] |
15 | } | 18 | } |
16 | 19 | ||
17 | export interface VideoCommentCreate { | 20 | export interface VideoCommentCreate { |