mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
18 lines
565 B
TypeScript
18 lines
565 B
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
|
|
/**
|
|
* Feature dependency on a parent feature in read model
|
|
*/
|
|
export interface DependentFeatureSchema {
|
|
/** Whether the parent feature should be enabled. When `false` variants are ignored. `true` by default. */
|
|
enabled?: boolean;
|
|
/** The name of the feature we depend on. */
|
|
feature: string;
|
|
/** The list of variants the parent feature should resolve to. Leave empty when you only want to check the `enabled` status. */
|
|
variants?: string[];
|
|
}
|