2020-07-01 09:05:30 -05:00
|
|
|
import { AbusePredefinedReasonsString } from './abuse-reason.model'
|
|
|
|
|
|
|
|
export interface AbuseCreate {
|
|
|
|
reason: string
|
2020-07-07 03:57:04 -05:00
|
|
|
|
2020-07-01 09:05:30 -05:00
|
|
|
predefinedReasons?: AbusePredefinedReasonsString[]
|
|
|
|
|
2020-07-07 03:57:04 -05:00
|
|
|
account?: {
|
|
|
|
id: number
|
|
|
|
}
|
|
|
|
|
2020-07-01 09:05:30 -05:00
|
|
|
video?: {
|
|
|
|
id: number
|
|
|
|
startAt?: number
|
|
|
|
endAt?: number
|
|
|
|
}
|
|
|
|
|
|
|
|
comment?: {
|
|
|
|
id: number
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// FIXME: deprecated in 2.3. Remove it
|
|
|
|
export interface VideoAbuseCreate {
|
|
|
|
reason: string
|
|
|
|
predefinedReasons?: AbusePredefinedReasonsString[]
|
|
|
|
startAt?: number
|
|
|
|
endAt?: number
|
|
|
|
}
|