]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/video-comment.model.ts
Live views update
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-comment.model.ts
index d572927c27f414ba0d17299c7c11211cc6250dae..9730a3f7676852c3f1fc2cc7213fb7b6ac896d04 100644 (file)
@@ -1,3 +1,5 @@
+import { Account } from '../actors'
+
 export interface VideoComment {
   id: number
   url: string
@@ -7,10 +9,30 @@ export interface VideoComment {
   videoId: number
   createdAt: Date | string
   updatedAt: Date | string
+  deletedAt: Date | string
+  isDeleted: boolean
+  totalRepliesFromVideoAuthor: number
   totalReplies: number
-  account: {
+  account: Account
+}
+
+export interface VideoCommentAdmin {
+  id: number
+  url: string
+  text: string
+
+  threadId: number
+  inReplyToCommentId: number
+
+  createdAt: Date | string
+  updatedAt: Date | string
+
+  account: Account
+
+  video: {
+    id: number
+    uuid: string
     name: string
-    host: string
   }
 }