ENGLISH·COURSE API
    Preparing search index...

    Module

    lib/learner-achievements/learner-achievements

    Type Aliases

    AchievementLevel

    One course of the catalog, as achievements are derived from it.

    PrizeState

    Where a module's prize stands, decided from its tickets and the learner's claim.

    Ticket

    One lesson's ticket: the sound it carries and whether the learner has earned it.

    ModuleAchievements

    A module's prize with the tickets that redeem it, in lesson sequence order.

    CourseAchievements

    A course's module prizes, in module sequence order.

    Distinction

    The learner card finish earned by completing courses.

    LearnerAchievements

    Every course's achievements, in catalog order, with the totals across them.

    IsTicketEarned

    Decides whether a lesson has earned its ticket.

    IsPrizeClaimed

    Decides whether the learner has claimed a module's prize.

    Functions

    ticketSymbol

    The symbol a lesson's ticket shows.

    learnerAchievements

    Derives the learner's tickets, module prizes, totals and distinction from the catalog.