@evara-group/guard 3.0.11 → 3.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/enums/user-permission.d.ts +7 -1
- package/dist/core/enums/user-permission.js +6 -0
- package/dist/core/enums/user-permission.js.map +1 -1
- package/dist/core/utils/throttler-exception-filter.d.ts +7 -0
- package/dist/core/utils/throttler-exception-filter.js +48 -0
- package/dist/core/utils/throttler-exception-filter.js.map +1 -0
- package/dist/database/seeders/permissions.seeder.js +4 -3
- package/dist/database/seeders/permissions.seeder.js.map +1 -1
- package/dist/dev-server.d.ts +1 -0
- package/dist/dev-server.js +72 -0
- package/dist/dev-server.js.map +1 -0
- package/dist/modules/app.module.d.ts +8 -0
- package/dist/modules/app.module.js +31 -0
- package/dist/modules/app.module.js.map +1 -1
- package/dist/modules/auth/auth.controller.d.ts +5 -0
- package/dist/modules/auth/auth.controller.js +46 -0
- package/dist/modules/auth/auth.controller.js.map +1 -1
- package/dist/modules/auth/auth.service.d.ts +9 -1
- package/dist/modules/auth/auth.service.js +66 -2
- package/dist/modules/auth/auth.service.js.map +1 -1
- package/dist/modules/auth/dto/auth-forget-password.dto.d.ts +3 -0
- package/dist/modules/auth/dto/auth-forget-password.dto.js +29 -0
- package/dist/modules/auth/dto/auth-forget-password.dto.js.map +1 -0
- package/dist/modules/auth/dto/reset-password.dto.d.ts +4 -0
- package/dist/modules/auth/dto/reset-password.dto.js +32 -0
- package/dist/modules/auth/dto/reset-password.dto.js.map +1 -0
- package/dist/modules/mail/dto/mail-metadata.dto.d.ts +6 -0
- package/dist/modules/mail/dto/mail-metadata.dto.js +38 -0
- package/dist/modules/mail/dto/mail-metadata.dto.js.map +1 -0
- package/dist/modules/mail/mail.module.d.ts +12 -0
- package/dist/modules/mail/mail.module.js +57 -0
- package/dist/modules/mail/mail.module.js.map +1 -0
- package/dist/modules/mail/mail.service.d.ts +10 -0
- package/dist/modules/mail/mail.service.js +60 -0
- package/dist/modules/mail/mail.service.js.map +1 -0
- package/dist/modules/mail/templates/ar/reset-password.ejs +36 -0
- package/dist/modules/mail/templates/en/reset-password.ejs +38 -0
- package/dist/modules/module/dtos/create-module.dto.d.ts +1 -1
- package/dist/modules/module/dtos/update-module.dto.d.ts +1 -1
- package/dist/modules/role/dtos/create-role.dto.d.ts +1 -1
- package/dist/modules/role/role.controller.js +3 -0
- package/dist/modules/role/role.controller.js.map +1 -1
- package/dist/modules/user/dtos/create-user.dto.d.ts +1 -1
- package/dist/modules/user/user.controller.d.ts +3 -1
- package/dist/modules/user/user.controller.js +13 -2
- package/dist/modules/user/user.controller.js.map +1 -1
- package/dist/security/guards/language.guard.d.ts +4 -0
- package/dist/security/guards/language.guard.js +25 -0
- package/dist/security/guards/language.guard.js.map +1 -0
- package/dist/security/transformers/lower-case.transformer.d.ts +3 -0
- package/dist/security/transformers/lower-case.transformer.js +6 -0
- package/dist/security/transformers/lower-case.transformer.js.map +1 -0
- package/dist/security/transformers/remove-spaces.transformer.d.ts +3 -0
- package/dist/security/transformers/remove-spaces.transformer.js +6 -0
- package/dist/security/transformers/remove-spaces.transformer.js.map +1 -0
- package/dist/security/validators/strong-password.validator.d.ts +1 -0
- package/dist/security/validators/strong-password.validator.js +10 -0
- package/dist/security/validators/strong-password.validator.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evara-group/guard",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.13",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -14,12 +14,15 @@
|
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"description": "",
|
|
16
16
|
"dependencies": {
|
|
17
|
+
"@nestjs-modules/mailer": "^2.0.2",
|
|
17
18
|
"@nestjs/common": "^11.1.5",
|
|
18
19
|
"@nestjs/config": "^4.0.2",
|
|
19
20
|
"@nestjs/core": "^11.1.3",
|
|
20
21
|
"@nestjs/jwt": "^11.0.0",
|
|
21
22
|
"@nestjs/passport": "^11.0.5",
|
|
23
|
+
"@nestjs/platform-express": "^11.1.11",
|
|
22
24
|
"@nestjs/swagger": "^11.1.1",
|
|
25
|
+
"@nestjs/throttler": "^6.5.0",
|
|
23
26
|
"@nestjs/typeorm": "^11.0.0",
|
|
24
27
|
"bcrypt": "^6.0.0",
|
|
25
28
|
"class-transformer": "^0.5.1",
|
|
@@ -43,9 +46,10 @@
|
|
|
43
46
|
},
|
|
44
47
|
"scripts": {
|
|
45
48
|
"format": "prettier --write \"src/**/*.ts\"",
|
|
46
|
-
"build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && node -e \"console.log(`[${new Date().toISOString()}] Built @evara-group/guard version: ${require('./package.json').version}`)\"",
|
|
49
|
+
"build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && node scripts/copy-mail-templates.js && node -e \"console.log(`[${new Date().toISOString()}] Built @evara-group/guard version: ${require('./package.json').version}`)\"",
|
|
47
50
|
"clean": "rm -rf dist node_modules",
|
|
48
51
|
"migrate": "ts-node -r tsconfig-paths/register src/scripts/run-migrations.ts",
|
|
49
|
-
"seed": "ts-node -r tsconfig-paths/register src/database/seeders/run.seeder.ts"
|
|
52
|
+
"seed": "ts-node -r tsconfig-paths/register src/database/seeders/run.seeder.ts",
|
|
53
|
+
"start:dev": "ts-node -r tsconfig-paths/register src/dev-server.ts"
|
|
50
54
|
}
|
|
51
55
|
}
|