blob: 38605dcac051b7c99d1915a2575fa1ecfc4c7085 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
import { Account } from '../../actors/index'
import { VideoConstant } from '../video-constant.model'
import { VideoAbuseState } from './video-abuse-state.model'
import { VideoChannel } from '../channel/video-channel.model'
import { VideoAbusePredefinedReasonsString } from './video-abuse-reason.model'
export interface VideoAbuse {
id: number
reason: string
predefinedReasons?: VideoAbusePredefinedReasonsString[]
reporterAccount: Account
state: VideoConstant<VideoAbuseState>
moderationComment?: string
video: {
id: number
name: string
uuid: string
nsfw: boolean
deleted: boolean
blacklisted: boolean
thumbnailPath?: string
channel?: VideoChannel
}
createdAt: Date
updatedAt: Date
startAt: number
endAt: number
count?: number
nth?: number
countReportsForReporter?: number
countReportsForReportee?: number
}
|