1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/frontend/src/openapi/models/userWithProjectRoleSchema.ts
Thomas Heartman dbc7d088f0
chore: update orval types (#4402)
Includes a lot of openapi updates + some new segment change requests models etc
2023-08-03 15:05:20 +02:00

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;
}