mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
58 lines
1.2 KiB
TypeScript
58 lines
1.2 KiB
TypeScript
/** Mastodon account entity, including supported extensions from Pleroma, etc. */
|
|
export interface MastodonAccount {
|
|
id: string;
|
|
acct: string;
|
|
avatar: string;
|
|
avatar_static: string;
|
|
bot: boolean;
|
|
created_at: string;
|
|
discoverable: boolean;
|
|
display_name: string;
|
|
emojis: {
|
|
shortcode: string;
|
|
static_url: string;
|
|
url: string;
|
|
}[];
|
|
fields: unknown[];
|
|
follow_requests_count: number;
|
|
followers_count: number;
|
|
following_count: number;
|
|
fqn: string;
|
|
header: string;
|
|
header_static: string;
|
|
last_status_at: string | null;
|
|
locked: boolean;
|
|
note: string;
|
|
roles: unknown[];
|
|
source?: {
|
|
fields: unknown[];
|
|
language: string;
|
|
note: string;
|
|
privacy: string;
|
|
sensitive: boolean;
|
|
follow_requests_count: number;
|
|
nostr: {
|
|
nip05?: string;
|
|
};
|
|
};
|
|
statuses_count: number;
|
|
url: string;
|
|
username: string;
|
|
ditto: {
|
|
accepts_zaps: boolean;
|
|
};
|
|
pleroma: {
|
|
deactivated: boolean;
|
|
is_admin: boolean;
|
|
is_moderator: boolean;
|
|
is_suggested: boolean;
|
|
is_local: boolean;
|
|
settings_store: unknown;
|
|
tags: string[];
|
|
};
|
|
nostr: {
|
|
pubkey: string;
|
|
lud16?: string;
|
|
};
|
|
website?: string;
|
|
}
|