aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/abuse/video-abuse.model.ts
blob: 953193e5ea8954f4222c04e967f6a25e7371aee5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { Account } from '../../actors/index'
import { VideoConstant } from '../video-constant.model'
import { VideoAbuseState } from './video-abuse-state.model'
import { VideoChannelSummary } from '../channel/video-channel.model'

export interface VideoAbuse {
  id: number
  reason: string
  reporterAccount: Account

  state: VideoConstant<VideoAbuseState>
  moderationComment?: string

  video: {
    id: number
    name: string
    uuid: string
    nsfw: boolean
    deleted: boolean
    blacklisted: boolean
    thumbnailPath?: string
    channel?: VideoChannelSummary
  }

  createdAt: Date
}