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