mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-04 11:17:02 +02:00
We're migrating to ESM, which will allow us to import the latest versions of our dependencies. Co-Authored-By: Christopher Kolstad <chriswk@getunleash.io>
27 lines
586 B
TypeScript
27 lines
586 B
TypeScript
/**
|
|
* 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;
|
|
}
|