crappy
This commit is contained in:
0
schemas/__init__.py
Normal file
0
schemas/__init__.py
Normal file
0
schemas/auth/__init__.py
Normal file
0
schemas/auth/__init__.py
Normal file
9
schemas/auth/requests.py
Normal file
9
schemas/auth/requests.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class AuthLoginRequest(BaseModel):
|
||||
auth_date: int
|
||||
first_name: str
|
||||
hash: str
|
||||
id: int
|
||||
photo_url: str
|
||||
6
schemas/auth/responses.py
Normal file
6
schemas/auth/responses.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class AuthLoginResponse(BaseModel):
|
||||
jwt_token: str
|
||||
ok: bool
|
||||
0
schemas/base.py
Normal file
0
schemas/base.py
Normal file
Reference in New Issue
Block a user