diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-12 11:29:46 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-12 11:44:28 +0100 |
commit | 19a3b914f19812a082e2f47d31c66fb1d9771736 (patch) | |
tree | 7e60fbec3b4fff27e018682bd36c0d5e67aed228 /shared/models/videos | |
parent | f2c3f7cd8a592ca1949e4f73717f17132a16c292 (diff) | |
download | PeerTube-19a3b914f19812a082e2f47d31c66fb1d9771736.tar.gz PeerTube-19a3b914f19812a082e2f47d31c66fb1d9771736.tar.zst PeerTube-19a3b914f19812a082e2f47d31c66fb1d9771736.zip |
Change video abuse API response
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/video-abuse.model.ts | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/shared/models/videos/video-abuse.model.ts b/shared/models/videos/video-abuse.model.ts index aaedd00d4..51070a7a3 100644 --- a/shared/models/videos/video-abuse.model.ts +++ b/shared/models/videos/video-abuse.model.ts | |||
@@ -1,10 +1,14 @@ | |||
1 | import { Account } from '../actors' | ||
2 | |||
1 | export interface VideoAbuse { | 3 | export interface VideoAbuse { |
2 | id: number | 4 | id: number |
3 | reason: string | 5 | reason: string |
4 | reporterUsername: string | 6 | reporterAccount: Account |
5 | reporterServerHost: string | 7 | video: { |
6 | videoId: number | 8 | id: number |
7 | videoUUID: string | 9 | name: string |
8 | videoName: string | 10 | uuid: string |
11 | url: string | ||
12 | } | ||
9 | createdAt: Date | 13 | createdAt: Date |
10 | } | 14 | } |