diff options
Diffstat (limited to 'shared/models/videos/video-abuse.model.ts')
-rw-r--r-- | shared/models/videos/video-abuse.model.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shared/models/videos/video-abuse.model.ts b/shared/models/videos/video-abuse.model.ts index 51070a7a3..1fecce037 100644 --- a/shared/models/videos/video-abuse.model.ts +++ b/shared/models/videos/video-abuse.model.ts | |||
@@ -1,14 +1,21 @@ | |||
1 | import { Account } from '../actors' | 1 | import { Account } from '../actors' |
2 | import { VideoConstant } from './video-constant.model' | ||
3 | import { VideoAbuseState } from './video-abuse-state.model' | ||
2 | 4 | ||
3 | export interface VideoAbuse { | 5 | export interface VideoAbuse { |
4 | id: number | 6 | id: number |
5 | reason: string | 7 | reason: string |
6 | reporterAccount: Account | 8 | reporterAccount: Account |
9 | |||
10 | state: VideoConstant<VideoAbuseState> | ||
11 | moderationComment?: string | ||
12 | |||
7 | video: { | 13 | video: { |
8 | id: number | 14 | id: number |
9 | name: string | 15 | name: string |
10 | uuid: string | 16 | uuid: string |
11 | url: string | 17 | url: string |
12 | } | 18 | } |
19 | |||
13 | createdAt: Date | 20 | createdAt: Date |
14 | } | 21 | } |