diff options
author | Chocobozzz <me@florianbigard.com> | 2020-07-07 10:57:04 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-07-10 14:02:41 +0200 |
commit | 57f6896f67cfc570cf3605dd94b0778101b2d9b9 (patch) | |
tree | b82d879c46868ce75ff76c3e4d4eed590a87f6c4 /shared/models/moderation/abuse/abuse.model.ts | |
parent | d95d15598847c7f020aa056e7e6e0c02d2bbf732 (diff) | |
download | PeerTube-57f6896f67cfc570cf3605dd94b0778101b2d9b9.tar.gz PeerTube-57f6896f67cfc570cf3605dd94b0778101b2d9b9.tar.zst PeerTube-57f6896f67cfc570cf3605dd94b0778101b2d9b9.zip |
Implement abuses check params
Diffstat (limited to 'shared/models/moderation/abuse/abuse.model.ts')
-rw-r--r-- | shared/models/moderation/abuse/abuse.model.ts | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/shared/models/moderation/abuse/abuse.model.ts b/shared/models/moderation/abuse/abuse.model.ts index 9ff150c4a..a120803e6 100644 --- a/shared/models/moderation/abuse/abuse.model.ts +++ b/shared/models/moderation/abuse/abuse.model.ts | |||
@@ -9,6 +9,7 @@ export interface VideoAbuse { | |||
9 | name: string | 9 | name: string |
10 | uuid: string | 10 | uuid: string |
11 | nsfw: boolean | 11 | nsfw: boolean |
12 | |||
12 | deleted: boolean | 13 | deleted: boolean |
13 | blacklisted: boolean | 14 | blacklisted: boolean |
14 | 15 | ||
@@ -21,8 +22,15 @@ export interface VideoAbuse { | |||
21 | 22 | ||
22 | export interface VideoCommentAbuse { | 23 | export interface VideoCommentAbuse { |
23 | id: number | 24 | id: number |
24 | account?: Account | 25 | |
26 | video: { | ||
27 | id: number | ||
28 | name: string | ||
29 | uuid: string | ||
30 | } | ||
31 | |||
25 | text: string | 32 | text: string |
33 | |||
26 | deleted: boolean | 34 | deleted: boolean |
27 | } | 35 | } |
28 | 36 | ||