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 {
|
2023-04-19 19:27:23 +02:00
|
|
|
/** The name or type of strategy */
|
2023-01-05 11:57:53 +01:00
|
|
|
name: string;
|
2023-04-19 19:27:23 +02:00
|
|
|
/** A descriptive title for the strategy */
|
|
|
|
title?: string | null;
|
2023-04-26 11:41:24 +02:00
|
|
|
/** A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs */
|
|
|
|
disabled?: boolean | null;
|
2023-04-19 19:27:23 +02:00
|
|
|
/** The order of the strategy in the list */
|
2023-01-05 11:57:53 +01:00
|
|
|
sortOrder?: number;
|
2023-04-19 19:27:23 +02:00
|
|
|
/** A list of the constraints attached to the strategy */
|
2023-01-05 11:57:53 +01:00
|
|
|
constraints?: ConstraintSchema[];
|
2023-04-19 19:27:23 +02:00
|
|
|
/** 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
|
|
|
}
|