Type Alias User

User: {
    avatarUrl: string;
    id: string;
    username: string;
}

Public-facing user record exposed to the game. Profile fields only — never tokens, emails, or anything that could leak across iframes.

Type declaration

  • avatarUrl: string

    Direct URL to the avatar PNG/SVG (already CDN-served).

  • id: string

    Stable opaque ID. Treat as a string; do not parse.

  • username: string

    Player-chosen display name.