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
Fredrik Strand Oseberg 78273e4ff3
chore: dora cleanup (#4676)
This PR adds: 
* Generated types for useProjectDoraMetrics
* Mobile enhancements
* Tooltips

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-09-13 15:50:42 +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 {
/** The name of the group */
name?: string;
/** The group's ID in the Unleash system */
id: number;
/** When this group was added to the project */
addedAt?: 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 custom description of the group */
description?: string | null;
/** A list of SSO groups that should map to this Unleash group */
mappingsSSO?: 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;
/** A user who created this group */
createdBy?: string | null;
/** When was this group created */
createdAt?: string | null;
/** A list of users belonging to this group */
users?: GroupUserModelSchema[];
}