server/types/entities/account.ts

35 lines
722 B
TypeScript
Raw Normal View History

2023-09-11 05:31:08 +02:00
import { Emoji } from "./emoji";
import { Field } from "./field";
import { Role } from "./role";
import { Source } from "./source";
2023-09-11 05:46:20 +02:00
export interface Account {
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-11 05:46:20 +02:00
emojis: Emoji[];
2023-09-11 05:31:08 +02:00
moved: Account | null;
2023-09-11 05:46:20 +02:00
fields: Field[];
2023-09-11 05:31:08 +02:00
bot: boolean;
source?: Source;
role?: Role;
mute_expires_at?: string;
2023-09-11 05:46:20 +02:00
}