]>
Commit | Line | Data |
---|---|---|
59c76ffa C |
1 | import { Account } from '../../actors/index' |
2 | import { VideoConstant } from '../video-constant.model' | |
268eebed | 3 | import { VideoAbuseState } from './video-abuse-state.model' |
5fd4ca00 | 4 | import { VideoChannel } from '../channel/video-channel.model' |
19a3b914 | 5 | |
69818c93 C |
6 | export 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 |
5fd4ca00 RK |
26 | updatedAt: Date |
27 | ||
28 | count?: number | |
29 | nth?: number | |
30 | ||
31 | countReportsForReporter?: number | |
32 | countReportsForReportee?: number | |
69818c93 | 33 | } |