1 import { Account } from '../../actors/account.model'
2 import { AbuseState } from './abuse-state.model'
3 import { AbusePredefinedReasonsString } from './abuse-reason.model'
4 import { VideoConstant } from '../../videos/video-constant.model'
5 import { VideoChannel } from '../../videos/channel/video-channel.model'
7 export interface VideoAbuse {
16 startAt: number | null
19 thumbnailPath?: string
20 channel?: VideoChannel
23 export interface VideoCommentAbuse {
37 export interface Abuse {
40 predefinedReasons?: AbusePredefinedReasonsString[]
41 reporterAccount: Account
43 state: VideoConstant<AbuseState>
44 moderationComment?: string
47 comment?: VideoCommentAbuse
52 // FIXME: deprecated in 2.3, remove this
59 countReportsForReporter?: number
60 countReportsForReportee?: number