Skip to content
Snippets Groups Projects
Commit 209de769 authored by michael.minelli's avatar michael.minelli
Browse files

DatabaseTypes => Bug fix: rectify corrections type (add array)

parent 046f0c6b
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,6 @@ export type Exercise = Prisma.ExerciseGetPayload<typeof exerciseBase> & { ...@@ -35,6 +35,6 @@ export type Exercise = Prisma.ExerciseGetPayload<typeof exerciseBase> & {
isCorrection: boolean isCorrection: boolean
} }
export type Assignment = Prisma.AssignmentGetPayload<typeof assignmentBase> & { export type Assignment = Prisma.AssignmentGetPayload<typeof assignmentBase> & {
corrections: LazyVal<Exercise> corrections: LazyVal<Array<Exercise>>
} }
export type Result = Prisma.ResultGetPayload<typeof resultBase> export type Result = Prisma.ResultGetPayload<typeof resultBase>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment