1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-12 13:48:35 +02:00
unleash.unleash/frontend/src/openapi/models/variantFlagSchema.ts
Tymoteusz Czech 77a365e667
chore: Update OpenAPI definitions generated for frontend (#4283)
## About the changes
`frontend> yarn gen:api` after recent updates
2023-07-20 12:59:55 +02:00

19 lines
552 B
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { VariantFlagSchemaPayload } from './variantFlagSchemaPayload';
/**
* A representation of an evaluated Unleash feature variant.
*/
export interface VariantFlagSchema {
/** The name of the variant. Will always be disabled if `enabled` is false. */
name?: string;
/** Whether the variant is enabled or not. */
enabled?: boolean;
/** Additional data associated with this variant. */
payload?: VariantFlagSchemaPayload;
}