Structs§
Enums§
Functions§
- complete_
and_ lock_ chapter - ensure_
not_ unlocked_ yet_ status - Creates a status row with
not_unlocked_yetstatus if one doesn’t exist. If a row already exists (with any status), returns the existing row without modifying it. This function does not overwrite existing statuses. - get_
all_ for_ course - get_
for_ user_ and_ course - Returns all chapter locking statuses for a specific user in a course.
- get_
or_ init_ all_ for_ course - get_
or_ init_ status - get_
or_ 🔒init_ status_ row - is_
chapter_ accessible - is_
chapter_ exercises_ locked - set_
chapter_ status - unlock_
chapter - unlock_
chapters_ for_ user - Unlocks the provided chapters for a user within a course.