mirror of https://github.com/Chocobozzz/PeerTube
22 lines
411 B
TypeScript
22 lines
411 B
TypeScript
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
|
|
}
|