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/featureEnvironmentSchema.ts

29 lines
940 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
*/
import type { FeatureStrategySchema } from './featureStrategySchema';
import type { VariantSchema } from './variantSchema';
2023-01-05 11:57:53 +01:00
/**
* A detailed description of the feature environment
*/
2023-01-05 11:57:53 +01:00
export interface FeatureEnvironmentSchema {
/** The name of the environment */
2023-01-05 11:57:53 +01:00
name: string;
featureName?: string;
2023-01-05 11:57:53 +01:00
environment?: string;
/** The type of the environment */
2023-01-05 11:57:53 +01:00
type?: string;
/** `true` if the feature is enabled for the environment, otherwise `false`. */
2023-01-05 11:57:53 +01:00
enabled: boolean;
/** The sort order of the feature environment in the feature environments list */
sortOrder?: number;
variantCount?: number;
/** A list of activation strategies for the feature environment */
strategies?: FeatureStrategySchema[];
/** A list of variants for the feature environment */
variants?: VariantSchema[];
2023-01-05 11:57:53 +01:00
}