Skip to content

LectureQuizResponse

Defined in: v1/schemas.ts:589

Wrapper for the /courses/:id/lectures/:id/quizzes/:id endpoint response.

  • output<typeof LectureQuizResponseSchema>

quiz: { id: number; kind: "quiz"; name: string | null; position: number; quiz: { id: number; questions: { answers: string[]; correct_answers: string[]; graded: boolean; question: string; question_type: "single" | "multiple"; }[]; type: "Quiz"; }; text: string | null; url: string | null; } = LectureQuizSchema

Defined in: v1/schemas.ts:583

id: number

kind: "quiz"

name: string | null

position: number

quiz: { id: number; questions: { answers: string[]; correct_answers: string[]; graded: boolean; question: string; question_type: "single" | "multiple"; }[]; type: "Quiz"; } = QuizDetailSchema

id: number

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

type: "Quiz"

text: string | null

url: string | null

z.infer.quiz