]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/videos/abuse/video-abuse.model.ts
Add video channel and video thumbnail, rework video appearance in row
[github/Chocobozzz/PeerTube.git] / shared / models / videos / abuse / video-abuse.model.ts
1 import { Account } from '../../actors/index'
2 import { VideoConstant } from '../video-constant.model'
3 import { VideoAbuseState } from './video-abuse-state.model'
4 import { VideoChannelSummary } from '../channel/video-channel.model'
5
6 export interface VideoAbuse {
7 id: number
8 reason: string
9 reporterAccount: Account
10
11 state: VideoConstant<VideoAbuseState>
12 moderationComment?: string
13
14 video: {
15 id: number
16 name: string
17 uuid: string
18 nsfw: boolean
19 deleted: boolean
20 blacklisted: boolean
21 thumbnailPath?: string
22 channel?: VideoChannelSummary
23 }
24
25 createdAt: Date
26 }