1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-19 00:15:43 +01:00
unleash.unleash/frontend/src/openapi/models/variantFlagSchema.ts
Fredrik Strand Oseberg 7d6d4064a8
feat: connect dashboard static widgets to data (#6062)
This PR connects the static widgets to actual data
2024-01-30 10:07:16 +01:00

26 lines
736 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 {
/** Whether the variant is enabled or not. */
enabled?: boolean;
/** Whether the feature is enabled or not. */
feature_enabled?: boolean;
/**
* Use `feature_enabled` instead.
* @deprecated
*/
featureEnabled?: boolean;
/** The name of the variant. Will always be disabled if `enabled` is false. */
name?: string;
/** Additional data associated with this variant. */
payload?: VariantFlagSchemaPayload;
}