PeerTube/shared/models/videos/video-abuse.model.ts

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
}