]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/abuse/video-abuse.model.ts
Use TS_NODE_FILES instead of --files
[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'
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
5fd4ca00 22 channel?: VideoChannel
19a3b914 23 }
268eebed 24
69818c93 25 createdAt: Date
25a42e29 26 updatedAt: Date
5fd4ca00
RK
27
28 count?: number
29 nth?: number
30
31 countReportsForReporter?: number
32 countReportsForReportee?: number
69818c93 33}