mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
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:
1 parent
52f8c5a57a
commit
eb087f9fc2
1 file changed
-6
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user