generated from gilles/template-webapp
69 lines
1.3 KiB
Python
69 lines
1.3 KiB
Python
"""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",
|
|
]
|