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

27 lines
823 B
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;
/** The type of the environment */
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;
protected?: boolean;
/** The sort order of the environment in the environments list */
2023-01-05 11:57:53 +01:00
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;
}