From 9b53386723621a7f415c5cae726955535f101aa3 Mon Sep 17 00:00:00 2001 From: stefano-lacorazza <112132737+stefano-lacorazza@users.noreply.github.com> Date: Wed, 21 Aug 2024 21:19:40 -0500 Subject: [PATCH] OV-5: * prettier --- backend/src/bundles/auth/auth.controller.ts | 1 - backend/src/bundles/auth/auth.service.ts | 2 -- shared/src/bundles/users/types/user-sign-in-request-dto.type.ts | 2 -- .../src/bundles/users/types/user-sign-in-response-dto.type.ts | 2 -- .../src/bundles/users/validation-schemas/validation-schemas.ts | 2 -- 5 files changed, 9 deletions(-) diff --git a/backend/src/bundles/auth/auth.controller.ts b/backend/src/bundles/auth/auth.controller.ts index f25c3d2d5..eaf4bb7a3 100644 --- a/backend/src/bundles/auth/auth.controller.ts +++ b/backend/src/bundles/auth/auth.controller.ts @@ -133,7 +133,6 @@ class AuthController extends BaseController { * $ref: '#/components/schemas/User' */ - private async signUp( options: ApiHandlerOptions<{ body: UserSignUpRequestDto; diff --git a/backend/src/bundles/auth/auth.service.ts b/backend/src/bundles/auth/auth.service.ts index 24566df74..c1aed6676 100644 --- a/backend/src/bundles/auth/auth.service.ts +++ b/backend/src/bundles/auth/auth.service.ts @@ -8,10 +8,8 @@ import { type UserSignInResponseDto, } from '~/bundles/users/users.js'; import { HttpCode, HttpError } from '~/common/http/http.js'; - import { cryptService, tokenService } from '~/common/services/services.js'; - import { UserValidationMessage } from './enums/enums.js'; class AuthService { diff --git a/shared/src/bundles/users/types/user-sign-in-request-dto.type.ts b/shared/src/bundles/users/types/user-sign-in-request-dto.type.ts index f9e076841..8098c64cf 100644 --- a/shared/src/bundles/users/types/user-sign-in-request-dto.type.ts +++ b/shared/src/bundles/users/types/user-sign-in-request-dto.type.ts @@ -1,8 +1,6 @@ - type UserSignInRequestDto = { email: string; password: string; }; - export { type UserSignInRequestDto }; diff --git a/shared/src/bundles/users/types/user-sign-in-response-dto.type.ts b/shared/src/bundles/users/types/user-sign-in-response-dto.type.ts index b768f4b64..c8cd55dcd 100644 --- a/shared/src/bundles/users/types/user-sign-in-response-dto.type.ts +++ b/shared/src/bundles/users/types/user-sign-in-response-dto.type.ts @@ -1,9 +1,7 @@ - type UserSignInResponseDto = { id: number; email: string; token: string; }; - export { type UserSignInResponseDto }; diff --git a/shared/src/bundles/users/validation-schemas/validation-schemas.ts b/shared/src/bundles/users/validation-schemas/validation-schemas.ts index 3e53438d4..f6c85f13c 100644 --- a/shared/src/bundles/users/validation-schemas/validation-schemas.ts +++ b/shared/src/bundles/users/validation-schemas/validation-schemas.ts @@ -1,4 +1,2 @@ - export { userSignIn } from './user-sign-in.validation-schema.js'; - export { userSignUp } from './user-sign-up.validation-schema.js';