diff --git a/src/types/user-types.ts b/src/types/user-types.ts index 92af597..ede8e11 100644 --- a/src/types/user-types.ts +++ b/src/types/user-types.ts @@ -3,15 +3,19 @@ export interface User { firstName: string; lastName: string; middleName?: string; - address: string; + address: address; school: string; birthdate: Date; + gradYear: number; email: string; phone: number; + yearsWithSwaliga: number; + ethnicity: Ethnicity; + gender: Gender; guardian?: { firstName: string, lastName: string, - address: string, + address: address, email: string, phone: number, }[]; @@ -19,4 +23,16 @@ export interface User { id: string; assignedSurveys: string[]; completedResponses: string[]; -} \ No newline at end of file +} + +interface address { + street: string; + city: string; + state: string; + zip: number; + country: string; +} + +type Ethnicity = "Black or African American" | "Indigenous" | "Asian" | "White" | "Multiracial" | "LatinX/Latina/Latino/Latine" | OtherEthnicity +type Gender = "Male" | "Female" | "Other" +type OtherEthnicity = string \ No newline at end of file