UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

13 lines 809 B
import type { IUnleashConfig } from '../../types/index.js'; import type { IntegrationEventsStore, IntegrationEventWriteModel } from './integration-events-store.js'; import type { IntegrationEventSchema } from '../../openapi/spec/integration-event-schema.js'; export declare class IntegrationEventsService { private integrationEventsStore; constructor({ integrationEventsStore, }: { integrationEventsStore: IntegrationEventsStore; }, _config: Pick<IUnleashConfig, 'getLogger' | 'flagResolver'>); getPaginatedEvents(id: number, limit: number, offset: number): Promise<IntegrationEventSchema[]>; registerEvent(integrationEvent: IntegrationEventWriteModel): Promise<IntegrationEventSchema>; cleanUpEvents(): Promise<void>; } //# sourceMappingURL=integration-events-service.d.ts.map