- Extraccion de helpers en backend: audit_helpers.py, helpers.py - Modularizacion de schemas en archivos individuales por dominio - Reduccion de audit.py en 953 lineas (74% del archivo) - Reduccion de tickets.py en 655 lineas (60% del archivo) - Expansion de auth.py con recuperacion de contrasenia y tokens - Nuevos modulos: core/email.py, core/cache.py - Reorganizacion de scripts a backend/scripts/ - Frontend: refactorizacion de audit page con array-driven components - Frontend: correccion de 11 errores ortograficos en tickets page - Frontend: proxy Docker corregido en vite.config.js - Frontend: nuevas rutas forgot-password, reset-password, organization, profile - Nuevas utilidades TS: colorUtils.ts, dateFormats.ts - 5 nuevos archivos de tests unitarios en backend/tests/unit/ - Eliminacion de 3 scripts temporales de prueba - Documentacion tecnica: CAMBIOS_v1.10.0.md, OPTIMIZACIONES_RENDIMIENTO.md
65 lines
1.6 KiB
Python
65 lines
1.6 KiB
Python
"""Schemas package initialization."""
|
|
|
|
from .auth import (
|
|
LoginRequest, LoginResponse, RefreshTokenRequest, TokenResponse,
|
|
TwoFactorStatusResponse, TwoFactorSetupResponse,
|
|
TwoFactorEnableRequest, TwoFactorEnableResponse, TwoFactorDisableRequest,
|
|
ChangePasswordRequest, ForgotPasswordRequest, ResetPasswordRequest,
|
|
)
|
|
from .tenant import TenantBase, TenantCreate, TenantUpdate, TenantResponse
|
|
from .user import UserCreate, UserUpdate, UserResponse
|
|
from .category import CategoryCreate, CategoryUpdate, CategoryResponse
|
|
from .system import SystemCreate, SystemUpdate, SystemResponse
|
|
from .ticket import (
|
|
TicketCreate,
|
|
TicketUpdate,
|
|
TicketResponse,
|
|
TicketCloseRequest,
|
|
CommentCreate,
|
|
CommentResponse,
|
|
)
|
|
from .client_profile import (
|
|
ClientProfileCreate,
|
|
ClientProfileUpdate,
|
|
ClientProfileResponse,
|
|
ClientProfileSummary,
|
|
)
|
|
from .audit import * # noqa: F401,F403
|
|
from .sla import * # noqa: F401,F403
|
|
|
|
__all__ = [
|
|
# Auth
|
|
"LoginRequest",
|
|
"LoginResponse",
|
|
"RefreshTokenRequest",
|
|
"TokenResponse",
|
|
# Tenant
|
|
"TenantBase",
|
|
"TenantCreate",
|
|
"TenantUpdate",
|
|
"TenantResponse",
|
|
# User
|
|
"UserCreate",
|
|
"UserUpdate",
|
|
"UserResponse",
|
|
# Category
|
|
"CategoryCreate",
|
|
"CategoryUpdate",
|
|
"CategoryResponse",
|
|
# System
|
|
"SystemCreate",
|
|
"SystemUpdate",
|
|
"SystemResponse",
|
|
# Ticket
|
|
"TicketCreate",
|
|
"TicketUpdate",
|
|
"TicketResponse",
|
|
"TicketCloseRequest",
|
|
"CommentCreate",
|
|
"CommentResponse",
|
|
# Client Profile
|
|
"ClientProfileCreate",
|
|
"ClientProfileUpdate",
|
|
"ClientProfileResponse",
|
|
"ClientProfileSummary",
|
|
] |