mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-04 11:17:02 +02:00
We're migrating to ESM, which will allow us to import the latest versions of our dependencies. Co-Authored-By: Christopher Kolstad <chriswk@getunleash.io>
35 lines
964 B
TypeScript
35 lines
964 B
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
import type { StrategySchemaParametersItem } from './strategySchemaParametersItem.js';
|
|
|
|
/**
|
|
* The [activation strategy](https://docs.getunleash.io/reference/activation-strategies) schema
|
|
*/
|
|
export interface StrategySchema {
|
|
deprecated: boolean;
|
|
/**
|
|
* A short description of the strategy
|
|
* @nullable
|
|
*/
|
|
description: string | null;
|
|
/**
|
|
* A human friendly name for the strategy
|
|
* @nullable
|
|
*/
|
|
displayName: string | null;
|
|
/** Whether the strategy can be edited or not. Strategies bundled with Unleash cannot be edited. */
|
|
editable: boolean;
|
|
/** The name (type) of the strategy */
|
|
name: string;
|
|
/** A list of relevant parameters for each strategy */
|
|
parameters: StrategySchemaParametersItem[];
|
|
/**
|
|
* An optional title for the strategy
|
|
* @nullable
|
|
*/
|
|
title?: string | null;
|
|
}
|