grm-shared-library 1.0.147 → 1.0.149
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.
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { CreateIncidentDto } from "./create-incident.dto";
|
|
2
2
|
import { CreateIncidentCategoryDto } from "../category/create-incident-category.dto";
|
|
3
3
|
import { CreateIncidentTypeDto } from "../type/create-incident-type.dto";
|
|
4
|
-
import { IncidentActionDto } from "../action/incident-action.dto";
|
|
5
4
|
export declare class IncidentDto extends CreateIncidentDto {
|
|
6
5
|
id: number;
|
|
7
6
|
createdAt: string;
|
|
8
7
|
updatedAt: string;
|
|
9
8
|
category?: CreateIncidentCategoryDto;
|
|
10
9
|
type?: CreateIncidentTypeDto;
|
|
11
|
-
actions?:
|
|
10
|
+
actions?: any;
|
|
12
11
|
}
|
|
@@ -15,7 +15,6 @@ const create_incident_dto_1 = require("./create-incident.dto");
|
|
|
15
15
|
const class_transformer_1 = require("class-transformer");
|
|
16
16
|
const create_incident_category_dto_1 = require("../category/create-incident-category.dto");
|
|
17
17
|
const create_incident_type_dto_1 = require("../type/create-incident-type.dto");
|
|
18
|
-
const incident_action_dto_1 = require("../action/incident-action.dto");
|
|
19
18
|
class IncidentDto extends create_incident_dto_1.CreateIncidentDto {
|
|
20
19
|
}
|
|
21
20
|
exports.IncidentDto = IncidentDto;
|
|
@@ -48,8 +47,6 @@ __decorate([
|
|
|
48
47
|
], IncidentDto.prototype, "type", void 0);
|
|
49
48
|
__decorate([
|
|
50
49
|
(0, class_validator_1.IsArray)(),
|
|
51
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
52
|
-
(0, class_transformer_1.Type)(() => incident_action_dto_1.IncidentActionDto),
|
|
53
50
|
(0, class_validator_1.IsOptional)(),
|
|
54
|
-
__metadata("design:type",
|
|
51
|
+
__metadata("design:type", Object)
|
|
55
52
|
], IncidentDto.prototype, "actions", void 0);
|