@dssp/supervision 1.0.0-alpha.40 → 1.0.0-alpha.47
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/pages/building-inspection/building-inspection-detail-camera.d.ts +33 -4
- package/dist-client/pages/building-inspection/building-inspection-detail-camera.js +456 -37
- package/dist-client/pages/building-inspection/building-inspection-detail-camera.js.map +1 -1
- package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.d.ts +1 -1
- package/dist-client/pages/checklist-template/checklist-template-item.js +14 -3
- package/dist-client/pages/checklist-template/checklist-template-item.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/service/building-inspection/index.d.ts +2 -2
- package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js +4 -1
- 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-type.d.ts +2 -0
- package/dist-server/service/checklist-template-item/checklist-template-item-type.js +5 -0
- 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.d.ts +6 -0
- package/dist-server/service/checklist-template-item/checklist-template-item.js +16 -1
- package/dist-server/service/checklist-template-item/checklist-template-item.js.map +1 -1
- package/dist-server/service/checklist-template-item/index.d.ts +1 -1
- package/dist-server/service/checklist-template-item/spec-matching-service.d.ts +2 -0
- package/dist-server/service/checklist-template-item/spec-matching-service.js +50 -0
- package/dist-server/service/checklist-template-item/spec-matching-service.js.map +1 -0
- package/dist-server/service/index.d.ts +2 -2
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/dist-server/service/building-inspection/building-inspection-history.d.ts +0 -18
- package/dist-server/service/building-inspection/building-inspection-history.js +0 -91
- package/dist-server/service/building-inspection/building-inspection-history.js.map +0 -1
- package/dist-server/service/checklist/checklist-history.d.ts +0 -32
- package/dist-server/service/checklist/checklist-history.js +0 -156
- package/dist-server/service/checklist/checklist-history.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dssp/supervision",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.47",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@dssp/building-complex": "^1.0.0-alpha.
|
|
31
|
-
"@dssp/drawing": "^1.0.0-alpha.
|
|
30
|
+
"@dssp/building-complex": "^1.0.0-alpha.47",
|
|
31
|
+
"@dssp/drawing": "^1.0.0-alpha.47",
|
|
32
32
|
"@operato/event-view": "^9.0.0",
|
|
33
33
|
"@operato/graphql": "^9.0.0",
|
|
34
34
|
"@operato/image-marker": "^9.0.0",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"@things-factory/shell": "^9.0.0",
|
|
40
40
|
"moment": "2.30.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "7d4581a4d3fd62e8f5588235bb655c0246343dc5"
|
|
43
43
|
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { HistoryActionType, HistoryEntityInterface } from '@operato/typeorm-history';
|
|
2
|
-
import { User } from '@things-factory/auth-base';
|
|
3
|
-
import { BuildingInspection, BuildingInspectionStatus } from './building-inspection';
|
|
4
|
-
import { BuildingLevel } from '@dssp/building-complex';
|
|
5
|
-
export declare class BuildingInspectionHistory implements HistoryEntityInterface<BuildingInspection> {
|
|
6
|
-
readonly id: string;
|
|
7
|
-
originalId: string;
|
|
8
|
-
status?: BuildingInspectionStatus;
|
|
9
|
-
buildingLevel?: BuildingLevel;
|
|
10
|
-
buildingLevelId?: string;
|
|
11
|
-
requestDate?: string;
|
|
12
|
-
memo?: string;
|
|
13
|
-
checklistId: string;
|
|
14
|
-
createdAt?: Date;
|
|
15
|
-
creator?: User;
|
|
16
|
-
creatorId?: string;
|
|
17
|
-
action: HistoryActionType;
|
|
18
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BuildingInspectionHistory = 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 building_inspection_1 = require("./building-inspection");
|
|
11
|
-
const building_complex_1 = require("@dssp/building-complex");
|
|
12
|
-
const ORMCONFIG = env_1.config.get('ormconfig', {});
|
|
13
|
-
const DATABASE_TYPE = ORMCONFIG.type;
|
|
14
|
-
let BuildingInspectionHistory = class BuildingInspectionHistory {
|
|
15
|
-
};
|
|
16
|
-
exports.BuildingInspectionHistory = BuildingInspectionHistory;
|
|
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
|
-
], BuildingInspectionHistory.prototype, "id", void 0);
|
|
22
|
-
tslib_1.__decorate([
|
|
23
|
-
(0, typeorm_history_1.HistoryOriginalIdColumn)(),
|
|
24
|
-
tslib_1.__metadata("design:type", String)
|
|
25
|
-
], BuildingInspectionHistory.prototype, "originalId", void 0);
|
|
26
|
-
tslib_1.__decorate([
|
|
27
|
-
(0, typeorm_1.Column)({
|
|
28
|
-
nullable: false,
|
|
29
|
-
comment: '상태(WAIT: 검측 대기, OVERALL_WAIT: 총괄자 검측 대기, REQUEST: 검측 요청, OVERALL_REQUEST: 총괄자 검측 요청, PASS: 합격, FAIL: 불합격)'
|
|
30
|
-
}),
|
|
31
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
32
|
-
tslib_1.__metadata("design:type", String)
|
|
33
|
-
], BuildingInspectionHistory.prototype, "status", void 0);
|
|
34
|
-
tslib_1.__decorate([
|
|
35
|
-
(0, typeorm_1.ManyToOne)(type => building_complex_1.BuildingLevel),
|
|
36
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
37
|
-
tslib_1.__metadata("design:type", building_complex_1.BuildingLevel)
|
|
38
|
-
], BuildingInspectionHistory.prototype, "buildingLevel", void 0);
|
|
39
|
-
tslib_1.__decorate([
|
|
40
|
-
(0, typeorm_1.RelationId)((buildingInspectionHistory) => buildingInspectionHistory.buildingLevel),
|
|
41
|
-
tslib_1.__metadata("design:type", String)
|
|
42
|
-
], BuildingInspectionHistory.prototype, "buildingLevelId", void 0);
|
|
43
|
-
tslib_1.__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true, comment: '검측 요청일' }),
|
|
45
|
-
(0, type_graphql_1.Field)(type => String, { nullable: true }),
|
|
46
|
-
tslib_1.__metadata("design:type", String)
|
|
47
|
-
], BuildingInspectionHistory.prototype, "requestDate", void 0);
|
|
48
|
-
tslib_1.__decorate([
|
|
49
|
-
(0, typeorm_1.Column)({ nullable: true, comment: '메모' }),
|
|
50
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
51
|
-
tslib_1.__metadata("design:type", String)
|
|
52
|
-
], BuildingInspectionHistory.prototype, "memo", void 0);
|
|
53
|
-
tslib_1.__decorate([
|
|
54
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
55
|
-
(0, typeorm_1.Column)({ nullable: true, comment: '체크리스트 ID' }),
|
|
56
|
-
tslib_1.__metadata("design:type", String)
|
|
57
|
-
], BuildingInspectionHistory.prototype, "checklistId", void 0);
|
|
58
|
-
tslib_1.__decorate([
|
|
59
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
60
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
61
|
-
tslib_1.__metadata("design:type", Date)
|
|
62
|
-
], BuildingInspectionHistory.prototype, "createdAt", void 0);
|
|
63
|
-
tslib_1.__decorate([
|
|
64
|
-
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
|
|
65
|
-
(0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
|
|
66
|
-
tslib_1.__metadata("design:type", auth_base_1.User)
|
|
67
|
-
], BuildingInspectionHistory.prototype, "creator", void 0);
|
|
68
|
-
tslib_1.__decorate([
|
|
69
|
-
(0, typeorm_1.RelationId)((buildingInspectionHistory) => buildingInspectionHistory.creator),
|
|
70
|
-
tslib_1.__metadata("design:type", String)
|
|
71
|
-
], BuildingInspectionHistory.prototype, "creatorId", void 0);
|
|
72
|
-
tslib_1.__decorate([
|
|
73
|
-
(0, typeorm_history_1.HistoryActionColumn)({
|
|
74
|
-
nullable: false,
|
|
75
|
-
type: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
|
|
76
|
-
? 'enum'
|
|
77
|
-
: DATABASE_TYPE == 'oracle'
|
|
78
|
-
? 'varchar2'
|
|
79
|
-
: 'smallint',
|
|
80
|
-
enum: typeorm_history_1.HistoryActionType
|
|
81
|
-
}),
|
|
82
|
-
tslib_1.__metadata("design:type", String)
|
|
83
|
-
], BuildingInspectionHistory.prototype, "action", void 0);
|
|
84
|
-
exports.BuildingInspectionHistory = BuildingInspectionHistory = tslib_1.__decorate([
|
|
85
|
-
(0, typeorm_1.Entity)(),
|
|
86
|
-
(0, typeorm_1.Index)('ix_buildingInspection_history_0', (buildingInspectionHistory) => [
|
|
87
|
-
buildingInspectionHistory.originalId
|
|
88
|
-
]),
|
|
89
|
-
(0, type_graphql_1.ObjectType)({ description: 'History Entity of BuildingInspection' })
|
|
90
|
-
], BuildingInspectionHistory);
|
|
91
|
-
//# sourceMappingURL=building-inspection-history.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"building-inspection-history.js","sourceRoot":"","sources":["../../../server/service/building-inspection/building-inspection-history.ts"],"names":[],"mappings":";;;;AAAA,+CAAoD;AACpD,qCAA8F;AAC9F,8DAAkI;AAClI,yDAAgD;AAChD,6CAA4C;AAC5C,+DAAoF;AACpF,6DAAsD;AAEtD,MAAM,SAAS,GAAG,YAAM,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,CAAC,CAAA;AAC7C,MAAM,aAAa,GAAG,SAAS,CAAC,IAAI,CAAA;AAO7B,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;CA2DrC,CAAA;AA3DY,8DAAyB;AAG3B;IAFR,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;qDACC;AAGZ;IADN,IAAA,yCAAuB,GAAE;;6DACA;AAQ1B;IANC,IAAA,gBAAM,EAAC;QACN,QAAQ,EAAE,KAAK;QACf,OAAO,EACL,2GAA2G;KAC9G,CAAC;IACD,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACO;AAKjC;IAFC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,gCAAa,CAAC;IAChC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCACV,gCAAa;gEAAA;AAG7B;IADC,IAAA,oBAAU,EAAC,CAAC,yBAAoD,EAAE,EAAE,CAAC,yBAAyB,CAAC,aAAa,CAAC;;kEACtF;AAIxB;IAFC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;IAC3D,IAAA,oBAAK,EAAC,IAAI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IAAA,eAAK,EAAC,iCAAiC,EAAE,CAAC,yBAAoD,EAAE,EAAE,CAAC;QAClG,yBAAyB,CAAC,UAAU;KACrC,CAAC;IACD,IAAA,yBAAU,EAAC,EAAE,WAAW,EAAE,sCAAsC,EAAE,CAAC;GACvD,yBAAyB,CA2DrC","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 { BuildingInspection, BuildingInspectionStatus } from './building-inspection'\nimport { BuildingLevel } from '@dssp/building-complex'\n\nconst ORMCONFIG = config.get('ormconfig', {})\nconst DATABASE_TYPE = ORMCONFIG.type\n\n@Entity()\n@Index('ix_buildingInspection_history_0', (buildingInspectionHistory: BuildingInspectionHistory) => [\n buildingInspectionHistory.originalId\n])\n@ObjectType({ description: 'History Entity of BuildingInspection' })\nexport class BuildingInspectionHistory implements HistoryEntityInterface<BuildingInspection> {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @HistoryOriginalIdColumn()\n public originalId!: string\n\n @Column({\n nullable: false,\n comment:\n '상태(WAIT: 검측 대기, OVERALL_WAIT: 총괄자 검측 대기, REQUEST: 검측 요청, OVERALL_REQUEST: 총괄자 검측 요청, PASS: 합격, FAIL: 불합격)'\n })\n @Field({ nullable: true })\n status?: BuildingInspectionStatus\n\n // 층 정보 (1:1 테이블 참조)\n @ManyToOne(type => BuildingLevel)\n @Field({ nullable: true })\n buildingLevel?: BuildingLevel\n\n @RelationId((buildingInspectionHistory: BuildingInspectionHistory) => buildingInspectionHistory.buildingLevel)\n buildingLevelId?: string\n\n @Column({ type: 'date', nullable: true, comment: '검측 요청일' })\n @Field(type => String, { nullable: true })\n requestDate?: string\n\n @Column({ nullable: true, comment: '메모' })\n @Field({ nullable: true })\n memo?: string\n\n // 체크리스트 ID (1:1 테이블 참조)\n @Field({ nullable: true })\n @Column({ nullable: true, comment: '체크리스트 ID' })\n checklistId: 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((buildingInspectionHistory: BuildingInspectionHistory) => buildingInspectionHistory.creator)\n creatorId?: 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"]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { HistoryActionType, HistoryEntityInterface } from '@operato/typeorm-history';
|
|
2
|
-
import { User } from '@things-factory/auth-base';
|
|
3
|
-
import { Checklist } from './checklist';
|
|
4
|
-
export declare class ChecklistHistory implements HistoryEntityInterface<Checklist> {
|
|
5
|
-
readonly id: string;
|
|
6
|
-
name?: string;
|
|
7
|
-
documentNo?: string;
|
|
8
|
-
constructionType?: string;
|
|
9
|
-
constructionDetailType?: string;
|
|
10
|
-
location?: string;
|
|
11
|
-
inspectionDrawingType?: string;
|
|
12
|
-
inspectionParts?: string[];
|
|
13
|
-
constructionInspectionDate?: Date;
|
|
14
|
-
supervisorInspectionDate?: Date;
|
|
15
|
-
overallConstructorSignature?: string;
|
|
16
|
-
taskConstructorSignature?: string;
|
|
17
|
-
overallSupervisorySignature?: string;
|
|
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;
|
|
27
|
-
createdAt?: Date;
|
|
28
|
-
creator?: User;
|
|
29
|
-
creatorId?: string;
|
|
30
|
-
originalId: string;
|
|
31
|
-
action: HistoryActionType;
|
|
32
|
-
}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ChecklistHistory = 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 ORMCONFIG = env_1.config.get('ormconfig', {});
|
|
11
|
-
const DATABASE_TYPE = ORMCONFIG.type;
|
|
12
|
-
let ChecklistHistory = class ChecklistHistory {
|
|
13
|
-
};
|
|
14
|
-
exports.ChecklistHistory = ChecklistHistory;
|
|
15
|
-
tslib_1.__decorate([
|
|
16
|
-
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
17
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.ID),
|
|
18
|
-
tslib_1.__metadata("design:type", String)
|
|
19
|
-
], ChecklistHistory.prototype, "id", void 0);
|
|
20
|
-
tslib_1.__decorate([
|
|
21
|
-
(0, typeorm_1.Column)({ nullable: true, comment: '이름' }),
|
|
22
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
23
|
-
tslib_1.__metadata("design:type", String)
|
|
24
|
-
], ChecklistHistory.prototype, "name", void 0);
|
|
25
|
-
tslib_1.__decorate([
|
|
26
|
-
(0, typeorm_1.Column)({ nullable: true, comment: '문서 번호 동(4자리)-층(3자리)-시퀀스(6자리)' }),
|
|
27
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
28
|
-
tslib_1.__metadata("design:type", String)
|
|
29
|
-
], ChecklistHistory.prototype, "documentNo", void 0);
|
|
30
|
-
tslib_1.__decorate([
|
|
31
|
-
(0, typeorm_1.Column)({ nullable: false, comment: '공종' }),
|
|
32
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
33
|
-
tslib_1.__metadata("design:type", String)
|
|
34
|
-
], ChecklistHistory.prototype, "constructionType", void 0);
|
|
35
|
-
tslib_1.__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ nullable: false, comment: '세부 공종' }),
|
|
37
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
38
|
-
tslib_1.__metadata("design:type", String)
|
|
39
|
-
], ChecklistHistory.prototype, "constructionDetailType", void 0);
|
|
40
|
-
tslib_1.__decorate([
|
|
41
|
-
(0, typeorm_1.Column)({ nullable: false, comment: '위치 (x동 x층)' }),
|
|
42
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
43
|
-
tslib_1.__metadata("design:type", String)
|
|
44
|
-
], ChecklistHistory.prototype, "location", void 0);
|
|
45
|
-
tslib_1.__decorate([
|
|
46
|
-
(0, typeorm_1.Column)({ nullable: false, comment: '검측 도면 타입', default: '' }),
|
|
47
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
48
|
-
tslib_1.__metadata("design:type", String)
|
|
49
|
-
], ChecklistHistory.prototype, "inspectionDrawingType", void 0);
|
|
50
|
-
tslib_1.__decorate([
|
|
51
|
-
(0, typeorm_1.Column)('simple-array', { nullable: true, comment: '검측 부위' }),
|
|
52
|
-
(0, type_graphql_1.Field)(() => [String], { nullable: true }),
|
|
53
|
-
tslib_1.__metadata("design:type", Array)
|
|
54
|
-
], ChecklistHistory.prototype, "inspectionParts", void 0);
|
|
55
|
-
tslib_1.__decorate([
|
|
56
|
-
(0, typeorm_1.Column)({ nullable: true, comment: '시공자 점검일' }),
|
|
57
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
58
|
-
tslib_1.__metadata("design:type", Date)
|
|
59
|
-
], ChecklistHistory.prototype, "constructionInspectionDate", void 0);
|
|
60
|
-
tslib_1.__decorate([
|
|
61
|
-
(0, typeorm_1.Column)({ nullable: true, comment: '감리자 점검일' }),
|
|
62
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
63
|
-
tslib_1.__metadata("design:type", Date)
|
|
64
|
-
], ChecklistHistory.prototype, "supervisorInspectionDate", void 0);
|
|
65
|
-
tslib_1.__decorate([
|
|
66
|
-
(0, typeorm_1.Column)({ nullable: true, comment: '총괄 시공 책임자 사인' }),
|
|
67
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
68
|
-
tslib_1.__metadata("design:type", String)
|
|
69
|
-
], ChecklistHistory.prototype, "overallConstructorSignature", void 0);
|
|
70
|
-
tslib_1.__decorate([
|
|
71
|
-
(0, typeorm_1.Column)({ nullable: true, comment: '공종별 시공 관리자 사인' }),
|
|
72
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
73
|
-
tslib_1.__metadata("design:type", String)
|
|
74
|
-
], ChecklistHistory.prototype, "taskConstructorSignature", void 0);
|
|
75
|
-
tslib_1.__decorate([
|
|
76
|
-
(0, typeorm_1.Column)({ nullable: true, comment: '총괄 감리 책임자 사인' }),
|
|
77
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
78
|
-
tslib_1.__metadata("design:type", String)
|
|
79
|
-
], ChecklistHistory.prototype, "overallSupervisorySignature", void 0);
|
|
80
|
-
tslib_1.__decorate([
|
|
81
|
-
(0, typeorm_1.Column)({ nullable: true, comment: '건축사보 (공종별 감리 관리자) 사인' }),
|
|
82
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
83
|
-
tslib_1.__metadata("design:type", String)
|
|
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);
|
|
121
|
-
tslib_1.__decorate([
|
|
122
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
123
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
124
|
-
tslib_1.__metadata("design:type", Date)
|
|
125
|
-
], ChecklistHistory.prototype, "createdAt", void 0);
|
|
126
|
-
tslib_1.__decorate([
|
|
127
|
-
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
|
|
128
|
-
(0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
|
|
129
|
-
tslib_1.__metadata("design:type", auth_base_1.User)
|
|
130
|
-
], ChecklistHistory.prototype, "creator", void 0);
|
|
131
|
-
tslib_1.__decorate([
|
|
132
|
-
(0, typeorm_1.RelationId)((checklistHistory) => checklistHistory.creator),
|
|
133
|
-
tslib_1.__metadata("design:type", String)
|
|
134
|
-
], ChecklistHistory.prototype, "creatorId", void 0);
|
|
135
|
-
tslib_1.__decorate([
|
|
136
|
-
(0, typeorm_history_1.HistoryOriginalIdColumn)(),
|
|
137
|
-
tslib_1.__metadata("design:type", String)
|
|
138
|
-
], ChecklistHistory.prototype, "originalId", void 0);
|
|
139
|
-
tslib_1.__decorate([
|
|
140
|
-
(0, typeorm_history_1.HistoryActionColumn)({
|
|
141
|
-
nullable: false,
|
|
142
|
-
type: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
|
|
143
|
-
? 'enum'
|
|
144
|
-
: DATABASE_TYPE == 'oracle'
|
|
145
|
-
? 'varchar2'
|
|
146
|
-
: 'smallint',
|
|
147
|
-
enum: typeorm_history_1.HistoryActionType
|
|
148
|
-
}),
|
|
149
|
-
tslib_1.__metadata("design:type", String)
|
|
150
|
-
], ChecklistHistory.prototype, "action", void 0);
|
|
151
|
-
exports.ChecklistHistory = ChecklistHistory = tslib_1.__decorate([
|
|
152
|
-
(0, typeorm_1.Entity)(),
|
|
153
|
-
(0, typeorm_1.Index)('ix_checklist_history_0', (checklistHistory) => [checklistHistory.originalId]),
|
|
154
|
-
(0, type_graphql_1.ObjectType)({ description: 'History Entity of Checklist' })
|
|
155
|
-
], ChecklistHistory);
|
|
156
|
-
//# sourceMappingURL=checklist-history.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checklist-history.js","sourceRoot":"","sources":["../../../server/service/checklist/checklist-history.ts"],"names":[],"mappings":";;;;AAAA,+CAAoD;AACpD,qCAA8F;AAC9F,8DAAkI;AAClI,yDAAgD;AAChD,6CAA4C;AAG5C,MAAM,SAAS,GAAG,YAAM,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,CAAC,CAAA;AAC7C,MAAM,aAAa,GAAG,SAAS,CAAC,IAAI,CAAA;AAK7B,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CA8G5B,CAAA;AA9GY,4CAAgB;AAGlB;IAFR,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;4CACC;AAInB;IAFC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACzC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACb;AAIb;IAFC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;IACnE,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,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AE,IAAI,EAAE,CAAC;sCAC9B,gBAAI;iDAAA;AAGd;IADC,IAAA,oBAAU,EAAC,CAAC,gBAAkC,EAAE,EAAE,CAAC,gBAAgB,CAAC,OAAO,CAAC;;mDAC3D;AAGX;IADN,IAAA,yCAAuB,GAAE;;oDACA;AAYnB;IAVN,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,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"]}
|