From 673d4cbc69220335ab1f3e70a3ac911006ab7e31 Mon Sep 17 00:00:00 2001 From: Alex Fedotyev <61838744+alex-fedotyev@users.noreply.github.com> Date: Thu, 7 May 2026 01:34:40 +0000 Subject: [PATCH] chore(heatmap): drop unused export of HeatmapChartConfig type No external file imports HeatmapChartConfig by name. DBDashboardPage, ChartPreviewPanel, and DBSearchHeatmapChart all use the inferred return type of toHeatmapChartConfig(...). The type stays in use locally for the function return shape and prop annotations. OSS knip 6.0.1 currently does not flag this; EE's knip resolved to 6.0.3 after the lockfile diverged and started failing on every heatmap-touching downstream merge (see DeploySentinel/hyperdx-ee#1997 for the most recent occurrence). Dropping the export here prevents the next OSS-to-EE sync from re-introducing the same fixup. Co-Authored-By: Claude Opus 4.7 --- packages/app/src/components/DBHeatmapChart.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/src/components/DBHeatmapChart.tsx b/packages/app/src/components/DBHeatmapChart.tsx index c4009144fe..e69e5ed673 100644 --- a/packages/app/src/components/DBHeatmapChart.tsx +++ b/packages/app/src/components/DBHeatmapChart.tsx @@ -286,7 +286,7 @@ function buildSeriesForPalette(colors: string[]): Partial { }; } -export type HeatmapChartConfig = { +type HeatmapChartConfig = { displayType: DisplayType.Heatmap; select: [ {