This commit is contained in:
HotSwapp
2025-08-09 16:37:57 -05:00
parent 5f74243c8c
commit c2f3c4411d
35 changed files with 9209 additions and 4633 deletions

View File

@@ -30,11 +30,17 @@ class UserResponse(UserBase):
id: int
is_active: bool
is_admin: bool
theme_preference: Optional[str] = "light"
class Config:
from_attributes = True
class ThemePreferenceUpdate(BaseModel):
"""Theme preference update schema"""
theme_preference: str
class Token(BaseModel):
"""Token response schema"""
access_token: str