enh: models display author name

This commit is contained in:
Timothy Jaeryang Baek
2024-11-18 05:37:04 -08:00
parent 03b606925e
commit a2a25fb571
5 changed files with 33 additions and 20 deletions

View File

@@ -62,6 +62,14 @@ class UserModel(BaseModel):
####################
class UserResponse(BaseModel):
id: str
name: str
email: str
role: str
profile_image_url: str
class UserRoleUpdateForm(BaseModel):
id: str
role: str