From 34feef990e75cb8ff8532c16c3263daecb5a6071 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Mon, 14 Jul 2025 15:36:18 +0200 Subject: [PATCH] chore: Export IClientInstance from `server-impl`. (#10354) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 🤷 --- src/lib/server-impl.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/server-impl.ts b/src/lib/server-impl.ts index e5cd7fac10..78c6d261bc 100644 --- a/src/lib/server-impl.ts +++ b/src/lib/server-impl.ts @@ -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, @@ -549,6 +550,7 @@ export type { QueryOverride, IUserPermission, IFeatureUsageInfo, + IClientInstance, }; export * from './openapi/index.js'; export * from './types/index.js';