]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/abuse/video-abuse.model.ts
Fix video import tests
[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'
5fd4ca00 4import { VideoChannel } from '../channel/video-channel.model'
1ebddadd 5import { VideoAbusePredefinedReasonsString } from './video-abuse-reason.model'
19a3b914 6
69818c93
C
7export interface VideoAbuse {
8 id: number
69818c93 9 reason: string
1ebddadd 10 predefinedReasons?: VideoAbusePredefinedReasonsString[]
19a3b914 11 reporterAccount: Account
268eebed
C
12
13 state: VideoConstant<VideoAbuseState>
14 moderationComment?: string
15
19a3b914
C
16 video: {
17 id: number
18 name: string
19 uuid: string
68d19a0a
RK
20 nsfw: boolean
21 deleted: boolean
86521a67
RK
22 blacklisted: boolean
23 thumbnailPath?: string
5fd4ca00 24 channel?: VideoChannel
19a3b914 25 }
268eebed 26
69818c93 27 createdAt: Date
25a42e29 28 updatedAt: Date
5fd4ca00 29
1ebddadd
RK
30 startAt: number
31 endAt: number
32
5fd4ca00
RK
33 count?: number
34 nth?: number
35
36 countReportsForReporter?: number
37 countReportsForReportee?: number
69818c93 38}