From d4c3146c027af95db003283ba6dc016e124aa7ad Mon Sep 17 00:00:00 2001 From: cherednik Date: Fri, 11 Oct 2024 17:17:29 +0400 Subject: [PATCH] =?UTF-8?q?TD-322:=20[BACK].=20[=D1=80=D0=B5=D0=B0=D0=BB?= =?UTF-8?q?=D0=B8=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D1=81=D0=B5=D1=80?= =?UTF-8?q?=D0=B2=D0=B8=D1=81=20=D0=B4=D0=BB=D1=8F=20=D0=BF=D0=BE=D0=B4?= =?UTF-8?q?=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=B4=D0=BE=D0=BA?= =?UTF-8?q?=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=BE=D0=B2=20=D0=B2=20=D0=BA?= =?UTF-8?q?=D0=BE=D0=BD=D1=82=D0=B5=D0=B9=D0=BD=D0=B5=D1=80=D0=B5=20signer?= =?UTF-8?q?]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/{Sign => }/Api/Api.php | 2 +- backend/src/{Sign => }/Api/ApiParams.php | 2 +- backend/src/{Sign => }/Api/Request/SignRequest.php | 2 +- backend/src/{Sign => }/Controller/.gitignore | 0 backend/src/{Sign => }/Controller/SignController.php | 8 ++++---- backend/src/Entity/.gitignore | 0 backend/src/Repository/.gitignore | 0 backend/src/{Sign => }/SignService.php | 6 +++--- 8 files changed, 10 insertions(+), 10 deletions(-) rename backend/src/{Sign => }/Api/Api.php (98%) rename backend/src/{Sign => }/Api/ApiParams.php (85%) rename backend/src/{Sign => }/Api/Request/SignRequest.php (86%) rename backend/src/{Sign => }/Controller/.gitignore (100%) rename backend/src/{Sign => }/Controller/SignController.php (91%) create mode 100644 backend/src/Entity/.gitignore create mode 100644 backend/src/Repository/.gitignore rename backend/src/{Sign => }/SignService.php (96%) diff --git a/backend/src/Sign/Api/Api.php b/backend/src/Api/Api.php similarity index 98% rename from backend/src/Sign/Api/Api.php rename to backend/src/Api/Api.php index 55d2aeb..5ceef4d 100644 --- a/backend/src/Sign/Api/Api.php +++ b/backend/src/Api/Api.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Sign\Api; +namespace App\Api; use App\Infrastructure\External\Api\AbstractApi; use App\Infrastructure\External\Api\BinaryStringFileResult; diff --git a/backend/src/Sign/Api/ApiParams.php b/backend/src/Api/ApiParams.php similarity index 85% rename from backend/src/Sign/Api/ApiParams.php rename to backend/src/Api/ApiParams.php index cafcdc5..f920f32 100644 --- a/backend/src/Sign/Api/ApiParams.php +++ b/backend/src/Api/ApiParams.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Sign\Api; +namespace App\Api; class ApiParams { diff --git a/backend/src/Sign/Api/Request/SignRequest.php b/backend/src/Api/Request/SignRequest.php similarity index 86% rename from backend/src/Sign/Api/Request/SignRequest.php rename to backend/src/Api/Request/SignRequest.php index 5453ad1..d0c20af 100644 --- a/backend/src/Sign/Api/Request/SignRequest.php +++ b/backend/src/Api/Request/SignRequest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Sign\Api\Request; +namespace App\Api\Request; use App\Infrastructure\Http\RequestDtoInterface; diff --git a/backend/src/Sign/Controller/.gitignore b/backend/src/Controller/.gitignore similarity index 100% rename from backend/src/Sign/Controller/.gitignore rename to backend/src/Controller/.gitignore diff --git a/backend/src/Sign/Controller/SignController.php b/backend/src/Controller/SignController.php similarity index 91% rename from backend/src/Sign/Controller/SignController.php rename to backend/src/Controller/SignController.php index 063911d..dc29851 100644 --- a/backend/src/Sign/Controller/SignController.php +++ b/backend/src/Controller/SignController.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace App\Sign\Controller; +namespace App\Controller; -use App\Sign\Api\Request\SignRequest; -use App\Sign\SignService; +use App\Api\Request\SignRequest; +use App\SignService; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; -use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; +use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Security\Core\Exception\AccessDeniedException; class SignController extends AbstractController diff --git a/backend/src/Entity/.gitignore b/backend/src/Entity/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/backend/src/Repository/.gitignore b/backend/src/Repository/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/backend/src/Sign/SignService.php b/backend/src/SignService.php similarity index 96% rename from backend/src/Sign/SignService.php rename to backend/src/SignService.php index a0a352f..d7f5ecf 100644 --- a/backend/src/Sign/SignService.php +++ b/backend/src/SignService.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace App\Sign; +namespace App; +use App\Api\Api; +use App\Api\ApiParams; use App\Infrastructure\External\Api\BinaryStringFileResult; -use App\Sign\Api\Api; -use App\Sign\Api\ApiParams; use Exception; use RuntimeException;