Zod validation schema for Question
Create a Choice object with the given parameters. If no parameters are given, default values will be used. The parameters include an ID, answer, and a boolean that indicates whether or not the choice is correct. The default value of isCorrect is false.
Create a Question object with the given parameters. If no parameters are given, default values will be used. The parameters include an ID, question, and an array of Choice object. The default awswer is an empty choice which is marked as default correct answer.
Generated using TypeDoc
Zod validation schema for Choice