18 lines
462 B
TypeScript
18 lines
462 B
TypeScript
/// <reference path="account.ts" />
|
|
|
|
namespace Entity {
|
|
export type Report = {
|
|
id: string
|
|
action_taken: boolean
|
|
action_taken_at: string | null
|
|
status_ids: Array<string> | null
|
|
rule_ids: Array<string> | null
|
|
// These parameters don't exist in Pleroma
|
|
category: Category | null
|
|
comment: string | null
|
|
forwarded: boolean | null
|
|
target_account?: Account | null
|
|
}
|
|
|
|
export type Category = 'spam' | 'violation' | 'other'
|
|
}
|