mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-02 01:17:58 +02:00
27 lines
583 B
TypeScript
27 lines
583 B
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
import type { RoleSchema } from './roleSchema';
|
|
|
|
/**
|
|
* 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;
|
|
}
|