Merge origin/main into feature/upload-download-apis

Resolved conflicts in:
- backend/app/routes.py: Combined imports (Query, Header, Response) and schemas (pagination + resumable upload)
- backend/app/schemas.py: Kept all schemas (pagination + resumable upload)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Mondo Diaz
2025-12-11 17:18:21 -06:00
11 changed files with 911 additions and 175 deletions

View File

@@ -1,8 +1,23 @@
from datetime import datetime
from typing import Optional, List, Dict, Any
from typing import Optional, List, Dict, Any, Generic, TypeVar
from pydantic import BaseModel
from uuid import UUID
T = TypeVar("T")
# Pagination schemas
class PaginationMeta(BaseModel):
page: int
limit: int
total: int
total_pages: int
class PaginatedResponse(BaseModel, Generic[T]):
items: List[T]
pagination: PaginationMeta
# Project schemas
class ProjectCreate(BaseModel):