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

29 lines
763 B
TypeScript
Raw Normal View History

2023-01-05 11:57:53 +01:00
/**
2023-03-15 13:30:07 +01:00
* Generated by Orval
2023-01-05 11:57:53 +01:00
* Do not edit manually.
2023-03-15 13:30:07 +01:00
* See `gen:api` script in package.json
2023-01-05 11:57:53 +01:00
*/
/**
* Data about a user including their project role
*/
2023-01-05 11:57:53 +01:00
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 */
2023-01-05 11:57:53 +01:00
name?: string;
/** The user's email address */
2023-01-05 11:57:53 +01:00
email?: string | null;
/** The user's ID in the Unleash system */
2023-01-05 11:57:53 +01:00
id: number;
/** A URL pointing to the user's image. */
2023-01-05 11:57:53 +01:00
imageUrl?: string | null;
/** When this user was added to the project */
2023-01-05 11:57:53 +01:00
addedAt?: string;
/** The ID of the role this user has in the given project */
2023-01-05 11:57:53 +01:00
roleId?: number;
}