1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-27 11:02:16 +01:00
unleash.unleash/frontend/src/openapi/models/playgroundStrategySchema.ts
Tymoteusz Czech 3bb09c5ce4
Disable and enable strategies - frontend (#3582)
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: andreas-unleash <andreas@getunleash.ai>
2023-04-26 11:41:24 +02:00

29 lines
1.2 KiB
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { PlaygroundStrategySchemaResult } from './playgroundStrategySchemaResult';
import type { PlaygroundSegmentSchema } from './playgroundSegmentSchema';
import type { PlaygroundConstraintSchema } from './playgroundConstraintSchema';
import type { ParametersSchema } from './parametersSchema';
export interface PlaygroundStrategySchema {
/** The strategy's name. */
name: string;
/** Description of the feature's purpose. */
title?: string;
/** The strategy's id. */
id: string;
/** The strategy's evaluation result. If the strategy is a custom strategy that Unleash can't evaluate, `evaluationStatus` will be `unknown`. Otherwise, it will be `true` or `false` */
result: PlaygroundStrategySchemaResult;
/** The strategy's status. Disabled strategies are not evaluated */
disabled: boolean | null;
/** The strategy's segments and their evaluation results. */
segments: PlaygroundSegmentSchema[];
/** The strategy's constraints and their evaluation results. */
constraints: PlaygroundConstraintSchema[];
/** The strategy's constraints and their evaluation results. */
parameters: ParametersSchema;
}