unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
12 lines • 690 B
TypeScript
import type { IUnleashConfig, IUnleashStores } from '../../types/index.js';
import type { IFeatureSearchParams, IQueryParam } from '../feature-toggle/types/feature-toggle-strategies-store-type.js';
export declare class FeatureSearchService {
private featureSearchStore;
constructor({ featureSearchStore }: Pick<IUnleashStores, 'featureSearchStore'>, _config: Pick<IUnleashConfig, 'getLogger'>);
search(params: IFeatureSearchParams): Promise<{
features: import("../../types/model.js").IFeatureSearchOverview[];
total: number;
}>;
convertToQueryParams: (params: IFeatureSearchParams) => IQueryParam[];
}
//# sourceMappingURL=feature-search-service.d.ts.map