mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-12 13:48:35 +02:00
19 lines
552 B
TypeScript
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;
|
|
}
|