LessonProgress
Represents a student's progress on a specific lesson
Extends
Properties
attempts
attempts: number;
Number of attempts made
completedAt?
optional completedAt: ISOString;
Timestamp when lesson was completed
createdAt
createdAt: ISOString;
Timestamp when created
feedback?
optional feedback: string;
Tutor feedback on submission
id
id: string;
Unique identifier
Inherited from
lastAccessAt
lastAccessAt: ISOString;
Last time the lesson was accessed
lessonId
lessonId: string;
Lesson ID being tracked
score?
optional score: number;
Score achieved (for graded content)
startedAt?
optional startedAt: ISOString;
Timestamp when lesson was first started
status
status: ProgressStatus;
Current progress status
submission?
optional submission: unknown;
User submission (flexible JSON for different submission types)
timeSpent
timeSpent: number;
Total time spent in minutes
updatedAt
updatedAt: ISOString;
Timestamp when last updated
userId
userId: string;
User ID of the student