refactor(router): restructure

This commit is contained in:
MingxuanGame
2025-08-11 14:38:45 +00:00
parent 867b99cca5
commit d8c607137a
14 changed files with 36 additions and 33 deletions

View File

@@ -2,23 +2,8 @@ from __future__ import annotations
from app.signalr import signalr_router as signalr_router
from . import ( # pyright: ignore[reportUnusedImport] # noqa: F401
beatmap,
beatmapset,
me,
misc,
relationship,
room,
score,
user,
)
from .api_router import router as api_router
from .auth import router as auth_router
from .fetcher import fetcher_router as fetcher_router
from .v2 import api_v2_router as api_v2_router
__all__ = [
"api_router",
"auth_router",
"fetcher_router",
"signalr_router",
]
__all__ = ["api_v2_router", "auth_router", "fetcher_router", "signalr_router"]