interface UserSuggestion

Returned by GET /api/users?q= to the editor's @mention autocomplete.

Properties

id: string
username: string
avatarMime: string | null

Null without an avatar.

Usage

import { type UserSuggestion } from "shared/user.ts";