1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/frontend/src/openapi/models/createContextFieldSchema.ts
2023-12-04 21:49:49 +02:00

23 lines
800 B
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { LegalValueSchema } from './legalValueSchema';
/**
* Data used to create a context field configuration.
*/
export interface CreateContextFieldSchema {
/** A description of the context field */
description?: string;
/** A list of allowed values for this context field */
legalValues?: LegalValueSchema[];
/** The name of the context field. */
name: string;
/** How this context field should be sorted if no other sort order is selected */
sortOrder?: number;
/** `true` if this field should be available for use with [custom stickiness](https://docs.getunleash.io/reference/stickiness#custom-stickiness), otherwise `false` */
stickiness?: boolean;
}