unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
26 lines • 746 B
TypeScript
import type { StrategyTransportInterface } from './strategy/index.js';
import type { Segment } from './strategy/strategy.js';
import type { VariantDefinition } from './variant.js';
export interface Dependency {
feature: string;
variants?: string[];
enabled?: boolean;
}
export interface FeatureInterface {
name: string;
type: string;
description?: string;
enabled: boolean;
stale: boolean;
impressionData: boolean;
strategies: StrategyTransportInterface[];
variants: VariantDefinition[];
dependencies?: Dependency[];
}
export interface ClientFeaturesResponse {
version: number;
features: FeatureInterface[];
query?: any;
segments?: Segment[];
}
//# sourceMappingURL=feature.d.ts.map