Skip to content

LectureDetail

Defined in: v1/schemas.ts:290

Inferred TypeScript type for LectureDetailSchema.

  • output<typeof LectureDetailSchema>

optional attachments?: { file_extension?: string | null; file_size?: number | null; id: number; kind?: string; name?: string; position?: number; quiz?: { id: number; questions?: { answers?: string[]; correct_answers?: string[]; graded?: boolean; question?: string; question_type?: string; }[]; } | null; text?: string | null; url?: string | null; }[]

Defined in: v1/schemas.ts:286

optional file_extension?: string | null

optional file_size?: number | null

id: number

optional kind?: string

optional name?: string

optional position?: number

optional quiz?: { id: number; questions?: { answers?: string[]; correct_answers?: string[]; graded?: boolean; question?: string; question_type?: string; }[]; } | null

optional text?: string | null

optional url?: string | null

z.infer.attachments


id: number

Defined in: v1/schemas.ts:281

z.infer.id


optional is_published?: boolean

Defined in: v1/schemas.ts:283

z.infer.is_published


optional lecture_section_id?: number

Defined in: v1/schemas.ts:285

z.infer.lecture_section_id


optional name?: string

Defined in: v1/schemas.ts:282

z.infer.name


optional position?: number

Defined in: v1/schemas.ts:284

z.infer.position