mirror of
https://github.com/versia-pub/api.git
synced 2025-12-06 08:28:19 +01:00
35 lines
838 B
TypeScript
35 lines
838 B
TypeScript
import type { Emoji } from "./emoji";
|
|
import type { Field } from "./field";
|
|
import type { Role } from "./role";
|
|
import type { Source } from "./source";
|
|
|
|
export type Account = {
|
|
id: string;
|
|
username: string;
|
|
acct: string;
|
|
display_name: string;
|
|
locked: boolean;
|
|
discoverable?: boolean;
|
|
group: boolean | null;
|
|
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 | null;
|
|
source?: Source;
|
|
role?: Role;
|
|
mute_expires_at?: string;
|
|
};
|