From 70b1edc55407a5d67d1e8e9aebefb632bc1acdce Mon Sep 17 00:00:00 2001 From: FinemechanicPub <93194456+FinemechanicPub@users.noreply.github.com> Date: Thu, 15 Aug 2024 02:40:19 +0300 Subject: [PATCH 01/32] Formatting --- backend/app/main.py | 2 +- backend/app/schemas/game.py | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/backend/app/main.py b/backend/app/main.py index 1539155..aed2fea 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -43,7 +43,7 @@ async def lifespan(app: FastAPI): openapi_url="/api/v1/openapi.json", docs_url="/api/v1/docs", redoc_url="/api/v1/redoc", - description=f"Github commit {settings.branch}:{settings.commit[:7]}" + description=f"Github commit {settings.branch}:{settings.commit[:7]}", ) # Подключение роутера diff --git a/backend/app/schemas/game.py b/backend/app/schemas/game.py index b34ff88..3e09dd2 100644 --- a/backend/app/schemas/game.py +++ b/backend/app/schemas/game.py @@ -1,4 +1,10 @@ -from pydantic import BaseModel, ConfigDict, Field, computed_field, field_validator +from pydantic import ( + BaseModel, + ConfigDict, + Field, + computed_field, + field_validator, +) from pydantic_core.core_schema import FieldValidationInfo From 191a8693bf6c5a050d8e6aa688a06549eafd1428 Mon Sep 17 00:00:00 2001 From: FinemechanicPub <93194456+FinemechanicPub@users.noreply.github.com> Date: Thu, 15 Aug 2024 02:42:37 +0300 Subject: [PATCH 02/32] Set button types --- frontend/src/components/GameCarousel.vue | 4 ++-- frontend/src/components/PieceItem.vue | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/GameCarousel.vue b/frontend/src/components/GameCarousel.vue index 6806e66..17b63de 100644 --- a/frontend/src/components/GameCarousel.vue +++ b/frontend/src/components/GameCarousel.vue @@ -148,7 +148,7 @@ - - + + \ No newline at end of file diff --git a/frontend/src/components/PieceItem.vue b/frontend/src/components/PieceItem.vue index 33c36a8..71a60ac 100644 --- a/frontend/src/components/PieceItem.vue +++ b/frontend/src/components/PieceItem.vue @@ -201,7 +201,7 @@