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 09:05:30 -05:00
export interface AbuseObject {
2020-01-31 09:56:52 -06:00
type: 'Flag'
2017-11-15 08:12:23 -06:00
content: string
mediaType: 'text/markdown'
2019-08-30 02:40:21 -05:00
object: string | string[]
2020-07-01 09:05:30 -05:00
tag?: ActivityFlagReasonObject[]
2020-07-01 09:05:30 -05:00
startAt?: number
endAt?: number
2017-11-15 08:12:23 -06:00
}