/** * Generated by Orval * Do not edit manually. * See `gen:api` script in package.json */ import type { AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload } from './advancedPlaygroundEnvironmentFeatureSchemaVariantPayload'; /** * The feature variant you receive based on the provided context or the _disabled variant_. If a feature is disabled or doesn't have any variants, you would get the _disabled variant_. Otherwise, you'll get one of the feature's defined variants. * @nullable */ export type AdvancedPlaygroundEnvironmentFeatureSchemaVariant = { /** Whether the variant is enabled or not. If the feature is disabled or if it doesn't have variants, this property will be `false` */ enabled: boolean; /** Whether the feature is enabled or not. If the feature is disabled, this property will be `false` */ feature_enabled?: boolean; /** The variant's name. If there is no variant or if the flag is disabled, this will be `disabled` */ name: string; /** An optional payload attached to the variant. */ payload?: AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload; } | null;