megalodon
Version:
Fediverse API client for node.js and browser
30 lines (29 loc) • 714 B
TypeScript
import { Emoji } from './emoji.js';
import { Field } from './field.js';
import { Source } from './source.js';
export type Account = {
id: string;
username: string;
acct: string;
display_name: string;
locked: boolean;
discoverable?: boolean;
noindex: boolean | null;
suspended: boolean | null;
limited: boolean | null;
created_at: string;
followers_count: number;
following_count: number;
statuses_count: number;
note: string;
url: string;
avatar: string;
avatar_static: string;
header: string;
header_static: string;
emojis: Array<Emoji>;
moved: Account | null;
fields: Array<Field>;
bot: boolean;
source?: Source;
};