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
26 export interface VideoCommentAbuse {
41 export interface Abuse {
45 predefinedReasons?: AbusePredefinedReasonsString[]
47 reporterAccount: Account
48 flaggedAccount: Account
50 state: VideoConstant<AbuseState>
51 moderationComment?: string
54 comment?: VideoCommentAbuse
59 countReportsForReporter?: number
60 countReportsForReportee?: number
62 // FIXME: deprecated in 2.3, remove the following properties