/** * Generated by Orval * Do not edit manually. * See `gen:api` script in package.json */ import type { RoleSchema } from './roleSchema.js'; /** * A user identified by a token */ export interface TokenUserSchema { /** * A username or email identifying which user created this token * @nullable */ createdBy: string | null; /** The email of the user */ email: string; /** The user id */ id: number; /** The name of the user */ name?: string; role: RoleSchema; /** A token uniquely identifying a user */ token: string; }