2026-02-04 17:13:58 +01:00
|
|
|
from fastapi import APIRouter
|
|
|
|
|
|
2026-02-08 11:16:13 +01:00
|
|
|
from app.api import bosses, encounters, evolutions, export, games, health, pokemon, runs, stats
|
2026-02-04 17:13:58 +01:00
|
|
|
|
|
|
|
|
api_router = APIRouter()
|
|
|
|
|
api_router.include_router(health.router)
|
2026-02-05 15:09:05 +01:00
|
|
|
api_router.include_router(games.router, prefix="/games", tags=["games"])
|
|
|
|
|
api_router.include_router(pokemon.router, tags=["pokemon"])
|
Improve admin panel UX with toasts, evolution CRUD, sorting, drag-and-drop, and responsive layout
Add sonner toast notifications to all mutations, evolution management backend
(CRUD endpoints with search/pagination) and frontend (form modal with pokemon
selector, paginated list page), sortable AdminTable columns (Region/Gen/Year
on Games), drag-and-drop route reordering via @dnd-kit, skeleton loading states,
card-styled table wrappers, and responsive mobile nav in AdminLayout.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 13:09:27 +01:00
|
|
|
api_router.include_router(evolutions.router, tags=["evolutions"])
|
2026-02-05 15:09:05 +01:00
|
|
|
api_router.include_router(runs.router, prefix="/runs", tags=["runs"])
|
|
|
|
|
api_router.include_router(encounters.router, tags=["encounters"])
|
2026-02-07 20:46:36 +01:00
|
|
|
api_router.include_router(stats.router, prefix="/stats", tags=["stats"])
|
2026-02-08 11:16:13 +01:00
|
|
|
api_router.include_router(bosses.router, tags=["bosses"])
|
2026-02-08 10:50:14 +01:00
|
|
|
api_router.include_router(export.router, prefix="/export", tags=["export"])
|