@dssp/dcsp 1.0.0-alpha.39 → 1.0.0-alpha.40

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/schema.graphql +161 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dssp/dcsp",
3
- "version": "1.0.0-alpha.39",
3
+ "version": "1.0.0-alpha.40",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -40,8 +40,8 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@dssp/building-complex": "^1.0.0-alpha.35",
43
- "@dssp/project": "^1.0.0-alpha.39",
44
- "@dssp/supervision": "^1.0.0-alpha.39",
43
+ "@dssp/project": "^1.0.0-alpha.40",
44
+ "@dssp/supervision": "^1.0.0-alpha.40",
45
45
  "@material/web": "^2.1.0",
46
46
  "@operato/chart": "^9.0.0",
47
47
  "@operato/gantt": "^9.0.0",
@@ -93,5 +93,5 @@
93
93
  "devDependencies": {
94
94
  "@things-factory/builder": "^9.0.0"
95
95
  },
96
- "gitHead": "14f2ebe4fb2c3bed64cf2d4a9abd8d69903f0cad"
96
+ "gitHead": "0365ec1a0babc1829124b02e65a5bdeadb7eea32"
97
97
  }
package/schema.graphql CHANGED
@@ -1104,6 +1104,34 @@ input BuildingInspectionDailyWorklogPatch {
1104
1104
  worklogs: Object
1105
1105
  }
1106
1106
 
