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