diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-03 17:25:47 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-03 17:35:00 +0100 |
commit | cf117aaafc1e9ae1ab4c388fc5d2e5ba9349efee (patch) | |
tree | ab51ac2f2c7ec8dfc7fcde99565a4430874da599 /shared/models/videos | |
parent | 265ba139ebf56bbdc1c65f6ea4f367774c691fc0 (diff) | |
download | PeerTube-cf117aaafc1e9ae1ab4c388fc5d2e5ba9349efee.tar.gz PeerTube-cf117aaafc1e9ae1ab4c388fc5d2e5ba9349efee.tar.zst PeerTube-cf117aaafc1e9ae1ab4c388fc5d2e5ba9349efee.zip |
Add avatar in comments
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/video-comment.model.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/shared/models/videos/video-comment.model.ts b/shared/models/videos/video-comment.model.ts index d572927c2..7ac4024fb 100644 --- a/shared/models/videos/video-comment.model.ts +++ b/shared/models/videos/video-comment.model.ts | |||
@@ -1,3 +1,5 @@ | |||
1 | import { Account } from '../actors' | ||
2 | |||
1 | export interface VideoComment { | 3 | export interface VideoComment { |
2 | id: number | 4 | id: number |
3 | url: string | 5 | url: string |
@@ -8,10 +10,7 @@ export interface VideoComment { | |||
8 | createdAt: Date | string | 10 | createdAt: Date | string |
9 | updatedAt: Date | string | 11 | updatedAt: Date | string |
10 | totalReplies: number | 12 | totalReplies: number |
11 | account: { | 13 | account: Account |
12 | name: string | ||
13 | host: string | ||
14 | } | ||
15 | } | 14 | } |
16 | 15 | ||
17 | export interface VideoCommentThreadTree { | 16 | export interface VideoCommentThreadTree { |