megalodon
Version:
Fediverse API client for node.js and browser
13 lines (12 loc) • 336 B
TypeScript
import { Account } from './account.js';
export type Report = {
id: string;
action_taken: boolean;
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';