aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/abuse
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/videos/abuse')
-rw-r--r--shared/models/videos/abuse/video-abuse.model.ts11
1 files changed, 9 insertions, 2 deletions
diff --git a/shared/models/videos/abuse/video-abuse.model.ts b/shared/models/videos/abuse/video-abuse.model.ts
index 953193e5e..f2c2cdc41 100644
--- a/shared/models/videos/abuse/video-abuse.model.ts
+++ b/shared/models/videos/abuse/video-abuse.model.ts
@@ -1,7 +1,7 @@
1import { Account } from '../../actors/index' 1import { Account } from '../../actors/index'
2import { VideoConstant } from '../video-constant.model' 2import { VideoConstant } from '../video-constant.model'
3import { VideoAbuseState } from './video-abuse-state.model' 3import { VideoAbuseState } from './video-abuse-state.model'
4import { VideoChannelSummary } from '../channel/video-channel.model' 4import { VideoChannel } from '../channel/video-channel.model'
5 5
6export interface VideoAbuse { 6export interface VideoAbuse {
7 id: number 7 id: number
@@ -19,8 +19,15 @@ export interface VideoAbuse {
19 deleted: boolean 19 deleted: boolean
20 blacklisted: boolean 20 blacklisted: boolean
21 thumbnailPath?: string 21 thumbnailPath?: string
22 channel?: VideoChannelSummary 22 channel?: VideoChannel
23 } 23 }
24 24
25 createdAt: Date 25 createdAt: Date
26 updatedAt: Date
27
28 count?: number
29 nth?: number
30
31 countReportsForReporter?: number
32 countReportsForReportee?: number
26} 33}