server/types/entities/account.ts
2023-09-12 10:48:10 -10:00

35 lines
752 B
TypeScript

import { APIEmoji } from "./emoji";
import { APIField } from "./field";
import { APIRole } from "./role";
import { APISource } from "./source";
export interface APIAccount {
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: APIEmoji[];
moved: APIAccount | null;
fields: APIField[];
bot: boolean;
source?: APISource;
role?: APIRole;
mute_expires_at?: string;
}