mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-07 01:16:28 +02:00
22 lines
623 B
TypeScript
22 lines
623 B
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
|
|
/**
|
|
* A role holds permissions to allow Unleash to decide what actions a role holder is allowed to perform
|
|
*/
|
|
export interface RoleSchema {
|
|
/** A more detailed description of the role and what use it's intended for */
|
|
description?: string;
|
|
/** The role id */
|
|
id: number;
|
|
/** The name of the role */
|
|
name: string;
|
|
/** What project the role belongs to */
|
|
project?: string | null;
|
|
/** A role can either be a global root role (applies to all projects) or a project role */
|
|
type: string;
|
|
}
|