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 {
40 export interface Abuse {
44 predefinedReasons?: AbusePredefinedReasonsString[]
46 reporterAccount: Account
47 flaggedAccount: Account
49 state: VideoConstant<AbuseState>
50 moderationComment?: string
53 comment?: VideoCommentAbuse
58 countReportsForReporter?: number
59 countReportsForReportee?: number
61 // FIXME: deprecated in 2.3, remove the following properties