]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/video-comment.model.ts
Merge branch 'release/v1.3.0' into develop
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-comment.model.ts
index 69884782fbf6264d17b83b5e4f6c6ca3d268243c..7ac4024fbd7c69c7e95ee94e9f27aa6fa4099262 100644 (file)
@@ -1,3 +1,5 @@
+import { Account } from '../actors'
+
 export interface VideoComment {
   id: number
   url: string
@@ -7,9 +9,8 @@ export interface VideoComment {
   videoId: number
   createdAt: Date | string
   updatedAt: Date | string
-  account: {
-    name: string
-  }
+  totalReplies: number
+  account: Account
 }
 
 export interface VideoCommentThreadTree {