MCPcopy Create free account
hub / github.com/code100x/chess / UserDetails

Interface UserDetails

apps/backend/src/router/auth.ts:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19interface UserDetails {
20 id: string;
21 token?: string;
22 name: string;
23 isGuest?: boolean;
24}
25
26// this route is to be hit when the user wants to login as a guest
27router.post('/guest', async (req: Request, res: Response) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected