mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-07 01:16:28 +02:00
29 lines
763 B
TypeScript
29 lines
763 B
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
|
|
/**
|
|
* Data about a user including their project role
|
|
*/
|
|
export interface UserWithProjectRoleSchema {
|
|
/**
|
|
* Whether this user is authenticated through Unleash tokens or logged in with a session
|
|
* @deprecated
|
|
*/
|
|
isAPI?: boolean;
|
|
/** The name of the user */
|
|
name?: string;
|
|
/** The user's email address */
|
|
email?: string | null;
|
|
/** The user's ID in the Unleash system */
|
|
id: number;
|
|
/** A URL pointing to the user's image. */
|
|
imageUrl?: string | null;
|
|
/** When this user was added to the project */
|
|
addedAt?: string;
|
|
/** The ID of the role this user has in the given project */
|
|
roleId?: number;
|
|
}
|