/** * The possible Ethnicities */ export declare enum Ethnicity { Asian_PacificIslander = 0, Black_AfricanAmerican = 1, Hispanic_Latino = 2, White = 3, NativeAmerican_AmericanIndian = 4, Other = 5 } export declare type Gender = "male" | "female"; /** * The Profile interface for the Redux store. * @field {string} id * @field {string} userId * @field {string} name * @field {Gender} sex * @field {number} birthYear * @field {Ethnicity} ethnicity * @field {string} dnaSampleId * @field {boolean} isV2 */ export interface StoreProfile { id: string; userId: string; name: string; sex: Gender | null; birthYear: number | null; ethnicity: Ethnicity | null; dnaSampleId?: string; isV2?: boolean; } /** * The Profile interface for the API server. * @field {string} id * @field {string} user_id * @field {string} name * @field {Gender} sex * @field {number} birth_year * @field {Ethnicity} ethnicity * @field {string} dna_sample_id * @field {boolean} is_v2 */ export interface APIProfile { id?: string; user_id: string; name: string; sex: Gender | null; birth_year: number | null; ethnicity: Ethnicity | null; dna_sample_id?: string; is_v2?: boolean; } /** * The Complete Profile interface for the API server. */ export interface CompleteAPIProfile { id?: string; user_id?: string; name: string; sex: Gender; birth_year: number; ethnicity: Ethnicity; dna_sample_id?: string; is_v2?: boolean; }