From 55669c396532c2fb5f10e6b9c9dd9f03e46d72c2 Mon Sep 17 00:00:00 2001 From: Andrey Avtomonov Date: Thu, 21 May 2026 14:32:16 +0200 Subject: [PATCH] chore(cli): mark buildLocalStatsStatus and LocalStatsStatus as @internal Both symbols are consumed only by status-project.test.ts. Annotating with /** @internal */ keeps knip's production-mode check clean without changing runtime behavior. --- packages/cli/src/status-project.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/cli/src/status-project.ts b/packages/cli/src/status-project.ts index 814903a2..1b0f8094 100644 --- a/packages/cli/src/status-project.ts +++ b/packages/cli/src/status-project.ts @@ -121,6 +121,7 @@ interface LocalStatsProjectDir { semanticLayerYamlCount: number; } +/** @internal */ export interface LocalStatsStatus { ingest: { totalCompletedRuns: number; @@ -834,6 +835,7 @@ function tryQuery(run: () => T, fallback: T): T { } } +/** @internal */ export async function buildLocalStatsStatus(project: KtxLocalProject): Promise { const dbPath = ktxLocalStateDbPath(project); const dbSqliteBytes = await fileSizeOrNull(dbPath);