diff options
author | Parker <contact@pkrm.dev> | 2024-11-04 23:01:13 -0600 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2024-11-04 23:01:13 -0600 |
commit | 3f8e39cc86ca22c3e94f52d693c90553ef1dfd57 (patch) | |
tree | 0bf2ef55e3250d059f1bdaf8546f2c1f2773ad52 /api/schemas | |
parent | 5a0777033f6733c33fbd6119ade812e0c749be44 (diff) |
Major consolidation and upgrades
Diffstat (limited to 'api/schemas')
-rw-r--r-- | api/schemas/auth_schemas.py | 20 | ||||
-rw-r--r-- | api/schemas/links_schemas.py | 5 |
2 files changed, 0 insertions, 25 deletions
diff --git a/api/schemas/auth_schemas.py b/api/schemas/auth_schemas.py deleted file mode 100644 index 006a7c8..0000000 --- a/api/schemas/auth_schemas.py +++ /dev/null @@ -1,20 +0,0 @@ -from pydantic import BaseModel - - -class Token(BaseModel): - access_token: str - refresh_token: str | None = None - token_type: str - - -class TokenData(BaseModel): - username: str | None = None - - -class User(BaseModel): - username: str - id: int - - -class UserInDB(User): - hashed_password: str diff --git a/api/schemas/links_schemas.py b/api/schemas/links_schemas.py deleted file mode 100644 index e2812fb..0000000 --- a/api/schemas/links_schemas.py +++ /dev/null @@ -1,5 +0,0 @@ -from pydantic import BaseModel - - -class URLSchema(BaseModel): - url: str |