From 94a10ecec49e9dbd6f78b15162934bb98235f88b Mon Sep 17 00:00:00 2001 From: Ned Halksworth Date: Wed, 27 May 2026 18:19:44 +0100 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- src/App.tsx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index b28ebd3..1ef5ffe 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -123,7 +123,21 @@ import { wholeNumber, } from "./lib/metrics"; import { exportPayload, parseImport } from "./lib/storage"; -import type { CoachChat, CoachMessage, DateFilter, EntryDraft, Filters, Flavour, ImportPreview, RedBullEntry } from "./types"; +import type { DateFilter, EntryDraft, Filters, Flavour, ImportPreview, RedBullEntry } from "./types"; + +type CoachMessage = { + role: "user" | "assistant" | "system"; + content: string; + thinking?: string; +}; + +type CoachChat = { + id: string; + title: string; + createdAt: string; + updatedAt: string; + messages: CoachMessage[]; +}; type AppView = "overview" | "logbook" | "trends" | "settings"; type AuthMode = "login" | "signup";