feat(client-profile): Add HealthVerificationTab component for marketplace user onboarding compliance checks

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Lilith 2026-02-19 12:47:09 -08:00
parent 8238942ae9
commit 2481f46a26
3 changed files with 19 additions and 2 deletions

View file

@ -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 = () => {
<h3 style={{ fontSize: '1rem', fontWeight: 600, marginBottom: '1rem' }}>
Shares You've Granted
</h3>
{granted.map((share) => (
{granted.map((share: HealthShare) => (
<Row key={share.id}>
<RowInfo>
<RowTitle>
@ -146,7 +160,7 @@ export const HealthVerificationTab = () => {
<h3 style={{ fontSize: '1rem', fontWeight: 600, marginBottom: '1rem' }}>
Shares You've Received
</h3>
{received.map((share) => (
{received.map((share: HealthShare) => (
<Row key={share.id}>
<RowInfo>
<RowTitle>From User {share.granterUserId}</RowTitle>

View file

@ -0,0 +1 @@
export { ClientProfileForm } from './ClientProfileForm';

View file

@ -0,0 +1,2 @@
export { useClientProfile } from './useClientProfile';
export { useThreadClientProfile } from './useThreadClientProfile';