@anievo-id/rbac-evolution-nestjs 0.6.3 → 0.6.5
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/README.md +4 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# @anievo-id/rbac-evolution-nestjs
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
📖 **[Documentation](https://app.anievo.id/rbac-evolution/frameworks/nestjs)**
|
|
4
|
+
|
|
5
|
+
NestJS integration for [rbac-evolution](https://github.com/AniEvo-ID/rbac-evolution): a global `RbacModule`, an `RbacGuard`, and the
|
|
4
6
|
`@RequirePermissions()`, `@RequireRoles()` and `@RequireRoleOrPermission()` decorators — the Nest counterpart of
|
|
5
7
|
spatie/laravel-permission's `permission`, `role` and `role_or_permission` middleware. Semantics and error bodies are
|
|
6
|
-
identical to [`@anievo-id/rbac-evolution-express`](
|
|
8
|
+
identical to [`@anievo-id/rbac-evolution-express`](https://www.npmjs.com/package/@anievo-id/rbac-evolution-express).
|
|
7
9
|
|
|
8
10
|
```bash
|
|
9
11
|
npm i @anievo-id/rbac-evolution @anievo-id/rbac-evolution-nestjs
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anievo-id/rbac-evolution-nestjs",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"description": "NestJS module, guard & decorators for rbac-evolution.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "AniEvo-ID (https://github.com/AniEvo-ID)",
|
|
7
|
-
"homepage": "https://
|
|
7
|
+
"homepage": "https://app.anievo.id/rbac-evolution/frameworks/nestjs",
|
|
8
8
|
"bugs": {
|
|
9
9
|
"url": "https://github.com/AniEvo-ID/rbac-evolution/issues"
|
|
10
10
|
},
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@anievo-id/rbac-evolution": "^0.6.
|
|
51
|
+
"@anievo-id/rbac-evolution": "^0.6.5"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@nestjs/common": "^10.0.0 || ^11.0.0 || ^12.0.0",
|