@cutls/megalodon
Version:
Mastodon, Pleroma, Misskey API client for node.js and browser
32 lines (31 loc) • 658 B
TypeScript
import { Emoji } from './emoji.js'
import { Field } from './field.js'
import { Source } from './source.js'
import { Role } from './role.js'
export type Account = {
id: string
username: string
acct: string
display_name: string
locked: boolean
discoverable?: boolean
suspended: 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: Array<Emoji>
moved: Account | null
fields: Array<Field>
bot: boolean
source?: Source
enable_rss?: boolean
role?: Role
mute_expires_at?: string
}