first
This commit is contained in:
59
backend/app/schemas/__init__.py
Normal file
59
backend/app/schemas/__init__.py
Normal file
@@ -0,0 +1,59 @@
|
||||
"""
|
||||
Tool_OCR - API Schemas
|
||||
Pydantic models for request/response validation
|
||||
"""
|
||||
|
||||
from app.schemas.auth import Token, TokenData, LoginRequest
|
||||
from app.schemas.user import UserBase, UserCreate, UserResponse
|
||||
from app.schemas.ocr import (
|
||||
OCRBatchResponse,
|
||||
OCRFileResponse,
|
||||
OCRResultResponse,
|
||||
BatchStatusResponse,
|
||||
FileStatusResponse,
|
||||
ProcessRequest,
|
||||
ProcessResponse,
|
||||
)
|
||||
from app.schemas.export import (
|
||||
ExportRequest,
|
||||
ExportRuleCreate,
|
||||
ExportRuleUpdate,
|
||||
ExportRuleResponse,
|
||||
CSSTemplateResponse,
|
||||
)
|
||||
from app.schemas.translation import (
|
||||
TranslationRequest,
|
||||
TranslationResponse,
|
||||
TranslationFeatureStatus,
|
||||
LanguageInfo,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
# Auth
|
||||
"Token",
|
||||
"TokenData",
|
||||
"LoginRequest",
|
||||
# User
|
||||
"UserBase",
|
||||
"UserCreate",
|
||||
"UserResponse",
|
||||
# OCR
|
||||
"OCRBatchResponse",
|
||||
"OCRFileResponse",
|
||||
"OCRResultResponse",
|
||||
"BatchStatusResponse",
|
||||
"FileStatusResponse",
|
||||
"ProcessRequest",
|
||||
"ProcessResponse",
|
||||
# Export
|
||||
"ExportRequest",
|
||||
"ExportRuleCreate",
|
||||
"ExportRuleUpdate",
|
||||
"ExportRuleResponse",
|
||||
"CSSTemplateResponse",
|
||||
# Translation (RESERVED)
|
||||
"TranslationRequest",
|
||||
"TranslationResponse",
|
||||
"TranslationFeatureStatus",
|
||||
"LanguageInfo",
|
||||
]
|
||||
Reference in New Issue
Block a user