@punks/backend-entity-manager 0.0.117 → 0.0.118

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.
@@ -3,7 +3,7 @@ export declare const Public: () => import("@nestjs/common").CustomDecorator<stri
3
3
  export declare const Authenticated: () => import("@nestjs/common").CustomDecorator<string>;
4
4
  export declare const Roles: (...roles: string[]) => import("@nestjs/common").CustomDecorator<string>;
5
5
  export declare const MemberOf: (...groups: string[]) => import("@nestjs/common").CustomDecorator<string>;
6
- export declare const buildRolesGuard: ({ mainRole, inheritedRoles, }: {
6
+ export declare const buildRolesGuard: ({ mainRole, secondaryRoles, }: {
7
7
  mainRole: AppRole;
8
- inheritedRoles?: AppRole[] | undefined;
8
+ secondaryRoles?: AppRole[] | undefined;
9
9
  }, options?: RolesGuardOptions) => import("@nestjs/common").CustomDecorator<string>;
package/dist/index.d.ts CHANGED
@@ -1455,9 +1455,9 @@ declare const Public: () => _nestjs_common.CustomDecorator<string>;
1455
1455
  declare const Authenticated: () => _nestjs_common.CustomDecorator<string>;
1456
1456
  declare const Roles: (...roles: string[]) => _nestjs_common.CustomDecorator<string>;
1457
1457
  declare const MemberOf: (...groups: string[]) => _nestjs_common.CustomDecorator<string>;
1458
- declare const buildRolesGuard: ({ mainRole, inheritedRoles, }: {
1458
+ declare const buildRolesGuard: ({ mainRole, secondaryRoles, }: {
1459
1459
  mainRole: AppRole;
1460
- inheritedRoles?: AppRole[] | undefined;
1460
+ secondaryRoles?: AppRole[] | undefined;
1461
1461
  }, options?: RolesGuardOptions) => _nestjs_common.CustomDecorator<string>;
1462
1462
 
1463
1463
  declare const AuthenticationExtensionSymbols: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/backend-entity-manager",
3
- "version": "0.0.117",
3
+ "version": "0.0.118",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -39,7 +39,7 @@
39
39
  "@nestjs/swagger": "^7.1.2",
40
40
  "@nestjs/testing": "^10.1.0",
41
41
  "@nestjs/typeorm": "^10.0.0",
42
- "@punks/backend-core": "^0.0.21",
42
+ "@punks/backend-core": "^0.0.22",
43
43
  "@rollup/plugin-commonjs": "^21.0.1",
44
44
  "@rollup/plugin-json": "^6.0.0",
45
45
  "@rollup/plugin-node-resolve": "^13.0.6",
@@ -85,7 +85,7 @@
85
85
  "@nestjs/swagger": "^7.1.2",
86
86
  "@nestjs/testing": "^10.1.0",
87
87
  "@nestjs/typeorm": "^10.0.0",
88
- "@punks/backend-core": "0.0.21",
88
+ "@punks/backend-core": "0.0.22",
89
89
  "@sendgrid/mail": "^7.7.0",
90
90
  "bcrypt": "^5.1.0",
91
91
  "typeorm": "^0.3.17"