2018-08-14 12:59:53 +00:00
|
|
|
import { Account } from '../../actors/index'
|
|
|
|
import { VideoConstant } from '../video-constant.model'
|
2018-08-10 14:54:01 +00:00
|
|
|
import { VideoAbuseState } from './video-abuse-state.model'
|
2020-04-18 20:57:20 +00:00
|
|
|
import { VideoChannel } from '../channel/video-channel.model'
|
2018-03-12 10:29:46 +00:00
|
|
|
|
2017-06-10 20:15:25 +00:00
|
|
|
export interface VideoAbuse {
|
|
|
|
id: number
|
|
|
|
reason: string
|
2018-03-12 10:29:46 +00:00
|
|
|
reporterAccount: Account
|
2018-08-10 14:54:01 +00:00
|
|
|
|
|
|
|
state: VideoConstant<VideoAbuseState>
|
|
|
|
moderationComment?: string
|
|
|
|
|
2018-03-12 10:29:46 +00:00
|
|
|
video: {
|
|
|
|
id: number
|
|
|
|
name: string
|
|
|
|
uuid: string
|
2020-04-16 12:22:27 +00:00
|
|
|
nsfw: boolean
|
|
|
|
deleted: boolean
|
2020-04-17 08:47:22 +00:00
|
|
|
blacklisted: boolean
|
|
|
|
thumbnailPath?: string
|
2020-04-18 20:57:20 +00:00
|
|
|
channel?: VideoChannel
|
2018-03-12 10:29:46 +00:00
|
|
|
}
|
2018-08-10 14:54:01 +00:00
|
|
|
|
2017-06-10 20:15:25 +00:00
|
|
|
createdAt: Date
|
2020-05-03 21:01:57 +00:00
|
|
|
updatedAt: Date
|
2020-04-18 20:57:20 +00:00
|
|
|
|
|
|
|
count?: number
|
|
|
|
nth?: number
|
|
|
|
|
|
|
|
countReportsForReporter?: number
|
|
|
|
countReportsForReportee?: number
|
2017-06-10 20:15:25 +00:00
|
|
|
}
|