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:
parent
8238942ae9
commit
2481f46a26
3 changed files with 19 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
export { ClientProfileForm } from './ClientProfileForm';
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
export { useClientProfile } from './useClientProfile';
|
||||
export { useThreadClientProfile } from './useThreadClientProfile';
|
||||
Loading…
Add table
Reference in a new issue