enh/refac: kb pagination

This commit is contained in:
Timothy Jaeryang Baek committed 2025-12-10 23:19:19 -05:00
1 parent 3ed1df2e53
commit ceae3d48e6
18 files changed
+1086 -526

No files matched your search

+5
View File
@@ -104,6 +104,11 @@ class FileUpdateForm(BaseModel):
meta: Optional[dict] = None
class FileListResponse(BaseModel):
items: list[FileModel]
total: int
class FilesTable:
def insert_new_file(self, user_id: str, form_data: FileForm) -> Optional[FileModel]:
with get_db() as db: