1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/frontend/src/openapi/models/createStrategySchema.ts
2023-12-04 21:49:49 +02:00

25 lines
1.0 KiB
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { CreateStrategySchemaParametersItem } from './createStrategySchemaParametersItem';
/**
* The data required to create a strategy type. Refer to the docs on [custom strategy types](https://docs.getunleash.io/reference/custom-activation-strategies) for more information.
*/
export interface CreateStrategySchema {
/** Whether the strategy type is deprecated or not. Defaults to `false`. */
deprecated?: boolean;
/** A description of the strategy type. */
description?: string;
/** Whether the strategy type is editable or not. Defaults to `true`. */
editable?: boolean;
/** The name of the strategy type. Must be unique. */
name: string;
/** The parameter list lets you pass arguments to your custom activation strategy. These will be made available to your custom strategy implementation. */
parameters: CreateStrategySchemaParametersItem[];
/** The title of the strategy */
title?: string;
}