Skip to content

apps/api/src/features/admin/admin.router.ts ​

Auto-generated by scripts/generate-file-docs.ts. Do not edit — overwritten on every run.

Purpose ​

Admin router — implements AB#3359, AB#3362, AB#3365 (admin portal). Section 11 of the API contracts. All endpoints require the admin role. ADR 0038 — adds multi-role management endpoints. /

Exports ​

  • export async function adminRouter

Imports ​

  • ../../middleware/requireAuth
  • ../../middleware/requireRole
  • fastify

Imported by ​

Heritage Community Hub — Internal. Access restricted via Cloudflare Access + Entra ID.