mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
29 lines
940 B
TypeScript
29 lines
940 B
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
import type { FeatureStrategySchema } from './featureStrategySchema';
|
|
import type { VariantSchema } from './variantSchema';
|
|
|
|
/**
|
|
* A detailed description of the feature environment
|
|
*/
|
|
export interface FeatureEnvironmentSchema {
|
|
/** The name of the environment */
|
|
name: string;
|
|
featureName?: string;
|
|
environment?: string;
|
|
/** The type of the environment */
|
|
type?: string;
|
|
/** `true` if the feature is enabled for the environment, otherwise `false`. */
|
|
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[];
|
|
}
|