generated from gilles/template-webapp
claude code
This commit is contained in:
68
backend/app/schemas/__init__.py
Normal file
68
backend/app/schemas/__init__.py
Normal file
@@ -0,0 +1,68 @@
|
||||
"""Package des schémas Pydantic."""
|
||||
|
||||
from app.schemas.category import (
|
||||
CategoryCreate,
|
||||
CategoryResponse,
|
||||
CategoryUpdate,
|
||||
CategoryWithItemCount,
|
||||
)
|
||||
from app.schemas.common import (
|
||||
ErrorResponse,
|
||||
PaginatedResponse,
|
||||
PaginationParams,
|
||||
SuccessResponse,
|
||||
)
|
||||
from app.schemas.document import (
|
||||
DocumentCreate,
|
||||
DocumentResponse,
|
||||
DocumentUpdate,
|
||||
DocumentUploadResponse,
|
||||
)
|
||||
from app.schemas.item import (
|
||||
ItemCreate,
|
||||
ItemFilter,
|
||||
ItemResponse,
|
||||
ItemSummary,
|
||||
ItemUpdate,
|
||||
ItemWithRelations,
|
||||
)
|
||||
from app.schemas.location import (
|
||||
LocationCreate,
|
||||
LocationResponse,
|
||||
LocationTree,
|
||||
LocationUpdate,
|
||||
LocationWithChildren,
|
||||
LocationWithItemCount,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
# Category
|
||||
"CategoryCreate",
|
||||
"CategoryUpdate",
|
||||
"CategoryResponse",
|
||||
"CategoryWithItemCount",
|
||||
# Location
|
||||
"LocationCreate",
|
||||
"LocationUpdate",
|
||||
"LocationResponse",
|
||||
"LocationWithChildren",
|
||||
"LocationWithItemCount",
|
||||
"LocationTree",
|
||||
# Item
|
||||
"ItemCreate",
|
||||
"ItemUpdate",
|
||||
"ItemResponse",
|
||||
"ItemWithRelations",
|
||||
"ItemSummary",
|
||||
"ItemFilter",
|
||||
# Document
|
||||
"DocumentCreate",
|
||||
"DocumentUpdate",
|
||||
"DocumentResponse",
|
||||
"DocumentUploadResponse",
|
||||
# Common
|
||||
"PaginationParams",
|
||||
"PaginatedResponse",
|
||||
"ErrorResponse",
|
||||
"SuccessResponse",
|
||||
]
|
||||
Reference in New Issue
Block a user