diff --git a/app/schemas/document.py b/app/schemas/document.py index 9afcd8e..afe936e 100644 --- a/app/schemas/document.py +++ b/app/schemas/document.py @@ -40,10 +40,6 @@ class DocumentResponse(BaseModel): model_config = {"from_attributes": True} -class DocumentListResponse(BaseModel): - documents: list[DocumentResponse] - - class DocumentBriefResponse(BaseModel): """Brief document for list views without content.""" id: str @@ -56,3 +52,7 @@ class DocumentBriefResponse(BaseModel): updated_at: datetime model_config = {"from_attributes": True} + + +class DocumentListResponse(BaseModel): + documents: list[DocumentBriefResponse] diff --git a/data/claudia_docs.db b/data/claudia_docs.db index 7d811ef..908ec5d 100644 Binary files a/data/claudia_docs.db and b/data/claudia_docs.db differ