aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video-abuse.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/videos/video-abuse.model.ts')
-rw-r--r--shared/models/videos/video-abuse.model.ts7
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 @@
1import { Account } from '../actors' 1import { Account } from '../actors'
2import { VideoConstant } from './video-constant.model'
3import { VideoAbuseState } from './video-abuse-state.model'
2 4
3export interface VideoAbuse { 5export 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}