emilsoftware-utilities 1.3.115 → 1.3.116

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.
@@ -12,6 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.UserDto = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const StatoRegistrazione_1 = require("./StatoRegistrazione");
15
+ const Permission_1 = require("./Permission");
16
+ const TipoAbilitazione_1 = require("./TipoAbilitazione");
15
17
  class UserDto {
16
18
  }
17
19
  exports.UserDto = UserDto;
@@ -92,7 +94,7 @@ __decorate([
92
94
  __metadata("design:type", Array)
93
95
  ], UserDto.prototype, "roles", void 0);
94
96
  __decorate([
95
- (0, swagger_1.ApiPropertyOptional)({ description: "Permessi assegnati all'utente.", example: [{ action: "read", resource: "posts" }] }),
97
+ (0, swagger_1.ApiPropertyOptional)({ description: "Permessi assegnati all'utente.", type: [Permission_1.Permission], example: [{ codiceMenu: "MNUOFFICINA", tipoAbilitazione: TipoAbilitazione_1.TipoAbilitazione.SCRITTURA }] }),
96
98
  __metadata("design:type", Array)
97
99
  ], UserDto.prototype, "permissions", void 0);
98
100
  __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emilsoftware-utilities",
3
- "version": "1.3.115",
3
+ "version": "1.3.116",
4
4
  "description": "Utilities for EmilSoftware",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",