import { Module } from '@nestjs/common'; import { AdminController } from './admin.controller'; import { AdminRoleGuard } from './admin-role.guard'; /** * `AdminModule` — root of the `/api/admin/*` surface per ADR-0020. * * v1 ships the self-test endpoint only (`GET /api/admin/me`). The * functional admin modules (audit log viewer, CMS, menu management, * user list) land as separate sub-modules consumed from here once * the distinct admin session + the audit query endpoint are in * place — see the chantier sequence in `notes/handoff.md`. * * `AuditWriter` (required by `AdminRoleGuard`) is provided globally * by `AuditModule`, so no extra import is needed here. */ @Module({ controllers: [AdminController], providers: [AdminRoleGuard], }) export class AdminModule {}