| 1 | import { repairSession, type ChatSession } from "./session"; |
| 2 | |
| 3 | export interface SessionSummary { |
| 4 | id: string; |
| 5 | createdAt: string; |
| 6 | updatedAt: string; |
| 7 | messageCount: number; |
| 8 | preview: string; |
| 9 | } |
| 10 | |
| 11 | function normalizeSession(raw: ChatSession): ChatSession { |
| 12 | return repairSession({ |
nothing calls this directly
no outgoing calls
no test coverage detected