Skip to content

QuizDetail

Defined in: v1/schemas.ts:552

The inner quiz object containing questions and type information. Note this is nested inside LectureQuiz under the quiz property.

  • output<typeof QuizDetailSchema>

id: number

Defined in: v1/schemas.ts:543

z.infer.id


questions: { answers: string[]; correct_answers: string[]; graded: boolean; question: string; question_type: "single" | "multiple"; }[]

Defined in: v1/schemas.ts:545

answers: string[]

correct_answers: string[]

graded: boolean

question: string

question_type: "single" | "multiple"

z.infer.questions


type: "Quiz"

Defined in: v1/schemas.ts:544

z.infer.type