toPublicUser(unnamed 0: User): PublicUser
Returns what anyone may see of user, without the hash and the email. Every
route that sends another user's profile goes through it.
unnamed 0: User
toPublicUser(unnamed 0: User): PublicUser
Returns what anyone may see of user, without the hash and the email. Every
route that sends another user's profile goes through it.
unnamed 0: User
import { toPublicUser } from "api/model/user.ts";