aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-03 17:25:47 +0100
committerChocobozzz <me@florianbigard.com>2018-01-03 17:35:00 +0100
commitcf117aaafc1e9ae1ab4c388fc5d2e5ba9349efee (patch)
treeab51ac2f2c7ec8dfc7fcde99565a4430874da599 /shared/models
parent265ba139ebf56bbdc1c65f6ea4f367774c691fc0 (diff)
downloadPeerTube-cf117aaafc1e9ae1ab4c388fc5d2e5ba9349efee.tar.gz
PeerTube-cf117aaafc1e9ae1ab4c388fc5d2e5ba9349efee.tar.zst
PeerTube-cf117aaafc1e9ae1ab4c388fc5d2e5ba9349efee.zip
Add avatar in comments
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/videos/video-comment.model.ts7
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 @@
1import { Account } from '../actors'
2
1export interface VideoComment { 3export 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
17export interface VideoCommentThreadTree { 16export interface VideoCommentThreadTree {