@dssp/supervision 1.0.0-alpha.4 → 1.0.0-alpha.41
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 +100 -0
- package/dist-client/graphql/building-inspection.js.map +1 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-checklist.d.ts +9 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js +130 -72
- 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 +1 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js +77 -14
- 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 +18 -2
- package/dist-client/pages/building-inspection/building-inspection-list.js +360 -28
- 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/daily-worklog-popup.d.ts +27 -0
- package/dist-client/pages/building-inspection/component/daily-worklog-popup.js +542 -0
- package/dist-client/pages/building-inspection/component/daily-worklog-popup.js.map +1 -0
- package/dist-client/pages/building-inspection/component/image-preview-popup.d.ts +15 -0
- package/dist-client/pages/building-inspection/component/image-preview-popup.js +351 -0
- package/dist-client/pages/building-inspection/component/image-preview-popup.js.map +1 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.d.ts +20 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.js +432 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.js.map +1 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.d.ts +30 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.js +479 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.js.map +1 -0
- package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.d.ts +27 -0
- package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.js +401 -0
- package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.js.map +1 -0
- package/dist-client/pages/building-inspection/component/inspection-event-provider.d.ts +2 -1
- package/dist-client/pages/building-inspection/component/inspection-event-provider.js +39 -17
- package/dist-client/pages/building-inspection/component/inspection-event-provider.js.map +1 -1
- package/dist-client/pages/building-inspection/inspection-create-popup.js +22 -9
- 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 +60 -0
- package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js +1132 -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 +740 -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/grid-inspection-list-layer.d.ts +19 -0
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.js +205 -0
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.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.d.ts +1 -0
- package/dist-client/pages/checklist/attachment-list-popup.js +250 -67
- package/dist-client/pages/checklist/attachment-list-popup.js.map +1 -1
- package/dist-client/pages/checklist/checklist-view.d.ts +7 -0
- package/dist-client/pages/checklist/checklist-view.js +363 -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 +0 -1
- package/dist-client/pages/checklist/file-preview-popup.js.map +1 -1
- package/dist-client/pages/checklist/inspection-info-popup.d.ts +50 -0
- package/dist-client/pages/checklist/inspection-info-popup.js +684 -0
- package/dist-client/pages/checklist/inspection-info-popup.js.map +1 -0
- package/dist-client/pages/checklist/inspection-tab-popup.d.ts +18 -0
- package/dist-client/pages/checklist/inspection-tab-popup.js +196 -0
- package/dist-client/pages/checklist/inspection-tab-popup.js.map +1 -0
- 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 +2 -2
- package/dist-client/pages/checklist-template/checklist-template-list.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/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-mutation.d.ts +3 -3
- package/dist-server/service/building-inspection/building-inspection-mutation.js +145 -34
- package/dist-server/service/building-inspection/building-inspection-mutation.js.map +1 -1
- package/dist-server/service/building-inspection/building-inspection-query.d.ts +3 -4
- package/dist-server/service/building-inspection/building-inspection-query.js +46 -30
- package/dist-server/service/building-inspection/building-inspection-query.js.map +1 -1
- package/dist-server/service/building-inspection/building-inspection-type.d.ts +28 -9
- package/dist-server/service/building-inspection/building-inspection-type.js +96 -17
- package/dist-server/service/building-inspection/building-inspection-type.js.map +1 -1
- package/dist-server/service/building-inspection/building-inspection.d.ts +13 -0
- package/dist-server/service/building-inspection/building-inspection.js +55 -2
- package/dist-server/service/building-inspection/building-inspection.js.map +1 -1
- package/dist-server/service/building-inspection/index.d.ts +4 -7
- package/dist-server/service/building-inspection/index.js +11 -6
- package/dist-server/service/building-inspection/index.js.map +1 -1
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.d.ts +6 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.js +56 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.js.map +1 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.d.ts +16 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.js +171 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.js.map +1 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.d.ts +23 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.js +90 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.js.map +1 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.d.ts +33 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.js +132 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.js.map +1 -0
- package/dist-server/service/building-inspection-daily-worklog/index.d.ts +5 -0
- package/dist-server/service/building-inspection-daily-worklog/index.js +9 -0
- package/dist-server/service/building-inspection-daily-worklog/index.js.map +1 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-query.d.ts +16 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-query.js +120 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-query.js.map +1 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-type.d.ts +5 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-type.js +21 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-type.js.map +1 -0
- package/dist-server/service/building-inspection-history/building-inspection-history.d.ts +34 -0
- package/dist-server/service/building-inspection-history/building-inspection-history.js +157 -0
- package/dist-server/service/building-inspection-history/building-inspection-history.js.map +1 -0
- package/dist-server/service/{building-inspection → building-inspection-history}/event-subscriber.d.ts +1 -1
- package/dist-server/service/{building-inspection → building-inspection-history}/event-subscriber.js +1 -1
- package/dist-server/service/building-inspection-history/event-subscriber.js.map +1 -0
- package/dist-server/service/building-inspection-history/index.d.ts +6 -0
- package/dist-server/service/building-inspection-history/index.js +10 -0
- package/dist-server/service/building-inspection-history/index.js.map +1 -0
- package/dist-server/service/checklist/checklist-mutation.d.ts +0 -5
- package/dist-server/service/checklist/checklist-mutation.js +1 -67
- package/dist-server/service/checklist/checklist-mutation.js.map +1 -1
- package/dist-server/service/checklist/checklist-query.d.ts +6 -0
- package/dist-server/service/checklist/checklist-query.js +63 -0
- 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 +1 -49
- package/dist-server/service/checklist/checklist-type.js.map +1 -1
- package/dist-server/service/checklist/checklist.d.ts +38 -3
- package/dist-server/service/checklist/checklist.js +131 -15
- package/dist-server/service/checklist/checklist.js.map +1 -1
- package/dist-server/service/checklist/event-subscriber.d.ts +2 -2
- package/dist-server/service/checklist/event-subscriber.js +2 -2
- package/dist-server/service/checklist/event-subscriber.js.map +1 -1
- package/dist-server/service/checklist/index.d.ts +1 -4
- package/dist-server/service/checklist/index.js +2 -5
- package/dist-server/service/checklist/index.js.map +1 -1
- package/dist-server/service/checklist-history/checklist-history-query.d.ts +11 -0
- package/dist-server/service/checklist-history/checklist-history-query.js +77 -0
- package/dist-server/service/checklist-history/checklist-history-query.js.map +1 -0
- package/dist-server/service/checklist-history/checklist-history-type.d.ts +5 -0
- package/dist-server/service/checklist-history/checklist-history-type.js +21 -0
- package/dist-server/service/checklist-history/checklist-history-type.js.map +1 -0
- package/dist-server/service/checklist-history/checklist-history.d.ts +50 -0
- package/dist-server/service/checklist-history/checklist-history.js +239 -0
- package/dist-server/service/checklist-history/checklist-history.js.map +1 -0
- package/dist-server/service/checklist-history/event-subscriber.d.ts +7 -0
- package/dist-server/service/checklist-history/event-subscriber.js +21 -0
- package/dist-server/service/checklist-history/event-subscriber.js.map +1 -0
- package/dist-server/service/checklist-history/index.d.ts +6 -0
- package/dist-server/service/checklist-history/index.js +10 -0
- package/dist-server/service/checklist-history/index.js.map +1 -0
- package/dist-server/service/checklist-item/checklist-item-query.d.ts +1 -1
- package/dist-server/service/checklist-item/checklist-item-query.js +5 -3
- package/dist-server/service/checklist-item/checklist-item-query.js.map +1 -1
- package/dist-server/service/checklist-item/index.d.ts +0 -1
- package/dist-server/service/checklist-item/index.js +1 -2
- package/dist-server/service/checklist-item/index.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 +33 -6
- package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.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-item-history/checklist-item-history-query.d.ts +16 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-query.js +123 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-query.js.map +1 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-type.d.ts +5 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-type.js +21 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-type.js.map +1 -0
- package/dist-server/service/checklist-item-history/checklist-item-history.d.ts +25 -0
- package/dist-server/service/checklist-item-history/checklist-item-history.js +123 -0
- package/dist-server/service/checklist-item-history/checklist-item-history.js.map +1 -0
- package/dist-server/service/checklist-item-history/event-subscriber.d.ts +7 -0
- package/dist-server/service/checklist-item-history/event-subscriber.js +21 -0
- package/dist-server/service/checklist-item-history/event-subscriber.js.map +1 -0
- package/dist-server/service/checklist-item-history/index.d.ts +6 -0
- package/dist-server/service/checklist-item-history/index.js +10 -0
- package/dist-server/service/checklist-item-history/index.js.map +1 -0
- package/dist-server/service/checklist-template-item/checklist-template-item.js +2 -4
- package/dist-server/service/checklist-template-item/checklist-template-item.js.map +1 -1
- package/dist-server/service/index.d.ts +4 -2
- package/dist-server/service/index.js +22 -13
- 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/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.d.ts +0 -2
- package/dist-server/service/project-report/project-report.js +0 -6
- 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/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -13
- package/things-factory.config.js +3 -1
- package/dist-server/service/building-inspection/building-inspection-history.d.ts +0 -17
- package/dist-server/service/building-inspection/building-inspection-history.js +0 -86
- package/dist-server/service/building-inspection/building-inspection-history.js.map +0 -1
- package/dist-server/service/building-inspection/event-subscriber.js.map +0 -1
- package/dist-server/service/checklist/checklist-history.d.ts +0 -24
- package/dist-server/service/checklist/checklist-history.js +0 -120
- package/dist-server/service/checklist/checklist-history.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
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChecklistItemHistoryQuery = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const type_graphql_1 = require("type-graphql");
|
|
6
|
+
const attachment_base_1 = require("@things-factory/attachment-base");
|
|
7
|
+
const shell_1 = require("@things-factory/shell");
|
|
8
|
+
const auth_base_1 = require("@things-factory/auth-base");
|
|
9
|
+
const checklist_item_history_1 = require("./checklist-item-history");
|
|
10
|
+
const checklist_item_history_type_1 = require("./checklist-item-history-type");
|
|
11
|
+
const checklist_item_comment_1 = require("../checklist-item-comment/checklist-item-comment");
|
|
12
|
+
let ChecklistItemHistoryQuery = class ChecklistItemHistoryQuery {
|
|
13
|
+
async checklistItemHistory(id, context) {
|
|
14
|
+
return await (0, shell_1.getRepository)(checklist_item_history_1.ChecklistItemHistory).findOne({
|
|
15
|
+
where: { id }
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
async checklistItemHistories(params, context) {
|
|
19
|
+
const queryBuilder = (0, shell_1.getQueryBuilderFromListParams)({
|
|
20
|
+
params,
|
|
21
|
+
repository: await (0, shell_1.getRepository)(checklist_item_history_1.ChecklistItemHistory),
|
|
22
|
+
searchables: ['name', 'description']
|
|
23
|
+
});
|
|
24
|
+
const [items, total] = await queryBuilder.getManyAndCount();
|
|
25
|
+
return { items, total };
|
|
26
|
+
}
|
|
27
|
+
async checklistItemComments(checklistItemHistory) {
|
|
28
|
+
return await (0, shell_1.getRepository)(checklist_item_comment_1.ChecklistItemComment).findBy({ checklistItem: { id: checklistItemHistory.id } });
|
|
29
|
+
}
|
|
30
|
+
async checklistItemCommentCount(checklistItemHistory) {
|
|
31
|
+
return await (0, shell_1.getRepository)(checklist_item_comment_1.ChecklistItemComment).countBy({ checklistItem: { id: checklistItemHistory.id } });
|
|
32
|
+
}
|
|
33
|
+
async checklistItemAttachments(checklistItemHistory, description) {
|
|
34
|
+
return await (0, shell_1.getRepository)(attachment_base_1.Attachment).find({
|
|
35
|
+
where: {
|
|
36
|
+
refType: checklist_item_history_1.ChecklistItemHistory.name,
|
|
37
|
+
refBy: checklistItemHistory.id,
|
|
38
|
+
description: description // 검측 상태로 받으며 어떤 스탭에 올렸는지로 시공자/감리자 구분
|
|
39
|
+
},
|
|
40
|
+
order: {
|
|
41
|
+
createdAt: 'DESC'
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
async checklistItemAttachmentCount(checklistItemHistory) {
|
|
46
|
+
return await (0, shell_1.getRepository)(attachment_base_1.Attachment).count({
|
|
47
|
+
where: {
|
|
48
|
+
refType: checklist_item_history_1.ChecklistItemHistory.name,
|
|
49
|
+
refBy: checklistItemHistory.id
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
async updater(checklistItemHistory) {
|
|
54
|
+
return await (0, shell_1.getRepository)(auth_base_1.User).findOneBy({ id: checklistItemHistory.updaterId });
|
|
55
|
+
}
|
|
56
|
+
async creator(checklistItemHistory) {
|
|
57
|
+
return await (0, shell_1.getRepository)(auth_base_1.User).findOneBy({ id: checklistItemHistory.creatorId });
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
exports.ChecklistItemHistoryQuery = ChecklistItemHistoryQuery;
|
|
61
|
+
tslib_1.__decorate([
|
|
62
|
+
(0, type_graphql_1.Query)(returns => checklist_item_history_1.ChecklistItemHistory, { nullable: true, description: 'To fetch a ChecklistItemHistory' }),
|
|
63
|
+
tslib_1.__param(0, (0, type_graphql_1.Arg)('id')),
|
|
64
|
+
tslib_1.__param(1, (0, type_graphql_1.Ctx)()),
|
|
65
|
+
tslib_1.__metadata("design:type", Function),
|
|
66
|
+
tslib_1.__metadata("design:paramtypes", [String, Object]),
|
|
67
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
68
|
+
], ChecklistItemHistoryQuery.prototype, "checklistItemHistory", null);
|
|
69
|
+
tslib_1.__decorate([
|
|
70
|
+
(0, type_graphql_1.Query)(returns => checklist_item_history_type_1.ChecklistItemHistoryList, { description: 'To fetch multiple ChecklistItems' }),
|
|
71
|
+
tslib_1.__param(0, (0, type_graphql_1.Args)()),
|
|
72
|
+
tslib_1.__param(1, (0, type_graphql_1.Ctx)()),
|
|
73
|
+
tslib_1.__metadata("design:type", Function),
|
|
74
|
+
tslib_1.__metadata("design:paramtypes", [shell_1.ListParam, Object]),
|
|
75
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
76
|
+
], ChecklistItemHistoryQuery.prototype, "checklistItemHistories", null);
|
|
77
|
+
tslib_1.__decorate([
|
|
78
|
+
(0, type_graphql_1.FieldResolver)(type => [checklist_item_comment_1.ChecklistItemComment]),
|
|
79
|
+
tslib_1.__param(0, (0, type_graphql_1.Root)()),
|
|
80
|
+
tslib_1.__metadata("design:type", Function),
|
|
81
|
+
tslib_1.__metadata("design:paramtypes", [checklist_item_history_1.ChecklistItemHistory]),
|
|
82
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
83
|
+
], ChecklistItemHistoryQuery.prototype, "checklistItemComments", null);
|
|
84
|
+
tslib_1.__decorate([
|
|
85
|
+
(0, type_graphql_1.FieldResolver)(type => Number),
|
|
86
|
+
tslib_1.__param(0, (0, type_graphql_1.Root)()),
|
|
87
|
+
tslib_1.__metadata("design:type", Function),
|
|
88
|
+
tslib_1.__metadata("design:paramtypes", [checklist_item_history_1.ChecklistItemHistory]),
|
|
89
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
90
|
+
], ChecklistItemHistoryQuery.prototype, "checklistItemCommentCount", null);
|
|
91
|
+
tslib_1.__decorate([
|
|
92
|
+
(0, type_graphql_1.FieldResolver)(type => [attachment_base_1.Attachment]),
|
|
93
|
+
tslib_1.__param(0, (0, type_graphql_1.Root)()),
|
|
94
|
+
tslib_1.__param(1, (0, type_graphql_1.Arg)('description', { nullable: true })),
|
|
95
|
+
tslib_1.__metadata("design:type", Function),
|
|
96
|
+
tslib_1.__metadata("design:paramtypes", [checklist_item_history_1.ChecklistItemHistory, String]),
|
|
97
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
98
|
+
], ChecklistItemHistoryQuery.prototype, "checklistItemAttachments", null);
|
|
99
|
+
tslib_1.__decorate([
|
|
100
|
+
(0, type_graphql_1.FieldResolver)(type => Number),
|
|
101
|
+
tslib_1.__param(0, (0, type_graphql_1.Root)()),
|
|
102
|
+
tslib_1.__metadata("design:type", Function),
|
|
103
|
+
tslib_1.__metadata("design:paramtypes", [checklist_item_history_1.ChecklistItemHistory]),
|
|
104
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
105
|
+
], ChecklistItemHistoryQuery.prototype, "checklistItemAttachmentCount", null);
|
|
106
|
+
tslib_1.__decorate([
|
|
107
|
+
(0, type_graphql_1.FieldResolver)(type => auth_base_1.User),
|
|
108
|
+
tslib_1.__param(0, (0, type_graphql_1.Root)()),
|
|
109
|
+
tslib_1.__metadata("design:type", Function),
|
|
110
|
+
tslib_1.__metadata("design:paramtypes", [checklist_item_history_1.ChecklistItemHistory]),
|
|
111
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
112
|
+
], ChecklistItemHistoryQuery.prototype, "updater", null);
|
|
113
|
+
tslib_1.__decorate([
|
|
114
|
+
(0, type_graphql_1.FieldResolver)(type => auth_base_1.User),
|
|
115
|
+
tslib_1.__param(0, (0, type_graphql_1.Root)()),
|
|
116
|
+
tslib_1.__metadata("design:type", Function),
|
|
117
|
+
tslib_1.__metadata("design:paramtypes", [checklist_item_history_1.ChecklistItemHistory]),
|
|
118
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
119
|
+
], ChecklistItemHistoryQuery.prototype, "creator", null);
|
|
120
|
+
exports.ChecklistItemHistoryQuery = ChecklistItemHistoryQuery = tslib_1.__decorate([
|
|
121
|
+
(0, type_graphql_1.Resolver)(checklist_item_history_1.ChecklistItemHistory)
|
|
122
|
+
], ChecklistItemHistoryQuery);
|
|
123
|
+
//# sourceMappingURL=checklist-item-history-query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checklist-item-history-query.js","sourceRoot":"","sources":["../../../server/service/checklist-item-history/checklist-item-history-query.ts"],"names":[],"mappings":";;;;AAAA,+CAAmF;AACnF,qEAA4D;AAC5D,iDAA+F;AAC/F,yDAAgD;AAChD,qEAA+D;AAC/D,+EAAwE;AACxE,6FAAuF;AAGhF,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAE9B,AAAN,KAAK,CAAC,oBAAoB,CAAY,EAAU,EAAS,OAAwB;QAC/E,OAAO,MAAM,IAAA,qBAAa,EAAC,6CAAoB,CAAC,CAAC,OAAO,CAAC;YACvD,KAAK,EAAE,EAAE,EAAE,EAAE;SACd,CAAC,CAAA;IACJ,CAAC;IAGK,AAAN,KAAK,CAAC,sBAAsB,CAAS,MAAiB,EAAS,OAAwB;QACrF,MAAM,YAAY,GAAG,IAAA,qCAA6B,EAAC;YACjD,MAAM;YACN,UAAU,EAAE,MAAM,IAAA,qBAAa,EAAC,6CAAoB,CAAC;YACrD,WAAW,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC;SACrC,CAAC,CAAA;QAEF,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,MAAM,YAAY,CAAC,eAAe,EAAE,CAAA;QAE3D,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,CAAA;IACzB,CAAC;IAGK,AAAN,KAAK,CAAC,qBAAqB,CAAS,oBAA0C;QAC5E,OAAO,MAAM,IAAA,qBAAa,EAAC,6CAAoB,CAAC,CAAC,MAAM,CAAC,EAAE,aAAa,EAAE,EAAE,EAAE,EAAE,oBAAoB,CAAC,EAAE,EAAE,EAAE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BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,CAAC;IACb,mBAAA,IAAA,mBAAI,GAAE,CAAA;;6CAAuB,6CAAoB;;wDAE/D;oCAlEU,yBAAyB;IADrC,IAAA,uBAAQ,EAAC,6CAAoB,CAAC;GAClB,yBAAyB,CAmErC","sourcesContent":["import { Resolver, Query, FieldResolver, Root, Args, Arg, Ctx } from 'type-graphql'\nimport { Attachment } from '@things-factory/attachment-base'\nimport { getQueryBuilderFromListParams, getRepository, ListParam } from '@things-factory/shell'\nimport { User } from '@things-factory/auth-base'\nimport { ChecklistItemHistory } from './checklist-item-history'\nimport { ChecklistItemHistoryList } from './checklist-item-history-type'\nimport { ChecklistItemComment } from '../checklist-item-comment/checklist-item-comment'\n\n@Resolver(ChecklistItemHistory)\nexport class ChecklistItemHistoryQuery {\n @Query(returns => ChecklistItemHistory!, { nullable: true, description: 'To fetch a ChecklistItemHistory' })\n async checklistItemHistory(@Arg('id') id: string, @Ctx() context: ResolverContext): Promise<ChecklistItemHistory> {\n return await getRepository(ChecklistItemHistory).findOne({\n where: { id }\n })\n }\n\n @Query(returns => ChecklistItemHistoryList, { description: 'To fetch multiple ChecklistItems' })\n async checklistItemHistories(@Args() params: ListParam, @Ctx() context: ResolverContext): Promise<ChecklistItemHistoryList> {\n const queryBuilder = getQueryBuilderFromListParams({\n params,\n repository: await getRepository(ChecklistItemHistory),\n searchables: ['name', 'description']\n })\n\n const [items, total] = await queryBuilder.getManyAndCount()\n\n return { items, total }\n }\n\n @FieldResolver(type => [ChecklistItemComment])\n async checklistItemComments(@Root() checklistItemHistory: ChecklistItemHistory): Promise<ChecklistItemComment[]> {\n return await getRepository(ChecklistItemComment).findBy({ checklistItem: { id: checklistItemHistory.id } })\n }\n\n @FieldResolver(type => Number)\n async checklistItemCommentCount(@Root() checklistItemHistory: ChecklistItemHistory): Promise<number> {\n return await getRepository(ChecklistItemComment).countBy({ checklistItem: { id: checklistItemHistory.id } })\n }\n\n @FieldResolver(type => [Attachment])\n async checklistItemAttachments(\n @Root() checklistItemHistory: ChecklistItemHistory,\n @Arg('description', { nullable: true }) description?: string\n ): Promise<Attachment[]> {\n return await getRepository(Attachment).find({\n where: {\n refType: ChecklistItemHistory.name,\n refBy: checklistItemHistory.id,\n description: description // 검측 상태로 받으며 어떤 스탭에 올렸는지로 시공자/감리자 구분\n },\n order: {\n createdAt: 'DESC'\n }\n })\n }\n\n @FieldResolver(type => Number)\n async checklistItemAttachmentCount(@Root() checklistItemHistory: ChecklistItemHistory): Promise<number> {\n return await getRepository(Attachment).count({\n where: {\n refType: ChecklistItemHistory.name,\n refBy: checklistItemHistory.id\n }\n })\n }\n\n @FieldResolver(type => User)\n async updater(@Root() checklistItemHistory: ChecklistItemHistory): Promise<User> {\n return await getRepository(User).findOneBy({ id: checklistItemHistory.updaterId })\n }\n\n @FieldResolver(type => User)\n async creator(@Root() checklistItemHistory: ChecklistItemHistory): Promise<User> {\n return await getRepository(User).findOneBy({ id: checklistItemHistory.creatorId })\n }\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChecklistItemHistoryList = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const type_graphql_1 = require("type-graphql");
|
|
6
|
+
const checklist_item_history_1 = require("./checklist-item-history");
|
|
7
|
+
let ChecklistItemHistoryList = class ChecklistItemHistoryList {
|
|
8
|
+
};
|
|
9
|
+
exports.ChecklistItemHistoryList = ChecklistItemHistoryList;
|
|
10
|
+
tslib_1.__decorate([
|
|
11
|
+
(0, type_graphql_1.Field)(type => [checklist_item_history_1.ChecklistItemHistory]),
|
|
12
|
+
tslib_1.__metadata("design:type", Array)
|
|
13
|
+
], ChecklistItemHistoryList.prototype, "items", void 0);
|
|
14
|
+
tslib_1.__decorate([
|
|
15
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Int),
|
|
16
|
+
tslib_1.__metadata("design:type", Number)
|
|
17
|
+
], ChecklistItemHistoryList.prototype, "total", void 0);
|
|
18
|
+
exports.ChecklistItemHistoryList = ChecklistItemHistoryList = tslib_1.__decorate([
|
|
19
|
+
(0, type_graphql_1.ObjectType)()
|
|
20
|
+
], ChecklistItemHistoryList);
|
|
21
|
+
//# sourceMappingURL=checklist-item-history-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checklist-item-history-type.js","sourceRoot":"","sources":["../../../server/service/checklist-item-history/checklist-item-history-type.ts"],"names":[],"mappings":";;;;AAAA,+CAAqD;AACrD,qEAA+D;AAGxD,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CAMpC,CAAA;AANY,4DAAwB;AAEnC;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,6CAAoB,CAAC,CAAC;;uDACT;AAG7B;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,CAAC;;uDACN;mCALF,wBAAwB;IADpC,IAAA,yBAAU,GAAE;GACA,wBAAwB,CAMpC","sourcesContent":["import { ObjectType, Field, Int } from 'type-graphql'\nimport { ChecklistItemHistory } from './checklist-item-history'\n\n@ObjectType()\nexport class ChecklistItemHistoryList {\n @Field(type => [ChecklistItemHistory])\n items: ChecklistItemHistory[]\n\n @Field(type => Int)\n total: number\n}\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HistoryActionType, HistoryEntityInterface } from '@operato/typeorm-history';
|
|
2
|
+
import { User } from '@things-factory/auth-base';
|
|
3
|
+
import { ChecklistItem, ChecklistItemConfirmStatus } from '../checklist-item/checklist-item';
|
|
4
|
+
import { ChecklistHistory } from '../checklist-history/checklist-history';
|
|
5
|
+
export declare class ChecklistItemHistory implements HistoryEntityInterface<ChecklistItem> {
|
|
6
|
+
readonly id: string;
|
|
7
|
+
originalId: string;
|
|
8
|
+
sequence?: number;
|
|
9
|
+
mainType?: string;
|
|
10
|
+
detailType?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
inspctionCriteria?: string;
|
|
13
|
+
constructionConfirmStatus?: ChecklistItemConfirmStatus;
|
|
14
|
+
supervisoryConfirmStatus?: ChecklistItemConfirmStatus;
|
|
15
|
+
checklistId?: string;
|
|
16
|
+
checklistHistory?: ChecklistHistory;
|
|
17
|
+
checklistHistoryId?: string;
|
|
18
|
+
createdAt?: Date;
|
|
19
|
+
loggedAt?: Date;
|
|
20
|
+
creator?: User;
|
|
21
|
+
creatorId?: string;
|
|
22
|
+
updater?: User;
|
|
23
|
+
updaterId?: string;
|
|
24
|
+
action: HistoryActionType;
|
|
25
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChecklistItemHistory = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const type_graphql_1 = require("type-graphql");
|
|
6
|
+
const typeorm_1 = require("typeorm");
|
|
7
|
+
const typeorm_history_1 = require("@operato/typeorm-history");
|
|
8
|
+
const auth_base_1 = require("@things-factory/auth-base");
|
|
9
|
+
const env_1 = require("@things-factory/env");
|
|
10
|
+
const checklist_item_1 = require("../checklist-item/checklist-item");
|
|
11
|
+
const checklist_history_1 = require("../checklist-history/checklist-history");
|
|
12
|
+
const ORMCONFIG = env_1.config.get('ormconfig', {});
|
|
13
|
+
const DATABASE_TYPE = ORMCONFIG.type;
|
|
14
|
+
let ChecklistItemHistory = class ChecklistItemHistory {
|
|
15
|
+
};
|
|
16
|
+
exports.ChecklistItemHistory = ChecklistItemHistory;
|
|
17
|
+
tslib_1.__decorate([
|
|
18
|
+
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
19
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.ID),
|
|
20
|
+
tslib_1.__metadata("design:type", String)
|
|
21
|
+
], ChecklistItemHistory.prototype, "id", void 0);
|
|
22
|
+
tslib_1.__decorate([
|
|
23
|
+
(0, typeorm_history_1.HistoryOriginalIdColumn)(),
|
|
24
|
+
tslib_1.__metadata("design:type", String)
|
|
25
|
+
], ChecklistItemHistory.prototype, "originalId", void 0);
|
|
26
|
+
tslib_1.__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ nullable: true, comment: '시퀀스' }),
|
|
28
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
29
|
+
tslib_1.__metadata("design:type", Number)
|
|
30
|
+
], ChecklistItemHistory.prototype, "sequence", void 0);
|
|
31
|
+
tslib_1.__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ nullable: false, comment: '구분 (텍스트)' }),
|
|
33
|
+
(0, type_graphql_1.Field)({ nullable: false }),
|
|
34
|
+
tslib_1.__metadata("design:type", String)
|
|
35
|
+
], ChecklistItemHistory.prototype, "mainType", void 0);
|
|
36
|
+
tslib_1.__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ nullable: false, comment: '상세 구분 (텍스트)' }),
|
|
38
|
+
(0, type_graphql_1.Field)({ nullable: false }),
|
|
39
|
+
tslib_1.__metadata("design:type", String)
|
|
40
|
+
], ChecklistItemHistory.prototype, "detailType", void 0);
|
|
41
|
+
tslib_1.__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ nullable: true, comment: '검사 항목' }),
|
|
43
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
44
|
+
tslib_1.__metadata("design:type", String)
|
|
45
|
+
], ChecklistItemHistory.prototype, "name", void 0);
|
|
46
|
+
tslib_1.__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ nullable: true, comment: '검사 기준' }),
|
|
48
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
49
|
+
tslib_1.__metadata("design:type", String)
|
|
50
|
+
], ChecklistItemHistory.prototype, "inspctionCriteria", void 0);
|
|
51
|
+
tslib_1.__decorate([
|
|
52
|
+
(0, typeorm_1.Column)({ nullable: true, comment: '시공 관리자 적합 여부 (T: 적합, F: 부적합)' }),
|
|
53
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
54
|
+
tslib_1.__metadata("design:type", String)
|
|
55
|
+
], ChecklistItemHistory.prototype, "constructionConfirmStatus", void 0);
|
|
56
|
+
tslib_1.__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ nullable: true, comment: '감리 관리자 적합 여부 (T: 적합, F: 부적합)' }),
|
|
58
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
59
|
+
tslib_1.__metadata("design:type", String)
|
|
60
|
+
], ChecklistItemHistory.prototype, "supervisoryConfirmStatus", void 0);
|
|
61
|
+
tslib_1.__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ nullable: true, comment: '체크리스트 ID' }),
|
|
63
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
64
|
+
tslib_1.__metadata("design:type", String)
|
|
65
|
+
], ChecklistItemHistory.prototype, "checklistId", void 0);
|
|
66
|
+
tslib_1.__decorate([
|
|
67
|
+
(0, typeorm_1.ManyToOne)(type => checklist_history_1.ChecklistHistory, { nullable: true }),
|
|
68
|
+
(0, type_graphql_1.Field)(type => checklist_history_1.ChecklistHistory, { nullable: true }),
|
|
69
|
+
tslib_1.__metadata("design:type", checklist_history_1.ChecklistHistory)
|
|
70
|
+
], ChecklistItemHistory.prototype, "checklistHistory", void 0);
|
|
71
|
+
tslib_1.__decorate([
|
|
72
|
+
(0, typeorm_1.RelationId)((checklistItemHistory) => checklistItemHistory.checklistHistory),
|
|
73
|
+
tslib_1.__metadata("design:type", String)
|
|
74
|
+
], ChecklistItemHistory.prototype, "checklistHistoryId", void 0);
|
|
75
|
+
tslib_1.__decorate([
|
|
76
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
77
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
78
|
+
tslib_1.__metadata("design:type", Date)
|
|
79
|
+
], ChecklistItemHistory.prototype, "createdAt", void 0);
|
|
80
|
+
tslib_1.__decorate([
|
|
81
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
82
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
83
|
+
tslib_1.__metadata("design:type", Date)
|
|
84
|
+
], ChecklistItemHistory.prototype, "loggedAt", 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 }),
|
|
88
|
+
tslib_1.__metadata("design:type", auth_base_1.User)
|
|
89
|
+
], ChecklistItemHistory.prototype, "creator", void 0);
|
|
90
|
+
tslib_1.__decorate([
|
|
91
|
+
(0, typeorm_1.RelationId)((checklistItemHistory) => checklistItemHistory.creator),
|
|
92
|
+
tslib_1.__metadata("design:type", String)
|
|
93
|
+
], ChecklistItemHistory.prototype, "creatorId", 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 }),
|
|
97
|
+
tslib_1.__metadata("design:type", auth_base_1.User)
|
|
98
|
+
], ChecklistItemHistory.prototype, "updater", void 0);
|
|
99
|
+
tslib_1.__decorate([
|
|
100
|
+
(0, typeorm_1.RelationId)((checklistItemHistory) => checklistItemHistory.updater),
|
|
101
|
+
tslib_1.__metadata("design:type", String)
|
|
102
|
+
], ChecklistItemHistory.prototype, "updaterId", void 0);
|
|
103
|
+
tslib_1.__decorate([
|
|
104
|
+
(0, typeorm_history_1.HistoryActionColumn)({
|
|
105
|
+
nullable: false,
|
|
106
|
+
type: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
|
|
107
|
+
? 'enum'
|
|
108
|
+
: DATABASE_TYPE == 'oracle'
|
|
109
|
+
? 'varchar2'
|
|
110
|
+
: DATABASE_TYPE == 'mssql'
|
|
111
|
+
? 'nvarchar'
|
|
112
|
+
: 'varchar',
|
|
113
|
+
enum: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb' ? typeorm_history_1.HistoryActionType : undefined,
|
|
114
|
+
length: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb' ? undefined : 10
|
|
115
|
+
}),
|
|
116
|
+
tslib_1.__metadata("design:type", String)
|
|
117
|
+
], ChecklistItemHistory.prototype, "action", void 0);
|
|
118
|
+
exports.ChecklistItemHistory = ChecklistItemHistory = tslib_1.__decorate([
|
|
119
|
+
(0, typeorm_1.Entity)(),
|
|
120
|
+
(0, typeorm_1.Index)('ix_checklist_item_history_0', (checklistItemHistory) => [checklistItemHistory.originalId]),
|
|
121
|
+
(0, type_graphql_1.ObjectType)({ description: 'History Entity of ChecklistItem' })
|
|
122
|
+
], ChecklistItemHistory);
|
|
123
|
+
//# sourceMappingURL=checklist-item-history.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checklist-item-history.js","sourceRoot":"","sources":["../../../server/service/checklist-item-history/checklist-item-history.ts"],"names":[],"mappings":";;;;AAAA,+CAAoD;AACpD,qCAAgH;AAChH,8DAAkI;AAClI,yDAAgD;AAChD,6CAA4C;AAC5C,qEAA4F;AAC5F,8EAAyE;AAEzE,MAAM,SAAS,GAAG,YAAM,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,CAAC,CAAA;AAC7C,MAAM,aAAa,GAAG,SAAS,CAAC,IAAI,CAAA;AAK7B,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CAqFhC,CAAA;AArFY,oDAAoB;AAGtB;IAFR,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;gDACC;AAGZ;IADN,IAAA,yCAAuB,GAAE;;wDACA;AAI1B;IAFC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAA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C,oBAA0C,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC;;uDACvE;AAeX;IAbN,IAAA,qCAAmB,EAAC;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,aAAa,IAAI,OAAO;oBACxB,CAAC,CAAC,UAAU;oBACZ,CAAC,CAAC,SAAS;QACnB,IAAI,EAAE,aAAa,IAAI,UAAU,IAAI,aAAa,IAAI,OAAO,IAAI,aAAa,IAAI,SAAS,CAAC,CAAC,CAAC,mCAAiB,CAAC,CAAC,CAAC,SAAS;QAC3H,MAAM,EAAE,aAAa,IAAI,UAAU,IAAI,aAAa,IAAI,OAAO,IAAI,aAAa,IAAI,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE;KAC/G,CAAC;;oDAC+B;+BApFtB,oBAAoB;IAHhC,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,6BAA6B,EAAE,CAAC,oBAA0C,EAAE,EAAE,CAAC,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC;IACvH,IAAA,yBAAU,EAAC,EAAE,WAAW,EAAE,iCAAiC,EAAE,CAAC;GAClD,oBAAoB,CAqFhC","sourcesContent":["import { Field, ID, ObjectType } from 'type-graphql'\nimport { Column, CreateDateColumn, 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 { ChecklistItem, ChecklistItemConfirmStatus } from '../checklist-item/checklist-item'\nimport { ChecklistHistory } from '../checklist-history/checklist-history'\n\nconst ORMCONFIG = config.get('ormconfig', {})\nconst DATABASE_TYPE = ORMCONFIG.type\n\n@Entity()\n@Index('ix_checklist_item_history_0', (checklistItemHistory: ChecklistItemHistory) => [checklistItemHistory.originalId])\n@ObjectType({ description: 'History Entity of ChecklistItem' })\nexport class ChecklistItemHistory implements HistoryEntityInterface<ChecklistItem> {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @HistoryOriginalIdColumn()\n public originalId!: string\n\n @Column({ nullable: true, comment: '시퀀스' })\n @Field({ nullable: true })\n sequence?: number\n\n @Column({ nullable: false, comment: '구분 (텍스트)' })\n @Field({ nullable: false })\n mainType?: string\n\n @Column({ nullable: false, comment: '상세 구분 (텍스트)' })\n @Field({ nullable: false })\n detailType?: string\n\n @Column({ nullable: true, comment: '검사 항목' })\n @Field({ nullable: true })\n name?: string\n\n @Column({ nullable: true, comment: '검사 기준' })\n @Field({ nullable: true })\n inspctionCriteria?: string\n\n @Column({ nullable: true, comment: '시공 관리자 적합 여부 (T: 적합, F: 부적합)' })\n @Field({ nullable: true })\n constructionConfirmStatus?: ChecklistItemConfirmStatus\n\n @Column({ nullable: true, comment: '감리 관리자 적합 여부 (T: 적합, F: 부적합)' })\n @Field({ nullable: true })\n supervisoryConfirmStatus?: ChecklistItemConfirmStatus\n\n // 부모 체크리스트 ID (원본 엔티티 ID 저장)\n @Column({ nullable: true, comment: '체크리스트 ID' })\n @Field({ nullable: true })\n checklistId?: string\n\n // 상위 체크리스트 히스토리 스냅샷 FK (동일 트랜잭션 스냅샷 연결)\n @ManyToOne(type => ChecklistHistory, { nullable: true })\n @Field(type => ChecklistHistory, { nullable: true })\n checklistHistory?: ChecklistHistory\n\n @RelationId((checklistItemHistory: ChecklistItemHistory) => checklistItemHistory.checklistHistory)\n checklistHistoryId?: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n createdAt?: Date\n\n @CreateDateColumn()\n @Field({ nullable: true })\n loggedAt?: Date\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n creator?: User\n\n @RelationId((checklistItemHistory: ChecklistItemHistory) => checklistItemHistory.creator)\n creatorId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n updater?: User\n\n @RelationId((checklistItemHistory: ChecklistItemHistory) => checklistItemHistory.updater)\n updaterId?: 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 : DATABASE_TYPE == 'mssql'\n ? 'nvarchar'\n : 'varchar',\n enum: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb' ? HistoryActionType : undefined,\n length: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb' ? undefined : 10\n })\n public action!: HistoryActionType\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HistoryEntitySubscriber } from '@operato/typeorm-history';
|
|
2
|
+
import { ChecklistItem } from '../checklist-item/checklist-item';
|
|
3
|
+
import { ChecklistItemHistory } from './checklist-item-history';
|
|
4
|
+
export declare class ChecklistItemHistoryEntitySubscriber extends HistoryEntitySubscriber<ChecklistItem, ChecklistItemHistory> {
|
|
5
|
+
get entity(): typeof ChecklistItem;
|
|
6
|
+
get historyEntity(): typeof ChecklistItemHistory;
|
|
7
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChecklistItemHistoryEntitySubscriber = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const typeorm_history_1 = require("@operato/typeorm-history");
|
|
7
|
+
const checklist_item_1 = require("../checklist-item/checklist-item");
|
|
8
|
+
const checklist_item_history_1 = require("./checklist-item-history");
|
|
9
|
+
let ChecklistItemHistoryEntitySubscriber = class ChecklistItemHistoryEntitySubscriber extends typeorm_history_1.HistoryEntitySubscriber {
|
|
10
|
+
get entity() {
|
|
11
|
+
return checklist_item_1.ChecklistItem;
|
|
12
|
+
}
|
|
13
|
+
get historyEntity() {
|
|
14
|
+
return checklist_item_history_1.ChecklistItemHistory;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
exports.ChecklistItemHistoryEntitySubscriber = ChecklistItemHistoryEntitySubscriber;
|
|
18
|
+
exports.ChecklistItemHistoryEntitySubscriber = ChecklistItemHistoryEntitySubscriber = tslib_1.__decorate([
|
|
19
|
+
(0, typeorm_1.EventSubscriber)()
|
|
20
|
+
], ChecklistItemHistoryEntitySubscriber);
|
|
21
|
+
//# sourceMappingURL=event-subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-subscriber.js","sourceRoot":"","sources":["../../../server/service/checklist-item-history/event-subscriber.ts"],"names":[],"mappings":";;;;AAAA,qCAAyC;AAEzC,8DAAkE;AAElE,qEAAgE;AAChE,qEAA+D;AAGxD,IAAM,oCAAoC,GAA1C,MAAM,oCAAqC,SAAQ,yCAA4D;IACpH,IAAW,MAAM;QACf,OAAO,8BAAa,CAAA;IACtB,CAAC;IAED,IAAW,aAAa;QACtB,OAAO,6CAAoB,CAAA;IAC7B,CAAC;CACF,CAAA;AARY,oFAAoC;+CAApC,oCAAoC;IADhD,IAAA,yBAAe,GAAE;GACL,oCAAoC,CAQhD","sourcesContent":["import { EventSubscriber } from 'typeorm'\n\nimport { HistoryEntitySubscriber } from '@operato/typeorm-history'\n\nimport { ChecklistItem } from '../checklist-item/checklist-item'\nimport { ChecklistItemHistory } from './checklist-item-history'\n\n@EventSubscriber()\nexport class ChecklistItemHistoryEntitySubscriber extends HistoryEntitySubscriber<ChecklistItem, ChecklistItemHistory> {\n public get entity() {\n return ChecklistItem\n }\n\n public get historyEntity() {\n return ChecklistItemHistory\n }\n}\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ChecklistItemHistory } from './checklist-item-history';
|
|
2
|
+
import { ChecklistItemHistoryQuery } from './checklist-item-history-query';
|
|
3
|
+
import { ChecklistItemHistoryEntitySubscriber } from './event-subscriber';
|
|
4
|
+
export declare const entities: (typeof ChecklistItemHistory)[];
|
|
5
|
+
export declare const resolvers: (typeof ChecklistItemHistoryQuery)[];
|
|
6
|
+
export declare const subscribers: (typeof ChecklistItemHistoryEntitySubscriber)[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.subscribers = exports.resolvers = exports.entities = void 0;
|
|
4
|
+
const checklist_item_history_1 = require("./checklist-item-history");
|
|
5
|
+
const checklist_item_history_query_1 = require("./checklist-item-history-query");
|
|
6
|
+
const event_subscriber_1 = require("./event-subscriber");
|
|
7
|
+
exports.entities = [checklist_item_history_1.ChecklistItemHistory];
|
|
8
|
+
exports.resolvers = [checklist_item_history_query_1.ChecklistItemHistoryQuery];
|
|
9
|
+
exports.subscribers = [event_subscriber_1.ChecklistItemHistoryEntitySubscriber];
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/checklist-item-history/index.ts"],"names":[],"mappings":";;;AAAA,qEAA+D;AAC/D,iFAA0E;AAC1E,yDAAyE;AAE5D,QAAA,QAAQ,GAAG,CAAC,6CAAoB,CAAC,CAAA;AACjC,QAAA,SAAS,GAAG,CAAC,wDAAyB,CAAC,CAAA;AACvC,QAAA,WAAW,GAAG,CAAC,uDAAoC,CAAC,CAAA","sourcesContent":["import { ChecklistItemHistory } from './checklist-item-history'\nimport { ChecklistItemHistoryQuery } from './checklist-item-history-query'\nimport { ChecklistItemHistoryEntitySubscriber } from './event-subscriber'\n\nexport const entities = [ChecklistItemHistory]\nexport const resolvers = [ChecklistItemHistoryQuery]\nexport const subscribers = [ChecklistItemHistoryEntitySubscriber]\n"]}
|
|
@@ -79,10 +79,8 @@ tslib_1.__decorate([
|
|
|
79
79
|
], ChecklistTemplateItem.prototype, "updaterId", void 0);
|
|
80
80
|
exports.ChecklistTemplateItem = ChecklistTemplateItem = tslib_1.__decorate([
|
|
81
81
|
(0, typeorm_1.Entity)({ comment: '체크리스트 템플릿 아이템' }),
|
|
82
|
-
(0, typeorm_1.Index)('ix_checklist_template_item_0', (
|
|
83
|
-
|
|
84
|
-
}),
|
|
85
|
-
(0, typeorm_1.Index)('ix_checklist_template_item_1', (checklistTemplateItem) => [checklistTemplateItem.detailType]),
|
|
82
|
+
(0, typeorm_1.Index)('ix_checklist_template_item_0', (cti) => [cti.checklistTemplate, cti.mainType, cti.detailType, cti.name], { unique: true }),
|
|
83
|
+
(0, typeorm_1.Index)('ix_checklist_template_item_1', (cti) => [cti.detailType]),
|
|
86
84
|
(0, type_graphql_1.ObjectType)()
|
|
87
85
|
], ChecklistTemplateItem);
|
|
88
86
|
//# sourceMappingURL=checklist-template-item.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checklist-template-item.js","sourceRoot":"","sources":["../../../server/service/checklist-template-item/checklist-template-item.ts"],"names":[],"mappings":";;;;AAAA,qCAAkI;AAClI,+CAAyD;AAEzD,yDAAgD;AAChD,iFAA4E;AAC5E,qEAAwE;
|
|
1
|
+
{"version":3,"file":"checklist-template-item.js","sourceRoot":"","sources":["../../../server/service/checklist-template-item/checklist-template-item.ts"],"names":[],"mappings":";;;;AAAA,qCAAkI;AAClI,+CAAyD;AAEzD,yDAAgD;AAChD,iFAA4E;AAC5E,qEAAwE;AAUjE,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CAsDjC,CAAA;AAtDY,sDAAqB;AAGvB;IAFR,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IA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,GAAG,CAAC,UAAU,CAAC,CAAC;IACvF,IAAA,yBAAU,GAAE;GACA,qBAAqB,CAsDjC","sourcesContent":["import { CreateDateColumn, UpdateDateColumn, Entity, Index, Column, RelationId, ManyToOne, PrimaryGeneratedColumn } from 'typeorm'\nimport { ObjectType, Field, ID, Int } from 'type-graphql'\n\nimport { User } from '@things-factory/auth-base'\nimport { ChecklistTemplate } from '../checklist-template/checklist-template'\nimport { ChecklistTypeMainType } from '../checklist-type/checklist-type'\n\n@Entity({ comment: '체크리스트 템플릿 아이템' })\n@Index(\n 'ix_checklist_template_item_0',\n (cti: ChecklistTemplateItem) => [cti.checklistTemplate, cti.mainType, cti.detailType, cti.name],\n { unique: true }\n)\n@Index('ix_checklist_template_item_1', (cti: ChecklistTemplateItem) => [cti.detailType])\n@ObjectType()\nexport class ChecklistTemplateItem {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @Column({ nullable: false, comment: '검사 항목' })\n @Field({ nullable: false })\n name: string\n\n @Column({ nullable: true, comment: '검사 기준' })\n @Field({ nullable: true })\n inspctionCriteria?: string\n\n @Column({ nullable: true, comment: '시퀀스' })\n @Field(type => Int, { nullable: true })\n sequence?: number\n\n @Column({ nullable: false, comment: '메인 구분 (10: 기본 업무, 20: 기본 외 업무)' })\n @Field({ nullable: false })\n mainType: ChecklistTypeMainType\n\n @Column({ nullable: false, comment: '상세 구분 ID (F.K)' })\n @Field({ nullable: false })\n detailType: string\n\n // 체크리스트 템플릿 정보 (상위 테이블 참조)\n @ManyToOne(type => ChecklistTemplate)\n @Field(type => ChecklistTemplate, { nullable: true })\n checklistTemplate?: ChecklistTemplate\n\n @RelationId((checklistTemplateItem: ChecklistTemplateItem) => checklistTemplateItem.checklistTemplate)\n checklistTemplateId?: string\n\n @CreateDateColumn()\n @Field({ nullable: true })\n createdAt?: Date\n\n @UpdateDateColumn()\n @Field({ nullable: true })\n updatedAt?: Date\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n creator?: User\n\n @RelationId((checklistTemplateItem: ChecklistTemplateItem) => checklistTemplateItem.creator)\n creatorId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n updater?: User\n\n @RelationId((checklistTemplateItem: ChecklistTemplateItem) => checklistTemplateItem.updater)\n updaterId?: string\n}\n"]}
|
|
@@ -9,8 +9,10 @@ export * from './checklist-item-comment/checklist-item-comment';
|
|
|
9
9
|
export * from './checklist-template/checklist-template';
|
|
10
10
|
export * from './checklist-template-item/checklist-template-item';
|
|
11
11
|
export * from './building-inspection/building-inspection';
|
|
12
|
-
export
|
|
13
|
-
export
|
|
12
|
+
export * from './building-inspection/building-inspection-type';
|
|
13
|
+
export * from './building-inspection-daily-worklog/building-inspection-daily-worklog';
|
|
14
|
+
export declare const entities: (typeof import("./issue/issue").Issue | typeof import("./action-plan/action-plan").ActionPlan | typeof import("./supervisor/supervisor").Supervisor | typeof import("./project-report/project-report").ProjectReport | typeof import("./checklist-type/checklist-type").ChecklistType | typeof import("./checklist-item-comment/checklist-item-comment").ChecklistItemComment | typeof import("./checklist-item/checklist-item").ChecklistItem | typeof import("./checklist/checklist").Checklist | typeof import("./building-inspection/building-inspection").BuildingInspection | typeof import("./building-inspection-daily-worklog/building-inspection-daily-worklog").BuildingInspectionDailyWorklog | typeof import("./checklist-template-item/checklist-template-item").ChecklistTemplateItem | typeof import("./checklist-template/checklist-template").ChecklistTemplate | typeof import("./building-inspection-history/building-inspection-history").BuildingInspectionHistory | typeof import("./checklist-history/checklist-history").ChecklistHistory | typeof import("./checklist-item-history/checklist-item-history").ChecklistItemHistory)[];
|
|
14
15
|
export declare const schema: {
|
|
15
16
|
resolverClasses: typeof import("./checklist-item/checklist-item-mutation").ChecklistItemMutation[];
|
|
16
17
|
};
|
|
18
|
+
export declare const subscribers: (typeof import("./checklist-history/event-subscriber").ChecklistHistoryEntitySubscriber | typeof import("./checklist-item-history/event-subscriber").ChecklistItemHistoryEntitySubscriber | typeof import("./building-inspection-history/event-subscriber").BuildingInspectionHistoryEntitySubscriber)[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.subscribers = exports.schema = exports.entities = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/* EXPORT ENTITY TYPES */
|
|
6
6
|
tslib_1.__exportStar(require("./action-plan/action-plan"), exports);
|
|
@@ -14,18 +14,24 @@ tslib_1.__exportStar(require("./checklist-item-comment/checklist-item-comment"),
|
|
|
14
14
|
tslib_1.__exportStar(require("./checklist-template/checklist-template"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./checklist-template-item/checklist-template-item"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./building-inspection/building-inspection"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./building-inspection/building-inspection-type"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./building-inspection-daily-worklog/building-inspection-daily-worklog"), exports);
|
|
17
19
|
/* IMPORT ENTITIES AND RESOLVERS */
|
|
18
20
|
const action_plan_1 = require("./action-plan");
|
|
19
21
|
const issue_1 = require("./issue");
|
|
20
22
|
const project_report_1 = require("./project-report");
|
|
21
23
|
const supervisor_1 = require("./supervisor");
|
|
22
24
|
const checklist_1 = require("./checklist");
|
|
25
|
+
const checklist_history_1 = require("./checklist-history");
|
|
23
26
|
const checklist_item_1 = require("./checklist-item");
|
|
27
|
+
const checklist_item_history_1 = require("./checklist-item-history");
|
|
24
28
|
const checklist_item_comment_1 = require("./checklist-item-comment");
|
|
25
29
|
const checklist_type_1 = require("./checklist-type");
|
|
26
30
|
const checklist_template_1 = require("./checklist-template");
|
|
27
31
|
const checklist_template_item_1 = require("./checklist-template-item");
|
|
28
32
|
const building_inspection_1 = require("./building-inspection");
|
|
33
|
+
const building_inspection_history_1 = require("./building-inspection-history");
|
|
34
|
+
const building_inspection_daily_worklog_1 = require("./building-inspection-daily-worklog");
|
|
29
35
|
exports.entities = [
|
|
30
36
|
/* ENTITIES */
|
|
31
37
|
...action_plan_1.entities,
|
|
@@ -33,22 +39,16 @@ exports.entities = [
|
|
|
33
39
|
...project_report_1.entities,
|
|
34
40
|
...supervisor_1.entities,
|
|
35
41
|
...checklist_1.entities,
|
|
42
|
+
...checklist_history_1.entities,
|
|
36
43
|
...checklist_item_1.entities,
|
|
44
|
+
...checklist_item_history_1.entities,
|
|
37
45
|
...checklist_item_comment_1.entities,
|
|
38
46
|
...checklist_type_1.entities,
|
|
39
47
|
...checklist_template_item_1.entities,
|
|
40
48
|
...checklist_template_1.entities,
|
|
41
|
-
...building_inspection_1.entities
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
/* SUBSCRIBERS */
|
|
45
|
-
...action_plan_1.subscribers,
|
|
46
|
-
...issue_1.subscribers,
|
|
47
|
-
...project_report_1.subscribers,
|
|
48
|
-
...supervisor_1.subscribers,
|
|
49
|
-
...building_inspection_1.subscribers,
|
|
50
|
-
...checklist_1.subscribers,
|
|
51
|
-
...checklist_item_comment_1.subscribers
|
|
49
|
+
...building_inspection_1.entities,
|
|
50
|
+
...building_inspection_history_1.entities,
|
|
51
|
+
...building_inspection_daily_worklog_1.entities
|
|
52
52
|
];
|
|
53
53
|
exports.schema = {
|
|
54
54
|
resolverClasses: [
|
|
@@ -58,12 +58,21 @@ exports.schema = {
|
|
|
58
58
|
...project_report_1.resolvers,
|
|
59
59
|
...supervisor_1.resolvers,
|
|
60
60
|
...checklist_1.resolvers,
|
|
61
|
+
...checklist_history_1.resolvers,
|
|
61
62
|
...checklist_item_1.resolvers,
|
|
63
|
+
...checklist_item_history_1.resolvers,
|
|
62
64
|
...checklist_item_comment_1.resolvers,
|
|
63
65
|
...checklist_type_1.resolvers,
|
|
64
66
|
...checklist_template_item_1.resolvers,
|
|
65
67
|
...checklist_template_1.resolvers,
|
|
66
|
-
...building_inspection_1.resolvers
|
|
68
|
+
...building_inspection_1.resolvers,
|
|
69
|
+
...building_inspection_history_1.resolvers,
|
|
70
|
+
...building_inspection_daily_worklog_1.resolvers
|
|
67
71
|
]
|
|
68
72
|
};
|
|
73
|
+
exports.subscribers = [
|
|
74
|
+
...checklist_history_1.subscribers,
|
|
75
|
+
...checklist_item_history_1.subscribers,
|
|
76
|
+
...building_inspection_history_1.subscribers
|
|
77
|
+
];
|
|
69
78
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/service/index.ts"],"names":[],"mappings":";;;;AAAA,yBAAyB;AACzB,oEAAyC;AACzC,wDAA6B;AAC7B,0EAA+C;AAC/C,kEAAuC;AACvC,0EAA+C;AAC/C,gEAAqC;AACrC,0EAA+C;AAC/C,0FAA+D;AAC/D,kFAAuD;AACvD,4FAAiE;AACjE,oFAAyD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/service/index.ts"],"names":[],"mappings":";;;;AAAA,yBAAyB;AACzB,oEAAyC;AACzC,wDAA6B;AAC7B,0EAA+C;AAC/C,kEAAuC;AACvC,0EAA+C;AAC/C,gEAAqC;AACrC,0EAA+C;AAC/C,0FAA+D;AAC/D,kFAAuD;AACvD,4FAAiE;AACjE,oFAAyD;AACzD,yFAA8D;AAC9D,gHAAqF;AAErF,mCAAmC;AACnC,+CAAgG;AAChG,mCAAgF;AAChF,qDAAyG;AACzG,6CAA+F;AAC/F,2CAA4F;AAC5F,2DAI4B;AAC5B,qDAAyG;AACzG,qEAIiC;AACjC,qEAA+H;AAC/H,qDAAyG;AACzG,6DAAqH;AACrH,uEAAkI;AAClI,+DAAwH;AACxH,+EAIsC;AACtC,2FAG4C;AAE/B,QAAA,QAAQ,GAAG;IACtB,cAAc;IACd,GAAG,sBAAkB;IACrB,GAAG,gBAAa;IAChB,GAAG,yBAAqB;IACxB,GAAG,qBAAkB;IACrB,GAAG,oBAAiB;IACpB,GAAG,4BAAwB;IAC3B,GAAG,yBAAqB;IACxB,GAAG,iCAA4B;IAC/B,GAAG,iCAA4B;IAC/B,GAAG,yBAAqB;IACxB,GAAG,kCAA6B;IAChC,GAAG,6BAAyB;IAC5B,GAAG,8BAA0B;IAC7B,GAAG,sCAAiC;IACpC,GAAG,4CAAsC;CAC1C,CAAA;AAEY,QAAA,MAAM,GAAG;IACpB,eAAe,EAAE;QACf,sBAAsB;QACtB,GAAG,uBAAmB;QACtB,GAAG,iBAAc;QACjB,GAAG,0BAAsB;QACzB,GAAG,sBAAmB;QACtB,GAAG,qBAAkB;QACrB,GAAG,6BAAyB;QAC5B,GAAG,0BAAsB;QACzB,GAAG,kCAA6B;QAChC,GAAG,kCAA6B;QAChC,GAAG,0BAAsB;QACzB,GAAG,mCAA8B;QACjC,GAAG,8BAA0B;QAC7B,GAAG,+BAA2B;QAC9B,GAAG,uCAAkC;QACrC,GAAG,6CAAuC;KAC3C;CACF,CAAA;AAEY,QAAA,WAAW,GAAG;IACzB,GAAG,+BAA2B;IAC9B,GAAG,oCAA+B;IAClC,GAAG,yCAAoC;CACxC,CAAA","sourcesContent":["/* EXPORT ENTITY TYPES */\nexport * from './action-plan/action-plan'\nexport * from './issue/issue'\nexport * from './project-report/project-report'\nexport * from './supervisor/supervisor'\nexport * from './checklist-type/checklist-type'\nexport * from './checklist/checklist'\nexport * from './checklist-item/checklist-item'\nexport * from './checklist-item-comment/checklist-item-comment'\nexport * from './checklist-template/checklist-template'\nexport * from './checklist-template-item/checklist-template-item'\nexport * from './building-inspection/building-inspection'\nexport * from './building-inspection/building-inspection-type'\nexport * from './building-inspection-daily-worklog/building-inspection-daily-worklog'\n\n/* IMPORT ENTITIES AND RESOLVERS */\nimport { entities as ActionPlanEntities, resolvers as ActionPlanResolvers } from './action-plan'\nimport { entities as IssueEntities, resolvers as IssueResolvers } from './issue'\nimport { entities as ProjectReportEntities, resolvers as ProjectReportResolvers } from './project-report'\nimport { entities as SupervisorEntities, resolvers as SupervisorResolvers } from './supervisor'\nimport { entities as ChecklistEntities, resolvers as ChecklistResolvers } from './checklist'\nimport {\n entities as ChecklistHistoryEntities,\n resolvers as ChecklistHistoryResolvers,\n subscribers as ChecklistHistorySubscribers\n} from './checklist-history'\nimport { entities as ChecklistItemEntities, resolvers as ChecklistItemResolvers } from './checklist-item'\nimport {\n entities as ChecklistItemHistoryEntities,\n resolvers as ChecklistItemHistoryResolvers,\n subscribers as ChecklistItemHistorySubscribers\n} from './checklist-item-history'\nimport { entities as ChecklistItemCommentEntities, resolvers as ChecklistItemCommentResolvers } from './checklist-item-comment'\nimport { entities as ChecklistTypeEntities, resolvers as ChecklistTypeResolvers } from './checklist-type'\nimport { entities as ChecklistTemplateEntities, resolvers as ChecklistTemplateResolvers } from './checklist-template'\nimport { entities as ChecklistTemplateItemEntities, resolvers as ChecklistTemplateItemResolvers } from './checklist-template-item'\nimport { entities as BuildingInspectionEntities, resolvers as BuildingInspectionResolvers } from './building-inspection'\nimport {\n entities as BuildingInspectionHistoryEntities,\n resolvers as BuildingInspectionHistoryResolvers,\n subscribers as BuildingInspectionHistorySubscribers\n} from './building-inspection-history'\nimport {\n entities as BuildingInspectionDailyWorklogEntities,\n resolvers as BuildingInspectionDailyWorklogResolvers\n} from './building-inspection-daily-worklog'\n\nexport const entities = [\n /* ENTITIES */\n ...ActionPlanEntities,\n ...IssueEntities,\n ...ProjectReportEntities,\n ...SupervisorEntities,\n ...ChecklistEntities,\n ...ChecklistHistoryEntities,\n ...ChecklistItemEntities,\n ...ChecklistItemHistoryEntities,\n ...ChecklistItemCommentEntities,\n ...ChecklistTypeEntities,\n ...ChecklistTemplateItemEntities,\n ...ChecklistTemplateEntities,\n ...BuildingInspectionEntities,\n ...BuildingInspectionHistoryEntities,\n ...BuildingInspectionDailyWorklogEntities\n]\n\nexport const schema = {\n resolverClasses: [\n /* RESOLVER CLASSES */\n ...ActionPlanResolvers,\n ...IssueResolvers,\n ...ProjectReportResolvers,\n ...SupervisorResolvers,\n ...ChecklistResolvers,\n ...ChecklistHistoryResolvers,\n ...ChecklistItemResolvers,\n ...ChecklistItemHistoryResolvers,\n ...ChecklistItemCommentResolvers,\n ...ChecklistTypeResolvers,\n ...ChecklistTemplateItemResolvers,\n ...ChecklistTemplateResolvers,\n ...BuildingInspectionResolvers,\n ...BuildingInspectionHistoryResolvers,\n ...BuildingInspectionDailyWorklogResolvers\n ]\n}\n\nexport const subscribers = [\n ...ChecklistHistorySubscribers,\n ...ChecklistItemHistorySubscribers,\n ...BuildingInspectionHistorySubscribers\n]\n"]}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.resolvers = exports.entities = void 0;
|
|
4
4
|
const issue_1 = require("./issue");
|
|
5
5
|
const issue_query_1 = require("./issue-query");
|
|
6
6
|
const issue_mutation_1 = require("./issue-mutation");
|
|
7
7
|
exports.entities = [issue_1.Issue];
|
|
8
8
|
exports.resolvers = [issue_query_1.IssueQuery, issue_mutation_1.IssueMutation];
|
|
9
|
-
exports.subscribers = [];
|
|
10
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/issue/index.ts"],"names":[],"mappings":";;;AAAA,mCAA+B;AAC/B,+CAA0C;AAC1C,qDAAgD;AAEnC,QAAA,QAAQ,GAAG,CAAC,aAAK,CAAC,CAAA;AAClB,QAAA,SAAS,GAAG,CAAC,wBAAU,EAAE,8BAAa,CAAC,CAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/issue/index.ts"],"names":[],"mappings":";;;AAAA,mCAA+B;AAC/B,+CAA0C;AAC1C,qDAAgD;AAEnC,QAAA,QAAQ,GAAG,CAAC,aAAK,CAAC,CAAA;AAClB,QAAA,SAAS,GAAG,CAAC,wBAAU,EAAE,8BAAa,CAAC,CAAA","sourcesContent":["import { Issue } from './issue'\nimport { IssueQuery } from './issue-query'\nimport { IssueMutation } from './issue-mutation'\n\nexport const entities = [Issue]\nexport const resolvers = [IssueQuery, IssueMutation]\n"]}
|
|
@@ -3,4 +3,3 @@ import { ProjectReportQuery } from './project-report-query';
|
|
|
3
3
|
import { ProjectReportMutation } from './project-report-mutation';
|
|
4
4
|
export declare const entities: (typeof ProjectReport)[];
|
|
5
5
|
export declare const resolvers: (typeof ProjectReportQuery | typeof ProjectReportMutation)[];
|
|
6
|
-
export declare const subscribers: any[];
|