]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/comment/video-comment.model.ts
Add ability to filter out public videos from admin
[github/Chocobozzz/PeerTube.git] / shared / models / videos / comment / video-comment.model.ts
index 79c0e4c0a87996cb89b0ceec19a361888cb0eb69..737cfe098480737a09372cc26836f3d178851ad9 100644 (file)
@@ -1,3 +1,4 @@
+import { ResultList } from '../../common'
 import { Account } from '../../actors'
 
 export interface VideoComment {
@@ -36,11 +37,9 @@ export interface VideoCommentAdmin {
   }
 }
 
+export type VideoCommentThreads = ResultList<VideoComment> & { totalNotDeletedComments: number }
+
 export interface VideoCommentThreadTree {
   comment: VideoComment
   children: VideoCommentThreadTree[]
 }
-
-export interface VideoCommentCreate {
-  text: string
-}