]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/abuse/video-abuse.model.ts
Add search for video, reporter and channel name fields
[github/Chocobozzz/PeerTube.git] / shared / models / videos / abuse / video-abuse.model.ts
CommitLineData
59c76ffa
C
1import { Account } from '../../actors/index'
2import { VideoConstant } from '../video-constant.model'
268eebed 3import { VideoAbuseState } from './video-abuse-state.model'
86521a67 4import { VideoChannelSummary } from '../channel/video-channel.model'
19a3b914 5
69818c93
C
6export interface VideoAbuse {
7 id: number
69818c93 8 reason: string
19a3b914 9 reporterAccount: Account
268eebed
C
10
11 state: VideoConstant<VideoAbuseState>
12 moderationComment?: string
13
19a3b914
C
14 video: {
15 id: number
16 name: string
17 uuid: string
68d19a0a
RK
18 nsfw: boolean
19 deleted: boolean
86521a67
RK
20 blacklisted: boolean
21 thumbnailPath?: string
22 channel?: VideoChannelSummary
19a3b914 23 }
268eebed 24
69818c93
C
25 createdAt: Date
26}