megalodon
Version:
Fediverse API client for node.js and browser
18 lines (17 loc) • 416 B
TypeScript
import { Emoji } from './emoji.js';
export type User = {
id: string;
name: string | null;
username: string;
host: string | null;
avatarUrl: string | null;
avatarBlurhash: string | null;
avatarColor: string | null;
isAdmin?: boolean;
isModerator?: boolean;
isBot?: boolean;
isCat?: boolean;
isIndexable?: boolean;
speakAsCat?: boolean;
emojis: Array<Emoji>;
};