@upv/ushi-shared
Version:
Shared DTOs, types, and utilities for the USHI platform (LMS, Trials, Social, Wallet).
28 lines (27 loc) • 766 B
TypeScript
import { IBaseDtoInput, IBaseDtoOutput } from './base';
/**
* IDemographicsProfileDto - Raw input for user identity & demographics
*/
export interface IDemographicsProfileDto extends IBaseDtoInput {
userId: string;
birthDate?: string;
sex?: 'male' | 'female' | 'other';
gender?: string;
ethnicity?: string;
country?: string;
zipCode?: string;
language?: string;
}
/**
* IDemographicsProfile - Serialized demographics profile
*/
export interface IDemographicsProfile extends IBaseDtoOutput {
userId: string;
birthDate: string | null;
sex: 'male' | 'female' | 'other' | null;
gender: string | null;
ethnicity: string | null;
country: string | null;
zipCode: string | null;
language: string | null;
}