mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
31 lines
666 B
TypeScript
31 lines
666 B
TypeScript
/// <reference path="emoji.ts" />
|
|
/// <reference path="source.ts" />
|
|
/// <reference path="field.ts" />
|
|
namespace MastodonEntity {
|
|
export type Account = {
|
|
id: string;
|
|
username: string;
|
|
acct: string;
|
|
display_name: string;
|
|
locked: boolean;
|
|
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: Array<Emoji>;
|
|
moved: Account | null;
|
|
fields: Array<Field>;
|
|
bot: boolean | null;
|
|
source?: Source;
|
|
};
|
|
|
|
export type MutedAccount = Account | {
|
|
mute_expires_at: string | null;
|
|
}
|
|
}
|