Skip to content

CourseDetailResponse

Defined in: v1/schemas.ts:235

Inferred TypeScript type for CourseDetailResponseSchema.

  • output<typeof CourseDetailResponseSchema>

course: { author_bio?: { bio?: string | null; name?: string; profile_image_url?: string | null; user_id?: number; }; description?: string | null; heading?: string | null; id: number; image_url?: string | null; is_published?: boolean | null; lecture_sections?: { id: number; is_published?: boolean; lectures?: { id: number; is_published?: boolean; position?: number; }[]; name?: string; position?: number; }[]; name?: string | null; } = CourseDetailSchema

Defined in: v1/schemas.ts:231

optional author_bio?: { bio?: string | null; name?: string; profile_image_url?: string | null; user_id?: number; }

optional bio?: string | null

optional name?: string

optional profile_image_url?: string | null

optional user_id?: number

optional description?: string | null

optional heading?: string | null

id: number

optional image_url?: string | null

optional is_published?: boolean | null

optional lecture_sections?: { id: number; is_published?: boolean; lectures?: { id: number; is_published?: boolean; position?: number; }[]; name?: string; position?: number; }[]

optional name?: string | null

z.infer.course