aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/activitypub/objects/abuse-object.ts
blob: d938b869333d1b781834320f445b10f03553e7e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { ActivityFlagReasonObject } from './common-objects'

export interface AbuseObject {
  type: 'Flag'

  content: string
  mediaType: 'text/markdown'

  object: string | string[]

  tag?: ActivityFlagReasonObject[]

  startAt?: number
  endAt?: number
}