1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-16 00:06:40 +01:00
unleash.unleash/frontend/src/openapi/models/createFeatureStrategySchema.ts

25 lines
904 B
TypeScript
Raw Normal View History

2023-01-05 11:57:53 +01:00
/**
2023-03-15 13:30:07 +01:00
* Generated by Orval
2023-01-05 11:57:53 +01:00
* Do not edit manually.
2023-03-15 13:30:07 +01:00
* See `gen:api` script in package.json
2023-01-05 11:57:53 +01:00
*/
import type { ConstraintSchema } from './constraintSchema';
import type { ParametersSchema } from './parametersSchema';
export interface CreateFeatureStrategySchema {
/** The name or type of strategy */
2023-01-05 11:57:53 +01:00
name: string;
/** A descriptive title for the strategy */
title?: string | null;
/** A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs */
disabled?: boolean | null;
/** The order of the strategy in the list */
2023-01-05 11:57:53 +01:00
sortOrder?: number;
/** A list of the constraints attached to the strategy */
2023-01-05 11:57:53 +01:00
constraints?: ConstraintSchema[];
/** An object containing the parameters for the strategy */
2023-01-05 11:57:53 +01:00
parameters?: ParametersSchema;
2023-03-21 10:10:07 +01:00
/** Ids of segments to use for this strategy */
segments?: number[];
2023-01-05 11:57:53 +01:00
}