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.
This commit is contained in:
Marc-André Bombeck committed 2026-08-15 03:35:41 +02:00
1 parent 52f8c5a57a
commit eb087f9fc2
1 file changed
-6
-6
View File
@@ -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<typeof insightRecommendationSchema>;
export const insightResultSchema = z.object({
insightType: z.string().optional(),
summary: z.string(),