From eb087f9fc2d339ed608b45fc23eb1e0b3a6dfe90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 15 Aug 2026 03:35:41 +0200 Subject: [PATCH] Drop the two recommendation type aliases the deleted card exported for The schemas stay: the insight result still parses recommendations through them. Only the exported aliases went unused once the card that consumed them was removed, and the dead-code gate says so. --- src/lib/ai/types.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/ai/types.ts b/src/lib/ai/types.ts index 67681677f..898edb62c 100644 --- a/src/lib/ai/types.ts +++ b/src/lib/ai/types.ts @@ -33,10 +33,6 @@ export const insightRecommendationRationaleSchema = z.object({ deviation: z.string(), }); -export type InsightRecommendationRationale = z.infer< - typeof insightRecommendationRationaleSchema ->; - /** * v1.4.16 — recommendations can be either the legacy plain-string * shape OR a structured object carrying an optional medical-reference @@ -77,8 +73,6 @@ export const insightRecommendationSchema = z.union([ }), ]); -export type InsightRecommendation = z.infer; - export const insightResultSchema = z.object({ insightType: z.string().optional(), summary: z.string(),