PeerTube/shared/models/moderation/abuse/abuse-create.model.ts

22 lines
313 B
TypeScript
Raw Normal View History

2020-07-01 16:05:30 +02:00
import { AbusePredefinedReasonsString } from './abuse-reason.model'
export interface AbuseCreate {
reason: string
2020-07-07 10:57:04 +02:00
2020-07-01 16:05:30 +02:00
predefinedReasons?: AbusePredefinedReasonsString[]
2020-07-07 10:57:04 +02:00
account?: {
id: number
}
2020-07-01 16:05:30 +02:00
video?: {
id: number
startAt?: number
endAt?: number
}
comment?: {
id: number
}
}