Skip to content

Commit

Permalink
chore: generate orval types (#6871)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus committed Apr 16, 2024
1 parent ef23cc0 commit 30ea2d9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/openapi/models/createUserResponseSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ export interface CreateUserResponseSchema {
permissions?: string[];
/** Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned. Usually a numeric role ID, but can be a string when returning newly created user with an explicit string role. */
rootRole?: CreateUserResponseSchemaRootRole;
/** The SCIM ID of the user, only present if managed by SCIM */
scimId?: string | null;
/** The last time this user logged in */
seenAt?: string | null;
/** A unique username for the user */
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/openapi/models/groupSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export interface GroupSchema {
projects?: string[];
/** A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role. */
rootRole?: number | null;
/** The SCIM ID of the group, only present if managed by SCIM */
scimId?: string | null;
/** The number of users that belong to this group */
userCount?: number;
/** A list of users belonging to this group */
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/openapi/models/groupWithProjectRoleSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export interface GroupWithProjectRoleSchema {
roles?: number[];
/** A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role. */
rootRole?: number | null;
/** The SCIM ID of the group, only present if managed by SCIM */
scimId?: string | null;
/** A list of users belonging to this group */
users?: GroupUserModelSchema[];
}
2 changes: 2 additions & 0 deletions frontend/src/openapi/models/userSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export interface UserSchema {
permissions?: string[];
/** Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned */
rootRole?: number;
/** The SCIM ID of the user, only present if managed by SCIM */
scimId?: string | null;
/** The last time this user logged in */
seenAt?: string | null;
/** A unique username for the user */
Expand Down

0 comments on commit 30ea2d9

Please sign in to comment.