Module user_chapter_locking_statuses

Module user_chapter_locking_statuses 

Source

Structs§

DatabaseRow 🔒
UserChapterLockingStatus

Enums§

ChapterLockingStatus

Functions§

complete_chapter
ensure_not_unlocked_yet_status
Creates a status row with not_unlocked_yet status 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_by_user_and_chapter
get_by_user_and_course
get_or_init_status
get_status_row 🔒
is_chapter_accessible
is_chapter_exercises_locked
unlock_chapter