diff --git a/src/app/insights/page.tsx b/src/app/insights/page.tsx index 3d9009746..191c9433d 100644 --- a/src/app/insights/page.tsx +++ b/src/app/insights/page.tsx @@ -16,8 +16,6 @@ import { HeroStrip } from "@/components/insights/hero-strip"; import { useInsightsAdvisorQuery } from "@/components/insights/use-insights-advisor"; import { useCoachLaunch } from "@/lib/insights/coach-launch-context"; import { useAnalyticsQuery } from "@/lib/queries/use-analytics-query"; -import type { CorrelationResult } from "@/lib/insights/correlations"; -import type { DataSummary } from "@/lib/analytics/trends"; /** * v1.4.33 IW2 — defer the three below-the-fold mother-page blocks diff --git a/src/lib/analytics/summaries-slice.ts b/src/lib/analytics/summaries-slice.ts index 961a4a194..83b8c9f56 100644 --- a/src/lib/analytics/summaries-slice.ts +++ b/src/lib/analytics/summaries-slice.ts @@ -53,7 +53,7 @@ * 100`. Slope `direction` is derived from `slope`'s sign with the * same 0.01-units-per-day "stable" threshold the JS helper uses. */ -import type { MeasurementType, RollupGranularity } from "@/generated/prisma/client"; +import type { MeasurementType } from "@/generated/prisma/client"; import { prisma } from "@/lib/db"; import type { DataSummary } from "@/lib/analytics/trends"; @@ -64,11 +64,7 @@ import { isFullyCovered, probeRollupCoverage, } from "@/lib/rollups/measurement-coverage"; -import { - aggregateWmyBuckets, - readBestGranularityRollups, - type RollupBucketRow, -} from "@/lib/rollups/measurement-read-wmy"; +import { readBestGranularityRollups } from "@/lib/rollups/measurement-read-wmy"; const DAY_MS = 24 * 60 * 60 * 1000;