1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-31 13:47:02 +02:00

chore: Export IClientInstance from server-impl. (#10354)

This type wasn't available in enterprise, so I'm adding it to serer-impl
to make it available.

I was a little unsure whether this would be an implementation detail
that we shouldn't expose in server-impl, but comparing it with the other
things we export (`applyGenericQueryParams`, `flattenPayload`,
`basePaginationParameters`), that seems to be fine. I'm guessing this
isn't the main public export? Or it is, and we just don't care 🤷
This commit is contained in:
Thomas Heartman 2025-07-14 15:36:18 +02:00 committed by GitHub
parent e51b3bb6c2
commit 34feef990e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -185,6 +185,7 @@ import type { RequestHandler } from 'express';
import { UPDATE_REVISION } from './features/feature-toggle/configuration-revision-service.js';
import type { IFeatureUsageInfo } from './services/version-service.js';
import { defineImpactMetrics } from './features/metrics/impact/define-impact-metrics.js';
import type { IClientInstance } from './types/stores/client-instance-store.js';
export async function initialServiceSetup(
{ authentication }: Pick<IUnleashConfig, 'authentication'>,
@ -549,6 +550,7 @@ export type {
QueryOverride,
IUserPermission,
IFeatureUsageInfo,
IClientInstance,
};
export * from './openapi/index.js';
export * from './types/index.js';