feat: logging toegevoegd

This commit is contained in:
kodi
2026-03-12 07:32:44 +01:00
parent ea6eac9536
commit 9901c77919
30 changed files with 1069 additions and 124 deletions
@@ -0,0 +1,12 @@
from __future__ import annotations
from backend.app.api.schemas import HistoryListResponse
from backend.app.db.history_repository import HistoryRepository
class HistoryService:
def __init__(self, repository: HistoryRepository):
self._repository = repository
def list_history(self) -> HistoryListResponse:
return HistoryListResponse(items=self._repository.list_history(limit=100))