megalodon
Version:
Fediverse API client for node.js and browser
14 lines (13 loc) • 401 B
TypeScript
import { Account } from './account.js';
export type Report = {
id: string;
action_taken: boolean;
action_taken_at: string | null;
status_ids: Array<string> | null;
rule_ids: Array<string> | null;
category: Category | null;
comment: string | null;
forwarded: boolean | null;
target_account?: Account | null;
};
export type Category = 'spam' | 'violation' | 'other';