CourseProgress
Defined in: v1/schemas.ts:539
Progress record for a specific user on a specific course.
Remarks
Section titled “Remarks”certificate — all certificate fields are null until the student
meets the course completion requirements and a certificate is issued.
Once issued, page_id references the certificate page, issued_at is
the ISO 8601 timestamp of issue, and serial_number is a unique
certificate identifier prefixed with cert_.
lecture_sections — returns an empty array [] until the student
has interacted with the course. Once progress exists, each section
lists its lectures with individual completion state and timestamps.
percent_complete — a value between 0 and 100.
meta.total — returns the total number of lectures in the course
when progress data exists, not the number of progress records.
Returns 0 when the student has not yet started the course.
Extends
Section titled “Extends”output<typeofCourseProgressSchema>
Properties
Section titled “Properties”certificate
Section titled “certificate”certificate: {
issued_at:string|null;page_id:number|null;serial_number:string|null; } =CourseCertificateSchema
Defined in: v1/schemas.ts:494
issued_at
Section titled “issued_at”issued_at:
string|null
page_id
Section titled “page_id”page_id:
number|null
serial_number
Section titled “serial_number”serial_number:
string|null
Inherited from
Section titled “Inherited from”z.infer.certificate
completed_at
Section titled “completed_at”completed_at:
string|null
Defined in: v1/schemas.ts:495
Inherited from
Section titled “Inherited from”z.infer.completed_at
enrolled_at
Section titled “enrolled_at”enrolled_at:
string|null
Defined in: v1/schemas.ts:496
Inherited from
Section titled “Inherited from”z.infer.enrolled_at
id:
number
Defined in: v1/schemas.ts:493
Inherited from
Section titled “Inherited from”z.infer.id
lecture_sections
Section titled “lecture_sections”lecture_sections: {
id:number;lectures?: {completed_at?:string|null;id:number;is_completed?:boolean;name?:string; }[];name?:string; }[]
Defined in: v1/schemas.ts:498
id:
number
lectures?
Section titled “lectures?”
optionallectures?: {completed_at?:string|null;id:number;is_completed?:boolean;name?:string; }[]
optionalname?:string
Inherited from
Section titled “Inherited from”z.infer.lecture_sections
percent_complete
Section titled “percent_complete”percent_complete:
number
Defined in: v1/schemas.ts:497
Inherited from
Section titled “Inherited from”z.infer.percent_complete