feat: add canonical profile content schema and access helpers

This commit is contained in:
2026-02-16 23:32:25 +00:00
parent 8178d03cb2
commit 6605966fab
6 changed files with 338 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
import { profileContent } from '@/data/profile-content'
import type {
LLMCopy,
ProfileContent,
QuickActionCopyEntry,
SidebarCopy,
} from '@/types/profile-content'
export function getProfileContent(): ProfileContent {
return profileContent
}
export function getProfileSummaryText(): string {
return profileContent.profile.patientSummaryNarrative
}
export function getSidebarCopy(): SidebarCopy {
return profileContent.profile.sidebar
}
export function getSearchQuickActions(): ReadonlyArray<QuickActionCopyEntry> {
return profileContent.searchChat.quickActions
}
export function getLLMCopy(): LLMCopy {
return profileContent.searchChat.llm
}