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.
Every action on the eval pages, for Next.js. Each checks
requireAdminfirst 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, soadd pageswriteslib/evalkeeper/actions.ts: one line per action, each calling these.