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 {
15 startAt: number | null
18 thumbnailPath?: string
19 channel?: VideoChannel
22 export interface VideoCommentAbuse {
29 export interface Abuse {
32 predefinedReasons?: AbusePredefinedReasonsString[]
33 reporterAccount: Account
35 state: VideoConstant<AbuseState>
36 moderationComment?: string
39 comment?: VideoCommentAbuse
44 // FIXME: deprecated in 2.3, remove this
51 countReportsForReporter?: number
52 countReportsForReportee?: number