]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/videos/abuse/video-abuse.model.ts
Fix rowsPerPage change, add filter clear button, update video-abuse-list search query...
[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 { VideoChannel } 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?: VideoChannel
23 }
24
25 createdAt: Date
26 updatedAt: Date
27
28 count?: number
29 nth?: number
30
31 countReportsForReporter?: number
32 countReportsForReportee?: number
33 }