Commit 28b9e00
2 files changed
+2
-2
lines changed- .env.local+3-1
- package.json+66-67
- prisma/migrations/20230302130604_init/migration.sql-31
- prisma/migrations/20231031195314_password_added/migration.sql-8
- prisma/migrations/20231031200020_cognito_sub_optional/migration.sql-2
- prisma/migrations/20231031200454_password_optional/migration.sql-2
- prisma/migrations/20240104131341_added_totp/migration.sql-2
- prisma/migrations/20240331202843_username/migration.sql-12
- prisma/migrations/20240407074720_init_schema/migration.sql+58
- prisma/migrations/20240407085303_roles/migration.sql+8
- prisma/schema.prisma+22-9
- src/app/app.constant.ts+13
- src/app/app.controller.ts+18-15
- src/app/app.module.ts+3-1
- src/cli.ts+22
- src/common/auth/auth.module.ts+11-14
- src/common/auth/controllers/auth.controller.ts+16-12
- src/common/auth/dtos/auth.login.dto.ts+7-2
- src/common/auth/dtos/auth.signup.dto.ts+40
- src/common/auth/dtos/signup.dto.ts-24
- src/common/auth/guards/jwt.access.guard.ts+3-1
- src/common/auth/guards/jwt.refresh.guard.ts+26
- src/common/auth/interfaces/auth.interface.ts+21
- src/common/auth/interfaces/auth.response.interface.ts-6
- src/common/auth/interfaces/auth.service.interface.ts+14-7
- src/common/auth/services/auth.service.spec.ts+209-79
- src/common/auth/services/auth.service.ts+125-90
- src/common/auth/services/helper.hash.service.spec.ts+62
- src/common/auth/services/helper.hash.service.ts+1-1
- src/common/auth/services/helper.service.spec.ts-41
- src/common/auth/strategies/jwt.access.strategy.ts+8-8
- src/common/auth/strategies/jwt.refresh.strategy.ts+23
- src/common/common.module.ts+1-2
- src/common/congnito-auth/cognito.auth.module.ts-76
- src/common/congnito-auth/controllers/cognito.auth.controller.ts-47
- src/common/congnito-auth/dtos/cognito.login.dto.ts-14
- src/common/congnito-auth/dtos/cognito.signup.dto.ts-29
- src/common/congnito-auth/dtos/cognito.verify.dto.ts-21
- src/common/congnito-auth/guards/cognito.auth.guard.ts-23
- src/common/congnito-auth/interfaces/cognito.interface.ts
- src/common/congnito-auth/interfaces/cognito.jwt.interface.ts
- src/common/congnito-auth/services/cognito.auth.service.ts-108
- src/common/congnito-auth/services/cognito.jwt.service.ts-62
- src/common/congnito-auth/services/cognito.service.ts-94
- src/common/services/prisma.service.ts+1-7
- src/config/auth.config.ts+4-5
- src/core/core.module.ts+7-2
- src/core/decorators/auth.user.decorator.ts+1-1
- src/core/decorators/message.decorator.ts+8
- src/core/guards/roles.guard.ts+1-9
- src/core/interceptors/exception.interceptor.ts+22-25
- src/core/middlewares/logging.middleware.ts+25
- src/i18n/en/translation.json+3-1
- src/migration/migration.module.ts+9
- src/migration/seeders/roles.seed.ts+68
- src/modules/user/controllers/user.controller.ts+14-4
- src/modules/user/dtos/update.user.dto.ts+7-9
- src/modules/user/interfaces/user.interface.ts
- src/modules/user/interfaces/user.service.interface.ts+8-3
- src/modules/user/services/user.service.spec.ts+133-47
- src/modules/user/services/user.service.ts+70-12
- src/swagger.ts+6
- yarn.lock+1.5k-2.9k
Submodule files updated from 082d03f to 5f6ff16
0 commit comments