diff --git a/backend/app/main.py b/backend/app/main.py index 42ee6a1..4e96b7b 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -276,7 +276,7 @@ def extract_pdf_text_smart(pdf_content: bytes, max_chars: int = None) -> dict: } -BACKEND_VERSION = "1.1.1" +BACKEND_VERSION = "1.1.2" app = FastAPI(title="Checklist Inteligente API", version=BACKEND_VERSION) # S3/MinIO configuration diff --git a/backend/app/schemas.py b/backend/app/schemas.py index dbd2279..5ac40ed 100644 --- a/backend/app/schemas.py +++ b/backend/app/schemas.py @@ -119,7 +119,8 @@ class QuestionBase(BaseModel): # Scale: {"type": "scale", "min": 1, "max": 5, "step": 1, "labels": {"min": "Muy malo", "max": "Excelente"}} # Text: {"type": "text", "multiline": true, "max_length": 500} order: int = 0 - allow_photos: bool = True + allow_photos: bool = True # DEPRECATED: mantener por compatibilidad + photo_requirement: Optional[str] = 'optional' # none, optional, required max_photos: int = 3 requires_comment_on_fail: bool = False send_notification: bool = False