Returned by every endpoint that shows a user to others: profiles, the users
one follows, search results, and the user_updated socket message. The
server makes it with toPublicUser, which drops the email.
id: string
username: string
Picked at sign-up, and changeable since, a former name staying an alias
of the user for good. Pages write it as @name (userPath).
createdAt: Date
optional
updatedAt: Date
Bumped by any profile or avatar change. The client uses it to reload the avatar.
optional
avatarMime: string
Undefined without an avatar.
optional
description: string
Markdown.
optional
invitedByUsername: string