UNPKG

unleash-server

Version:

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

27 lines 906 B
import type { ProjectOverviewSchema } from '../../openapi/index.js'; export type OnboardingStatus = ProjectOverviewSchema['onboardingStatus']; /** * All the values are in seconds */ export type InstanceOnboarding = { firstLogin: number | null; secondLogin: number | null; firstFeatureFlag: number | null; firstPreLive: number | null; firstLive: number | null; }; /** * All the values are in seconds */ export type ProjectOnboarding = { project: string; firstFeatureFlag: number | null; firstPreLive: number | null; firstLive: number | null; }; export interface IOnboardingReadModel { getInstanceOnboardingMetrics(): Promise<InstanceOnboarding>; getProjectsOnboardingMetrics(): Promise<Array<ProjectOnboarding>>; getOnboardingStatusForProject(projectId: string): Promise<OnboardingStatus | null>; } //# sourceMappingURL=onboarding-read-model-type.d.ts.map