]>
Commit | Line | Data |
---|---|---|
d95d1559 C |
1 | import { AbusePredefinedReasonsString } from './abuse-reason.model' |
2 | ||
3 | export interface AbuseCreate { | |
4 | accountId: number | |
5 | ||
6 | reason: string | |
7 | predefinedReasons?: AbusePredefinedReasonsString[] | |
8 | ||
9 | video?: { | |
10 | id: number | |
11 | startAt?: number | |
12 | endAt?: number | |
13 | } | |
14 | ||
15 | comment?: { | |
16 | id: number | |
17 | } | |
18 | } | |
19 | ||
20 | // FIXME: deprecated in 2.3. Remove it | |
21 | export interface VideoAbuseCreate { | |
22 | reason: string | |
23 | predefinedReasons?: AbusePredefinedReasonsString[] | |
24 | startAt?: number | |
25 | endAt?: number | |
26 | } |