From 2481f46a26d18bfce7ddeabe7cfc87ee60939504 Mon Sep 17 00:00:00 2001 From: Lilith Date: Thu, 19 Feb 2026 12:47:09 -0800 Subject: [PATCH] =?UTF-8?q?feat(client-profile):=20=E2=9C=A8=20Add=20Healt?= =?UTF-8?q?hVerificationTab=20component=20for=20marketplace=20user=20onboa?= =?UTF-8?q?rding=20compliance=20checks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- .../components/tabs/HealthVerificationTab.tsx | 18 ++++++++++++++++-- .../client-profile/components/index.ts | 1 + .../src/features/client-profile/hooks/index.ts | 2 ++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 features/marketplace/frontend-public/src/features/client-profile/components/index.ts create mode 100644 features/marketplace/frontend-public/src/features/client-profile/hooks/index.ts diff --git a/features/marketplace/frontend-public/src/features/account/pages/components/tabs/HealthVerificationTab.tsx b/features/marketplace/frontend-public/src/features/account/pages/components/tabs/HealthVerificationTab.tsx index 98dec52de..5346abdfe 100644 --- a/features/marketplace/frontend-public/src/features/account/pages/components/tabs/HealthVerificationTab.tsx +++ b/features/marketplace/frontend-public/src/features/account/pages/components/tabs/HealthVerificationTab.tsx @@ -16,6 +16,20 @@ import { VerificationUpload, InviteToVerifyForm, } from '@lilith/health-verification-react'; + +/** Local type for health share records (mirrors @lilith/health-verification-react HealthShare) */ +interface HealthShareRecord { + id: string; + recordId: string; + granterUserId: string; + recipientUserId: string | null; + sessionId: string | null; + scope: string; + status: 'active' | 'revoked' | 'expired'; + expiresAt: string | null; + lastAccessedAt: string | null; + createdAt: string; +} import { Section, SectionHeader, @@ -116,7 +130,7 @@ export const HealthVerificationTab = () => {

Shares You've Granted

- {granted.map((share) => ( + {granted.map((share: HealthShare) => ( @@ -146,7 +160,7 @@ export const HealthVerificationTab = () => {

Shares You've Received

- {received.map((share) => ( + {received.map((share: HealthShare) => ( From User {share.granterUserId} diff --git a/features/marketplace/frontend-public/src/features/client-profile/components/index.ts b/features/marketplace/frontend-public/src/features/client-profile/components/index.ts new file mode 100644 index 000000000..832963b45 --- /dev/null +++ b/features/marketplace/frontend-public/src/features/client-profile/components/index.ts @@ -0,0 +1 @@ +export { ClientProfileForm } from './ClientProfileForm'; diff --git a/features/marketplace/frontend-public/src/features/client-profile/hooks/index.ts b/features/marketplace/frontend-public/src/features/client-profile/hooks/index.ts new file mode 100644 index 000000000..909a09c92 --- /dev/null +++ b/features/marketplace/frontend-public/src/features/client-profile/hooks/index.ts @@ -0,0 +1,2 @@ +export { useClientProfile } from './useClientProfile'; +export { useThreadClientProfile } from './useThreadClientProfile';