initial
This commit is contained in:
90
backend/app/schemas/__init__.py
Normal file
90
backend/app/schemas/__init__.py
Normal file
@@ -0,0 +1,90 @@
|
||||
from app.schemas.user import (
|
||||
UserRegister,
|
||||
UserLogin,
|
||||
UserUpdate,
|
||||
UserPublic,
|
||||
UserWithTelegram,
|
||||
TokenResponse,
|
||||
TelegramLink,
|
||||
)
|
||||
from app.schemas.marathon import (
|
||||
MarathonCreate,
|
||||
MarathonUpdate,
|
||||
MarathonResponse,
|
||||
MarathonListItem,
|
||||
ParticipantInfo,
|
||||
ParticipantWithUser,
|
||||
JoinMarathon,
|
||||
LeaderboardEntry,
|
||||
)
|
||||
from app.schemas.game import (
|
||||
GameCreate,
|
||||
GameUpdate,
|
||||
GameResponse,
|
||||
GameShort,
|
||||
)
|
||||
from app.schemas.challenge import (
|
||||
ChallengeCreate,
|
||||
ChallengeUpdate,
|
||||
ChallengeResponse,
|
||||
ChallengeGenerated,
|
||||
)
|
||||
from app.schemas.assignment import (
|
||||
CompleteAssignment,
|
||||
AssignmentResponse,
|
||||
SpinResult,
|
||||
CompleteResult,
|
||||
DropResult,
|
||||
)
|
||||
from app.schemas.activity import (
|
||||
ActivityResponse,
|
||||
FeedResponse,
|
||||
)
|
||||
from app.schemas.common import (
|
||||
MessageResponse,
|
||||
ErrorResponse,
|
||||
PaginationParams,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
# User
|
||||
"UserRegister",
|
||||
"UserLogin",
|
||||
"UserUpdate",
|
||||
"UserPublic",
|
||||
"UserWithTelegram",
|
||||
"TokenResponse",
|
||||
"TelegramLink",
|
||||
# Marathon
|
||||
"MarathonCreate",
|
||||
"MarathonUpdate",
|
||||
"MarathonResponse",
|
||||
"MarathonListItem",
|
||||
"ParticipantInfo",
|
||||
"ParticipantWithUser",
|
||||
"JoinMarathon",
|
||||
"LeaderboardEntry",
|
||||
# Game
|
||||
"GameCreate",
|
||||
"GameUpdate",
|
||||
"GameResponse",
|
||||
"GameShort",
|
||||
# Challenge
|
||||
"ChallengeCreate",
|
||||
"ChallengeUpdate",
|
||||
"ChallengeResponse",
|
||||
"ChallengeGenerated",
|
||||
# Assignment
|
||||
"CompleteAssignment",
|
||||
"AssignmentResponse",
|
||||
"SpinResult",
|
||||
"CompleteResult",
|
||||
"DropResult",
|
||||
# Activity
|
||||
"ActivityResponse",
|
||||
"FeedResponse",
|
||||
# Common
|
||||
"MessageResponse",
|
||||
"ErrorResponse",
|
||||
"PaginationParams",
|
||||
]
|
||||
Reference in New Issue
Block a user