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
Fredrik Strand Oseberg 1c4ba4cc97
Feat/project stats types (#3012)
Update type for project stats
2023-01-27 17:19:27 +01:00

26 lines
1.1 KiB
TypeScript

/**
* Generated by orval v6.11.0 🍺
* Do not edit manually.
* Unleash API
* OpenAPI spec version: 4.21.0-beta.1
*/
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;
/** 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 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;
}