ENGLISH·COURSE API
    Preparing search index...

    Variable

    earnTicketsActionConst

    earnTicketsAction: SafeActionFn<
        string,
        ZodObject<
            { lessonIds: ZodArray<$ZodBranded<ZodUUID, "LessonId", "out">> },
            $strip,
        >,
        readonly [],
        {} & { lessonIds?: {}[] | {} },
        { earned: boolean },
    > = ...

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