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
2023-04-07 09:16:00 +00:00

28 lines
1.1 KiB
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
/**
* A definition of the project environment
*/
export interface EnvironmentSchema {
/** The name of the environment */
name: string;
/** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types). */
type: string;
/** `true` if the environment is enabled for the project, otherwise `false`. */
enabled: boolean;
/** `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 */
projectCount?: number | null;
/** The number of API tokens for the project environment */
apiTokenCount?: number | null;
/** The number of enabled toggles for the project environment */
enabledToggleCount?: number | null;
}