mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-07 01:16:28 +02:00
26 lines
1.1 KiB
TypeScript
26 lines
1.1 KiB
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
import type { PlaygroundStrategySchemaResultAnyOfFourEvaluationStatus } from './playgroundStrategySchemaResultAnyOfFourEvaluationStatus';
|
|
import type { PlaygroundStrategySchemaResultAnyOfFourVariant } from './playgroundStrategySchemaResultAnyOfFourVariant';
|
|
import type { VariantSchema } from './variantSchema';
|
|
|
|
export type PlaygroundStrategySchemaResultAnyOfFour = {
|
|
/** Whether this strategy evaluates to true or not. */
|
|
enabled: boolean;
|
|
/** Signals that this strategy was evaluated successfully. */
|
|
evaluationStatus: PlaygroundStrategySchemaResultAnyOfFourEvaluationStatus;
|
|
/**
|
|
* The feature variant you receive based on the provided context or the _disabled
|
|
variant_. If a feature is disabled or doesn't have any
|
|
variants, you would get the _disabled variant_.
|
|
Otherwise, you'll get one of the feature's defined variants.
|
|
* @nullable
|
|
*/
|
|
variant?: PlaygroundStrategySchemaResultAnyOfFourVariant;
|
|
/** The feature variants. */
|
|
variants?: VariantSchema[];
|
|
};
|