mirror of
https://github.com/wowlikon/LiB.git
synced 2026-02-04 04:31:09 +00:00
Улучшение безопасности
This commit is contained in:
@@ -1,13 +1,29 @@
|
||||
"""Модуль DTO-моделей"""
|
||||
|
||||
from .author import AuthorBase, AuthorCreate, AuthorList, AuthorRead, AuthorUpdate
|
||||
from .genre import GenreBase, GenreCreate, GenreList, GenreRead, GenreUpdate
|
||||
from .book import BookBase, BookCreate, BookList, BookRead, BookUpdate
|
||||
from .role import RoleBase, RoleCreate, RoleList, RoleRead, RoleUpdate
|
||||
from .user import UserBase, UserCreate, UserList, UserRead, UserUpdate, UserLogin
|
||||
from .loan import LoanBase, LoanCreate, LoanList, LoanRead, LoanUpdate
|
||||
from .token import Token, TokenData
|
||||
from .combined import (AuthorWithBooks, GenreWithBooks, BookWithAuthors, BookWithGenres,
|
||||
BookWithAuthorsAndGenres, BookFilteredList, BookStatusUpdate, LoanWithBook)
|
||||
from .recovery import RecoveryCodesResponse, RecoveryCodesStatus, RecoveryCodeUse
|
||||
from .token import Token, TokenData, PartialToken
|
||||
from .combined import (
|
||||
AuthorWithBooks,
|
||||
GenreWithBooks,
|
||||
BookWithAuthors,
|
||||
BookWithGenres,
|
||||
BookWithAuthorsAndGenres,
|
||||
BookFilteredList,
|
||||
BookStatusUpdate,
|
||||
LoanWithBook,
|
||||
LoginResponse,
|
||||
RegisterResponse,
|
||||
TOTPSetupResponse,
|
||||
TOTPVerifyRequest,
|
||||
TOTPDisableRequest,
|
||||
PasswordResetResponse,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"AuthorBase",
|
||||
@@ -46,4 +62,14 @@ __all__ = [
|
||||
"RoleList",
|
||||
"Token",
|
||||
"TokenData",
|
||||
"PartialToken",
|
||||
"TOTPSetupResponse",
|
||||
"TOTPVerifyRequest",
|
||||
"TOTPDisableRequest",
|
||||
"RecoveryCodeUse",
|
||||
"LoginResponse",
|
||||
"RegisterResponse",
|
||||
"RecoveryCodesStatus",
|
||||
"PasswordResetResponse",
|
||||
"RecoveryCodesResponse",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user