diff --git a/frontend/src/api/client.ts b/frontend/src/api/client.ts index f6e0819..980cc66 100644 --- a/frontend/src/api/client.ts +++ b/frontend/src/api/client.ts @@ -317,6 +317,7 @@ export interface JournalConfig { day_rollover_hour: number; morning_end_hour?: number; midday_end_hour?: number; + closeout_enabled?: boolean; // Ambient-context fields (carried forward from the briefing config schema) locations?: { home?: JournalLocation; work?: JournalLocation }; temp_unit?: 'C' | 'F'; @@ -696,3 +697,11 @@ export const updateProfile = (data: Partial) => export const consolidateProfile = () => apiPost<{ status: string; learned_summary: string }>('/api/profile/consolidate', {}) export const clearProfileObservations = () => apiDelete('/api/profile/observations') + +export interface ProfileObservationEntry { + date: string + bullets: string +} + +export const listProfileObservations = () => + apiGet<{ observations: ProfileObservationEntry[] }>('/api/profile/observations')