mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-22 01:16:07 +02:00
26 lines
720 B
TypeScript
26 lines
720 B
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
import type { FrontendApiFeatureSchemaVariantPayload } from './frontendApiFeatureSchemaVariantPayload';
|
|
|
|
/**
|
|
* Variant details
|
|
*/
|
|
export type FrontendApiFeatureSchemaVariant = {
|
|
/** 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 variants name. Is unique for this feature toggle */
|
|
name: string;
|
|
/** Extra data configured for this variant */
|
|
payload?: FrontendApiFeatureSchemaVariantPayload;
|
|
};
|