Variable TicketSchemaConst

TicketSchema: ZodObject<extendShape<{
    id: ZodString;
}, {
    tokens: ZodArray<ZodString, "many">;
}>, "strip", ZodTypeAny, {
    id: string;
    tokens: string[];
}, {
    id: string;
    tokens: string[];
}> = ...

Ticket schema defines minimal "user" (without name and other stuff):

  • holds ID (of a user)
  • holds access tokens (for client-side ACL check)

Type declaration

  • id: string
  • tokens: string[]

Type declaration

  • id: string
  • tokens: string[]