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
Fredrik Strand Oseberg 78273e4ff3
chore: dora cleanup (#4676)
This PR adds: 
* Generated types for useProjectDoraMetrics
* Mobile enhancements
* Tooltips

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-09-13 15:50:42 +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 {
/** The name of the strategy type. Must be unique. */
name: string;
/** The title of the strategy */
title?: string;
/** A description of the strategy type. */
description?: string;
/** Whether the strategy type is editable or not. Defaults to `true`. */
editable?: boolean;
/** Whether the strategy type is deprecated or not. Defaults to `false`. */
deprecated?: boolean;
/** The parameter list lets you pass arguments to your custom activation strategy. These will be made available to your custom strategy implementation. */
parameters: CreateStrategySchemaParametersItem[];
}