2023-11-23 05:10:37 +01:00
|
|
|
import type { APIEmoji } from "./emoji";
|
|
|
|
|
import type { APIField } from "./field";
|
|
|
|
|
import type { APIRole } from "./role";
|
|
|
|
|
import type { APISource } from "./source";
|
2023-09-11 05:31:08 +02:00
|
|
|
|
2023-09-12 22:48:10 +02:00
|
|
|
export interface APIAccount {
|
2023-09-11 05:31:08 +02:00
|
|
|
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;
|
2023-09-12 22:48:10 +02:00
|
|
|
emojis: APIEmoji[];
|
|
|
|
|
moved: APIAccount | null;
|
|
|
|
|
fields: APIField[];
|
2023-09-11 05:31:08 +02:00
|
|
|
bot: boolean;
|
2023-09-12 22:48:10 +02:00
|
|
|
source?: APISource;
|
|
|
|
|
role?: APIRole;
|
2023-09-11 05:31:08 +02:00
|
|
|
mute_expires_at?: string;
|
2023-11-29 04:57:35 +01:00
|
|
|
pleroma?: any;
|
2023-09-11 05:46:20 +02:00
|
|
|
}
|