Evalkeeper
    Preparing search index...

    Type Alias EvalWiring

    EvalWiring: Omit<EvalApp, "actions"> & {
        changedBy?: "name" | "id";
        requireAdmin: () => Promise<EvalAdmin>;
    }

    Your app's Evalkeeper wiring, as the Next.js glue reads it: everything the screens need except their actions (the glue makes those), and who may use the pages.

    Type Declaration

    • OptionalchangedBy?: "name" | "id"

      What the settings history records as who made a change: the admin's name (the default) or id. Use "id" when your settings store keeps a user id there (a foreign key) and shows names from it.

    • requireAdmin: () => Promise<EvalAdmin>

      Who may use the eval pages. Every page and action calls it first: throw when the person isn't an admin, and return who they are, which is recorded as who made each change.