1
0
Files
pawkey-sk/packages/megalodon/src/mastodon/entities/report.ts
T
2023-09-24 01:44:53 +02:00

18 lines
394 B
TypeScript

/// <reference path="account.ts" />
namespace MastodonEntity {
export type Report = {
id: string
action_taken: boolean
action_taken_at: string | null
category: Category
comment: string
forwarded: boolean
status_ids: Array<string> | null
rule_ids: Array<string> | null
target_account: Account
}
export type Category = 'spam' | 'violation' | 'other'
}