60 lines
1.2 KiB
Python
60 lines
1.2 KiB
Python
"""
|
|
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",
|
|
]
|