"""admin/router.py — Author Admin API aggregator. Mounts all sub-routers. This file should never contain route logic. All routes live in admin/routers/*.py. Routes served at: /api/admin/{author_slug}/* Auth: Bearer JWT required on all routes (enforced per sub-router via dependency). """ from fastapi import APIRouter from app.admin.routers import analytics, books, dashboard, exports, links, onboarding, qa, settings, support router = APIRouter() router.include_router(dashboard.router) router.include_router(books.router) router.include_router(analytics.router) router.include_router(settings.router) router.include_router(links.router) router.include_router(qa.router) router.include_router(exports.router) router.include_router(support.router) router.include_router(onboarding.router)