Module
The input of every learner action, by action. None carries a learner or user id: the learner is whoever the session says, never what the client claims. Kept apart from learner-actions.ts because a "use server" module may only export async functions.
learner-actions.ts
"use server"
The input of every learner action, by action. None carries a learner or user id: the learner is whoever the session says, never what the client claims. Kept apart from
learner-actions.tsbecause a"use server"module may only export async functions.