Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tpy/src/types/user.d.ts>GET.User

🔑 A strongly typed Pylon API client.
Latest
type alias GET.User
import { type GET } from "https://deno.land/x/tpy@v1.0.0-RC/src/types/user.d.ts";
const { User } = GET;

Response schema for GET /user.

Returns information based on the currently authenticated user.

definition: { id: string; lastSeenAt: string; avatar: string | null; displayName: string; hasAccess: boolean; }