]> 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 eec7dba1cef7f92569476ff6ebd3d983eba35f63..9730a3f7676852c3f1fc2cc7213fb7b6ac896d04 100644 (file)
@@ -16,6 +16,26 @@ export interface VideoComment {
   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
+  }
+}
+
 export interface VideoCommentThreadTree {
   comment: VideoComment
   children: VideoCommentThreadTree[]