mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-16 00:06:40 +01:00
19 lines
930 B
TypeScript
19 lines
930 B
TypeScript
|
/**
|
||
|
* Generated by Orval
|
||
|
* Do not edit manually.
|
||
|
* See `gen:api` script in package.json
|
||
|
*/
|
||
|
import type { CreateRoleWithPermissionsSchemaOneOfFourType } from './createRoleWithPermissionsSchemaOneOfFourType';
|
||
|
import type { CreateRoleWithPermissionsSchemaOneOfFourPermissionsItem } from './createRoleWithPermissionsSchemaOneOfFourPermissionsItem';
|
||
|
|
||
|
export type CreateRoleWithPermissionsSchemaOneOfFour = {
|
||
|
/** The name of the custom role */
|
||
|
name: string;
|
||
|
/** A more detailed description of the custom role and what use it's intended for */
|
||
|
description?: string;
|
||
|
/** [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) contain a specific set of permissions for project resources. */
|
||
|
type?: CreateRoleWithPermissionsSchemaOneOfFourType;
|
||
|
/** A list of permissions assigned to this role */
|
||
|
permissions?: CreateRoleWithPermissionsSchemaOneOfFourPermissionsItem[];
|
||
|
};
|