1
0
Fork 0
peertube/shared/models/videos/abuse/video-abuse.model.ts

21 lines
405 B
TypeScript
Raw Normal View History

2018-08-14 08:59:53 -04:00
import { Account } from '../../actors/index'
import { VideoConstant } from '../video-constant.model'
import { VideoAbuseState } from './video-abuse-state.model'
2018-03-12 06:29:46 -04:00
2017-06-10 16:15:25 -04:00
export interface VideoAbuse {
id: number
reason: string
2018-03-12 06:29:46 -04:00
reporterAccount: Account
state: VideoConstant<VideoAbuseState>
moderationComment?: string
2018-03-12 06:29:46 -04:00
video: {
id: number
name: string
uuid: string
}
2017-06-10 16:15:25 -04:00
createdAt: Date
}