aboutsummaryrefslogtreecommitdiff
path: root/app/schemas
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-11-04 23:57:29 -0600
committerParker <contact@pkrm.dev>2024-11-04 23:57:29 -0600
commitc51440e0f54dfbe356f3230f8e9226629b8e41ca (patch)
tree6395587b6b44ff90fea44f5cde79f8cab890e593 /app/schemas
parente9d877c0ad4c1e2516a0ae64edb937ec64a42fdd (diff)
User routes + some updates
Diffstat (limited to 'app/schemas')
-rw-r--r--app/schemas/user_schemas.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/schemas/user_schemas.py b/app/schemas/user_schemas.py
new file mode 100644
index 0000000..70613ac
--- /dev/null
+++ b/app/schemas/user_schemas.py
@@ -0,0 +1,11 @@
+from pydantic import BaseModel
+
+
+class LoginDataSchema(BaseModel):
+ username: str
+ password: str
+
+
+class UpdatePasswordSchema(BaseModel):
+ password: str
+ new_password: str