mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-02 01:17:58 +02:00
32 lines
1.1 KiB
TypeScript
32 lines
1.1 KiB
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';
|
|
import type { CreateStrategyVariantSchema } from './createStrategyVariantSchema';
|
|
|
|
/**
|
|
* Schema representing the creation of a release plan milestone strategy.
|
|
*/
|
|
export interface CreateReleasePlanMilestoneStrategySchema {
|
|
/** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/strategy-constraints */
|
|
constraints?: ConstraintSchema[];
|
|
/** An object containing the parameters for the strategy */
|
|
parameters?: ParametersSchema;
|
|
/** Ids of segments to use for this strategy */
|
|
segments?: number[];
|
|
/** The order of the strategy in the list */
|
|
sortOrder: number;
|
|
/** The name of the strategy type */
|
|
strategyName: string;
|
|
/**
|
|
* A descriptive title for the strategy
|
|
* @nullable
|
|
*/
|
|
title: string | null;
|
|
/** Strategy level variants */
|
|
variants?: CreateStrategyVariantSchema[];
|
|
}
|