1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-08 01:15:49 +02:00
unleash.unleash/frontend/src/openapi/models/featureStrategySchema.ts
Tymoteusz Czech 169b2bd0c5
Strategy title frontend (#3556)
Ability to add a title to a strategy
2023-04-19 17:27:23 +00:00

29 lines
904 B
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ConstraintSchema } from './constraintSchema';
import type { ParametersSchema } from './parametersSchema';
/**
* A singles activation strategy configuration schema for a feature
*/
export interface FeatureStrategySchema {
/** A uuid for the feature strategy */
id?: string;
/** The name or type of strategy */
name: string;
/** A descriptive title for the strategy */
title?: string | null;
/** The name or feature the strategy is attached to */
featureName?: string;
/** The order of the strategy in the list */
sortOrder?: number;
/** A list of segment ids attached to the strategy */
segments?: number[];
/** A list of the constraints attached to the strategy */
constraints?: ConstraintSchema[];
parameters?: ParametersSchema;
}