mirror of
https://github.com/versia-pub/api.git
synced 2025-12-06 08:28:19 +01:00
38 lines
914 B
TypeScript
38 lines
914 B
TypeScript
import type { Emoji } from "./emoji";
|
|
import type { Field } from "./field";
|
|
import type { Role } from "./role";
|
|
import type { Source } from "./source";
|
|
import type { VersiaRole } from "./versia";
|
|
|
|
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;
|
|
uri: string;
|
|
url: string;
|
|
avatar: string;
|
|
avatar_static: string;
|
|
header: string;
|
|
header_static: string;
|
|
emojis: Emoji[];
|
|
moved: Account | null;
|
|
fields: Field[];
|
|
bot: boolean | null;
|
|
source?: Source;
|
|
role?: Role;
|
|
roles: VersiaRole[];
|
|
mute_expires_at?: string;
|
|
};
|