diff --git a/backend/src/modules/users/schemas.py b/backend/src/modules/users/schemas.py index e09868b..d75748b 100644 --- a/backend/src/modules/users/schemas.py +++ b/backend/src/modules/users/schemas.py @@ -9,12 +9,15 @@ class CreateUser(BaseSchema): login: str password: str + class UpdateFavoriteReq(BaseSchema): favorite_ids: list[PydanticObjectId] + class ViewUser(BaseSchema): id: PydanticObjectId login: str + favorites: list[PydanticObjectId] class UserAuthData(BaseSchema):