mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-17 13:46:47 +02:00
19 lines
883 B
TypeScript
19 lines
883 B
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
import type { CreateRoleWithPermissionsSchemaOneOfType } from './createRoleWithPermissionsSchemaOneOfType';
|
|
import type { CreateRoleWithPermissionsSchemaOneOfPermissionsItem } from './createRoleWithPermissionsSchemaOneOfPermissionsItem';
|
|
|
|
export type CreateRoleWithPermissionsSchemaOneOf = {
|
|
/** 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 root roles](https://docs.getunleash.io/reference/rbac#custom-root-roles) are root roles with a custom set of permissions. */
|
|
type: CreateRoleWithPermissionsSchemaOneOfType;
|
|
/** A list of permissions assigned to this role */
|
|
permissions?: CreateRoleWithPermissionsSchemaOneOfPermissionsItem[];
|
|
};
|