1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/frontend/src/openapi/models/environmentSchema.ts

28 lines
1.1 KiB
TypeScript
Raw Normal View History

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
*/
/**
* A definition of the project environment
*/
2023-01-05 11:57:53 +01:00
export interface EnvironmentSchema {
/** The name of the environment */
2023-01-05 11:57:53 +01:00
name: string;
2023-04-07 11:16:00 +02:00
/** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types). */
2023-01-05 11:57:53 +01:00
type: string;
/** `true` if the environment is enabled for the project, otherwise `false`. */
2023-01-05 11:57:53 +01:00
enabled: boolean;
2023-04-07 11:16:00 +02:00
/** `true` if the environment is protected, otherwise `false`. A *protected* environment can not be deleted. */
protected: boolean;
/** Priority of the environment in a list of environments, the lower the value, the higher up in the list the environment will appear. Needs to be an integer */
sortOrder: number;
/** The number of projects with this environment */
2023-01-05 11:57:53 +01:00
projectCount?: number | null;
/** The number of API tokens for the project environment */
2023-01-05 11:57:53 +01:00
apiTokenCount?: number | null;
/** The number of enabled toggles for the project environment */
2023-01-05 11:57:53 +01:00
enabledToggleCount?: number | null;
}