1107
+ """History Entity of BuildingInspection"""
1108
+ type BuildingInspectionHistory {
1109
+ attachments: [Attachment!]!
1110
+ buildingLevel: BuildingLevel
1111
+ cellX: Float
1112
+ cellY: Float
1113
+ checklistHistory: ChecklistHistory
1114
+ checklistId: String
1115
+ createdAt: DateTimeISO
1116
+ creator: User
1117
+ drawingMarker: String
1118
+ id: ID!
1119
+ loggedAt: DateTimeISO
1120
+ manager: ProjectManagerOutput
1121
+ memo: String
1122
+ projectType: String
1123
+ requestDate: String
1124
+ status: String
1125
+ timestamp: User!
1126
+ updater: User
1127
+ worklog: BuildingInspectionDailyWorklog
1128
+ }
1129
+
1130
+ type BuildingInspectionHistoryList {
1131
+ items: [BuildingInspectionHistory!]!
1132
+ total: Int!
1133
+ }
1134
+
1107
1135
  type BuildingInspectionList {
1108
1136
  items: [BuildingInspection!]!
1109
1137
  total: Int!
@@ -1252,6 +1280,58 @@ type Checklist {
1252
1280
  updater: User
1253
1281
  }
1254
1282
 
1283
+ """Entity for ChecklistHistory"""
1284
+ type ChecklistHistory {
1285
+ buildingInspectionHistory: BuildingInspectionHistory!
1286
+ checklistItemHistories: [ChecklistItemHistory!]!
1287
+ checklistReferenceType: String
1288
+ constructionDetailType: String
1289
+ constructionInspectionDate: DateTimeISO
1290
+ constructionType: String
1291
+ createdAt: DateTimeISO
1292
+ creator: User
1293
+ documentNo: String
1294
+ id: ID!
1295
+ inspectionDrawingType: String
1296
+ inspectionParts: [String!]
1297
+ inspectionRequestDocumentNo: String
1298
+ inspectionRequestMemo: String
1299
+ inspectionRequestUpdatedAt: DateTimeISO
1300
+ inspectionResultDocumentNo: String
1301
+ inspectionResultMemo: String
1302
+ inspectionResultStatus: String
1303
+ inspectionResultType: String
1304
+ inspectionResultUpdatedAt: DateTimeISO
1305
+ location: String
1306
+ loggedAt: DateTimeISO
1307
+ name: String
1308
+
1309
+ """총괄 시공 책임자"""
1310
+ overallConstructor: User
1311
+ overallConstructorSignature: String
1312
+
1313
+ """총괄 감리 책임자"""
1314
+ overallSupervisory: User
1315
+ overallSupervisorySignature: String
1316
+ projectType: String
1317
+ supervisorInspectionDate: DateTimeISO
1318
+
1319
+ """공종별 시공 관리자"""
1320
+ taskConstructor: User
1321
+ taskConstructorSignature: String
1322
+
1323
+ """건축사보 (공종별 감리 관리자)"""
1324
+ taskSupervisory: User
1325
+ taskSupervisorySignature: String
1326
+ timestamp: User!
1327
+ updater: User
1328
+ }
1329
+
1330
+ type ChecklistHistoryList {
1331
+ items: [ChecklistHistory!]!
1332
+ total: Int!
1333
+ }
1334
+
1255
1335
  input ChecklistInputType {
1256
1336
  constructionDetailType: String
1257
1337
  constructionType: String
@@ -1298,6 +1378,33 @@ input ChecklistItemCommentPatch {
1298
1378
  id: ID
1299
1379
  }
1300
1380
 
1381
+ """History Entity of ChecklistItem"""
1382
+ type ChecklistItemHistory {
1383
+ checklistHistory: ChecklistHistory
1384
+ checklistId: String
1385
+ checklistItemAttachmentCount: Float!
1386
+ checklistItemAttachments(description: String): [Attachment!]!
1387
+ checklistItemCommentCount: Float!
1388
+ checklistItemComments: [ChecklistItemComment!]!
1389
+ constructionConfirmStatus: String
1390
+ createdAt: DateTimeISO
1391
+ creator: User
1392
+ detailType: String!
1393
+ id: ID!
1394
+ inspctionCriteria: String
1395
+ loggedAt: DateTimeISO
1396
+ mainType: String!
1397
+ name: String
1398
+ sequence: Float
1399
+ supervisoryConfirmStatus: String
1400
+ updater: User
1401
+ }
1402
+
1403
+ type ChecklistItemHistoryList {
1404
+ items: [ChecklistItemHistory!]!
1405
+ total: Int!
1406
+ }
1407
+
1301
1408
  input ChecklistItemInputType {
1302
1409
  detailType: String!
1303
1410
  inspctionCriteria: String
@@ -6346,6 +6453,24 @@ type Query {
6346
6453
  """To fetch a BuildingInspection Summary"""
6347
6454
  buildingInspectionDateSummaryOfLevelAndPeriod(buildingLevelId: String!, endDate: String!, startDate: String!): [BuildingInspectionSummary!]
6348
6455
 
6456
+ """To fetch multiple BuildingInspections"""
6457
+ buildingInspectionHistories(
6458
+ """An array of filter conditions to apply to the list query."""
6459
+ filters: [Filter!]
6460
+
6461
+ """Inherited value type for the list query."""
6462
+ inherited: InheritedValueType
6463
+
6464
+ """Pagination options for the list query."""
6465
+ pagination: Pagination
6466
+
6467
+ """Sorting options for the list query."""
6468
+ sortings: [Sorting!]
6469
+ ): BuildingInspectionHistoryList!
6470
+
6471
+ """To fetch a BuildingInspectionHistory"""
6472
+ buildingInspectionHistory(id: String!): BuildingInspectionHistory
6473
+
6349
6474
  """To fetch a BuildingInspection Summary"""
6350
6475
  buildingInspectionSummaryOfBuildingLevel(buildingLevelId: String!): BuildingInspectionSummary
6351
6476
 
@@ -6404,12 +6529,48 @@ type Query {
6404
6529
  """To fetch a Checklist"""
6405
6530
  checklist(id: String!): Checklist
6406
6531
 
6532
+ """To fetch multiple ChecklistHistories"""
6533
+ checklistHistories(
6534
+ """An array of filter conditions to apply to the list query."""
6535
+ filters: [Filter!]
6536
+
6537
+ """Inherited value type for the list query."""
6538
+ inherited: InheritedValueType
6539
+
6540
+ """Pagination options for the list query."""
6541
+ pagination: Pagination
6542
+
6543
+ """Sorting options for the list query."""
6544
+ sortings: [Sorting!]
6545
+ ): ChecklistHistoryList!
6546
+
6547
+ """To fetch a ChecklistHistory"""
6548
+ checklistHistory(id: String!): ChecklistHistory!
6549
+
6407
6550
  """To fetch a ChecklistItem"""
6408
6551
  checklistItem(id: String!): ChecklistItem
6409
6552
 
6410
6553
  """To fetch multiple ChecklistItemComments"""
6411
6554
  checklistItemComments(checklistItemId: String!, pagination: Pagination!): [ChecklistItemComment!]!
6412
6555
 
6556
+ """To fetch multiple ChecklistItems"""
6557
+ checklistItemHistories(
6558
+ """An array of filter conditions to apply to the list query."""
6559
+ filters: [Filter!]
6560
+
6561
+ """Inherited value type for the list query."""
6562
+ inherited: InheritedValueType
6563
+
6564
+ """Pagination options for the list query."""
6565
+ pagination: Pagination
6566
+
6567
+ """Sorting options for the list query."""
6568
+ sortings: [Sorting!]
6569
+ ): ChecklistItemHistoryList!
6570
+
6571
+ """To fetch a ChecklistItemHistory"""
6572
+ checklistItemHistory(id: String!): ChecklistItemHistory
6573
+
6413
6574
  """To fetch multiple ChecklistItems"""
6414
6575
  checklistItems(
6415
6576
  """An array of filter conditions to apply to the list query."""