PeerTube/shared/models/activitypub/objects/abuse-object.ts

16 lines
259 B
TypeScript
Raw Normal View History

import { ActivityFlagReasonObject } from './common-objects'
2020-07-01 16:05:30 +02:00
export interface AbuseObject {
2020-01-31 16:56:52 +01:00
type: 'Flag'
2017-11-15 15:12:23 +01:00
content: string
mediaType: 'text/markdown'
2019-08-30 09:40:21 +02:00
object: string | string[]
2020-07-01 16:05:30 +02:00
tag?: ActivityFlagReasonObject[]
2020-07-01 16:05:30 +02:00
startAt?: number
endAt?: number
2017-11-15 15:12:23 +01:00
}