1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/frontend/src/openapi/models/groupWithProjectRoleSchema.ts
2023-12-04 21:49:49 +02:00

35 lines
1.2 KiB
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { GroupUserModelSchema } from './groupUserModelSchema';
/**
* Data about a group including their project role
*/
export interface GroupWithProjectRoleSchema {
/** When this group was added to the project */
addedAt?: string;
/** When was this group created */
createdAt?: string | null;
/** A user who created this group */
createdBy?: string | null;
/** A custom description of the group */
description?: string | null;
/** The group's ID in the Unleash system */
id: number;
/** A list of SSO groups that should map to this Unleash group */
mappingsSSO?: string[];
/** The name of the group */
name?: string;
/** The ID of the role this group has in the given project */
roleId?: number;
/** A list of roles this user has in the given project */
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;
/** A list of users belonging to this group */
users?: GroupUserModelSchema[];
}