Variable
recordContinueWatchingActionConst
recordContinueWatchingAction: SafeActionFn<
string,
ZodObject<
{
courseSlug: $ZodBranded<ZodString, "Slug", "out">;
moduleSlug: $ZodBranded<ZodString, "Slug", "out">;
lessonId: $ZodBranded<ZodUUID, "LessonId", "out">;
},
$strip,
>,
readonly [],
{} & { courseSlug?: {}; moduleSlug?: {}; lessonId?: {} },
{ recorded: boolean },
> = ...
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.