ENGLISH·COURSE API
    Preparing search index...
    • A course's prizes, one per module that holds videos, each marked claimed or not.

      Parameters

      • view: CourseForView

        The course as the course overview sees it

      • claimedPrizes: ReadonlySet<string>

        Slugs of the modules whose prize the learner has claimed

      Returns CardPrize[]

      The prizes in module sequence order

      A module with no videos has nothing to redeem, so it is no prize — the rule the course overview and the prize counter count by.