feat: add compatibility table endpoint and rendering for game libraries

This commit is contained in:
Patryk Gensch
2026-06-18 23:32:31 +02:00
parent 8875540186
commit 2c785dc87c
8 changed files with 575 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ from fastapi.staticfiles import StaticFiles
from .. import __version__
from .db import configure, init_db
from .routes import diff, games, jobs, snapshots
from .routes import compat, diff, games, jobs, snapshots
_STATIC = Path(__file__).parent / "static"
@@ -29,6 +29,7 @@ def create_app(database_url: str | None = None) -> FastAPI:
app.include_router(snapshots.router)
app.include_router(diff.router)
app.include_router(jobs.router)
app.include_router(compat.router)
@app.get("/health", tags=["meta"])
def health() -> dict[str, str]: