grm-shared-library 1.0.156 → 1.0.158
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/modules/incident/dtos/action/create-incident-action.dto.d.ts +2 -1
- package/dist/modules/incident/dtos/action/create-incident-action.dto.js +2 -1
- package/dist/modules/incident/enums/incident-actions.enum.d.ts +1 -0
- package/dist/modules/incident/enums/incident-actions.enum.js +1 -0
- package/dist/modules/incident/intefaces/incident-action.d.ts +2 -1
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateIncidentActionDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
const incident_actions_enum_1 = require("../../enums/incident-actions.enum");
|
|
14
15
|
class CreateIncidentActionDto {
|
|
15
16
|
}
|
|
16
17
|
exports.CreateIncidentActionDto = CreateIncidentActionDto;
|
|
@@ -25,7 +26,7 @@ __decorate([
|
|
|
25
26
|
__metadata("design:type", Number)
|
|
26
27
|
], CreateIncidentActionDto.prototype, "userId", void 0);
|
|
27
28
|
__decorate([
|
|
28
|
-
(0, class_validator_1.
|
|
29
|
+
(0, class_validator_1.IsEnum)(incident_actions_enum_1.IncidentActions),
|
|
29
30
|
(0, class_validator_1.IsNotEmpty)(),
|
|
30
31
|
__metadata("design:type", String)
|
|
31
32
|
], CreateIncidentActionDto.prototype, "action", void 0);
|
|
@@ -5,6 +5,7 @@ var IncidentActions;
|
|
|
5
5
|
(function (IncidentActions) {
|
|
6
6
|
IncidentActions["CREATED"] = "Created";
|
|
7
7
|
IncidentActions["STATUS_CHANGED"] = "Status Changed";
|
|
8
|
+
IncidentActions["UPDATED"] = "Updated";
|
|
8
9
|
IncidentActions["ASSIGNED"] = "Assigned";
|
|
9
10
|
IncidentActions["REOPENED"] = "Reopened";
|
|
10
11
|
IncidentActions["REPORT_CREATED"] = "Report Created";
|