function resolveUsername
resolveUsername(username: string): User

Returns the user who is or was named username, in any case, or by the handle another instance gives them (localHandle): a page or an API path naming a user so reaches them, and the caller sends the client on to their current name.

Parameters

username: string

Return Type

Throws

APIException

404 when nobody is or was.

Usage

import { resolveUsername } from "api/services/user-service.ts";