Closed Phastboy closed 2 weeks ago
This pull request includes several changes to improve code formatting, enhance readability, and update configurations across multiple files in the auth and buddy applications.
auth
buddy
apps/auth/src/auth.controller.ts
apps/auth/src/auth.service.ts
apps/auth/src/main.ts
bootstrap
apps/auth/src/rmq/rmq.module.ts
register
apps/auth/src/users/users.service.ts
create
apps/buddy/src/auth/auth.controller.ts
apps/buddy/src/auth/auth.service.ts
apps/auth/package.json
format
.tsx
.md
apps/buddy/package.json
apps/auth/src/auth.module.ts
ConfigModule.forRoot
apps/buddy/src/app.module.ts
apps/buddy/src/auth/auth.module.ts
apps/auth/src/users/users.schema.ts
toObject
ConflictException
apps/auth/src/users/dto/register.dto.ts
apps/buddy/src/auth/dto/create-auth.dto.ts
CreateAuthDto
apps/buddy/src/auth/dto/update-auth.dto.ts
UpdateAuthDto
apps/buddy/src/auth/users/dto/create-user.dto.ts
apps/buddy/src/auth/users/users.controller.ts
UsersController
apps/buddy/src/auth/users/users.module.ts
imports
This pull request includes several changes to improve code formatting, enhance readability, and update configurations across multiple files in the
auth
andbuddy
applications.Code Formatting and Readability Enhancements:
apps/auth/src/auth.controller.ts
: Reformatted import statements and adjusted the constructor and method indentation for better readability. [1] [2]apps/auth/src/auth.service.ts
: Reformatted the logging statements for better readability.apps/auth/src/main.ts
: Reformatted thebootstrap
function for better readability. [1] [2]apps/auth/src/rmq/rmq.module.ts
: Reformatted theregister
method and logging statements for better readability. [1] [2] [3]apps/auth/src/users/users.service.ts
: Reformatted thecreate
method and logging statements for better readability.apps/buddy/src/auth/auth.controller.ts
: Reformatted theregister
method and logging statements for better readability.apps/buddy/src/auth/auth.service.ts
: Reformatted the logging statements for better readability.Configuration Updates:
apps/auth/package.json
: Updated theformat
script to include.tsx
and.md
files.apps/buddy/package.json
: Updated theformat
script to include.tsx
and.md
files.Module Configuration:
apps/auth/src/auth.module.ts
: Simplified theConfigModule.forRoot
configuration.apps/buddy/src/app.module.ts
: Simplified theConfigModule.forRoot
configuration.apps/buddy/src/auth/auth.module.ts
: Simplified theConfigModule.forRoot
configuration.User Schema and Service Changes:
apps/auth/src/users/users.schema.ts
: Added atoObject
transformation to remove the password field when converting user documents to plain objects.apps/auth/src/users/users.service.ts
: Removed theConflictException
import and reformatted thecreate
method. [1] [2]Miscellaneous Changes:
apps/auth/src/users/dto/register.dto.ts
: Changed double quotes to single quotes for consistency.apps/buddy/src/auth/dto/create-auth.dto.ts
: Removed theCreateAuthDto
class.apps/buddy/src/auth/dto/update-auth.dto.ts
: Removed theUpdateAuthDto
class.apps/buddy/src/auth/users/dto/create-user.dto.ts
: Changed double quotes to single quotes for consistency.apps/buddy/src/auth/users/users.controller.ts
: Simplified theUsersController
class.apps/buddy/src/auth/users/users.module.ts
: Simplified theimports
array and added a trailing comma for consistency.