UNPKG

@upv/ushi-shared

Version:

Shared DTOs, types, and utilities for the USHI platform (LMS, Trials, Social, Wallet).

23 lines (22 loc) 881 B
import { IPerson } from './person'; import { ILMSPersonProfile } from './lmsPersonProfile'; import { IWalletProfile } from './walletProfile'; import { ITrialParticipantProfile } from './trialParticipantProfile'; import { ISocialProfile } from './socialProfile'; import { IDemographicsProfile } from './demographicsProfile'; import { IIdentityProfile } from './identityProfile'; /** * PersonProfile - Unified cross-domain representation of a user in the USHI platform. * Used for aggregation, display, and platform-wide access decisions. */ export interface PersonProfile { person: IPerson; profiles: { lms: ILMSPersonProfile | null; trial: ITrialParticipantProfile | null; wallet: IWalletProfile | null; social: ISocialProfile | null; demographics: IDemographicsProfile | null; identity: IIdentityProfile | null; }; }