mirror of
https://github.com/tribufu/sdk-js
synced 2025-06-16 10:44:17 +00:00
27 lines
629 B
TypeScript
27 lines
629 B
TypeScript
// Copyright (c) Tribufu. All Rights Reserved.
|
|
|
|
export type AccountType = "user" | "bot" | "org";
|
|
|
|
export interface User {
|
|
id: number,
|
|
uuid: string,
|
|
name: string,
|
|
display_name: string,
|
|
kind: AccountType,
|
|
public_flags: number,
|
|
verified: boolean,
|
|
level: number,
|
|
experience: number,
|
|
public_birthday: boolean,
|
|
birthday?: string | null,
|
|
points: number,
|
|
location?: string | null,
|
|
photo_url?: string | null,
|
|
banner_url?: string | null,
|
|
last_online?: string | null,
|
|
biography?: string | null,
|
|
view_count: number,
|
|
created: string,
|
|
updated?: string | null,
|
|
}
|