unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
23 lines • 1.2 kB
TypeScript
import type { IImportTogglesStore, ProjectFeaturesLimit } from './import-toggles-store-type.js';
import type { Db } from '../../db/db.js';
export declare class ImportTogglesStore implements IImportTogglesStore {
private db;
constructor(db: Db);
getDisplayPermissions(names: string[]): Promise<{
name: string;
displayName: string;
}[]>;
deleteStrategiesForFeatures(featureNames: string[], environment: string): Promise<void>;
strategiesExistForFeatures(featureNames: string[], environment: string): Promise<boolean>;
getArchivedFeatures(featureNames: string[]): Promise<string[]>;
getExistingFeatures(featureNames: string[]): Promise<string[]>;
getFeaturesInOtherProjects(featureNames: string[], project: string): Promise<{
name: string;
project: string;
}[]>;
getFeaturesInProject(featureNames: string[], project: string): Promise<string[]>;
getProjectFeaturesLimit(featureNames: string[], project: string): Promise<ProjectFeaturesLimit>;
deleteTagsForFeatures(features: string[]): Promise<void>;
deleteLinksForFeatures(features: string[]): Promise<void>;
}
//# sourceMappingURL=import-toggles-store.d.ts.map