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
|
|
|
/**
|
|
|
|
* Describes a single permission
|
|
|
|
*/
|
2023-01-05 11:57:53 +01:00
|
|
|
export interface AdminPermissionSchema {
|
2023-07-20 12:59:55 +02:00
|
|
|
/** The identifier for this permission */
|
2023-01-05 11:57:53 +01:00
|
|
|
id: number;
|
2023-07-20 12:59:55 +02:00
|
|
|
/** The name of this permission */
|
2023-01-05 11:57:53 +01:00
|
|
|
name: string;
|
2023-07-20 12:59:55 +02:00
|
|
|
/** The name to display in listings of permissions */
|
2023-01-05 11:57:53 +01:00
|
|
|
displayName: string;
|
2023-07-20 12:59:55 +02:00
|
|
|
/** What level this permission applies to. Either root, project or the name of the environment it applies to */
|
2023-01-05 11:57:53 +01:00
|
|
|
type: string;
|
2023-07-20 12:59:55 +02:00
|
|
|
/** Which environment this permission applies to */
|
2023-01-05 11:57:53 +01:00
|
|
|
environment?: string;
|
|
|
|
}
|