unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
13 lines (12 loc) • 756 B
TypeScript
import { SdkContextSchema } from 'lib/openapi/spec/sdk-context-schema';
import { IUnleashServices } from 'lib/types/services';
import { ALL } from '../../lib/types/models/api-token';
import { PlaygroundFeatureSchema } from 'lib/openapi/spec/playground-feature-schema';
import { IUnleashConfig } from 'lib/types';
export declare class PlaygroundService {
private readonly logger;
private readonly featureToggleService;
private readonly segmentService;
constructor(config: IUnleashConfig, { featureToggleServiceV2, segmentService, }: Pick<IUnleashServices, 'featureToggleServiceV2' | 'segmentService'>);
evaluateQuery(projects: typeof ALL | string[], environment: string, context: SdkContextSchema): Promise<PlaygroundFeatureSchema[]>;
}