]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/moderation/abuse/abuse.model.ts
Implement abuses check params
[github/Chocobozzz/PeerTube.git] / shared / models / moderation / abuse / abuse.model.ts
index 9ff150c4aaca8ae2a0d79d9350f383f1b3cfa31c..a120803e67966786241ba2ac1fef06edbd684dc7 100644 (file)
@@ -9,6 +9,7 @@ export interface VideoAbuse {
   name: string
   uuid: string
   nsfw: boolean
+
   deleted: boolean
   blacklisted: boolean
 
@@ -21,8 +22,15 @@ export interface VideoAbuse {
 
 export interface VideoCommentAbuse {
   id: number
-  account?: Account
+
+  video: {
+    id: number
+    name: string
+    uuid: string
+  }
+
   text: string
+
   deleted: boolean
 }