aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/videos/abuse/video-abuse.model.ts
blob: 4f668795a86cc5a065eeaf42defade88621fdb4d (plain) (tree)
1
2
3
4
5
6
7
8

                                                       
                                                           
 

                             
                
                          



                                       



                
   
 

                 
import { Account } from '../../actors/index'
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
  }

  createdAt: Date
}