]>
Commit | Line | Data |
---|---|---|
1 | import { Account } from '../../actors/index' | |
2 | import { VideoConstant } from '../video-constant.model' | |
3 | import { VideoAbuseState } from './video-abuse-state.model' | |
4 | import { VideoChannelSummary } 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?: VideoChannelSummary | |
23 | } | |
24 | ||
25 | createdAt: Date | |
26 | } |