unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
12 lines • 663 B
TypeScript
import type { Db, IUnleashConfig } from '../../types/index.js';
import { ApiTokenService, type EventService } from '../../services/index.js';
import type { IEnvironmentStore } from '../../types/index.js';
import FakeApiTokenStore from '../../../test/fixtures/fake-api-token-store.js';
export declare const createApiTokenService: (db: Db, config: IUnleashConfig) => ApiTokenService;
export declare const createFakeApiTokenService: (config: IUnleashConfig) => {
apiTokenService: ApiTokenService;
eventService: EventService;
apiTokenStore: FakeApiTokenStore;
environmentStore: IEnvironmentStore;
};
//# sourceMappingURL=createApiTokenService.d.ts.map