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