From d05e62a032a2c8fdaa868571246f6a58ddc858ed Mon Sep 17 00:00:00 2001 From: IgorVolochay Date: Thu, 6 Mar 2025 14:21:34 +0300 Subject: [PATCH] feat: add /like_card and /dislike_card routs --- app/schemas/api_schemas.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/schemas/api_schemas.py b/app/schemas/api_schemas.py index e8e33d0..0cccd80 100644 --- a/app/schemas/api_schemas.py +++ b/app/schemas/api_schemas.py @@ -25,4 +25,8 @@ class SelectChoice(BaseModel): user_id: NonNegativeInt card_id: NonNegativeInt - choice: typing.Literal["A", "B"] \ No newline at end of file + choice: typing.Literal["A", "B"] + +class ReactionCard(BaseModel): + user_id: NonNegativeInt + card_id: NonNegativeInt \ No newline at end of file