@dssp/supervision 1.0.0-alpha.2 → 1.0.0-alpha.20
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-client/graphql/building-inspection.d.ts +1 -0
- package/dist-client/graphql/building-inspection.js +66 -0
- package/dist-client/graphql/building-inspection.js.map +1 -0
- package/dist-client/pages/action-plan/action-plan-importer.js.map +1 -1
- package/dist-client/pages/action-plan/action-plan-list-page.js.map +1 -1
- package/dist-client/pages/building-inspection/building-inspection-detail-camera.js.map +1 -1
- package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js +2 -68
- package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js.map +1 -1
- package/dist-client/pages/building-inspection/building-inspection-detail-drawing.d.ts +0 -1
- package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js +16 -11
- package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js.map +1 -1
- package/dist-client/pages/building-inspection/building-inspection-list.d.ts +3 -2
- package/dist-client/pages/building-inspection/building-inspection-list.js +118 -13
- package/dist-client/pages/building-inspection/building-inspection-list.js.map +1 -1
- package/dist-client/pages/building-inspection/component/building-inspection-detail-header.js +31 -9
- package/dist-client/pages/building-inspection/component/building-inspection-detail-header.js.map +1 -1
- package/dist-client/pages/building-inspection/component/inspection-event-provider.js +3 -3
- package/dist-client/pages/building-inspection/component/inspection-event-provider.js.map +1 -1
- package/dist-client/pages/building-inspection/inspection-create-popup.js +5 -4
- package/dist-client/pages/building-inspection/inspection-create-popup.js.map +1 -1
- package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.d.ts +46 -0
- package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js +953 -0
- package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js.map +1 -0
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.d.ts +2 -0
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.js +734 -0
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.js.map +1 -0
- package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.d.ts +1 -0
- package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.js +304 -0
- package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.js.map +1 -0
- package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.d.ts +15 -0
- package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.js +430 -0
- package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.js.map +1 -0
- package/dist-client/pages/checklist/attachment-list-popup.js +9 -2
- package/dist-client/pages/checklist/attachment-list-popup.js.map +1 -1
- package/dist-client/pages/checklist/checklist-view.d.ts +2 -0
- package/dist-client/pages/checklist/checklist-view.js +288 -185
- package/dist-client/pages/checklist/checklist-view.js.map +1 -1
- package/dist-client/pages/checklist/comment-list-popup.js +14 -3
- package/dist-client/pages/checklist/comment-list-popup.js.map +1 -1
- package/dist-client/pages/checklist/file-preview-popup.js.map +1 -1
- package/dist-client/pages/checklist-template/checklist-template-item.js +8 -3
- package/dist-client/pages/checklist-template/checklist-template-item.js.map +1 -1
- package/dist-client/pages/checklist-template/checklist-template-list.js +1 -1
- package/dist-client/pages/checklist-template/checklist-template-list.js.map +1 -1
- package/dist-client/pages/checklist-template/checklist-type-management.d.ts +2 -2
- package/dist-client/pages/checklist-template/checklist-type-management.js.map +1 -1
- package/dist-client/pages/issue/issue-importer.js.map +1 -1
- package/dist-client/pages/issue/issue-list-page.js.map +1 -1
- package/dist-client/pages/project-report/project-report-importer.js.map +1 -1
- package/dist-client/pages/project-report/project-report-list-page.js.map +1 -1
- package/dist-client/pages/supervisor/supervisor-importer.js.map +1 -1
- package/dist-client/pages/supervisor/supervisor-list-page.js.map +1 -1
- package/dist-client/route.d.ts +1 -1
- package/dist-client/route.js +3 -0
- package/dist-client/route.js.map +1 -1
- package/dist-client/stt/speech-to-text.d.ts +36 -0
- package/dist-client/stt/speech-to-text.js +89 -0
- package/dist-client/stt/speech-to-text.js.map +1 -0
- package/dist-client/stt/stt-utils.d.ts +28 -0
- package/dist-client/stt/stt-utils.js +146 -0
- package/dist-client/stt/stt-utils.js.map +1 -0
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/middlewares/index.js +1 -2
- package/dist-server/middlewares/index.js.map +1 -1
- package/dist-server/service/action-plan/action-plan-mutation.js +2 -2
- package/dist-server/service/action-plan/action-plan-mutation.js.map +1 -1
- package/dist-server/service/action-plan/action-plan-query.js +2 -2
- package/dist-server/service/action-plan/action-plan-query.js.map +1 -1
- package/dist-server/service/action-plan/action-plan-type.js +6 -6
- package/dist-server/service/action-plan/action-plan-type.js.map +1 -1
- package/dist-server/service/action-plan/action-plan.js +3 -3
- package/dist-server/service/action-plan/action-plan.js.map +1 -1
- package/dist-server/service/action-plan/index.d.ts +0 -1
- package/dist-server/service/action-plan/index.js +1 -2
- package/dist-server/service/action-plan/index.js.map +1 -1
- package/dist-server/service/building-inspection/building-inspection-history.js +2 -2
- package/dist-server/service/building-inspection/building-inspection-history.js.map +1 -1
- package/dist-server/service/building-inspection/building-inspection-mutation.d.ts +1 -1
- package/dist-server/service/building-inspection/building-inspection-mutation.js +111 -32
- package/dist-server/service/building-inspection/building-inspection-mutation.js.map +1 -1
- package/dist-server/service/building-inspection/building-inspection-query.d.ts +2 -3
- package/dist-server/service/building-inspection/building-inspection-query.js +39 -29
- package/dist-server/service/building-inspection/building-inspection-query.js.map +1 -1
- package/dist-server/service/building-inspection/building-inspection-type.d.ts +18 -8
- package/dist-server/service/building-inspection/building-inspection-type.js +71 -25
- package/dist-server/service/building-inspection/building-inspection-type.js.map +1 -1
- package/dist-server/service/building-inspection/building-inspection.d.ts +9 -0
- package/dist-server/service/building-inspection/building-inspection.js +43 -5
- package/dist-server/service/building-inspection/building-inspection.js.map +1 -1
- package/dist-server/service/building-inspection/index.d.ts +3 -5
- package/dist-server/service/building-inspection/index.js +10 -4
- package/dist-server/service/building-inspection/index.js.map +1 -1
- package/dist-server/service/checklist/checklist-history.d.ts +8 -0
- package/dist-server/service/checklist/checklist-history.js +38 -2
- package/dist-server/service/checklist/checklist-history.js.map +1 -1
- package/dist-server/service/checklist/checklist-mutation.d.ts +0 -5
- package/dist-server/service/checklist/checklist-mutation.js +3 -69
- package/dist-server/service/checklist/checklist-mutation.js.map +1 -1
- package/dist-server/service/checklist/checklist-query.js +2 -2
- package/dist-server/service/checklist/checklist-query.js.map +1 -1
- package/dist-server/service/checklist/checklist-type.d.ts +0 -13
- package/dist-server/service/checklist/checklist-type.js +3 -51
- package/dist-server/service/checklist/checklist-type.js.map +1 -1
- package/dist-server/service/checklist/checklist.d.ts +15 -3
- package/dist-server/service/checklist/checklist.js +61 -17
- package/dist-server/service/checklist/checklist.js.map +1 -1
- package/dist-server/service/checklist/index.d.ts +0 -2
- package/dist-server/service/checklist/index.js +1 -3
- package/dist-server/service/checklist/index.js.map +1 -1
- package/dist-server/service/checklist-item/checklist-item-mutation.js +2 -2
- package/dist-server/service/checklist-item/checklist-item-mutation.js.map +1 -1
- package/dist-server/service/checklist-item/checklist-item-query.js +2 -2
- package/dist-server/service/checklist-item/checklist-item-query.js.map +1 -1
- package/dist-server/service/checklist-item/checklist-item-type.js +2 -2
- package/dist-server/service/checklist-item/checklist-item-type.js.map +1 -1
- package/dist-server/service/checklist-item/checklist-item.js +3 -3
- package/dist-server/service/checklist-item/checklist-item.js.map +1 -1
- package/dist-server/service/checklist-item-comment/checklist-item-comment-history.js +2 -2
- package/dist-server/service/checklist-item-comment/checklist-item-comment-history.js.map +1 -1
- package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.d.ts +1 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.js +35 -8
- package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.js.map +1 -1
- package/dist-server/service/checklist-item-comment/checklist-item-comment-query.js +2 -2
- package/dist-server/service/checklist-item-comment/checklist-item-comment-query.js.map +1 -1
- package/dist-server/service/checklist-item-comment/checklist-item-comment-type.js +6 -6
- package/dist-server/service/checklist-item-comment/checklist-item-comment-type.js.map +1 -1
- package/dist-server/service/checklist-item-comment/checklist-item-comment.js +2 -2
- package/dist-server/service/checklist-item-comment/checklist-item-comment.js.map +1 -1
- package/dist-server/service/checklist-item-comment/index.d.ts +0 -2
- package/dist-server/service/checklist-item-comment/index.js +1 -3
- package/dist-server/service/checklist-item-comment/index.js.map +1 -1
- package/dist-server/service/checklist-template/checklist-template-mutation.js +2 -2
- package/dist-server/service/checklist-template/checklist-template-mutation.js.map +1 -1
- package/dist-server/service/checklist-template/checklist-template-query.js +2 -2
- package/dist-server/service/checklist-template/checklist-template-query.js.map +1 -1
- package/dist-server/service/checklist-template/checklist-template-type.js +4 -4
- package/dist-server/service/checklist-template/checklist-template-type.js.map +1 -1
- package/dist-server/service/checklist-template/checklist-template.js +2 -2
- package/dist-server/service/checklist-template/checklist-template.js.map +1 -1
- package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js +2 -2
- package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js.map +1 -1
- package/dist-server/service/checklist-template-item/checklist-template-item-query.js +2 -2
- package/dist-server/service/checklist-template-item/checklist-template-item-query.js.map +1 -1
- package/dist-server/service/checklist-template-item/checklist-template-item-type.js +4 -4
- package/dist-server/service/checklist-template-item/checklist-template-item-type.js.map +1 -1
- package/dist-server/service/checklist-template-item/checklist-template-item.js +4 -6
- package/dist-server/service/checklist-template-item/checklist-template-item.js.map +1 -1
- package/dist-server/service/checklist-type/checklist-type-mutation.js +2 -2
- package/dist-server/service/checklist-type/checklist-type-mutation.js.map +1 -1
- package/dist-server/service/checklist-type/checklist-type-query.js +2 -2
- package/dist-server/service/checklist-type/checklist-type-query.js.map +1 -1
- package/dist-server/service/checklist-type/checklist-type-type.js +4 -4
- package/dist-server/service/checklist-type/checklist-type-type.js.map +1 -1
- package/dist-server/service/checklist-type/checklist-type.js +3 -3
- package/dist-server/service/checklist-type/checklist-type.js.map +1 -1
- package/dist-server/service/index.d.ts +2 -2
- package/dist-server/service/index.js +2 -11
- package/dist-server/service/index.js.map +1 -1
- package/dist-server/service/issue/index.d.ts +0 -1
- package/dist-server/service/issue/index.js +1 -2
- package/dist-server/service/issue/index.js.map +1 -1
- package/dist-server/service/issue/issue-mutation.js +2 -2
- package/dist-server/service/issue/issue-mutation.js.map +1 -1
- package/dist-server/service/issue/issue-query.js +2 -2
- package/dist-server/service/issue/issue-query.js.map +1 -1
- package/dist-server/service/issue/issue-type.js +6 -6
- package/dist-server/service/issue/issue-type.js.map +1 -1
- package/dist-server/service/issue/issue.js +3 -3
- package/dist-server/service/issue/issue.js.map +1 -1
- package/dist-server/service/project-report/index.d.ts +0 -1
- package/dist-server/service/project-report/index.js +1 -2
- package/dist-server/service/project-report/index.js.map +1 -1
- package/dist-server/service/project-report/project-report-mutation.js +2 -2
- package/dist-server/service/project-report/project-report-mutation.js.map +1 -1
- package/dist-server/service/project-report/project-report-query.js +2 -2
- package/dist-server/service/project-report/project-report-query.js.map +1 -1
- package/dist-server/service/project-report/project-report-type.js +6 -6
- package/dist-server/service/project-report/project-report-type.js.map +1 -1
- package/dist-server/service/project-report/project-report.d.ts +0 -2
- package/dist-server/service/project-report/project-report.js +3 -9
- package/dist-server/service/project-report/project-report.js.map +1 -1
- package/dist-server/service/supervisor/index.d.ts +0 -1
- package/dist-server/service/supervisor/index.js +1 -2
- package/dist-server/service/supervisor/index.js.map +1 -1
- package/dist-server/service/supervisor/supervisor-mutation.js +2 -2
- package/dist-server/service/supervisor/supervisor-mutation.js.map +1 -1
- package/dist-server/service/supervisor/supervisor-query.js +2 -2
- package/dist-server/service/supervisor/supervisor-query.js.map +1 -1
- package/dist-server/service/supervisor/supervisor-type.js +6 -6
- package/dist-server/service/supervisor/supervisor-type.js.map +1 -1
- package/dist-server/service/supervisor/supervisor.js +3 -3
- package/dist-server/service/supervisor/supervisor.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -13
- package/things-factory.config.js +3 -1
- package/dist-server/service/building-inspection/event-subscriber.d.ts +0 -7
- package/dist-server/service/building-inspection/event-subscriber.js +0 -21
- package/dist-server/service/building-inspection/event-subscriber.js.map +0 -1
- package/dist-server/service/checklist/event-subscriber.d.ts +0 -7
- package/dist-server/service/checklist/event-subscriber.js +0 -21
- package/dist-server/service/checklist/event-subscriber.js.map +0 -1
- package/dist-server/service/checklist-item-comment/event-subscriber.d.ts +0 -7
- package/dist-server/service/checklist-item-comment/event-subscriber.js +0 -21
- package/dist-server/service/checklist-item-comment/event-subscriber.js.map +0 -1
|
@@ -1,40 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BuildingInspectionList = exports.BuildingInspectionSummary = exports.BuildingInspectionsOfBuildingLevel = exports.BuildingInspectionsOfProject = exports.UpdateBuildingInspectionDrawingMarker = exports.UpdateBuildingInspectionSubmitType = exports.NewBuildingInspection = void 0;
|
|
3
|
+
exports.ProjectManagerOutput = exports.BuildingInspectionList = exports.BuildingInspectionSummary = exports.BuildingInspectionsOfBuildingLevel = exports.BuildingInspectionsOfProject = exports.UpdateBuildingInspectionDrawingMarker = exports.UpdateBuildingInspectionSubmitType = exports.ChecklistItemSubmitInputType = exports.ChecklistSubmitInputType = exports.NewBuildingInspection = exports.ChecklistItemInputType = exports.ChecklistInputType = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const type_graphql_1 = require("type-graphql");
|
|
6
6
|
const building_inspection_1 = require("./building-inspection");
|
|
7
7
|
let ChecklistInputType = class ChecklistInputType {
|
|
8
8
|
};
|
|
9
|
+
exports.ChecklistInputType = ChecklistInputType;
|
|
9
10
|
tslib_1.__decorate([
|
|
10
11
|
(0, type_graphql_1.Field)({ nullable: false }),
|
|
11
12
|
tslib_1.__metadata("design:type", String)
|
|
12
13
|
], ChecklistInputType.prototype, "name", void 0);
|
|
13
14
|
tslib_1.__decorate([
|
|
14
|
-
(0, type_graphql_1.Field)({ nullable:
|
|
15
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
15
16
|
tslib_1.__metadata("design:type", String)
|
|
16
17
|
], ChecklistInputType.prototype, "constructionType", void 0);
|
|
17
18
|
tslib_1.__decorate([
|
|
18
|
-
(0, type_graphql_1.Field)({ nullable:
|
|
19
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
19
20
|
tslib_1.__metadata("design:type", String)
|
|
20
21
|
], ChecklistInputType.prototype, "constructionDetailType", void 0);
|
|
21
22
|
tslib_1.__decorate([
|
|
22
|
-
(0, type_graphql_1.Field)({ nullable:
|
|
23
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
23
24
|
tslib_1.__metadata("design:type", String)
|
|
24
25
|
], ChecklistInputType.prototype, "location", void 0);
|
|
25
26
|
tslib_1.__decorate([
|
|
26
|
-
(0, type_graphql_1.Field)({ nullable:
|
|
27
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
27
28
|
tslib_1.__metadata("design:type", String)
|
|
28
29
|
], ChecklistInputType.prototype, "inspectionDrawingType", void 0);
|
|
29
30
|
tslib_1.__decorate([
|
|
30
|
-
(0, type_graphql_1.Field)(type => [String], { nullable:
|
|
31
|
+
(0, type_graphql_1.Field)(type => [String], { nullable: true }),
|
|
31
32
|
tslib_1.__metadata("design:type", Array)
|
|
32
33
|
], ChecklistInputType.prototype, "inspectionParts", void 0);
|
|
33
|
-
ChecklistInputType = tslib_1.__decorate([
|
|
34
|
+
exports.ChecklistInputType = ChecklistInputType = tslib_1.__decorate([
|
|
34
35
|
(0, type_graphql_1.InputType)()
|
|
35
36
|
], ChecklistInputType);
|
|
36
37
|
let ChecklistItemInputType = class ChecklistItemInputType {
|
|
37
38
|
};
|
|
39
|
+
exports.ChecklistItemInputType = ChecklistItemInputType;
|
|
38
40
|
tslib_1.__decorate([
|
|
39
41
|
(0, type_graphql_1.Field)({ nullable: false }),
|
|
40
42
|
tslib_1.__metadata("design:type", String)
|
|
@@ -51,13 +53,14 @@ tslib_1.__decorate([
|
|
|
51
53
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
52
54
|
tslib_1.__metadata("design:type", String)
|
|
53
55
|
], ChecklistItemInputType.prototype, "inspctionCriteria", void 0);
|
|
54
|
-
ChecklistItemInputType = tslib_1.__decorate([
|
|
56
|
+
exports.ChecklistItemInputType = ChecklistItemInputType = tslib_1.__decorate([
|
|
55
57
|
(0, type_graphql_1.InputType)()
|
|
56
58
|
], ChecklistItemInputType);
|
|
57
59
|
let NewBuildingInspection = class NewBuildingInspection {
|
|
58
60
|
};
|
|
61
|
+
exports.NewBuildingInspection = NewBuildingInspection;
|
|
59
62
|
tslib_1.__decorate([
|
|
60
|
-
(0, type_graphql_1.Field)({ nullable:
|
|
63
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
61
64
|
tslib_1.__metadata("design:type", String)
|
|
62
65
|
], NewBuildingInspection.prototype, "buildingLevelId", void 0);
|
|
63
66
|
tslib_1.__decorate([
|
|
@@ -68,12 +71,24 @@ tslib_1.__decorate([
|
|
|
68
71
|
(0, type_graphql_1.Field)(type => [ChecklistItemInputType], { nullable: false }),
|
|
69
72
|
tslib_1.__metadata("design:type", Array)
|
|
70
73
|
], NewBuildingInspection.prototype, "checklistItem", void 0);
|
|
71
|
-
|
|
74
|
+
tslib_1.__decorate([
|
|
75
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
76
|
+
tslib_1.__metadata("design:type", Number)
|
|
77
|
+
], NewBuildingInspection.prototype, "cellX", void 0);
|
|
78
|
+
tslib_1.__decorate([
|
|
79
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
80
|
+
tslib_1.__metadata("design:type", Number)
|
|
81
|
+
], NewBuildingInspection.prototype, "cellY", void 0);
|
|
82
|
+
tslib_1.__decorate([
|
|
83
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
84
|
+
tslib_1.__metadata("design:type", String)
|
|
85
|
+
], NewBuildingInspection.prototype, "managerId", void 0);
|
|
86
|
+
exports.NewBuildingInspection = NewBuildingInspection = tslib_1.__decorate([
|
|
72
87
|
(0, type_graphql_1.InputType)()
|
|
73
88
|
], NewBuildingInspection);
|
|
74
|
-
exports.NewBuildingInspection = NewBuildingInspection;
|
|
75
89
|
let ChecklistSubmitInputType = class ChecklistSubmitInputType {
|
|
76
90
|
};
|
|
91
|
+
exports.ChecklistSubmitInputType = ChecklistSubmitInputType;
|
|
77
92
|
tslib_1.__decorate([
|
|
78
93
|
(0, type_graphql_1.Field)({ nullable: false }),
|
|
79
94
|
tslib_1.__metadata("design:type", String)
|
|
@@ -94,11 +109,12 @@ tslib_1.__decorate([
|
|
|
94
109
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
95
110
|
tslib_1.__metadata("design:type", String)
|
|
96
111
|
], ChecklistSubmitInputType.prototype, "taskSupervisorySignature", void 0);
|
|
97
|
-
ChecklistSubmitInputType = tslib_1.__decorate([
|
|
112
|
+
exports.ChecklistSubmitInputType = ChecklistSubmitInputType = tslib_1.__decorate([
|
|
98
113
|
(0, type_graphql_1.InputType)()
|
|
99
114
|
], ChecklistSubmitInputType);
|
|
100
115
|
let ChecklistItemSubmitInputType = class ChecklistItemSubmitInputType {
|
|
101
116
|
};
|
|
117
|
+
exports.ChecklistItemSubmitInputType = ChecklistItemSubmitInputType;
|
|
102
118
|
tslib_1.__decorate([
|
|
103
119
|
(0, type_graphql_1.Field)({ nullable: false }),
|
|
104
120
|
tslib_1.__metadata("design:type", String)
|
|
@@ -111,11 +127,12 @@ tslib_1.__decorate([
|
|
|
111
127
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
112
128
|
tslib_1.__metadata("design:type", String)
|
|
113
129
|
], ChecklistItemSubmitInputType.prototype, "supervisoryConfirmStatus", void 0);
|
|
114
|
-
ChecklistItemSubmitInputType = tslib_1.__decorate([
|
|
130
|
+
exports.ChecklistItemSubmitInputType = ChecklistItemSubmitInputType = tslib_1.__decorate([
|
|
115
131
|
(0, type_graphql_1.InputType)()
|
|
116
132
|
], ChecklistItemSubmitInputType);
|
|
117
133
|
let UpdateBuildingInspectionSubmitType = class UpdateBuildingInspectionSubmitType {
|
|
118
134
|
};
|
|
135
|
+
exports.UpdateBuildingInspectionSubmitType = UpdateBuildingInspectionSubmitType;
|
|
119
136
|
tslib_1.__decorate([
|
|
120
137
|
(0, type_graphql_1.Field)({ nullable: false }),
|
|
121
138
|
tslib_1.__metadata("design:type", String)
|
|
@@ -128,12 +145,12 @@ tslib_1.__decorate([
|
|
|
128
145
|
(0, type_graphql_1.Field)(type => [ChecklistItemSubmitInputType], { nullable: false }),
|
|
129
146
|
tslib_1.__metadata("design:type", Array)
|
|
130
147
|
], UpdateBuildingInspectionSubmitType.prototype, "checklistItem", void 0);
|
|
131
|
-
UpdateBuildingInspectionSubmitType = tslib_1.__decorate([
|
|
148
|
+
exports.UpdateBuildingInspectionSubmitType = UpdateBuildingInspectionSubmitType = tslib_1.__decorate([
|
|
132
149
|
(0, type_graphql_1.InputType)()
|
|
133
150
|
], UpdateBuildingInspectionSubmitType);
|
|
134
|
-
exports.UpdateBuildingInspectionSubmitType = UpdateBuildingInspectionSubmitType;
|
|
135
151
|
let UpdateBuildingInspectionDrawingMarker = class UpdateBuildingInspectionDrawingMarker {
|
|
136
152
|
};
|
|
153
|
+
exports.UpdateBuildingInspectionDrawingMarker = UpdateBuildingInspectionDrawingMarker;
|
|
137
154
|
tslib_1.__decorate([
|
|
138
155
|
(0, type_graphql_1.Field)({ nullable: false }),
|
|
139
156
|
tslib_1.__metadata("design:type", String)
|
|
@@ -142,12 +159,12 @@ tslib_1.__decorate([
|
|
|
142
159
|
(0, type_graphql_1.Field)(type => String, { nullable: true }),
|
|
143
160
|
tslib_1.__metadata("design:type", String)
|
|
144
161
|
], UpdateBuildingInspectionDrawingMarker.prototype, "drawingMarker", void 0);
|
|
145
|
-
UpdateBuildingInspectionDrawingMarker = tslib_1.__decorate([
|
|
162
|
+
exports.UpdateBuildingInspectionDrawingMarker = UpdateBuildingInspectionDrawingMarker = tslib_1.__decorate([
|
|
146
163
|
(0, type_graphql_1.InputType)()
|
|
147
164
|
], UpdateBuildingInspectionDrawingMarker);
|
|
148
|
-
exports.UpdateBuildingInspectionDrawingMarker = UpdateBuildingInspectionDrawingMarker;
|
|
149
165
|
let BuildingInspectionsOfProject = class BuildingInspectionsOfProject {
|
|
150
166
|
};
|
|
167
|
+
exports.BuildingInspectionsOfProject = BuildingInspectionsOfProject;
|
|
151
168
|
tslib_1.__decorate([
|
|
152
169
|
(0, type_graphql_1.Field)({ nullable: false }),
|
|
153
170
|
tslib_1.__metadata("design:type", String)
|
|
@@ -156,12 +173,12 @@ tslib_1.__decorate([
|
|
|
156
173
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
157
174
|
tslib_1.__metadata("design:type", Number)
|
|
158
175
|
], BuildingInspectionsOfProject.prototype, "limit", void 0);
|
|
159
|
-
BuildingInspectionsOfProject = tslib_1.__decorate([
|
|
176
|
+
exports.BuildingInspectionsOfProject = BuildingInspectionsOfProject = tslib_1.__decorate([
|
|
160
177
|
(0, type_graphql_1.InputType)()
|
|
161
178
|
], BuildingInspectionsOfProject);
|
|
162
|
-
exports.BuildingInspectionsOfProject = BuildingInspectionsOfProject;
|
|
163
179
|
let BuildingInspectionsOfBuildingLevel = class BuildingInspectionsOfBuildingLevel {
|
|
164
180
|
};
|
|
181
|
+
exports.BuildingInspectionsOfBuildingLevel = BuildingInspectionsOfBuildingLevel;
|
|
165
182
|
tslib_1.__decorate([
|
|
166
183
|
(0, type_graphql_1.Field)({ nullable: false }),
|
|
167
184
|
tslib_1.__metadata("design:type", String)
|
|
@@ -170,12 +187,12 @@ tslib_1.__decorate([
|
|
|
170
187
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
171
188
|
tslib_1.__metadata("design:type", Number)
|
|
172
189
|
], BuildingInspectionsOfBuildingLevel.prototype, "limit", void 0);
|
|
173
|
-
BuildingInspectionsOfBuildingLevel = tslib_1.__decorate([
|
|
190
|
+
exports.BuildingInspectionsOfBuildingLevel = BuildingInspectionsOfBuildingLevel = tslib_1.__decorate([
|
|
174
191
|
(0, type_graphql_1.InputType)()
|
|
175
192
|
], BuildingInspectionsOfBuildingLevel);
|
|
176
|
-
exports.BuildingInspectionsOfBuildingLevel = BuildingInspectionsOfBuildingLevel;
|
|
177
193
|
let BuildingInspectionSummary = class BuildingInspectionSummary {
|
|
178
194
|
};
|
|
195
|
+
exports.BuildingInspectionSummary = BuildingInspectionSummary;
|
|
179
196
|
tslib_1.__decorate([
|
|
180
197
|
(0, type_graphql_1.Field)(type => String, { nullable: true, description: '요청일자' }),
|
|
181
198
|
tslib_1.__metadata("design:type", String)
|
|
@@ -196,12 +213,12 @@ tslib_1.__decorate([
|
|
|
196
213
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { description: '검측 실패 수' }),
|
|
197
214
|
tslib_1.__metadata("design:type", Number)
|
|
198
215
|
], BuildingInspectionSummary.prototype, "fail", void 0);
|
|
199
|
-
BuildingInspectionSummary = tslib_1.__decorate([
|
|
216
|
+
exports.BuildingInspectionSummary = BuildingInspectionSummary = tslib_1.__decorate([
|
|
200
217
|
(0, type_graphql_1.ObjectType)()
|
|
201
218
|
], BuildingInspectionSummary);
|
|
202
|
-
exports.BuildingInspectionSummary = BuildingInspectionSummary;
|
|
203
219
|
let BuildingInspectionList = class BuildingInspectionList {
|
|
204
220
|
};
|
|
221
|
+
exports.BuildingInspectionList = BuildingInspectionList;
|
|
205
222
|
tslib_1.__decorate([
|
|
206
223
|
(0, type_graphql_1.Field)(type => [building_inspection_1.BuildingInspection]),
|
|
207
224
|
tslib_1.__metadata("design:type", Array)
|
|
@@ -210,8 +227,37 @@ tslib_1.__decorate([
|
|
|
210
227
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int),
|
|
211
228
|
tslib_1.__metadata("design:type", Number)
|
|
212
229
|
], BuildingInspectionList.prototype, "total", void 0);
|
|
213
|
-
BuildingInspectionList = tslib_1.__decorate([
|
|
230
|
+
exports.BuildingInspectionList = BuildingInspectionList = tslib_1.__decorate([
|
|
214
231
|
(0, type_graphql_1.ObjectType)()
|
|
215
232
|
], BuildingInspectionList);
|
|
216
|
-
|
|
233
|
+
let ProjectManagerOutput = class ProjectManagerOutput {
|
|
234
|
+
};
|
|
235
|
+
exports.ProjectManagerOutput = ProjectManagerOutput;
|
|
236
|
+
tslib_1.__decorate([
|
|
237
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
|
|
238
|
+
tslib_1.__metadata("design:type", String)
|
|
239
|
+
], ProjectManagerOutput.prototype, "id", void 0);
|
|
240
|
+
tslib_1.__decorate([
|
|
241
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
242
|
+
tslib_1.__metadata("design:type", String)
|
|
243
|
+
], ProjectManagerOutput.prototype, "phone", void 0);
|
|
244
|
+
tslib_1.__decorate([
|
|
245
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
246
|
+
tslib_1.__metadata("design:type", String)
|
|
247
|
+
], ProjectManagerOutput.prototype, "position", void 0);
|
|
248
|
+
tslib_1.__decorate([
|
|
249
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.ID),
|
|
250
|
+
tslib_1.__metadata("design:type", String)
|
|
251
|
+
], ProjectManagerOutput.prototype, "userId", void 0);
|
|
252
|
+
tslib_1.__decorate([
|
|
253
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
254
|
+
tslib_1.__metadata("design:type", String)
|
|
255
|
+
], ProjectManagerOutput.prototype, "name", void 0);
|
|
256
|
+
tslib_1.__decorate([
|
|
257
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
258
|
+
tslib_1.__metadata("design:type", String)
|
|
259
|
+
], ProjectManagerOutput.prototype, "updatedAt", void 0);
|
|
260
|
+
exports.ProjectManagerOutput = ProjectManagerOutput = tslib_1.__decorate([
|
|
261
|
+
(0, type_graphql_1.ObjectType)()
|
|
262
|
+
], ProjectManagerOutput);
|
|
217
263
|
//# sourceMappingURL=building-inspection-type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"building-inspection-type.js","sourceRoot":"","sources":["../../../server/service/building-inspection/building-inspection-type.ts"],"names":[],"mappings":";;;;AAAA,+
|
|
1
|
+
{"version":3,"file":"building-inspection-type.js","sourceRoot":"","sources":["../../../server/service/building-inspection/building-inspection-type.ts"],"names":[],"mappings":";;;;AAAA,+CAAoE;AACpE,+DAA0D;AAGnD,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAkB9B,CAAA;AAlBY,gDAAkB;AAE7B;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gDACf;AAGZ;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACD;AAGzB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kEACK;AAG/B;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACT;AAGjB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iEACI;AAG9B;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DAClB;6BAjBf,kBAAkB;IAD9B,IAAA,wBAAS,GAAE;GACC,kBAAkB,CAkB9B;AAGM,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAYlC,CAAA;AAZY,wDAAsB;AAEjC;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oDACf;AAGZ;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;wDACX;AAGhB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC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,CAAC;;uDACnC;oCAdD,yBAAyB;IADrC,IAAA,yBAAU,GAAE;GACA,yBAAyB,CAerC;AAGM,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAMlC,CAAA;AANY,wDAAsB;AAEjC;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,wCAAkB,CAAC,CAAC;;qDACT;AAG3B;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,CAAC;;qDACN;iCALF,sBAAsB;IADlC,IAAA,yBAAU,GAAE;GACA,sBAAsB,CAMlC;AAGM,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CAkBhC,CAAA;AAlBY,oDAAoB;AAE/B;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDAC3B;AAGX;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACZ;AAGd;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACT;AAGjB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;oDACH;AAGf;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACb;AAGb;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACR;+BAjBP,oBAAoB;IADhC,IAAA,yBAAU,GAAE;GACA,oBAAoB,CAkBhC","sourcesContent":["import { ObjectType, Field, InputType, Int, ID } from 'type-graphql'\nimport { BuildingInspection } from './building-inspection'\n\n@InputType()\nexport class ChecklistInputType {\n @Field({ nullable: false })\n name: string\n\n @Field({ nullable: true })\n constructionType?: string\n\n @Field({ nullable: true })\n constructionDetailType?: string\n\n @Field({ nullable: true })\n location?: string\n\n @Field({ nullable: true })\n inspectionDrawingType?: string\n\n @Field(type => [String], { nullable: true })\n inspectionParts?: string[]\n}\n\n@InputType()\nexport class ChecklistItemInputType {\n @Field({ nullable: false })\n name: string\n\n @Field({ nullable: false })\n mainType: string\n\n @Field({ nullable: false })\n detailType: string\n\n @Field({ nullable: true })\n inspctionCriteria: string\n}\n\n@InputType()\nexport class NewBuildingInspection {\n @Field({ nullable: true })\n buildingLevelId?: string\n\n @Field(type => ChecklistInputType, { nullable: false })\n checklist: ChecklistInputType\n\n @Field(type => [ChecklistItemInputType], { nullable: false })\n checklistItem: ChecklistItemInputType[]\n\n @Field({ nullable: true })\n cellX?: number\n\n @Field({ nullable: true })\n cellY?: number\n\n @Field({ nullable: true })\n managerId?: string\n}\n\n@InputType()\nexport class ChecklistSubmitInputType {\n @Field({ nullable: false })\n id: string\n\n @Field({ nullable: true })\n overallConstructorSignature?: string\n\n @Field({ nullable: true })\n taskConstructorSignature?: string\n\n @Field({ nullable: true })\n overallSupervisorySignature?: string\n\n @Field({ nullable: true })\n taskSupervisorySignature?: string\n}\n\n@InputType()\nexport class ChecklistItemSubmitInputType {\n @Field({ nullable: false })\n id: string\n\n @Field({ nullable: true })\n constructionConfirmStatus?: string\n\n @Field({ nullable: true })\n supervisoryConfirmStatus?: string\n}\n\n@InputType()\nexport class UpdateBuildingInspectionSubmitType {\n @Field({ nullable: false })\n id: string\n\n @Field(type => ChecklistSubmitInputType, { nullable: false })\n checklist: ChecklistSubmitInputType\n\n @Field(type => [ChecklistItemSubmitInputType], { nullable: false })\n checklistItem: ChecklistItemSubmitInputType[]\n}\n@InputType()\nexport class UpdateBuildingInspectionDrawingMarker {\n @Field({ nullable: false })\n id: string\n\n @Field(type => String, { nullable: true })\n drawingMarker?: string\n}\n\n@InputType()\nexport class BuildingInspectionsOfProject {\n @Field({ nullable: false })\n projectId: string\n\n @Field({ nullable: true })\n limit: number\n}\n\n@InputType()\nexport class BuildingInspectionsOfBuildingLevel {\n @Field({ nullable: false })\n buildingLevelId: string\n\n @Field({ nullable: true })\n limit: number\n}\n\n@ObjectType()\nexport class BuildingInspectionSummary {\n @Field(type => String, { nullable: true, description: '요청일자' })\n requestDate?: string\n\n @Field(type => Int, { description: '검측 대기 수' })\n wait: number\n\n @Field(type => Int, { description: '검측 요청 수' })\n request: number\n\n @Field(type => Int, { description: '검측 통과 수' })\n pass: number\n\n @Field(type => Int, { description: '검측 실패 수' })\n fail: number\n}\n\n@ObjectType()\nexport class BuildingInspectionList {\n @Field(type => [BuildingInspection])\n items: BuildingInspection[]\n\n @Field(type => Int)\n total: number\n}\n\n@ObjectType()\nexport class ProjectManagerOutput {\n @Field(type => ID, { nullable: true })\n id?: string\n\n @Field({ nullable: true })\n phone?: string\n\n @Field({ nullable: true })\n position?: string\n\n @Field(type => ID)\n userId?: string\n\n @Field({ nullable: true })\n name?: string\n\n @Field({ nullable: true })\n updatedAt?: string\n}\n"]}
|
|
@@ -9,15 +9,24 @@ export declare enum BuildingInspectionStatus {
|
|
|
9
9
|
PASS = "PASS",
|
|
10
10
|
FAIL = "FAIL"
|
|
11
11
|
}
|
|
12
|
+
export declare enum ProjectType {
|
|
13
|
+
DSSP = "DSSP",
|
|
14
|
+
DCSP = "DCSP"
|
|
15
|
+
}
|
|
12
16
|
export declare class BuildingInspection {
|
|
13
17
|
readonly id: string;
|
|
18
|
+
projectType?: ProjectType;
|
|
14
19
|
status?: BuildingInspectionStatus;
|
|
15
20
|
requestDate?: string;
|
|
16
21
|
drawingMarker?: string;
|
|
22
|
+
cellX?: number;
|
|
23
|
+
cellY?: number;
|
|
17
24
|
buildingLevel?: BuildingLevel;
|
|
18
25
|
buildingLevelId?: string;
|
|
19
26
|
checklist?: Checklist;
|
|
20
27
|
checklistId?: string;
|
|
28
|
+
manager?: User;
|
|
29
|
+
managerId?: string;
|
|
21
30
|
createdAt?: Date;
|
|
22
31
|
updatedAt?: Date;
|
|
23
32
|
deletedAt?: Date;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BuildingInspection = exports.BuildingInspectionStatus = void 0;
|
|
3
|
+
exports.BuildingInspection = exports.ProjectType = exports.BuildingInspectionStatus = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const typeorm_1 = require("typeorm");
|
|
6
6
|
const type_graphql_1 = require("type-graphql");
|
|
7
7
|
const auth_base_1 = require("@things-factory/auth-base");
|
|
8
8
|
const building_complex_1 = require("@dssp/building-complex");
|
|
9
9
|
const checklist_1 = require("../checklist/checklist");
|
|
10
|
+
const building_inspection_type_1 = require("./building-inspection-type");
|
|
10
11
|
var BuildingInspectionStatus;
|
|
11
12
|
(function (BuildingInspectionStatus) {
|
|
12
13
|
BuildingInspectionStatus["WAIT"] = "WAIT";
|
|
@@ -15,18 +16,33 @@ var BuildingInspectionStatus;
|
|
|
15
16
|
BuildingInspectionStatus["OVERALL_REQUEST"] = "OVERALL_REQUEST";
|
|
16
17
|
BuildingInspectionStatus["PASS"] = "PASS";
|
|
17
18
|
BuildingInspectionStatus["FAIL"] = "FAIL";
|
|
18
|
-
})(BuildingInspectionStatus
|
|
19
|
+
})(BuildingInspectionStatus || (exports.BuildingInspectionStatus = BuildingInspectionStatus = {}));
|
|
20
|
+
var ProjectType;
|
|
21
|
+
(function (ProjectType) {
|
|
22
|
+
ProjectType["DSSP"] = "DSSP";
|
|
23
|
+
ProjectType["DCSP"] = "DCSP";
|
|
24
|
+
})(ProjectType || (exports.ProjectType = ProjectType = {}));
|
|
19
25
|
(0, type_graphql_1.registerEnumType)(BuildingInspectionStatus, {
|
|
20
26
|
name: 'BuildingInspectionStatus',
|
|
21
27
|
description: '검측 상태'
|
|
22
28
|
});
|
|
29
|
+
(0, type_graphql_1.registerEnumType)(ProjectType, {
|
|
30
|
+
name: 'ProjectType',
|
|
31
|
+
description: '프로젝트 타입'
|
|
32
|
+
});
|
|
23
33
|
let BuildingInspection = class BuildingInspection {
|
|
24
34
|
};
|
|
35
|
+
exports.BuildingInspection = BuildingInspection;
|
|
25
36
|
tslib_1.__decorate([
|
|
26
37
|
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
27
38
|
(0, type_graphql_1.Field)(type => type_graphql_1.ID),
|
|
28
39
|
tslib_1.__metadata("design:type", String)
|
|
29
40
|
], BuildingInspection.prototype, "id", void 0);
|
|
41
|
+
tslib_1.__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ nullable: false, comment: '프로젝트 타입', default: ProjectType.DSSP }),
|
|
43
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
44
|
+
tslib_1.__metadata("design:type", String)
|
|
45
|
+
], BuildingInspection.prototype, "projectType", void 0);
|
|
30
46
|
tslib_1.__decorate([
|
|
31
47
|
(0, typeorm_1.Column)({
|
|
32
48
|
nullable: false,
|
|
@@ -46,6 +62,16 @@ tslib_1.__decorate([
|
|
|
46
62
|
(0, type_graphql_1.Field)(type => String, { nullable: true }),
|
|
47
63
|
tslib_1.__metadata("design:type", String)
|
|
48
64
|
], BuildingInspection.prototype, "drawingMarker", void 0);
|
|
65
|
+
tslib_1.__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ nullable: true, comment: 'X좌표' }),
|
|
67
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
68
|
+
tslib_1.__metadata("design:type", Number)
|
|
69
|
+
], BuildingInspection.prototype, "cellX", void 0);
|
|
70
|
+
tslib_1.__decorate([
|
|
71
|
+
(0, typeorm_1.Column)({ nullable: true, comment: 'Y좌표' }),
|
|
72
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
73
|
+
tslib_1.__metadata("design:type", Number)
|
|
74
|
+
], BuildingInspection.prototype, "cellY", void 0);
|
|
49
75
|
tslib_1.__decorate([
|
|
50
76
|
(0, typeorm_1.ManyToOne)(type => building_complex_1.BuildingLevel),
|
|
51
77
|
(0, type_graphql_1.Field)(() => building_complex_1.BuildingLevel, { nullable: true }),
|
|
@@ -65,6 +91,15 @@ tslib_1.__decorate([
|
|
|
65
91
|
(0, typeorm_1.RelationId)((buildingInspection) => buildingInspection.checklist),
|
|
66
92
|
tslib_1.__metadata("design:type", String)
|
|
67
93
|
], BuildingInspection.prototype, "checklistId", void 0);
|
|
94
|
+
tslib_1.__decorate([
|
|
95
|
+
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
|
|
96
|
+
(0, type_graphql_1.Field)(type => building_inspection_type_1.ProjectManagerOutput, { nullable: true }),
|
|
97
|
+
tslib_1.__metadata("design:type", auth_base_1.User)
|
|
98
|
+
], BuildingInspection.prototype, "manager", void 0);
|
|
99
|
+
tslib_1.__decorate([
|
|
100
|
+
(0, typeorm_1.RelationId)((buildingInspection) => buildingInspection.manager),
|
|
101
|
+
tslib_1.__metadata("design:type", String)
|
|
102
|
+
], BuildingInspection.prototype, "managerId", void 0);
|
|
68
103
|
tslib_1.__decorate([
|
|
69
104
|
(0, typeorm_1.CreateDateColumn)(),
|
|
70
105
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
@@ -98,9 +133,13 @@ tslib_1.__decorate([
|
|
|
98
133
|
(0, typeorm_1.RelationId)((buildingInspection) => buildingInspection.updater),
|
|
99
134
|
tslib_1.__metadata("design:type", String)
|
|
100
135
|
], BuildingInspection.prototype, "updaterId", void 0);
|
|
101
|
-
BuildingInspection = tslib_1.__decorate([
|
|
136
|
+
exports.BuildingInspection = BuildingInspection = tslib_1.__decorate([
|
|
102
137
|
(0, typeorm_1.Entity)({ comment: '시공 검측 (층별 도면의 검측 리스트)' }),
|
|
103
|
-
(0, typeorm_1.Index)('ix_building_inspection_0', (buildingInspection) => [
|
|
138
|
+
(0, typeorm_1.Index)('ix_building_inspection_0', (buildingInspection) => [
|
|
139
|
+
buildingInspection.buildingLevel,
|
|
140
|
+
buildingInspection.cellX,
|
|
141
|
+
buildingInspection.cellY
|
|
142
|
+
], {
|
|
104
143
|
where: '"deleted_at" IS NULL'
|
|
105
144
|
}),
|
|
106
145
|
(0, typeorm_1.Index)('ix_building_inspection_1', (buildingInspection) => [buildingInspection.checklist], {
|
|
@@ -111,5 +150,4 @@ BuildingInspection = tslib_1.__decorate([
|
|
|
111
150
|
}),
|
|
112
151
|
(0, type_graphql_1.ObjectType)()
|
|
113
152
|
], BuildingInspection);
|
|
114
|
-
exports.BuildingInspection = BuildingInspection;
|
|
115
153
|
//# sourceMappingURL=building-inspection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"building-inspection.js","sourceRoot":"","sources":["../../../server/service/building-inspection/building-inspection.ts"],"names":[],"mappings":";;;;AAAA,qCAYgB;AAChB,+CAAsE;AACtE,yDAAgD;AAChD,6DAAsD;AACtD,sDAAkD;
|
|
1
|
+
{"version":3,"file":"building-inspection.js","sourceRoot":"","sources":["../../../server/service/building-inspection/building-inspection.ts"],"names":[],"mappings":";;;;AAAA,qCAYgB;AAChB,+CAAsE;AACtE,yDAAgD;AAChD,6DAAsD;AACtD,sDAAkD;AAClD,yEAAiE;AAEjE,IAAY,wBAOX;AAPD,WAAY,wBAAwB;IAClC,yCAAa,CAAA;IACb,yDAA6B,CAAA;IAC7B,+CAAmB,CAAA;IACnB,+DAAmC,CAAA;IACnC,yCAAa,CAAA;IACb,yCAAa,CAAA;AACf,CAAC,EAPW,wBAAwB,wCAAxB,wBAAwB,QAOnC;AACD,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,4BAAa,CAAA;IACb,4BAAa,CAAA;AACf,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,IAAA,+BAAgB,EAAC,wBAAwB,EAAE;IACzC,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE,OAAO;CACrB,CAAC,CAAA;AACF,IAAA,+BAAgB,EAAC,WAAW,EAAE;IAC5B,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,SAAS;CACvB,CAAC,CAAA;AAqBK,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAmF9B,CAAA;AAnFY,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B;KAC9B,CAAC;IACD,IAAA,eAAK,EAAC,0BAA0B,EAAE,CAAC,kBAAsC,EAAE,EAAE,CAAC,CAAC,kBAAkB,CAAC,WAAW,CAAC,EAAE;QAC/G,KAAK,EAAE,sBAAsB;KAC9B,CAAC;IACD,IAAA,yBAAU,GAAE;GACA,kBAAkB,CAmF9B","sourcesContent":["import {\n CreateDateColumn,\n UpdateDateColumn,\n DeleteDateColumn,\n Entity,\n Index,\n Column,\n RelationId,\n ManyToOne,\n OneToOne,\n PrimaryGeneratedColumn,\n JoinColumn\n} from 'typeorm'\nimport { ObjectType, Field, ID, registerEnumType } from 'type-graphql'\nimport { User } from '@things-factory/auth-base'\nimport { BuildingLevel } from '@dssp/building-complex'\nimport { Checklist } from '../checklist/checklist'\nimport { ProjectManagerOutput } from './building-inspection-type'\n\nexport enum BuildingInspectionStatus {\n WAIT = 'WAIT',\n OVERALL_WAIT = 'OVERALL_WAIT',\n REQUEST = 'REQUEST',\n OVERALL_REQUEST = 'OVERALL_REQUEST',\n PASS = 'PASS',\n FAIL = 'FAIL'\n}\nexport enum ProjectType {\n DSSP = 'DSSP',\n DCSP = 'DCSP'\n}\n\nregisterEnumType(BuildingInspectionStatus, {\n name: 'BuildingInspectionStatus',\n description: '검측 상태'\n})\nregisterEnumType(ProjectType, {\n name: 'ProjectType',\n description: '프로젝트 타입'\n})\n\n@Entity({ comment: '시공 검측 (층별 도면의 검측 리스트)' })\n@Index(\n 'ix_building_inspection_0',\n (buildingInspection: BuildingInspection) => [\n buildingInspection.buildingLevel,\n buildingInspection.cellX,\n buildingInspection.cellY\n ],\n {\n where: '\"deleted_at\" IS NULL'\n }\n)\n@Index('ix_building_inspection_1', (buildingInspection: BuildingInspection) => [buildingInspection.checklist], {\n where: '\"deleted_at\" IS NULL'\n})\n@Index('ix_building_inspection_2', (buildingInspection: BuildingInspection) => [buildingInspection.requestDate], {\n where: '\"deleted_at\" IS NULL'\n})\n@ObjectType()\nexport class BuildingInspection {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @Column({ nullable: false, comment: '프로젝트 타입', default: ProjectType.DSSP })\n @Field({ nullable: true })\n projectType?: ProjectType\n\n @Column({\n nullable: false,\n comment:\n '상태(WAIT: 검측 대기, OVERALL_WAIT: 총괄자 검측 대기, REQUEST: 검측 요청, OVERALL_REQUEST: 총괄자 검측 요청, PASS: 합격, FAIL: 불합격)',\n default: BuildingInspectionStatus.WAIT\n })\n @Field({ nullable: true })\n status?: BuildingInspectionStatus\n\n @Column({ type: 'date', default: () => 'CURRENT_DATE', nullable: true, comment: '검측 요청일' })\n @Field(type => String, { nullable: true })\n requestDate?: string\n\n @Column({ type: 'simple-json', nullable: true, comment: '도면 마커' })\n @Field(type => String, { nullable: true })\n drawingMarker?: string\n\n @Column({ nullable: true, comment: 'X좌표' })\n @Field({ nullable: true })\n cellX?: number\n\n @Column({ nullable: true, comment: 'Y좌표' })\n @Field({ nullable: true })\n cellY?: number\n\n // 층 정보 (N:1 상위 테이블 참조)\n @ManyToOne(type => BuildingLevel)\n @Field(() => BuildingLevel, { nullable: true })\n buildingLevel?: BuildingLevel\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.buildingLevel)\n buildingLevelId?: string\n\n // 체크리스트 (1:1 상위 테이블 참조)\n @OneToOne(type => Checklist)\n @JoinColumn()\n @Field(() => Checklist, { nullable: true })\n checklist?: Checklist\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.checklist)\n checklistId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => ProjectManagerOutput, { nullable: true })\n manager?: User\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.manager)\n managerId?: string\n\n @CreateDateColumn()\n @Field({ nullable: true })\n createdAt?: Date\n\n @UpdateDateColumn()\n @Field({ nullable: true })\n updatedAt?: Date\n\n @DeleteDateColumn()\n @Field({ nullable: true })\n deletedAt?: Date\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n creator?: User\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.creator)\n creatorId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n updater?: User\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.updater)\n updaterId?: string\n}\n"]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { BuildingInspection, BuildingInspectionStatus } from './building-inspection';
|
|
1
|
+
import { BuildingInspection, BuildingInspectionStatus, ProjectType } from './building-inspection';
|
|
2
2
|
import { BuildingInspectionQuery } from './building-inspection-query';
|
|
3
3
|
import { BuildingInspectionMutation } from './building-inspection-mutation';
|
|
4
|
-
import { BuildingInspectionSummary } from './building-inspection-type';
|
|
4
|
+
import { BuildingInspectionSummary, ChecklistInputType, ChecklistItemInputType, ChecklistSubmitInputType, ChecklistItemSubmitInputType } from './building-inspection-type';
|
|
5
5
|
import { BuildingInspectionHistory } from './building-inspection-history';
|
|
6
|
-
import { BuildingInspectionHistoryEntitySubscriber } from './event-subscriber';
|
|
7
6
|
export declare const entities: (typeof BuildingInspection | typeof BuildingInspectionHistory)[];
|
|
8
7
|
export declare const resolvers: (typeof BuildingInspectionQuery | typeof BuildingInspectionMutation)[];
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const types: (typeof BuildingInspectionStatus | typeof BuildingInspectionSummary)[];
|
|
8
|
+
export declare const types: (typeof ChecklistInputType | typeof ChecklistItemInputType | typeof ChecklistSubmitInputType | typeof ChecklistItemSubmitInputType | typeof BuildingInspectionSummary | typeof BuildingInspectionStatus | typeof ProjectType)[];
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.types = exports.
|
|
3
|
+
exports.types = exports.resolvers = exports.entities = void 0;
|
|
4
4
|
const building_inspection_1 = require("./building-inspection");
|
|
5
5
|
const building_inspection_query_1 = require("./building-inspection-query");
|
|
6
6
|
const building_inspection_mutation_1 = require("./building-inspection-mutation");
|
|
7
7
|
const building_inspection_type_1 = require("./building-inspection-type");
|
|
8
8
|
const building_inspection_history_1 = require("./building-inspection-history");
|
|
9
|
-
const event_subscriber_1 = require("./event-subscriber");
|
|
10
9
|
exports.entities = [building_inspection_1.BuildingInspection, building_inspection_history_1.BuildingInspectionHistory];
|
|
11
10
|
exports.resolvers = [building_inspection_query_1.BuildingInspectionQuery, building_inspection_mutation_1.BuildingInspectionMutation];
|
|
12
|
-
exports.
|
|
13
|
-
|
|
11
|
+
exports.types = [
|
|
12
|
+
building_inspection_1.BuildingInspectionStatus,
|
|
13
|
+
building_inspection_type_1.BuildingInspectionSummary,
|
|
14
|
+
building_inspection_1.ProjectType,
|
|
15
|
+
building_inspection_type_1.ChecklistInputType,
|
|
16
|
+
building_inspection_type_1.ChecklistItemInputType,
|
|
17
|
+
building_inspection_type_1.ChecklistSubmitInputType,
|
|
18
|
+
building_inspection_type_1.ChecklistItemSubmitInputType
|
|
19
|
+
];
|
|
14
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/building-inspection/index.ts"],"names":[],"mappings":";;;AAAA,+
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/building-inspection/index.ts"],"names":[],"mappings":";;;AAAA,+DAAiG;AACjG,2EAAqE;AACrE,iFAA2E;AAC3E,yEAMmC;AACnC,+EAAyE;AAE5D,QAAA,QAAQ,GAAG,CAAC,wCAAkB,EAAE,uDAAyB,CAAC,CAAA;AAC1D,QAAA,SAAS,GAAG,CAAC,mDAAuB,EAAE,yDAA0B,CAAC,CAAA;AACjE,QAAA,KAAK,GAAG;IACnB,8CAAwB;IACxB,oDAAyB;IACzB,iCAAW;IACX,6CAAkB;IAClB,iDAAsB;IACtB,mDAAwB;IACxB,uDAA4B;CAC7B,CAAA","sourcesContent":["import { BuildingInspection, BuildingInspectionStatus, ProjectType } from './building-inspection'\nimport { BuildingInspectionQuery } from './building-inspection-query'\nimport { BuildingInspectionMutation } from './building-inspection-mutation'\nimport {\n BuildingInspectionSummary,\n ChecklistInputType,\n ChecklistItemInputType,\n ChecklistSubmitInputType,\n ChecklistItemSubmitInputType\n} from './building-inspection-type'\nimport { BuildingInspectionHistory } from './building-inspection-history'\n\nexport const entities = [BuildingInspection, BuildingInspectionHistory]\nexport const resolvers = [BuildingInspectionQuery, BuildingInspectionMutation]\nexport const types = [\n BuildingInspectionStatus,\n BuildingInspectionSummary,\n ProjectType,\n ChecklistInputType,\n ChecklistItemInputType,\n ChecklistSubmitInputType,\n ChecklistItemSubmitInputType\n]\n"]}
|
|
@@ -16,6 +16,14 @@ export declare class ChecklistHistory implements HistoryEntityInterface<Checklis
|
|
|
16
16
|
taskConstructorSignature?: string;
|
|
17
17
|
overallSupervisorySignature?: string;
|
|
18
18
|
taskSupervisorySignature?: string;
|
|
19
|
+
overallConstructor?: User;
|
|
20
|
+
overallConstructorId?: string;
|
|
21
|
+
taskConstructor?: User;
|
|
22
|
+
taskConstructorId?: string;
|
|
23
|
+
overallSupervisory?: User;
|
|
24
|
+
overallSupervisoryId?: string;
|
|
25
|
+
taskSupervisory?: User;
|
|
26
|
+
taskSupervisoryId?: string;
|
|
19
27
|
createdAt?: Date;
|
|
20
28
|
creator?: User;
|
|
21
29
|
creatorId?: string;
|
|
@@ -11,6 +11,7 @@ const ORMCONFIG = env_1.config.get('ormconfig', {});
|
|
|
11
11
|
const DATABASE_TYPE = ORMCONFIG.type;
|
|
12
12
|
let ChecklistHistory = class ChecklistHistory {
|
|
13
13
|
};
|
|
14
|
+
exports.ChecklistHistory = ChecklistHistory;
|
|
14
15
|
tslib_1.__decorate([
|
|
15
16
|
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
16
17
|
(0, type_graphql_1.Field)(type => type_graphql_1.ID),
|
|
@@ -81,6 +82,42 @@ tslib_1.__decorate([
|
|
|
81
82
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
82
83
|
tslib_1.__metadata("design:type", String)
|
|
83
84
|
], ChecklistHistory.prototype, "taskSupervisorySignature", void 0);
|
|
85
|
+
tslib_1.__decorate([
|
|
86
|
+
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
|
|
87
|
+
(0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true, description: '총괄 시공 책임자' }),
|
|
88
|
+
tslib_1.__metadata("design:type", auth_base_1.User)
|
|
89
|
+
], ChecklistHistory.prototype, "overallConstructor", void 0);
|
|
90
|
+
tslib_1.__decorate([
|
|
91
|
+
(0, typeorm_1.RelationId)((checklistHistory) => checklistHistory.overallConstructor),
|
|
92
|
+
tslib_1.__metadata("design:type", String)
|
|
93
|
+
], ChecklistHistory.prototype, "overallConstructorId", void 0);
|
|
94
|
+
tslib_1.__decorate([
|
|
95
|
+
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
|
|
96
|
+
(0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true, description: '공종별 시공 관리자' }),
|
|
97
|
+
tslib_1.__metadata("design:type", auth_base_1.User)
|
|
98
|
+
], ChecklistHistory.prototype, "taskConstructor", void 0);
|
|
99
|
+
tslib_1.__decorate([
|
|
100
|
+
(0, typeorm_1.RelationId)((checklistHistory) => checklistHistory.taskConstructor),
|
|
101
|
+
tslib_1.__metadata("design:type", String)
|
|
102
|
+
], ChecklistHistory.prototype, "taskConstructorId", void 0);
|
|
103
|
+
tslib_1.__decorate([
|
|
104
|
+
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
|
|
105
|
+
(0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true, description: '총괄 감리 책임자' }),
|
|
106
|
+
tslib_1.__metadata("design:type", auth_base_1.User)
|
|
107
|
+
], ChecklistHistory.prototype, "overallSupervisory", void 0);
|
|
108
|
+
tslib_1.__decorate([
|
|
109
|
+
(0, typeorm_1.RelationId)((checklistHistory) => checklistHistory.overallSupervisory),
|
|
110
|
+
tslib_1.__metadata("design:type", String)
|
|
111
|
+
], ChecklistHistory.prototype, "overallSupervisoryId", void 0);
|
|
112
|
+
tslib_1.__decorate([
|
|
113
|
+
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
|
|
114
|
+
(0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true, description: '건축사보 (공종별 감리 관리자)' }),
|
|
115
|
+
tslib_1.__metadata("design:type", auth_base_1.User)
|
|
116
|
+
], ChecklistHistory.prototype, "taskSupervisory", void 0);
|
|
117
|
+
tslib_1.__decorate([
|
|
118
|
+
(0, typeorm_1.RelationId)((checklistHistory) => checklistHistory.taskSupervisory),
|
|
119
|
+
tslib_1.__metadata("design:type", String)
|
|
120
|
+
], ChecklistHistory.prototype, "taskSupervisoryId", void 0);
|
|
84
121
|
tslib_1.__decorate([
|
|
85
122
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
86
123
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
@@ -111,10 +148,9 @@ tslib_1.__decorate([
|
|
|
111
148
|
}),
|
|
112
149
|
tslib_1.__metadata("design:type", String)
|
|
113
150
|
], ChecklistHistory.prototype, "action", void 0);
|
|
114
|
-
ChecklistHistory = tslib_1.__decorate([
|
|
151
|
+
exports.ChecklistHistory = ChecklistHistory = tslib_1.__decorate([
|
|
115
152
|
(0, typeorm_1.Entity)(),
|
|
116
153
|
(0, typeorm_1.Index)('ix_checklist_history_0', (checklistHistory) => [checklistHistory.originalId]),
|
|
117
154
|
(0, type_graphql_1.ObjectType)({ description: 'History Entity of Checklist' })
|
|
118
155
|
], ChecklistHistory);
|
|
119
|
-
exports.ChecklistHistory = ChecklistHistory;
|
|
120
156
|
//# sourceMappingURL=checklist-history.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checklist-history.js","sourceRoot":"","sources":["../../../server/service/checklist/checklist-history.ts"],"names":[],"mappings":";;;;AAAA,+CAAoD;AACpD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C;QACnB,QAAQ,EAAE,KAAK;QACf,IAAI,EACF,aAAa,IAAI,UAAU,IAAI,aAAa,IAAI,OAAO,IAAI,aAAa,IAAI,SAAS;YACnF,CAAC,CAAC,MAAM;YACR,CAAC,CAAC,aAAa,IAAI,QAAQ;gBACzB,CAAC,CAAC,UAAU;gBACZ,CAAC,CAAC,UAAU;QAClB,IAAI,EAAE,mCAAiB;KACxB,CAAC;;gDAC+B;2BA7GtB,gBAAgB;IAH5B,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,wBAAwB,EAAE,CAAC,gBAAkC,EAAE,EAAE,CAAC,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;IACtG,IAAA,yBAAU,EAAC,EAAE,WAAW,EAAE,6BAA6B,EAAE,CAAC;GAC9C,gBAAgB,CA8G5B","sourcesContent":["import { Field, ID, ObjectType } from 'type-graphql'\nimport { Column, Entity, Index, ManyToOne, PrimaryGeneratedColumn, RelationId } from 'typeorm'\nimport { HistoryActionColumn, HistoryActionType, HistoryEntityInterface, HistoryOriginalIdColumn } from '@operato/typeorm-history'\nimport { User } from '@things-factory/auth-base'\nimport { config } from '@things-factory/env'\nimport { Checklist } from './checklist'\n\nconst ORMCONFIG = config.get('ormconfig', {})\nconst DATABASE_TYPE = ORMCONFIG.type\n\n@Entity()\n@Index('ix_checklist_history_0', (checklistHistory: ChecklistHistory) => [checklistHistory.originalId])\n@ObjectType({ description: 'History Entity of Checklist' })\nexport class ChecklistHistory implements HistoryEntityInterface<Checklist> {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @Column({ nullable: true, comment: '이름' })\n @Field({ nullable: true })\n name?: string\n\n @Column({ nullable: true, comment: '문서 번호 동(4자리)-층(3자리)-시퀀스(6자리)' })\n @Field({ nullable: true })\n documentNo?: string\n\n @Column({ nullable: false, comment: '공종' })\n @Field({ nullable: true })\n constructionType?: string\n\n @Column({ nullable: false, comment: '세부 공종' })\n @Field({ nullable: true })\n constructionDetailType?: string\n\n @Column({ nullable: false, comment: '위치 (x동 x층)' })\n @Field({ nullable: true })\n location?: string\n\n @Column({ nullable: false, comment: '검측 도면 타입', default: '' })\n @Field({ nullable: true })\n inspectionDrawingType?: string\n\n @Column('simple-array', { nullable: true, comment: '검측 부위' })\n @Field(() => [String], { nullable: true })\n inspectionParts?: string[]\n\n @Column({ nullable: true, comment: '시공자 점검일' })\n @Field({ nullable: true })\n constructionInspectionDate?: Date\n\n @Column({ nullable: true, comment: '감리자 점검일' })\n @Field({ nullable: true })\n supervisorInspectionDate?: Date\n\n @Column({ nullable: true, comment: '총괄 시공 책임자 사인' })\n @Field({ nullable: true })\n overallConstructorSignature?: string\n\n @Column({ nullable: true, comment: '공종별 시공 관리자 사인' })\n @Field({ nullable: true })\n taskConstructorSignature?: string\n\n @Column({ nullable: true, comment: '총괄 감리 책임자 사인' })\n @Field({ nullable: true })\n overallSupervisorySignature?: string\n\n @Column({ nullable: true, comment: '건축사보 (공종별 감리 관리자) 사인' })\n @Field({ nullable: true })\n taskSupervisorySignature?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true, description: '총괄 시공 책임자' })\n overallConstructor?: User\n\n @RelationId((checklistHistory: ChecklistHistory) => checklistHistory.overallConstructor)\n overallConstructorId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true, description: '공종별 시공 관리자' })\n taskConstructor?: User\n\n @RelationId((checklistHistory: ChecklistHistory) => checklistHistory.taskConstructor)\n taskConstructorId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true, description: '총괄 감리 책임자' })\n overallSupervisory?: User\n\n @RelationId((checklistHistory: ChecklistHistory) => checklistHistory.overallSupervisory)\n overallSupervisoryId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true, description: '건축사보 (공종별 감리 관리자)' })\n taskSupervisory?: User\n\n @RelationId((checklistHistory: ChecklistHistory) => checklistHistory.taskSupervisory)\n taskSupervisoryId?: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n createdAt?: Date\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n creator?: User\n\n @RelationId((checklistHistory: ChecklistHistory) => checklistHistory.creator)\n creatorId?: string\n\n @HistoryOriginalIdColumn()\n public originalId!: string\n\n @HistoryActionColumn({\n nullable: false,\n type:\n DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'\n ? 'enum'\n : DATABASE_TYPE == 'oracle'\n ? 'varchar2'\n : 'smallint',\n enum: HistoryActionType\n })\n public action!: HistoryActionType\n}\n"]}
|