Evalkeeper
    Preparing search index...

    Function evalActions

    • Every action on the eval pages, for Next.js. Each checks requireAdmin first and records the admin as who made a change; answers to tests come back after the response (after), while the page refreshes.

      Next.js only accepts server actions from a "use server" module of your app, so add pages writes lib/evalkeeper/actions.ts: one line per action, each calling these.

      Parameters

      Returns Required<EvalActions>