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>
24 lines
770 B
TypeScript
24 lines
770 B
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
import type { ActionDefinitionParameterSchemaName } from './actionDefinitionParameterSchemaName.js';
|
|
import type { ActionDefinitionParameterSchemaType } from './actionDefinitionParameterSchemaType.js';
|
|
|
|
/**
|
|
* Defines a parameter for an action.
|
|
*/
|
|
export interface ActionDefinitionParameterSchema {
|
|
/** The label of the parameter. */
|
|
label: string;
|
|
/** The name of the parameter. */
|
|
name: ActionDefinitionParameterSchemaName;
|
|
/** Whether the parameter is optional. */
|
|
optional?: boolean;
|
|
/** Lists of options to be used for the parameter. */
|
|
options?: string[];
|
|
/** The parameter type. */
|
|
type: ActionDefinitionParameterSchemaType;
|
|
}
|