2023-01-05 11:57:53 +01:00
|
|
|
/**
|
2023-01-27 17:19:27 +01:00
|
|
|
* Generated by orval v6.11.0 🍺
|
2023-01-05 11:57:53 +01:00
|
|
|
* Do not edit manually.
|
|
|
|
* Unleash API
|
2023-02-24 11:31:37 +01:00
|
|
|
* OpenAPI spec version: 4.22.0-beta.3
|
2023-01-05 11:57:53 +01:00
|
|
|
*/
|
2023-01-12 16:09:13 +01:00
|
|
|
import type { FeatureStrategySchema } from './featureStrategySchema';
|
2023-01-27 17:19:27 +01:00
|
|
|
import type { VariantSchema } from './variantSchema';
|
2023-01-05 11:57:53 +01:00
|
|
|
|
2023-02-24 11:31:37 +01:00
|
|
|
/**
|
|
|
|
* A detailed description of the feature environment
|
|
|
|
*/
|
2023-01-05 11:57:53 +01:00
|
|
|
export interface FeatureEnvironmentSchema {
|
2023-02-24 11:31:37 +01:00
|
|
|
/** The name of the environment */
|
2023-01-05 11:57:53 +01:00
|
|
|
name: string;
|
2023-01-27 17:19:27 +01:00
|
|
|
featureName?: string;
|
2023-01-05 11:57:53 +01:00
|
|
|
environment?: string;
|
2023-02-24 11:31:37 +01:00
|
|
|
/** The type of the environment */
|
2023-01-05 11:57:53 +01:00
|
|
|
type?: string;
|
2023-02-24 11:31:37 +01:00
|
|
|
/** `true` if the feature is enabled for the environment, otherwise `false`. */
|
2023-01-05 11:57:53 +01:00
|
|
|
enabled: boolean;
|
2023-02-24 11:31:37 +01:00
|
|
|
/** The sort order of the feature environment in the feature environments list */
|
2023-01-27 17:19:27 +01:00
|
|
|
sortOrder?: number;
|
|
|
|
variantCount?: number;
|
2023-02-24 11:31:37 +01:00
|
|
|
/** A list of activation strategies for the feature environment */
|
2023-01-12 16:09:13 +01:00
|
|
|
strategies?: FeatureStrategySchema[];
|
2023-02-24 11:31:37 +01:00
|
|
|
/** A list of variants for the feature environment */
|
2023-01-27 17:19:27 +01:00
|
|
|
variants?: VariantSchema[];
|
2023-01-05 11:57:53 +01:00
|
|
|
}
|