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

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

  state: VideoConstant<VideoAbuseState>
  moderationComment?: string

  video: {
    id: number
    name: string
    uuid: string
    url: string
  }

  createdAt: Date
}