35 lines
818 B
TypeScript
35 lines
818 B
TypeScript
/// <reference path="emoji.ts" />
|
|
/// <reference path="source.ts" />
|
|
/// <reference path="field.ts" />
|
|
/// <reference path="role.ts" />
|
|
namespace Entity {
|
|
export type Account = {
|
|
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: Array<Emoji>
|
|
moved: Account | null
|
|
fields: Array<Field>
|
|
bot: boolean | null
|
|
source?: Source
|
|
role?: Role
|
|
mute_expires_at?: string
|
|
}
|
|
}
|