-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathapplication.ts
More file actions
48 lines (45 loc) · 1.72 KB
/
application.ts
File metadata and controls
48 lines (45 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import type { DisciplineOfStudy } from "@/input/discipline-of-study"
import type { DietaryRequirement } from "@/input/dietary-requirement"
import { PizzaFlavor } from "@/input/pizza-flavor";
export type { DisciplineOfStudy, DietaryRequirement }
export type Consent = {
name: string
choice: boolean
}
export type Application = {
keycloakUserId: string
email: string
preferredNames: string | null
pronouns: null | "he/him" | "she/her" | "they/them" | "xe/xem" | "other" | "prefer-not-to-answer"
phone: string | null
firstNames: string
lastNames: string
applicationStatus: "unsubmitted" | "submitted" | "accepted" | "waiting-list"
age: number | null
gender: "male" | "female" | "non-binary" | "other" | "prefer-not-to-answer" | null
ethnicity: "american" | "asian" | "black" | "hispanic" | "white" | "other" | "prefer-not-to-answer" | null
university: string | null
graduationYear: number | null
disciplinesOfStudy: null | DisciplineOfStudy[]
midnightSnack: null | "pizza" | "alternative" | "nothing"
pizzaFlavors: null | PizzaFlavor[]
levelOfStudy:
| null
| "secondary"
| "undergraduate-first-year"
| "undergraduate-second-year"
| "undergraduate-third-year-or-higher"
| "graduate"
| "bootcamp"
| "vocational-or-apprenticeship"
| "other"
| "not-a-student"
| "prefer-not-to-answer"
countryOfResidence: string | null
consents: Consent[]
cvUploadChoice: "indeterminate" | "upload" | "remind" | "no-upload"
tShirtSize: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "prefer-not-to-answer" | null
hackathonExperience: "zero" | "up-to-two" | "three-to-seven" | "eight-or-more" | null
dietaryRequirements: null | DietaryRequirement[]
accessRequirements: string | null
}