emilsoftware-utilities 1.4.0-dev.12 → 1.4.0-dev.14

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.
@@ -25,8 +25,8 @@ __decorate([
25
25
  __decorate([
26
26
  (0, swagger_1.ApiProperty)({
27
27
  description: 'Nuovo stato di registrazione',
28
- enum: [0, 5, 10, 20, 50, 99],
29
- example: 20,
28
+ enum: StatoRegistrazione_1.StatoRegistrazione,
29
+ example: StatoRegistrazione_1.StatoRegistrazione.DELETE,
30
30
  }),
31
31
  __metadata("design:type", Number)
32
32
  ], SetStatoRegistrazioneDto.prototype, "statoRegistrazione", void 0);
@@ -6,3 +6,4 @@ export declare enum StatoRegistrazione {
6
6
  DELETE = 50,
7
7
  BLOCC = 99
8
8
  }
9
+ export declare const StatoRegistrazioneValues: readonly [0, 5, 10, 20, 50, 99];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StatoRegistrazione = void 0;
3
+ exports.StatoRegistrazioneValues = exports.StatoRegistrazione = void 0;
4
4
  var StatoRegistrazione;
5
5
  (function (StatoRegistrazione) {
6
6
  StatoRegistrazione[StatoRegistrazione["NULL"] = 0] = "NULL";
@@ -10,3 +10,4 @@ var StatoRegistrazione;
10
10
  StatoRegistrazione[StatoRegistrazione["DELETE"] = 50] = "DELETE";
11
11
  StatoRegistrazione[StatoRegistrazione["BLOCC"] = 99] = "BLOCC";
12
12
  })(StatoRegistrazione || (exports.StatoRegistrazione = StatoRegistrazione = {}));
13
+ exports.StatoRegistrazioneValues = [0, 5, 10, 20, 50, 99];
@@ -346,6 +346,7 @@ let UserService = class UserService {
346
346
  if (!!user.permissions && user.permissions.length > 0) {
347
347
  yield this.permissionService.assignPermissionsToUser(codiceUtente, user.permissions);
348
348
  }
349
+ yield this.insertUserFilters(codiceUtente, user);
349
350
  }
350
351
  catch (error) {
351
352
  throw error;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emilsoftware-utilities",
3
- "version": "1.4.0-dev.12",
3
+ "version": "1.4.0-dev.14",
4
4
  "description": "Utilities for EmilSoftware",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",