Is your feature request related to a problem? Please describe.
db functions such as getApplication and getAllApplications are casting the promises as FullApplicationType instead of validating the data is actually in the correct format
Describe the solution you'd like
Update all the functions in db that are casting that FullApplicationType to use a zod schema to parse and validate them
Is your feature request related to a problem? Please describe. db functions such as getApplication and getAllApplications are casting the promises as FullApplicationType instead of validating the data is actually in the correct format
Describe the solution you'd like Update all the functions in db that are casting that FullApplicationType to use a zod schema to parse and validate them
Describe alternatives you've considered None
Additional context None