ENGLISH·COURSE API
    Preparing search index...

    Module

    app/[locale]/learner-actions

    Variables

    markLessonCompleteAction

    Records a lesson as complete for the signed-in learner.

    unmarkLessonCompleteAction

    Clears a lesson's completion for the signed-in learner — their own undo.

    recordPlaybackPositionAction

    Saves the signed-in learner's playback position for a lesson.

    recordContinueWatchingAction

    Records the lesson the signed-in learner opened last in its course, enrolling them in that course; a course the catalog does not serve records nothing.

    earnTicketsAction

    Records the tickets of lessons that count as complete for the signed-in learner; lessons already holding one are skipped.

    claimPrizeAction

    Records the claim of a module's prize for the signed-in learner.

    enrollInCourseAction

    Enrolls the signed-in learner in a course the catalog serves; answers { enrolled: false } for any other slug.