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-create.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-create.model.ts')
-rw-r--r-- | shared/models/moderation/abuse/abuse-create.model.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/shared/models/moderation/abuse/abuse-create.model.ts b/shared/models/moderation/abuse/abuse-create.model.ts index c0d04e46d..b0358dbb9 100644 --- a/shared/models/moderation/abuse/abuse-create.model.ts +++ b/shared/models/moderation/abuse/abuse-create.model.ts | |||
@@ -1,11 +1,14 @@ | |||
1 | import { AbusePredefinedReasonsString } from './abuse-reason.model' | 1 | import { AbusePredefinedReasonsString } from './abuse-reason.model' |
2 | 2 | ||
3 | export interface AbuseCreate { | 3 | export interface AbuseCreate { |
4 | accountId: number | ||
5 | |||
6 | reason: string | 4 | reason: string |
5 | |||
7 | predefinedReasons?: AbusePredefinedReasonsString[] | 6 | predefinedReasons?: AbusePredefinedReasonsString[] |
8 | 7 | ||
8 | account?: { | ||
9 | id: number | ||
10 | } | ||
11 | |||
9 | video?: { | 12 | video?: { |
10 | id: number | 13 | id: number |
11 | startAt?: number | 14 | startAt?: number |