From 66447a7ea0d773610bc6253dbf250a8052cda547 Mon Sep 17 00:00:00 2001 From: Marcel Raddatz Date: Fri, 10 Apr 2026 14:12:03 +0200 Subject: [PATCH] refactor(planner): export Slot and SlotMap from types.ts Adds shared Slot and SlotMap interfaces so DesktopDayTile, EmptyDayTile, and reasoningTags can import rather than re-declare. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/lib/planner/types.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/lib/planner/types.ts b/frontend/src/lib/planner/types.ts index 7d80c2f..ff9ff96 100644 --- a/frontend/src/lib/planner/types.ts +++ b/frontend/src/lib/planner/types.ts @@ -13,6 +13,14 @@ export interface Recipe { tags?: TagItem[]; } +export interface Slot { + id?: string | null; + slotDate?: string; + recipe?: Recipe | null; +} + +export type SlotMap = Record; + export interface Suggestion { recipe: Recipe; scoreDelta: number;