2023-01-05 11:57:53 +01:00
|
|
|
/**
|
2023-03-15 13:30:07 +01:00
|
|
|
* Generated by Orval
|
2023-01-05 11:57:53 +01:00
|
|
|
* Do not edit manually.
|
2023-03-15 13:30:07 +01:00
|
|
|
* See `gen:api` script in package.json
|
2023-01-05 11:57:53 +01:00
|
|
|
*/
|
|
|
|
|
2023-07-20 12:59:55 +02:00
|
|
|
/**
|
|
|
|
* A role holds permissions to allow Unleash to decide what actions a role holder is allowed to perform
|
|
|
|
*/
|
2023-01-05 11:57:53 +01:00
|
|
|
export interface RoleSchema {
|
2023-07-20 12:59:55 +02:00
|
|
|
/** The role id */
|
2023-01-05 11:57:53 +01:00
|
|
|
id: number;
|
2023-08-03 15:05:20 +02:00
|
|
|
/** A role can either be a global root role (applies to all projects) or a project role */
|
2023-01-05 11:57:53 +01:00
|
|
|
type: string;
|
2023-07-20 12:59:55 +02:00
|
|
|
/** The name of the role */
|
2023-01-05 11:57:53 +01:00
|
|
|
name: string;
|
2023-07-20 12:59:55 +02:00
|
|
|
/** A more detailed description of the role and what use it's intended for */
|
2023-01-05 11:57:53 +01:00
|
|
|
description?: string;
|
|
|
|
}
|