2024-06-07 03:51:33 +02:00
|
|
|
import type { Emoji } from "./emoji";
|
|
|
|
|
import type { Field } from "./field";
|
2024-06-12 02:54:21 +02:00
|
|
|
import type { LysandRole } from "./lysand";
|
2024-06-07 03:51:33 +02:00
|
|
|
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;
|
2024-07-17 13:52:32 +02:00
|
|
|
uri: string;
|
2024-06-07 03:51:33 +02:00
|
|
|
url: string;
|
|
|
|
|
avatar: string;
|
|
|
|
|
avatar_static: string;
|
|
|
|
|
header: string;
|
|
|
|
|
header_static: string;
|
2024-06-20 00:21:34 +02:00
|
|
|
emojis: Emoji[];
|
2024-06-07 03:51:33 +02:00
|
|
|
moved: Account | null;
|
2024-06-20 00:21:34 +02:00
|
|
|
fields: Field[];
|
2024-06-07 03:51:33 +02:00
|
|
|
bot: boolean | null;
|
|
|
|
|
source?: Source;
|
|
|
|
|
role?: Role;
|
2024-06-12 02:54:21 +02:00
|
|
|
roles: LysandRole[];
|
2024-06-07 03:51:33 +02:00
|
|
|
mute_expires_at?: string;
|
|
|
|
|
};
|