@dssp/supervision 1.0.0-alpha.0 → 1.0.0-alpha.100

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 (540) hide show
  1. package/dist-client/graphql/building-inspection.d.ts +1 -0
  2. package/dist-client/graphql/building-inspection.js +102 -0
  3. package/dist-client/graphql/building-inspection.js.map +1 -0
  4. package/dist-client/pages/action-plan/action-plan-importer.js.map +1 -1
  5. package/dist-client/pages/action-plan/action-plan-list-page.d.ts +1 -2
  6. package/dist-client/pages/action-plan/action-plan-list-page.js +1 -2
  7. package/dist-client/pages/action-plan/action-plan-list-page.js.map +1 -1
  8. package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.d.ts +22 -0
  9. package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.js +171 -0
  10. package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.js.map +1 -0
  11. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.d.ts +71 -0
  12. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.js +1407 -0
  13. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.js.map +1 -0
  14. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement_old_ai.d.ts +59 -0
  15. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement_old_ai.js +868 -0
  16. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement_old_ai.js.map +1 -0
  17. package/dist-client/pages/building-inspection/building-inspection-detail-camera.d.ts +8 -6
  18. package/dist-client/pages/building-inspection/building-inspection-detail-camera.js +116 -65
  19. package/dist-client/pages/building-inspection/building-inspection-detail-camera.js.map +1 -1
  20. package/dist-client/pages/building-inspection/building-inspection-detail-checklist.d.ts +11 -0
  21. package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js +148 -73
  22. package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js.map +1 -1
  23. package/dist-client/pages/building-inspection/building-inspection-detail-drawing.d.ts +1 -1
  24. package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js +94 -25
  25. package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js.map +1 -1
  26. package/dist-client/pages/building-inspection/building-inspection-list.d.ts +28 -4
  27. package/dist-client/pages/building-inspection/building-inspection-list.js +377 -35
  28. package/dist-client/pages/building-inspection/building-inspection-list.js.map +1 -1
  29. package/dist-client/pages/building-inspection/building-inspection-management.d.ts +82 -0
  30. package/dist-client/pages/building-inspection/building-inspection-management.js +1527 -0
  31. package/dist-client/pages/building-inspection/building-inspection-management.js.map +1 -0
  32. package/dist-client/pages/building-inspection/component/building-inspection-detail-header.js +46 -14
  33. package/dist-client/pages/building-inspection/component/building-inspection-detail-header.js.map +1 -1
  34. package/dist-client/pages/building-inspection/component/daily-worklog-popup.d.ts +27 -0
  35. package/dist-client/pages/building-inspection/component/daily-worklog-popup.js +542 -0
  36. package/dist-client/pages/building-inspection/component/daily-worklog-popup.js.map +1 -0
  37. package/dist-client/pages/building-inspection/component/field-document/field-document-constants.d.ts +18 -0
  38. package/dist-client/pages/building-inspection/component/field-document/field-document-constants.js +630 -0
  39. package/dist-client/pages/building-inspection/component/field-document/field-document-constants.js.map +1 -0
  40. package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.d.ts +10 -0
  41. package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.js +219 -0
  42. package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.js.map +1 -0
  43. package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.d.ts +25 -0
  44. package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.js +546 -0
  45. package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.js.map +1 -0
  46. package/dist-client/pages/building-inspection/component/field-document/field-document-popup.d.ts +42 -0
  47. package/dist-client/pages/building-inspection/component/field-document/field-document-popup.js +738 -0
  48. package/dist-client/pages/building-inspection/component/field-document/field-document-popup.js.map +1 -0
  49. package/dist-client/pages/building-inspection/component/image-preview-popup.d.ts +15 -0
  50. package/dist-client/pages/building-inspection/component/image-preview-popup.js +348 -0
  51. package/dist-client/pages/building-inspection/component/image-preview-popup.js.map +1 -0
  52. package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.d.ts +25 -0
  53. package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.js +491 -0
  54. package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.js.map +1 -0
  55. package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.d.ts +31 -0
  56. package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.js +485 -0
  57. package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.js.map +1 -0
  58. package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.d.ts +27 -0
  59. package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.js +416 -0
  60. package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.js.map +1 -0
  61. package/dist-client/pages/building-inspection/component/inspection-event-provider.d.ts +4 -2
  62. package/dist-client/pages/building-inspection/component/inspection-event-provider.js +156 -37
  63. package/dist-client/pages/building-inspection/component/inspection-event-provider.js.map +1 -1
  64. package/dist-client/pages/building-inspection/inspection-create-popup.js +27 -13
  65. package/dist-client/pages/building-inspection/inspection-create-popup.js.map +1 -1
  66. package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.d.ts +4 -0
  67. package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.js +844 -0
  68. package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.js.map +1 -0
  69. package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.d.ts +60 -0
  70. package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js +1135 -0
  71. package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js.map +1 -0
  72. package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.d.ts +2 -0
  73. package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.js +740 -0
  74. package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.js.map +1 -0
  75. package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.d.ts +19 -0
  76. package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.js +205 -0
  77. package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.js.map +1 -0
  78. package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.d.ts +1 -0
  79. package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.js +304 -0
  80. package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.js.map +1 -0
  81. package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.d.ts +15 -0
  82. package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.js +430 -0
  83. package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.js.map +1 -0
  84. package/dist-client/pages/checklist/attachment-list-popup.d.ts +1 -0
  85. package/dist-client/pages/checklist/attachment-list-popup.js +251 -69
  86. package/dist-client/pages/checklist/attachment-list-popup.js.map +1 -1
  87. package/dist-client/pages/checklist/checklist-view.d.ts +8 -0
  88. package/dist-client/pages/checklist/checklist-view.js +557 -191
  89. package/dist-client/pages/checklist/checklist-view.js.map +1 -1
  90. package/dist-client/pages/checklist/comment-list-popup.js +15 -5
  91. package/dist-client/pages/checklist/comment-list-popup.js.map +1 -1
  92. package/dist-client/pages/checklist/file-preview-popup.js +0 -1
  93. package/dist-client/pages/checklist/file-preview-popup.js.map +1 -1
  94. package/dist-client/pages/checklist/inspection-info-popup.d.ts +49 -0
  95. package/dist-client/pages/checklist/inspection-info-popup.js +683 -0
  96. package/dist-client/pages/checklist/inspection-info-popup.js.map +1 -0
  97. package/dist-client/pages/checklist/inspection-tab-popup.d.ts +18 -0
  98. package/dist-client/pages/checklist/inspection-tab-popup.js +196 -0
  99. package/dist-client/pages/checklist/inspection-tab-popup.js.map +1 -0
  100. package/dist-client/pages/checklist/kcs-criteria-popup.d.ts +16 -0
  101. package/dist-client/pages/checklist/kcs-criteria-popup.js +179 -0
  102. package/dist-client/pages/checklist/kcs-criteria-popup.js.map +1 -0
  103. package/dist-client/pages/checklist-database/checklist-database.d.ts +35 -0
  104. package/dist-client/pages/checklist-database/checklist-database.js +540 -0
  105. package/dist-client/pages/checklist-database/checklist-database.js.map +1 -0
  106. package/dist-client/pages/checklist-template/checklist-template-item.js +44 -3
  107. package/dist-client/pages/checklist-template/checklist-template-item.js.map +1 -1
  108. package/dist-client/pages/checklist-template/checklist-template-list.js +4 -3
  109. package/dist-client/pages/checklist-template/checklist-template-list.js.map +1 -1
  110. package/dist-client/pages/checklist-template/checklist-type-management.d.ts +2 -2
  111. package/dist-client/pages/checklist-template/checklist-type-management.js.map +1 -1
  112. package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.d.ts +2 -0
  113. package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.js +223 -0
  114. package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.js.map +1 -0
  115. package/dist-client/pages/checklist-template/construction-checklist-template-list.d.ts +55 -0
  116. package/dist-client/pages/checklist-template/construction-checklist-template-list.js +404 -0
  117. package/dist-client/pages/checklist-template/construction-checklist-template-list.js.map +1 -0
  118. package/dist-client/pages/issue/issue-importer.js.map +1 -1
  119. package/dist-client/pages/issue/issue-list-page.d.ts +1 -2
  120. package/dist-client/pages/issue/issue-list-page.js +1 -2
  121. package/dist-client/pages/issue/issue-list-page.js.map +1 -1
  122. package/dist-client/pages/project-checklist/project-checklist-management.d.ts +62 -0
  123. package/dist-client/pages/project-checklist/project-checklist-management.js +1145 -0
  124. package/dist-client/pages/project-checklist/project-checklist-management.js.map +1 -0
  125. package/dist-client/pages/project-report/project-report-importer.js.map +1 -1
  126. package/dist-client/pages/project-report/project-report-list-page.d.ts +1 -2
  127. package/dist-client/pages/project-report/project-report-list-page.js +1 -2
  128. package/dist-client/pages/project-report/project-report-list-page.js.map +1 -1
  129. package/dist-client/pages/supervisor/supervisor-importer.js.map +1 -1
  130. package/dist-client/pages/supervisor/supervisor-list-page.d.ts +1 -2
  131. package/dist-client/pages/supervisor/supervisor-list-page.js +1 -2
  132. package/dist-client/pages/supervisor/supervisor-list-page.js.map +1 -1
  133. package/dist-client/route.d.ts +1 -1
  134. package/dist-client/route.js +21 -0
  135. package/dist-client/route.js.map +1 -1
  136. package/dist-client/stt/speech-to-text.d.ts +41 -0
  137. package/dist-client/stt/speech-to-text.js +331 -0
  138. package/dist-client/stt/speech-to-text.js.map +1 -0
  139. package/dist-client/stt/stt-utils.d.ts +28 -0
  140. package/dist-client/stt/stt-utils.js +146 -0
  141. package/dist-client/stt/stt-utils.js.map +1 -0
  142. package/dist-client/tsconfig.tsbuildinfo +1 -1
  143. package/dist-server/middlewares/index.js +1 -2
  144. package/dist-server/middlewares/index.js.map +1 -1
  145. package/dist-server/service/action-plan/action-plan-mutation.js +7 -8
  146. package/dist-server/service/action-plan/action-plan-mutation.js.map +1 -1
  147. package/dist-server/service/action-plan/action-plan-query.d.ts +2 -2
  148. package/dist-server/service/action-plan/action-plan-query.js +7 -13
  149. package/dist-server/service/action-plan/action-plan-query.js.map +1 -1
  150. package/dist-server/service/action-plan/action-plan-type.js +6 -6
  151. package/dist-server/service/action-plan/action-plan-type.js.map +1 -1
  152. package/dist-server/service/action-plan/action-plan.js +3 -3
  153. package/dist-server/service/action-plan/action-plan.js.map +1 -1
  154. package/dist-server/service/action-plan/index.d.ts +0 -1
  155. package/dist-server/service/action-plan/index.js +1 -2
  156. package/dist-server/service/action-plan/index.js.map +1 -1
  157. package/dist-server/service/building-inspection/building-inspection-mutation.d.ts +3 -3
  158. package/dist-server/service/building-inspection/building-inspection-mutation.js +185 -40
  159. package/dist-server/service/building-inspection/building-inspection-mutation.js.map +1 -1
  160. package/dist-server/service/building-inspection/building-inspection-query.d.ts +9 -6
  161. package/dist-server/service/building-inspection/building-inspection-query.js +199 -54
  162. package/dist-server/service/building-inspection/building-inspection-query.js.map +1 -1
  163. package/dist-server/service/building-inspection/building-inspection-type.d.ts +38 -10
  164. package/dist-server/service/building-inspection/building-inspection-type.js +142 -29
  165. package/dist-server/service/building-inspection/building-inspection-type.js.map +1 -1
  166. package/dist-server/service/building-inspection/building-inspection.d.ts +14 -0
  167. package/dist-server/service/building-inspection/building-inspection.js +78 -7
  168. package/dist-server/service/building-inspection/building-inspection.js.map +1 -1
  169. package/dist-server/service/building-inspection/index.d.ts +4 -7
  170. package/dist-server/service/building-inspection/index.js +11 -6
  171. package/dist-server/service/building-inspection/index.js.map +1 -1
  172. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.d.ts +6 -0
  173. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.js +66 -0
  174. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.js.map +1 -0
  175. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.d.ts +16 -0
  176. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.js +171 -0
  177. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.js.map +1 -0
  178. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.d.ts +23 -0
  179. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.js +90 -0
  180. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.js.map +1 -0
  181. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.d.ts +33 -0
  182. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.js +132 -0
  183. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.js.map +1 -0
  184. package/dist-server/service/building-inspection-daily-worklog/index.d.ts +5 -0
  185. package/dist-server/service/building-inspection-daily-worklog/index.js +9 -0
  186. package/dist-server/service/building-inspection-daily-worklog/index.js.map +1 -0
  187. package/dist-server/service/building-inspection-history/building-inspection-history-query.d.ts +16 -0
  188. package/dist-server/service/building-inspection-history/building-inspection-history-query.js +120 -0
  189. package/dist-server/service/building-inspection-history/building-inspection-history-query.js.map +1 -0
  190. package/dist-server/service/building-inspection-history/building-inspection-history-type.d.ts +5 -0
  191. package/dist-server/service/building-inspection-history/building-inspection-history-type.js +21 -0
  192. package/dist-server/service/building-inspection-history/building-inspection-history-type.js.map +1 -0
  193. package/dist-server/service/building-inspection-history/building-inspection-history.d.ts +35 -0
  194. package/dist-server/service/building-inspection-history/building-inspection-history.js +162 -0
  195. package/dist-server/service/building-inspection-history/building-inspection-history.js.map +1 -0
  196. package/dist-server/service/{building-inspection → building-inspection-history}/event-subscriber.d.ts +1 -1
  197. package/dist-server/service/{building-inspection → building-inspection-history}/event-subscriber.js +3 -3
  198. package/dist-server/service/building-inspection-history/event-subscriber.js.map +1 -0
  199. package/dist-server/service/building-inspection-history/index.d.ts +6 -0
  200. package/dist-server/service/building-inspection-history/index.js +10 -0
  201. package/dist-server/service/building-inspection-history/index.js.map +1 -0
  202. package/dist-server/service/checklist/checklist-mutation.d.ts +0 -5
  203. package/dist-server/service/checklist/checklist-mutation.js +3 -69
  204. package/dist-server/service/checklist/checklist-mutation.js.map +1 -1
  205. package/dist-server/service/checklist/checklist-query.d.ts +7 -0
  206. package/dist-server/service/checklist/checklist-query.js +85 -2
  207. package/dist-server/service/checklist/checklist-query.js.map +1 -1
  208. package/dist-server/service/checklist/checklist-type.d.ts +0 -13
  209. package/dist-server/service/checklist/checklist-type.js +3 -51
  210. package/dist-server/service/checklist/checklist-type.js.map +1 -1
  211. package/dist-server/service/checklist/checklist.d.ts +38 -3
  212. package/dist-server/service/checklist/checklist.js +133 -17
  213. package/dist-server/service/checklist/checklist.js.map +1 -1
  214. package/dist-server/service/checklist/event-subscriber.d.ts +2 -2
  215. package/dist-server/service/checklist/event-subscriber.js +4 -4
  216. package/dist-server/service/checklist/event-subscriber.js.map +1 -1
  217. package/dist-server/service/checklist/index.d.ts +1 -4
  218. package/dist-server/service/checklist/index.js +2 -5
  219. package/dist-server/service/checklist/index.js.map +1 -1
  220. package/dist-server/service/checklist-history/checklist-history-query.d.ts +11 -0
  221. package/dist-server/service/checklist-history/checklist-history-query.js +77 -0
  222. package/dist-server/service/checklist-history/checklist-history-query.js.map +1 -0
  223. package/dist-server/service/checklist-history/checklist-history-type.d.ts +5 -0
  224. package/dist-server/service/checklist-history/checklist-history-type.js +21 -0
  225. package/dist-server/service/checklist-history/checklist-history-type.js.map +1 -0
  226. package/dist-server/service/checklist-history/checklist-history.d.ts +50 -0
  227. package/dist-server/service/checklist-history/checklist-history.js +239 -0
  228. package/dist-server/service/checklist-history/checklist-history.js.map +1 -0
  229. package/dist-server/service/checklist-history/event-subscriber.d.ts +7 -0
  230. package/dist-server/service/checklist-history/event-subscriber.js +21 -0
  231. package/dist-server/service/checklist-history/event-subscriber.js.map +1 -0
  232. package/dist-server/service/checklist-history/index.d.ts +6 -0
  233. package/dist-server/service/checklist-history/index.js +10 -0
  234. package/dist-server/service/checklist-history/index.js.map +1 -0
  235. package/dist-server/service/checklist-item/checklist-item-mutation.d.ts +2 -0
  236. package/dist-server/service/checklist-item/checklist-item-mutation.js +23 -2
  237. package/dist-server/service/checklist-item/checklist-item-mutation.js.map +1 -1
  238. package/dist-server/service/checklist-item/checklist-item-query.d.ts +1 -1
  239. package/dist-server/service/checklist-item/checklist-item-query.js +7 -5
  240. package/dist-server/service/checklist-item/checklist-item-query.js.map +1 -1
  241. package/dist-server/service/checklist-item/checklist-item-type.d.ts +5 -1
  242. package/dist-server/service/checklist-item/checklist-item-type.js +17 -3
  243. package/dist-server/service/checklist-item/checklist-item-type.js.map +1 -1
  244. package/dist-server/service/checklist-item/checklist-item.d.ts +2 -0
  245. package/dist-server/service/checklist-item/checklist-item.js +14 -4
  246. package/dist-server/service/checklist-item/checklist-item.js.map +1 -1
  247. package/dist-server/service/checklist-item/index.d.ts +2 -2
  248. package/dist-server/service/checklist-item/index.js +1 -2
  249. package/dist-server/service/checklist-item/index.js.map +1 -1
  250. package/dist-server/service/checklist-item-comment/checklist-item-comment-history.js +2 -2
  251. package/dist-server/service/checklist-item-comment/checklist-item-comment-history.js.map +1 -1
  252. package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.d.ts +1 -0
  253. package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.js +35 -8
  254. package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.js.map +1 -1
  255. package/dist-server/service/checklist-item-comment/checklist-item-comment-query.js +2 -2
  256. package/dist-server/service/checklist-item-comment/checklist-item-comment-query.js.map +1 -1
  257. package/dist-server/service/checklist-item-comment/checklist-item-comment-type.js +6 -6
  258. package/dist-server/service/checklist-item-comment/checklist-item-comment-type.js.map +1 -1
  259. package/dist-server/service/checklist-item-comment/checklist-item-comment.js +2 -2
  260. package/dist-server/service/checklist-item-comment/checklist-item-comment.js.map +1 -1
  261. package/dist-server/service/checklist-item-comment/index.d.ts +0 -2
  262. package/dist-server/service/checklist-item-comment/index.js +1 -3
  263. package/dist-server/service/checklist-item-comment/index.js.map +1 -1
  264. package/dist-server/service/checklist-item-history/checklist-item-history-query.d.ts +16 -0
  265. package/dist-server/service/checklist-item-history/checklist-item-history-query.js +123 -0
  266. package/dist-server/service/checklist-item-history/checklist-item-history-query.js.map +1 -0
  267. package/dist-server/service/checklist-item-history/checklist-item-history-type.d.ts +5 -0
  268. package/dist-server/service/checklist-item-history/checklist-item-history-type.js +21 -0
  269. package/dist-server/service/checklist-item-history/checklist-item-history-type.js.map +1 -0
  270. package/dist-server/service/checklist-item-history/checklist-item-history.d.ts +27 -0
  271. package/dist-server/service/checklist-item-history/checklist-item-history.js +133 -0
  272. package/dist-server/service/checklist-item-history/checklist-item-history.js.map +1 -0
  273. package/dist-server/service/checklist-item-history/event-subscriber.d.ts +7 -0
  274. package/dist-server/service/checklist-item-history/event-subscriber.js +21 -0
  275. package/dist-server/service/checklist-item-history/event-subscriber.js.map +1 -0
  276. package/dist-server/service/checklist-item-history/index.d.ts +6 -0
  277. package/dist-server/service/checklist-item-history/index.js +10 -0
  278. package/dist-server/service/checklist-item-history/index.js.map +1 -0
  279. package/dist-server/service/checklist-template/checklist-template-mutation.js +2 -2
  280. package/dist-server/service/checklist-template/checklist-template-mutation.js.map +1 -1
  281. package/dist-server/service/checklist-template/checklist-template-query.d.ts +1 -1
  282. package/dist-server/service/checklist-template/checklist-template-query.js +4 -7
  283. package/dist-server/service/checklist-template/checklist-template-query.js.map +1 -1
  284. package/dist-server/service/checklist-template/checklist-template-type.js +4 -4
  285. package/dist-server/service/checklist-template/checklist-template-type.js.map +1 -1
  286. package/dist-server/service/checklist-template/checklist-template.js +2 -2
  287. package/dist-server/service/checklist-template/checklist-template.js.map +1 -1
  288. package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js +15 -3
  289. package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js.map +1 -1
  290. package/dist-server/service/checklist-template-item/checklist-template-item-query.js +2 -2
  291. package/dist-server/service/checklist-template-item/checklist-template-item-query.js.map +1 -1
  292. package/dist-server/service/checklist-template-item/checklist-template-item-type.d.ts +3 -0
  293. package/dist-server/service/checklist-template-item/checklist-template-item-type.js +13 -4
  294. package/dist-server/service/checklist-template-item/checklist-template-item-type.js.map +1 -1
  295. package/dist-server/service/checklist-template-item/checklist-template-item.d.ts +7 -0
  296. package/dist-server/service/checklist-template-item/checklist-template-item.js +26 -8
  297. package/dist-server/service/checklist-template-item/checklist-template-item.js.map +1 -1
  298. package/dist-server/service/checklist-template-item/spec-matching-service.d.ts +2 -0
  299. package/dist-server/service/checklist-template-item/spec-matching-service.js +51 -0
  300. package/dist-server/service/checklist-template-item/spec-matching-service.js.map +1 -0
  301. package/dist-server/service/checklist-type/checklist-type-mutation.js +2 -2
  302. package/dist-server/service/checklist-type/checklist-type-mutation.js.map +1 -1
  303. package/dist-server/service/checklist-type/checklist-type-query.d.ts +1 -1
  304. package/dist-server/service/checklist-type/checklist-type-query.js +4 -7
  305. package/dist-server/service/checklist-type/checklist-type-query.js.map +1 -1
  306. package/dist-server/service/checklist-type/checklist-type-type.js +4 -4
  307. package/dist-server/service/checklist-type/checklist-type-type.js.map +1 -1
  308. package/dist-server/service/checklist-type/checklist-type.js +3 -3
  309. package/dist-server/service/checklist-type/checklist-type.js.map +1 -1
  310. package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.d.ts +7 -0
  311. package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.js +107 -0
  312. package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.js.map +1 -0
  313. package/dist-server/service/construction-checklist-template/construction-checklist-template-query.d.ts +10 -0
  314. package/dist-server/service/construction-checklist-template/construction-checklist-template-query.js +62 -0
  315. package/dist-server/service/construction-checklist-template/construction-checklist-template-query.js.map +1 -0
  316. package/dist-server/service/construction-checklist-template/construction-checklist-template-type.d.ts +11 -0
  317. package/dist-server/service/construction-checklist-template/construction-checklist-template-type.js +43 -0
  318. package/dist-server/service/construction-checklist-template/construction-checklist-template-type.js.map +1 -0
  319. package/dist-server/service/construction-checklist-template/construction-checklist-template.d.ts +18 -0
  320. package/dist-server/service/construction-checklist-template/construction-checklist-template.js +80 -0
  321. package/dist-server/service/construction-checklist-template/construction-checklist-template.js.map +1 -0
  322. package/dist-server/service/construction-checklist-template/index.d.ts +5 -0
  323. package/dist-server/service/construction-checklist-template/index.js +9 -0
  324. package/dist-server/service/construction-checklist-template/index.js.map +1 -0
  325. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.d.ts +6 -0
  326. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.js +56 -0
  327. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.js.map +1 -0
  328. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.d.ts +9 -0
  329. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.js +53 -0
  330. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.js.map +1 -0
  331. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.d.ts +17 -0
  332. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.js +67 -0
  333. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.js.map +1 -0
  334. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.d.ts +24 -0
  335. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.js +113 -0
  336. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.js.map +1 -0
  337. package/dist-server/service/construction-checklist-template-item/index.d.ts +5 -0
  338. package/dist-server/service/construction-checklist-template-item/index.js +9 -0
  339. package/dist-server/service/construction-checklist-template-item/index.js.map +1 -0
  340. package/dist-server/service/field-document/field-document-auto-file.d.ts +21 -0
  341. package/dist-server/service/field-document/field-document-auto-file.js +47 -0
  342. package/dist-server/service/field-document/field-document-auto-file.js.map +1 -0
  343. package/dist-server/service/field-document/field-document-mutation.d.ts +9 -0
  344. package/dist-server/service/field-document/field-document-mutation.js +139 -0
  345. package/dist-server/service/field-document/field-document-mutation.js.map +1 -0
  346. package/dist-server/service/field-document/field-document-query.d.ts +14 -0
  347. package/dist-server/service/field-document/field-document-query.js +120 -0
  348. package/dist-server/service/field-document/field-document-query.js.map +1 -0
  349. package/dist-server/service/field-document/field-document-summary-service.d.ts +10 -0
  350. package/dist-server/service/field-document/field-document-summary-service.js +79 -0
  351. package/dist-server/service/field-document/field-document-summary-service.js.map +1 -0
  352. package/dist-server/service/field-document/field-document-type.d.ts +24 -0
  353. package/dist-server/service/field-document/field-document-type.js +88 -0
  354. package/dist-server/service/field-document/field-document-type.js.map +1 -0
  355. package/dist-server/service/field-document/field-document.d.ts +29 -0
  356. package/dist-server/service/field-document/field-document.js +127 -0
  357. package/dist-server/service/field-document/field-document.js.map +1 -0
  358. package/dist-server/service/field-document/index.d.ts +5 -0
  359. package/dist-server/service/field-document/index.js +9 -0
  360. package/dist-server/service/field-document/index.js.map +1 -0
  361. package/dist-server/service/index.d.ts +10 -3
  362. package/dist-server/service/index.js +42 -13
  363. package/dist-server/service/index.js.map +1 -1
  364. package/dist-server/service/issue/index.d.ts +0 -1
  365. package/dist-server/service/issue/index.js +1 -2
  366. package/dist-server/service/issue/index.js.map +1 -1
  367. package/dist-server/service/issue/issue-mutation.js +7 -8
  368. package/dist-server/service/issue/issue-mutation.js.map +1 -1
  369. package/dist-server/service/issue/issue-query.d.ts +2 -2
  370. package/dist-server/service/issue/issue-query.js +7 -13
  371. package/dist-server/service/issue/issue-query.js.map +1 -1
  372. package/dist-server/service/issue/issue-type.js +6 -6
  373. package/dist-server/service/issue/issue-type.js.map +1 -1
  374. package/dist-server/service/issue/issue.js +3 -3
  375. package/dist-server/service/issue/issue.js.map +1 -1
  376. package/dist-server/service/project-checklist/index.d.ts +5 -0
  377. package/dist-server/service/project-checklist/index.js +9 -0
  378. package/dist-server/service/project-checklist/index.js.map +1 -0
  379. package/dist-server/service/project-checklist/project-checklist-mutation.d.ts +7 -0
  380. package/dist-server/service/project-checklist/project-checklist-mutation.js +118 -0
  381. package/dist-server/service/project-checklist/project-checklist-mutation.js.map +1 -0
  382. package/dist-server/service/project-checklist/project-checklist-query.d.ts +12 -0
  383. package/dist-server/service/project-checklist/project-checklist-query.js +76 -0
  384. package/dist-server/service/project-checklist/project-checklist-query.js.map +1 -0
  385. package/dist-server/service/project-checklist/project-checklist-type.d.ts +18 -0
  386. package/dist-server/service/project-checklist/project-checklist-type.js +69 -0
  387. package/dist-server/service/project-checklist/project-checklist-type.js.map +1 -0
  388. package/dist-server/service/project-checklist/project-checklist.d.ts +20 -0
  389. package/dist-server/service/project-checklist/project-checklist.js +90 -0
  390. package/dist-server/service/project-checklist/project-checklist.js.map +1 -0
  391. package/dist-server/service/project-checklist/spec-matching-service.d.ts +17 -0
  392. package/dist-server/service/project-checklist/spec-matching-service.js +140 -0
  393. package/dist-server/service/project-checklist/spec-matching-service.js.map +1 -0
  394. package/dist-server/service/project-checklist-item/index.d.ts +4 -0
  395. package/dist-server/service/project-checklist-item/index.js +9 -0
  396. package/dist-server/service/project-checklist-item/index.js.map +1 -0
  397. package/dist-server/service/project-checklist-item/project-checklist-item-mutation.d.ts +2 -0
  398. package/dist-server/service/project-checklist-item/project-checklist-item-mutation.js +13 -0
  399. package/dist-server/service/project-checklist-item/project-checklist-item-mutation.js.map +1 -0
  400. package/dist-server/service/project-checklist-item/project-checklist-item-query.d.ts +5 -0
  401. package/dist-server/service/project-checklist-item/project-checklist-item-query.js +34 -0
  402. package/dist-server/service/project-checklist-item/project-checklist-item-query.js.map +1 -0
  403. package/dist-server/service/project-checklist-item/project-checklist-item-type.d.ts +5 -0
  404. package/dist-server/service/project-checklist-item/project-checklist-item-type.js +21 -0
  405. package/dist-server/service/project-checklist-item/project-checklist-item-type.js.map +1 -0
  406. package/dist-server/service/project-checklist-item/project-checklist-item.d.ts +19 -0
  407. package/dist-server/service/project-checklist-item/project-checklist-item.js +92 -0
  408. package/dist-server/service/project-checklist-item/project-checklist-item.js.map +1 -0
  409. package/dist-server/service/project-report/index.d.ts +0 -1
  410. package/dist-server/service/project-report/index.js +1 -2
  411. package/dist-server/service/project-report/index.js.map +1 -1
  412. package/dist-server/service/project-report/project-report-mutation.js +7 -8
  413. package/dist-server/service/project-report/project-report-mutation.js.map +1 -1
  414. package/dist-server/service/project-report/project-report-query.d.ts +2 -2
  415. package/dist-server/service/project-report/project-report-query.js +7 -13
  416. package/dist-server/service/project-report/project-report-query.js.map +1 -1
  417. package/dist-server/service/project-report/project-report-type.js +6 -6
  418. package/dist-server/service/project-report/project-report-type.js.map +1 -1
  419. package/dist-server/service/project-report/project-report.d.ts +0 -2
  420. package/dist-server/service/project-report/project-report.js +3 -9
  421. package/dist-server/service/project-report/project-report.js.map +1 -1
  422. package/dist-server/service/supervisor/index.d.ts +0 -1
  423. package/dist-server/service/supervisor/index.js +1 -2
  424. package/dist-server/service/supervisor/index.js.map +1 -1
  425. package/dist-server/service/supervisor/supervisor-mutation.js +7 -8
  426. package/dist-server/service/supervisor/supervisor-mutation.js.map +1 -1
  427. package/dist-server/service/supervisor/supervisor-query.d.ts +2 -2
  428. package/dist-server/service/supervisor/supervisor-query.js +7 -13
  429. package/dist-server/service/supervisor/supervisor-query.js.map +1 -1
  430. package/dist-server/service/supervisor/supervisor-type.js +6 -6
  431. package/dist-server/service/supervisor/supervisor-type.js.map +1 -1
  432. package/dist-server/service/supervisor/supervisor.js +3 -3
  433. package/dist-server/service/supervisor/supervisor.js.map +1 -1
  434. package/dist-server/tsconfig.tsbuildinfo +1 -1
  435. package/package.json +16 -13
  436. package/things-factory.config.js +11 -1
  437. package/client/bootstrap.ts +0 -1
  438. package/client/index.ts +0 -0
  439. package/client/pages/action-plan/action-plan-importer.ts +0 -94
  440. package/client/pages/action-plan/action-plan-list-page.ts +0 -340
  441. package/client/pages/building-inspection/building-inspection-detail-camera.ts +0 -277
  442. package/client/pages/building-inspection/building-inspection-detail-checklist.ts +0 -258
  443. package/client/pages/building-inspection/building-inspection-detail-drawing.ts +0 -288
  444. package/client/pages/building-inspection/building-inspection-list.ts +0 -565
  445. package/client/pages/building-inspection/component/building-inspection-detail-header.ts +0 -123
  446. package/client/pages/building-inspection/component/inspection-event-provider.ts +0 -81
  447. package/client/pages/building-inspection/inspection-create-popup.ts +0 -785
  448. package/client/pages/checklist/attachment-list-popup.ts +0 -301
  449. package/client/pages/checklist/checklist-view.ts +0 -581
  450. package/client/pages/checklist/comment-list-popup.ts +0 -328
  451. package/client/pages/checklist/file-preview-popup.ts +0 -70
  452. package/client/pages/checklist-template/checklist-template-item.ts +0 -240
  453. package/client/pages/checklist-template/checklist-template-list.ts +0 -368
  454. package/client/pages/checklist-template/checklist-type-management.ts +0 -262
  455. package/client/pages/issue/issue-importer.ts +0 -94
  456. package/client/pages/issue/issue-list-page.ts +0 -340
  457. package/client/pages/project-report/project-report-importer.ts +0 -94
  458. package/client/pages/project-report/project-report-list-page.ts +0 -340
  459. package/client/pages/supervisor/supervisor-importer.ts +0 -94
  460. package/client/pages/supervisor/supervisor-list-page.ts +0 -340
  461. package/client/route.ts +0 -27
  462. package/client/tsconfig.json +0 -11
  463. package/dist-server/service/building-inspection/building-inspection-history.d.ts +0 -17
  464. package/dist-server/service/building-inspection/building-inspection-history.js +0 -86
  465. package/dist-server/service/building-inspection/building-inspection-history.js.map +0 -1
  466. package/dist-server/service/building-inspection/event-subscriber.js.map +0 -1
  467. package/dist-server/service/checklist/checklist-history.d.ts +0 -24
  468. package/dist-server/service/checklist/checklist-history.js +0 -120
  469. package/dist-server/service/checklist/checklist-history.js.map +0 -1
  470. package/dist-server/service/checklist-item-comment/event-subscriber.d.ts +0 -7
  471. package/dist-server/service/checklist-item-comment/event-subscriber.js +0 -21
  472. package/dist-server/service/checklist-item-comment/event-subscriber.js.map +0 -1
  473. package/server/controllers/index.ts +0 -0
  474. package/server/index.ts +0 -4
  475. package/server/middlewares/index.ts +0 -3
  476. package/server/migrations/index.ts +0 -9
  477. package/server/routes.ts +0 -28
  478. package/server/service/action-plan/action-plan-mutation.ts +0 -198
  479. package/server/service/action-plan/action-plan-query.ts +0 -62
  480. package/server/service/action-plan/action-plan-type.ts +0 -61
  481. package/server/service/action-plan/action-plan.ts +0 -103
  482. package/server/service/action-plan/index.ts +0 -7
  483. package/server/service/building-inspection/building-inspection-history.ts +0 -72
  484. package/server/service/building-inspection/building-inspection-mutation.ts +0 -276
  485. package/server/service/building-inspection/building-inspection-query.ts +0 -242
  486. package/server/service/building-inspection/building-inspection-type.ts +0 -145
  487. package/server/service/building-inspection/building-inspection.ts +0 -108
  488. package/server/service/building-inspection/event-subscriber.ts +0 -20
  489. package/server/service/building-inspection/index.ts +0 -11
  490. package/server/service/checklist/checklist-history.ts +0 -96
  491. package/server/service/checklist/checklist-mutation.ts +0 -103
  492. package/server/service/checklist/checklist-query.ts +0 -58
  493. package/server/service/checklist/checklist-type.ts +0 -49
  494. package/server/service/checklist/checklist.ts +0 -127
  495. package/server/service/checklist/event-subscriber.ts +0 -17
  496. package/server/service/checklist/index.ts +0 -9
  497. package/server/service/checklist-item/checklist-item-mutation.ts +0 -5
  498. package/server/service/checklist-item/checklist-item-query.ts +0 -84
  499. package/server/service/checklist-item/checklist-item-type.ts +0 -12
  500. package/server/service/checklist-item/checklist-item.ts +0 -103
  501. package/server/service/checklist-item/index.ts +0 -7
  502. package/server/service/checklist-item-comment/checklist-item-comment-history.ts +0 -69
  503. package/server/service/checklist-item-comment/checklist-item-comment-mutation.ts +0 -80
  504. package/server/service/checklist-item-comment/checklist-item-comment-query.ts +0 -36
  505. package/server/service/checklist-item-comment/checklist-item-comment-type.ts +0 -32
  506. package/server/service/checklist-item-comment/checklist-item-comment.ts +0 -56
  507. package/server/service/checklist-item-comment/event-subscriber.ts +0 -17
  508. package/server/service/checklist-item-comment/index.ts +0 -9
  509. package/server/service/checklist-template/checklist-template-mutation.ts +0 -66
  510. package/server/service/checklist-template/checklist-template-query.ts +0 -39
  511. package/server/service/checklist-template/checklist-template-type.ts +0 -23
  512. package/server/service/checklist-template/checklist-template.ts +0 -71
  513. package/server/service/checklist-template/index.ts +0 -6
  514. package/server/service/checklist-template-item/checklist-template-item-mutation.ts +0 -64
  515. package/server/service/checklist-template-item/checklist-template-item-query.ts +0 -44
  516. package/server/service/checklist-template-item/checklist-template-item-type.ts +0 -39
  517. package/server/service/checklist-template-item/checklist-template-item.ts +0 -68
  518. package/server/service/checklist-template-item/index.ts +0 -6
  519. package/server/service/checklist-type/checklist-type-mutation.ts +0 -66
  520. package/server/service/checklist-type/checklist-type-query.ts +0 -39
  521. package/server/service/checklist-type/checklist-type-type.ts +0 -26
  522. package/server/service/checklist-type/checklist-type.ts +0 -64
  523. package/server/service/checklist-type/index.ts +0 -6
  524. package/server/service/index.ts +0 -88
  525. package/server/service/issue/index.ts +0 -7
  526. package/server/service/issue/issue-mutation.ts +0 -198
  527. package/server/service/issue/issue-query.ts +0 -62
  528. package/server/service/issue/issue-type.ts +0 -61
  529. package/server/service/issue/issue.ts +0 -100
  530. package/server/service/project-report/index.ts +0 -7
  531. package/server/service/project-report/project-report-mutation.ts +0 -198
  532. package/server/service/project-report/project-report-query.ts +0 -62
  533. package/server/service/project-report/project-report-type.ts +0 -61
  534. package/server/service/project-report/project-report.ts +0 -113
  535. package/server/service/supervisor/index.ts +0 -7
  536. package/server/service/supervisor/supervisor-mutation.ts +0 -198
  537. package/server/service/supervisor/supervisor-query.ts +0 -62
  538. package/server/service/supervisor/supervisor-type.ts +0 -61
  539. package/server/service/supervisor/supervisor.ts +0 -108
  540. package/server/tsconfig.json +0 -10
@@ -1,51 +1,71 @@
1
1
  import { BuildingInspection } from './building-inspection';
2
- declare class ChecklistInputType {
2
+ import { InspectionResultStatus, InspectionResultType } from '../checklist/checklist';
3
+ export declare class ChecklistInputType {
3
4
  name: string;
4
- constructionType: string;
5
- constructionDetailType: string;
5
+ constructionType?: string;
6
+ constructionDetailType?: string;
6
7
  location?: string;
7
8
  inspectionDrawingType?: string;
8
9
  inspectionParts?: string[];
9
10
  }
10
- declare class ChecklistItemInputType {
11
+ export declare class ChecklistItemInputType {
11
12
  name: string;
12
13
  mainType: string;
13
14
  detailType: string;
14
- inspctionCriteria: string;
15
+ inspctionCriteria?: string;
16
+ kcsCriteria?: string;
17
+ siteSpecCriteria?: string;
15
18
  }
16
19
  export declare class NewBuildingInspection {
17
- buildingLevelId: string;
20
+ buildingLevelId?: string;
18
21
  checklist: ChecklistInputType;
19
22
  checklistItem: ChecklistItemInputType[];
23
+ cellX?: number;
24
+ cellY?: number;
25
+ managerId?: string;
20
26
  }
21
- declare class ChecklistSubmitInputType {
27
+ export declare class ChecklistSubmitInputType {
22
28
  id: string;
23
29
  overallConstructorSignature?: string;
24
30
  taskConstructorSignature?: string;
25
31
  overallSupervisorySignature?: string;
26
32
  taskSupervisorySignature?: string;
33
+ inspectionRequestMemo?: string;
34
+ inspectionResultMemo?: string;
35
+ inspectionResultStatus?: InspectionResultStatus;
36
+ inspectionResultType?: InspectionResultType;
27
37
  }
28
- declare class ChecklistItemSubmitInputType {
38
+ export declare class ChecklistItemSubmitInputType {
29
39
  id: string;
30
40
  constructionConfirmStatus?: string;
31
41
  supervisoryConfirmStatus?: string;
32
42
  }
33
43
  export declare class UpdateBuildingInspectionSubmitType {
34
44
  id: string;
45
+ memo?: string;
46
+ requestDate?: string;
35
47
  checklist: ChecklistSubmitInputType;
36
48
  checklistItem: ChecklistItemSubmitInputType[];
37
49
  }
38
- export declare class UpdateBuildingInspectionDrawingMarker {
50
+ export declare class UpdateBuildingInspection {
39
51
  id: string;
40
52
  drawingMarker?: string;
53
+ memo?: string;
41
54
  }
42
55
  export declare class BuildingInspectionsOfProject {
43
56
  projectId: string;
44
57
  limit: number;
58
+ statusFilter?: string;
59
+ }
60
+ export declare class BuildingInspectionsOfBuilding {
61
+ buildingId: string;
62
+ limit: number;
45
63
  }
46
64
  export declare class BuildingInspectionsOfBuildingLevel {
47
65
  buildingLevelId: string;
48
66
  limit: number;
67
+ startDate?: string;
68
+ endDate?: string;
49
69
  }
50
70
  export declare class BuildingInspectionSummary {
51
71
  requestDate?: string;
@@ -53,9 +73,17 @@ export declare class BuildingInspectionSummary {
53
73
  request: number;
54
74
  pass: number;
55
75
  fail: number;
76
+ reWait?: number;
56
77
  }
57
78
  export declare class BuildingInspectionList {
58
79
  items: BuildingInspection[];
59
80
  total: number;
60
81
  }
61
- export {};
82
+ export declare class ProjectManagerOutput {
83
+ id?: string;
84
+ phone?: string;
85
+ position?: string;
86
+ userId?: string;
87
+ name?: string;
88
+ updatedAt?: string;
89
+ }
@@ -1,40 +1,43 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BuildingInspectionList = exports.BuildingInspectionSummary = exports.BuildingInspectionsOfBuildingLevel = exports.BuildingInspectionsOfProject = exports.UpdateBuildingInspectionDrawingMarker = exports.UpdateBuildingInspectionSubmitType = exports.NewBuildingInspection = void 0;
3
+ exports.ProjectManagerOutput = exports.BuildingInspectionList = exports.BuildingInspectionSummary = exports.BuildingInspectionsOfBuildingLevel = exports.BuildingInspectionsOfBuilding = exports.BuildingInspectionsOfProject = exports.UpdateBuildingInspection = exports.UpdateBuildingInspectionSubmitType = exports.ChecklistItemSubmitInputType = exports.ChecklistSubmitInputType = exports.NewBuildingInspection = exports.ChecklistItemInputType = exports.ChecklistInputType = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const type_graphql_1 = require("type-graphql");
6
6
  const building_inspection_1 = require("./building-inspection");
7
+ const checklist_1 = require("../checklist/checklist");
7
8
  let ChecklistInputType = class ChecklistInputType {
8
9
  };
10
+ exports.ChecklistInputType = ChecklistInputType;
9
11
  tslib_1.__decorate([
10
12
  (0, type_graphql_1.Field)({ nullable: false }),
11
13
  tslib_1.__metadata("design:type", String)
12
14
  ], ChecklistInputType.prototype, "name", void 0);
13
15
  tslib_1.__decorate([
14
- (0, type_graphql_1.Field)({ nullable: false }),
16
+ (0, type_graphql_1.Field)({ nullable: true }),
15
17
  tslib_1.__metadata("design:type", String)
16
18
  ], ChecklistInputType.prototype, "constructionType", void 0);
17
19
  tslib_1.__decorate([
18
- (0, type_graphql_1.Field)({ nullable: false }),
20
+ (0, type_graphql_1.Field)({ nullable: true }),
19
21
  tslib_1.__metadata("design:type", String)
20
22
  ], ChecklistInputType.prototype, "constructionDetailType", void 0);
21
23
  tslib_1.__decorate([
22
- (0, type_graphql_1.Field)({ nullable: false }),
24
+ (0, type_graphql_1.Field)({ nullable: true }),
23
25
  tslib_1.__metadata("design:type", String)
24
26
  ], ChecklistInputType.prototype, "location", void 0);
25
27
  tslib_1.__decorate([
26
- (0, type_graphql_1.Field)({ nullable: false }),
28
+ (0, type_graphql_1.Field)({ nullable: true }),
27
29
  tslib_1.__metadata("design:type", String)
28
30
  ], ChecklistInputType.prototype, "inspectionDrawingType", void 0);
29
31
  tslib_1.__decorate([
30
- (0, type_graphql_1.Field)(type => [String], { nullable: false }),
32
+ (0, type_graphql_1.Field)(type => [String], { nullable: true }),
31
33
  tslib_1.__metadata("design:type", Array)
32
34
  ], ChecklistInputType.prototype, "inspectionParts", void 0);
33
- ChecklistInputType = tslib_1.__decorate([
35
+ exports.ChecklistInputType = ChecklistInputType = tslib_1.__decorate([
34
36
  (0, type_graphql_1.InputType)()
35
37
  ], ChecklistInputType);
36
38
  let ChecklistItemInputType = class ChecklistItemInputType {
37
39
  };
40
+ exports.ChecklistItemInputType = ChecklistItemInputType;
38
41
  tslib_1.__decorate([
39
42
  (0, type_graphql_1.Field)({ nullable: false }),
40
43
  tslib_1.__metadata("design:type", String)
@@ -51,13 +54,22 @@ tslib_1.__decorate([
51
54
  (0, type_graphql_1.Field)({ nullable: true }),
52
55
  tslib_1.__metadata("design:type", String)
53
56
  ], ChecklistItemInputType.prototype, "inspctionCriteria", void 0);
54
- ChecklistItemInputType = tslib_1.__decorate([
57
+ tslib_1.__decorate([
58
+ (0, type_graphql_1.Field)({ nullable: true }),
59
+ tslib_1.__metadata("design:type", String)
60
+ ], ChecklistItemInputType.prototype, "kcsCriteria", void 0);
61
+ tslib_1.__decorate([
62
+ (0, type_graphql_1.Field)({ nullable: true }),
63
+ tslib_1.__metadata("design:type", String)
64
+ ], ChecklistItemInputType.prototype, "siteSpecCriteria", void 0);
65
+ exports.ChecklistItemInputType = ChecklistItemInputType = tslib_1.__decorate([
55
66
  (0, type_graphql_1.InputType)()
56
67
  ], ChecklistItemInputType);
57
68
  let NewBuildingInspection = class NewBuildingInspection {
58
69
  };
70
+ exports.NewBuildingInspection = NewBuildingInspection;
59
71
  tslib_1.__decorate([
60
- (0, type_graphql_1.Field)({ nullable: false }),
72
+ (0, type_graphql_1.Field)({ nullable: true }),
61
73
  tslib_1.__metadata("design:type", String)
62
74
  ], NewBuildingInspection.prototype, "buildingLevelId", void 0);
63
75
  tslib_1.__decorate([
@@ -68,12 +80,24 @@ tslib_1.__decorate([
68
80
  (0, type_graphql_1.Field)(type => [ChecklistItemInputType], { nullable: false }),
69
81
  tslib_1.__metadata("design:type", Array)
70
82
  ], NewBuildingInspection.prototype, "checklistItem", void 0);
71
- NewBuildingInspection = tslib_1.__decorate([
83
+ tslib_1.__decorate([
84
+ (0, type_graphql_1.Field)({ nullable: true }),
85
+ tslib_1.__metadata("design:type", Number)
86
+ ], NewBuildingInspection.prototype, "cellX", void 0);
87
+ tslib_1.__decorate([
88
+ (0, type_graphql_1.Field)({ nullable: true }),
89
+ tslib_1.__metadata("design:type", Number)
90
+ ], NewBuildingInspection.prototype, "cellY", void 0);
91
+ tslib_1.__decorate([
92
+ (0, type_graphql_1.Field)({ nullable: true }),
93
+ tslib_1.__metadata("design:type", String)
94
+ ], NewBuildingInspection.prototype, "managerId", void 0);
95
+ exports.NewBuildingInspection = NewBuildingInspection = tslib_1.__decorate([
72
96
  (0, type_graphql_1.InputType)()
73
97
  ], NewBuildingInspection);
74
- exports.NewBuildingInspection = NewBuildingInspection;
75
98
  let ChecklistSubmitInputType = class ChecklistSubmitInputType {
76
99
  };
100
+ exports.ChecklistSubmitInputType = ChecklistSubmitInputType;
77
101
  tslib_1.__decorate([
78
102
  (0, type_graphql_1.Field)({ nullable: false }),
79
103
  tslib_1.__metadata("design:type", String)
@@ -94,11 +118,28 @@ tslib_1.__decorate([
94
118
  (0, type_graphql_1.Field)({ nullable: true }),
95
119
  tslib_1.__metadata("design:type", String)
96
120
  ], ChecklistSubmitInputType.prototype, "taskSupervisorySignature", void 0);
97
- ChecklistSubmitInputType = tslib_1.__decorate([
121
+ tslib_1.__decorate([
122
+ (0, type_graphql_1.Field)({ nullable: true }),
123
+ tslib_1.__metadata("design:type", String)
124
+ ], ChecklistSubmitInputType.prototype, "inspectionRequestMemo", void 0);
125
+ tslib_1.__decorate([
126
+ (0, type_graphql_1.Field)({ nullable: true }),
127
+ tslib_1.__metadata("design:type", String)
128
+ ], ChecklistSubmitInputType.prototype, "inspectionResultMemo", void 0);
129
+ tslib_1.__decorate([
130
+ (0, type_graphql_1.Field)({ nullable: true }),
131
+ tslib_1.__metadata("design:type", String)
132
+ ], ChecklistSubmitInputType.prototype, "inspectionResultStatus", void 0);
133
+ tslib_1.__decorate([
134
+ (0, type_graphql_1.Field)({ nullable: true }),
135
+ tslib_1.__metadata("design:type", String)
136
+ ], ChecklistSubmitInputType.prototype, "inspectionResultType", void 0);
137
+ exports.ChecklistSubmitInputType = ChecklistSubmitInputType = tslib_1.__decorate([
98
138
  (0, type_graphql_1.InputType)()
99
139
  ], ChecklistSubmitInputType);
100
140
  let ChecklistItemSubmitInputType = class ChecklistItemSubmitInputType {
101
141
  };
142
+ exports.ChecklistItemSubmitInputType = ChecklistItemSubmitInputType;
102
143
  tslib_1.__decorate([
103
144
  (0, type_graphql_1.Field)({ nullable: false }),
104
145
  tslib_1.__metadata("design:type", String)
@@ -111,15 +152,24 @@ tslib_1.__decorate([
111
152
  (0, type_graphql_1.Field)({ nullable: true }),
112
153
  tslib_1.__metadata("design:type", String)
113
154
  ], ChecklistItemSubmitInputType.prototype, "supervisoryConfirmStatus", void 0);
114
- ChecklistItemSubmitInputType = tslib_1.__decorate([
155
+ exports.ChecklistItemSubmitInputType = ChecklistItemSubmitInputType = tslib_1.__decorate([
115
156
  (0, type_graphql_1.InputType)()
116
157
  ], ChecklistItemSubmitInputType);
117
158
  let UpdateBuildingInspectionSubmitType = class UpdateBuildingInspectionSubmitType {
118
159
  };
160
+ exports.UpdateBuildingInspectionSubmitType = UpdateBuildingInspectionSubmitType;
119
161
  tslib_1.__decorate([
120
162
  (0, type_graphql_1.Field)({ nullable: false }),
121
163
  tslib_1.__metadata("design:type", String)
122
164
  ], UpdateBuildingInspectionSubmitType.prototype, "id", void 0);
165
+ tslib_1.__decorate([
166
+ (0, type_graphql_1.Field)({ nullable: true }),
167
+ tslib_1.__metadata("design:type", String)
168
+ ], UpdateBuildingInspectionSubmitType.prototype, "memo", void 0);
169
+ tslib_1.__decorate([
170
+ (0, type_graphql_1.Field)({ nullable: true }),
171
+ tslib_1.__metadata("design:type", String)
172
+ ], UpdateBuildingInspectionSubmitType.prototype, "requestDate", void 0);
123
173
  tslib_1.__decorate([
124
174
  (0, type_graphql_1.Field)(type => ChecklistSubmitInputType, { nullable: false }),
125
175
  tslib_1.__metadata("design:type", ChecklistSubmitInputType)
@@ -128,26 +178,30 @@ tslib_1.__decorate([
128
178
  (0, type_graphql_1.Field)(type => [ChecklistItemSubmitInputType], { nullable: false }),
129
179
  tslib_1.__metadata("design:type", Array)
130
180
  ], UpdateBuildingInspectionSubmitType.prototype, "checklistItem", void 0);
131
- UpdateBuildingInspectionSubmitType = tslib_1.__decorate([
181
+ exports.UpdateBuildingInspectionSubmitType = UpdateBuildingInspectionSubmitType = tslib_1.__decorate([
132
182
  (0, type_graphql_1.InputType)()
133
183
  ], UpdateBuildingInspectionSubmitType);
134
- exports.UpdateBuildingInspectionSubmitType = UpdateBuildingInspectionSubmitType;
135
- let UpdateBuildingInspectionDrawingMarker = class UpdateBuildingInspectionDrawingMarker {
184
+ let UpdateBuildingInspection = class UpdateBuildingInspection {
136
185
  };
186
+ exports.UpdateBuildingInspection = UpdateBuildingInspection;
137
187
  tslib_1.__decorate([
138
188
  (0, type_graphql_1.Field)({ nullable: false }),
139
189
  tslib_1.__metadata("design:type", String)
140
- ], UpdateBuildingInspectionDrawingMarker.prototype, "id", void 0);
190
+ ], UpdateBuildingInspection.prototype, "id", void 0);
141
191
  tslib_1.__decorate([
142
192
  (0, type_graphql_1.Field)(type => String, { nullable: true }),
143
193
  tslib_1.__metadata("design:type", String)
144
- ], UpdateBuildingInspectionDrawingMarker.prototype, "drawingMarker", void 0);
145
- UpdateBuildingInspectionDrawingMarker = tslib_1.__decorate([
194
+ ], UpdateBuildingInspection.prototype, "drawingMarker", void 0);
195
+ tslib_1.__decorate([
196
+ (0, type_graphql_1.Field)(type => String, { nullable: true }),
197
+ tslib_1.__metadata("design:type", String)
198
+ ], UpdateBuildingInspection.prototype, "memo", void 0);
199
+ exports.UpdateBuildingInspection = UpdateBuildingInspection = tslib_1.__decorate([
146
200
  (0, type_graphql_1.InputType)()
147
- ], UpdateBuildingInspectionDrawingMarker);
148
- exports.UpdateBuildingInspectionDrawingMarker = UpdateBuildingInspectionDrawingMarker;
201
+ ], UpdateBuildingInspection);
149
202
  let BuildingInspectionsOfProject = class BuildingInspectionsOfProject {
150
203
  };
204
+ exports.BuildingInspectionsOfProject = BuildingInspectionsOfProject;
151
205
  tslib_1.__decorate([
152
206
  (0, type_graphql_1.Field)({ nullable: false }),
153
207
  tslib_1.__metadata("design:type", String)
@@ -156,12 +210,30 @@ tslib_1.__decorate([
156
210
  (0, type_graphql_1.Field)({ nullable: true }),
157
211
  tslib_1.__metadata("design:type", Number)
158
212
  ], BuildingInspectionsOfProject.prototype, "limit", void 0);
159
- BuildingInspectionsOfProject = tslib_1.__decorate([
213
+ tslib_1.__decorate([
214
+ (0, type_graphql_1.Field)({ nullable: true, description: '상태 필터 (WAIT, REQUEST, FAIL, RE_WAIT, PASS)' }),
215
+ tslib_1.__metadata("design:type", String)
216
+ ], BuildingInspectionsOfProject.prototype, "statusFilter", void 0);
217
+ exports.BuildingInspectionsOfProject = BuildingInspectionsOfProject = tslib_1.__decorate([
160
218
  (0, type_graphql_1.InputType)()
161
219
  ], BuildingInspectionsOfProject);
162
- exports.BuildingInspectionsOfProject = BuildingInspectionsOfProject;
220
+ let BuildingInspectionsOfBuilding = class BuildingInspectionsOfBuilding {
221
+ };
222
+ exports.BuildingInspectionsOfBuilding = BuildingInspectionsOfBuilding;
223
+ tslib_1.__decorate([
224
+ (0, type_graphql_1.Field)({ nullable: false }),
225
+ tslib_1.__metadata("design:type", String)
226
+ ], BuildingInspectionsOfBuilding.prototype, "buildingId", void 0);
227
+ tslib_1.__decorate([
228
+ (0, type_graphql_1.Field)({ nullable: true }),
229
+ tslib_1.__metadata("design:type", Number)
230
+ ], BuildingInspectionsOfBuilding.prototype, "limit", void 0);
231
+ exports.BuildingInspectionsOfBuilding = BuildingInspectionsOfBuilding = tslib_1.__decorate([
232
+ (0, type_graphql_1.InputType)()
233
+ ], BuildingInspectionsOfBuilding);
163
234
  let BuildingInspectionsOfBuildingLevel = class BuildingInspectionsOfBuildingLevel {
164
235
  };
236
+ exports.BuildingInspectionsOfBuildingLevel = BuildingInspectionsOfBuildingLevel;
165
237
  tslib_1.__decorate([
166
238
  (0, type_graphql_1.Field)({ nullable: false }),
167
239
  tslib_1.__metadata("design:type", String)
@@ -170,12 +242,20 @@ tslib_1.__decorate([
170
242
  (0, type_graphql_1.Field)({ nullable: true }),
171
243
  tslib_1.__metadata("design:type", Number)
172
244
  ], BuildingInspectionsOfBuildingLevel.prototype, "limit", void 0);
173
- BuildingInspectionsOfBuildingLevel = tslib_1.__decorate([
245
+ tslib_1.__decorate([
246
+ (0, type_graphql_1.Field)({ nullable: true }),
247
+ tslib_1.__metadata("design:type", String)
248
+ ], BuildingInspectionsOfBuildingLevel.prototype, "startDate", void 0);
249
+ tslib_1.__decorate([
250
+ (0, type_graphql_1.Field)({ nullable: true }),
251
+ tslib_1.__metadata("design:type", String)
252
+ ], BuildingInspectionsOfBuildingLevel.prototype, "endDate", void 0);
253
+ exports.BuildingInspectionsOfBuildingLevel = BuildingInspectionsOfBuildingLevel = tslib_1.__decorate([
174
254
  (0, type_graphql_1.InputType)()
175
255
  ], BuildingInspectionsOfBuildingLevel);
176
- exports.BuildingInspectionsOfBuildingLevel = BuildingInspectionsOfBuildingLevel;
177
256
  let BuildingInspectionSummary = class BuildingInspectionSummary {
178
257
  };
258
+ exports.BuildingInspectionSummary = BuildingInspectionSummary;
179
259
  tslib_1.__decorate([
180
260
  (0, type_graphql_1.Field)(type => String, { nullable: true, description: '요청일자' }),
181
261
  tslib_1.__metadata("design:type", String)
@@ -196,12 +276,16 @@ tslib_1.__decorate([
196
276
  (0, type_graphql_1.Field)(type => type_graphql_1.Int, { description: '검측 실패 수' }),
197
277
  tslib_1.__metadata("design:type", Number)
198
278
  ], BuildingInspectionSummary.prototype, "fail", void 0);
199
- BuildingInspectionSummary = tslib_1.__decorate([
279
+ tslib_1.__decorate([
280
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true, description: '재검측 대기 수 (failCount > 0 인 WAIT/OVERALL_WAIT)' }),
281
+ tslib_1.__metadata("design:type", Number)
282
+ ], BuildingInspectionSummary.prototype, "reWait", void 0);
283
+ exports.BuildingInspectionSummary = BuildingInspectionSummary = tslib_1.__decorate([
200
284
  (0, type_graphql_1.ObjectType)()
201
285
  ], BuildingInspectionSummary);
202
- exports.BuildingInspectionSummary = BuildingInspectionSummary;
203
286
  let BuildingInspectionList = class BuildingInspectionList {
204
287
  };
288
+ exports.BuildingInspectionList = BuildingInspectionList;
205
289
  tslib_1.__decorate([
206
290
  (0, type_graphql_1.Field)(type => [building_inspection_1.BuildingInspection]),
207
291
  tslib_1.__metadata("design:type", Array)
@@ -210,8 +294,37 @@ tslib_1.__decorate([
210
294
  (0, type_graphql_1.Field)(type => type_graphql_1.Int),
211
295
  tslib_1.__metadata("design:type", Number)
212
296
  ], BuildingInspectionList.prototype, "total", void 0);
213
- BuildingInspectionList = tslib_1.__decorate([
297
+ exports.BuildingInspectionList = BuildingInspectionList = tslib_1.__decorate([
214
298
  (0, type_graphql_1.ObjectType)()
215
299
  ], BuildingInspectionList);
216
- exports.BuildingInspectionList = BuildingInspectionList;
300
+ let ProjectManagerOutput = class ProjectManagerOutput {
301
+ };
302
+ exports.ProjectManagerOutput = ProjectManagerOutput;
303
+ tslib_1.__decorate([
304
+ (0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
305
+ tslib_1.__metadata("design:type", String)
306
+ ], ProjectManagerOutput.prototype, "id", void 0);
307
+ tslib_1.__decorate([
308
+ (0, type_graphql_1.Field)({ nullable: true }),
309
+ tslib_1.__metadata("design:type", String)
310
+ ], ProjectManagerOutput.prototype, "phone", void 0);
311
+ tslib_1.__decorate([
312
+ (0, type_graphql_1.Field)({ nullable: true }),
313
+ tslib_1.__metadata("design:type", String)
314
+ ], ProjectManagerOutput.prototype, "position", void 0);
315
+ tslib_1.__decorate([
316
+ (0, type_graphql_1.Field)(type => type_graphql_1.ID),
317
+ tslib_1.__metadata("design:type", String)
318
+ ], ProjectManagerOutput.prototype, "userId", void 0);
319
+ tslib_1.__decorate([
320
+ (0, type_graphql_1.Field)({ nullable: true }),
321
+ tslib_1.__metadata("design:type", String)
322
+ ], ProjectManagerOutput.prototype, "name", void 0);
323
+ tslib_1.__decorate([
324
+ (0, type_graphql_1.Field)({ nullable: true }),
325
+ tslib_1.__metadata("design:type", String)
326
+ ], ProjectManagerOutput.prototype, "updatedAt", void 0);
327
+ exports.ProjectManagerOutput = ProjectManagerOutput = tslib_1.__decorate([
328
+ (0, type_graphql_1.ObjectType)()
329
+ ], ProjectManagerOutput);
217
330
  //# sourceMappingURL=building-inspection-type.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"building-inspection-type.js","sourceRoot":"","sources":["../../../server/service/building-inspection/building-inspection-type.ts"],"names":[],"mappings":";;;;AAAA,+CAAgE;AAChE,+DAA0D;AAG1D,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAkBvB,CAAA;AAjBC;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gDACf;AAEZ;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4DACH;AAExB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;kEACG;AAE9B;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oDACV;AAEjB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;iEACG;AAE9B;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2DACnB;AAjBtB,kBAAkB;IADvB,IAAA,wBAAS,GAAE;GACN,kBAAkB,CAkBvB;AAGD,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAY3B,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,IAAA,yBAAU,GAAE;GACA,yBAAyB,CAerC;AAfY,8DAAyB;AAkB/B,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAMlC,CAAA;AALC;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,wCAAkB,CAAC,CAAC;;qDACT;AAE3B;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,CAAC;;qDACN;AALF,sBAAsB;IADlC,IAAA,yBAAU,GAAE;GACA,sBAAsB,CAMlC;AANY,wDAAsB","sourcesContent":["import { ObjectType, Field, InputType, Int } from 'type-graphql'\nimport { BuildingInspection } from './building-inspection'\n\n@InputType()\nclass ChecklistInputType {\n @Field({ nullable: false })\n name: string\n\n @Field({ nullable: false })\n constructionType: string\n\n @Field({ nullable: false })\n constructionDetailType: string\n\n @Field({ nullable: false })\n location?: string\n\n @Field({ nullable: false })\n inspectionDrawingType?: string\n\n @Field(type => [String], { nullable: false })\n inspectionParts?: string[]\n}\n\n@InputType()\nclass ChecklistItemInputType {\n @Field({ nullable: false })\n name: string\n\n @Field({ nullable: false })\n mainType: string\n\n @Field({ nullable: false })\n detailType: string\n\n @Field({ nullable: true })\n inspctionCriteria: string\n}\n\n@InputType()\nexport class NewBuildingInspection {\n @Field({ nullable: false })\n buildingLevelId: string\n\n @Field(type => ChecklistInputType, { nullable: false })\n checklist: ChecklistInputType\n\n @Field(type => [ChecklistItemInputType], { nullable: false })\n checklistItem: ChecklistItemInputType[]\n}\n\n@InputType()\nclass ChecklistSubmitInputType {\n @Field({ nullable: false })\n id: string\n\n @Field({ nullable: true })\n overallConstructorSignature?: string\n\n @Field({ nullable: true })\n taskConstructorSignature?: string\n\n @Field({ nullable: true })\n overallSupervisorySignature?: string\n\n @Field({ nullable: true })\n taskSupervisorySignature?: string\n}\n\n@InputType()\nclass ChecklistItemSubmitInputType {\n @Field({ nullable: false })\n id: string\n\n @Field({ nullable: true })\n constructionConfirmStatus?: string\n\n @Field({ nullable: true })\n supervisoryConfirmStatus?: string\n}\n\n@InputType()\nexport class UpdateBuildingInspectionSubmitType {\n @Field({ nullable: false })\n id: string\n\n @Field(type => ChecklistSubmitInputType, { nullable: false })\n checklist: ChecklistSubmitInputType\n\n @Field(type => [ChecklistItemSubmitInputType], { nullable: false })\n checklistItem: ChecklistItemSubmitInputType[]\n}\n@InputType()\nexport class UpdateBuildingInspectionDrawingMarker {\n @Field({ nullable: false })\n id: string\n\n @Field(type => String, { nullable: true })\n drawingMarker?: string\n}\n\n@InputType()\nexport class BuildingInspectionsOfProject {\n @Field({ nullable: false })\n projectId: string\n\n @Field({ nullable: true })\n limit: number\n}\n\n@InputType()\nexport class BuildingInspectionsOfBuildingLevel {\n @Field({ nullable: false })\n buildingLevelId: string\n\n @Field({ nullable: true })\n limit: number\n}\n\n@ObjectType()\nexport class BuildingInspectionSummary {\n @Field(type => String, { nullable: true, description: '요청일자' })\n requestDate?: string\n\n @Field(type => Int, { description: '검측 대기 수' })\n wait: number\n\n @Field(type => Int, { description: '검측 요청 수' })\n request: number\n\n @Field(type => Int, { description: '검측 통과 수' })\n pass: number\n\n @Field(type => Int, { description: '검측 실패 수' })\n fail: number\n}\n\n@ObjectType()\nexport class BuildingInspectionList {\n @Field(type => [BuildingInspection])\n items: BuildingInspection[]\n\n @Field(type => Int)\n total: number\n}\n"]}
1
+ {"version":3,"file":"building-inspection-type.js","sourceRoot":"","sources":["../../../server/service/building-inspection/building-inspection-type.ts"],"names":[],"mappings":";;;;AAAA,+CAAoE;AACpE,+DAA0D;AAC1D,sDAAqF;AAG9E,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAkB9B,CAAA;AAlBY,gDAAkB;AAE7B;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gDACf;AAGZ;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACD;AAGzB;IADC,IAAA,oBAAK,EAAC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M,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CAkBhC,CAAA;AAlBY,oDAAoB;AAE/B;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDAC3B;AAGX;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACZ;AAGd;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACT;AAGjB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;oDACH;AAGf;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACb;AAGb;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACR;+BAjBP,oBAAoB;IADhC,IAAA,yBAAU,GAAE;GACA,oBAAoB,CAkBhC","sourcesContent":["import { ObjectType, Field, InputType, Int, ID } from 'type-graphql'\nimport { BuildingInspection } from './building-inspection'\nimport { InspectionResultStatus, InspectionResultType } from '../checklist/checklist'\n\n@InputType()\nexport class ChecklistInputType {\n @Field({ nullable: false })\n name: string\n\n @Field({ nullable: true })\n constructionType?: string\n\n @Field({ nullable: true })\n constructionDetailType?: string\n\n @Field({ nullable: true })\n location?: string\n\n @Field({ nullable: true })\n inspectionDrawingType?: string\n\n @Field(type => [String], { nullable: true })\n inspectionParts?: string[]\n}\n\n@InputType()\nexport class ChecklistItemInputType {\n @Field({ nullable: false })\n name: string\n\n @Field({ nullable: false })\n mainType: string\n\n @Field({ nullable: false })\n detailType: string\n\n @Field({ nullable: true })\n inspctionCriteria?: string\n\n @Field({ nullable: true })\n kcsCriteria?: string\n\n @Field({ nullable: true })\n siteSpecCriteria?: string\n}\n\n@InputType()\nexport class NewBuildingInspection {\n @Field({ nullable: true })\n buildingLevelId?: string\n\n @Field(type => ChecklistInputType, { nullable: false })\n checklist: ChecklistInputType\n\n @Field(type => [ChecklistItemInputType], { nullable: false })\n checklistItem: ChecklistItemInputType[]\n\n @Field({ nullable: true })\n cellX?: number\n\n @Field({ nullable: true })\n cellY?: number\n\n @Field({ nullable: true })\n managerId?: string\n}\n\n@InputType()\nexport class ChecklistSubmitInputType {\n @Field({ nullable: false })\n id: string\n\n @Field({ nullable: true })\n overallConstructorSignature?: string\n\n @Field({ nullable: true })\n taskConstructorSignature?: string\n\n @Field({ nullable: true })\n overallSupervisorySignature?: string\n\n @Field({ nullable: true })\n taskSupervisorySignature?: string\n\n @Field({ nullable: true })\n inspectionRequestMemo?: string\n\n @Field({ nullable: true })\n inspectionResultMemo?: string\n\n @Field({ nullable: true })\n inspectionResultStatus?: InspectionResultStatus\n\n @Field({ nullable: true })\n inspectionResultType?: InspectionResultType\n}\n\n@InputType()\nexport class ChecklistItemSubmitInputType {\n @Field({ nullable: false })\n id: string\n\n @Field({ nullable: true })\n constructionConfirmStatus?: string\n\n @Field({ nullable: true })\n supervisoryConfirmStatus?: string\n}\n\n@InputType()\nexport class UpdateBuildingInspectionSubmitType {\n @Field({ nullable: false })\n id: string\n\n @Field({ nullable: true })\n memo?: string\n\n @Field({ nullable: true })\n requestDate?: string\n\n @Field(type => ChecklistSubmitInputType, { nullable: false })\n checklist: ChecklistSubmitInputType\n\n @Field(type => [ChecklistItemSubmitInputType], { nullable: false })\n checklistItem: ChecklistItemSubmitInputType[]\n}\n@InputType()\nexport class UpdateBuildingInspection {\n @Field({ nullable: false })\n id: string\n\n @Field(type => String, { nullable: true })\n drawingMarker?: string\n\n @Field(type => String, { nullable: true })\n memo?: string\n}\n\n@InputType()\nexport class BuildingInspectionsOfProject {\n @Field({ nullable: false })\n projectId: string\n\n @Field({ nullable: true })\n limit: number\n\n @Field({ nullable: true, description: '상태 필터 (WAIT, REQUEST, FAIL, RE_WAIT, PASS)' })\n statusFilter?: string\n}\n\n@InputType()\nexport class BuildingInspectionsOfBuilding {\n @Field({ nullable: false })\n buildingId: string\n\n @Field({ nullable: true })\n limit: number\n}\n\n@InputType()\nexport class BuildingInspectionsOfBuildingLevel {\n @Field({ nullable: false })\n buildingLevelId: string\n\n @Field({ nullable: true })\n limit: number\n\n @Field({ nullable: true })\n startDate?: string\n\n @Field({ nullable: true })\n endDate?: string\n}\n\n@ObjectType()\nexport class BuildingInspectionSummary {\n @Field(type => String, { nullable: true, description: '요청일자' })\n requestDate?: string\n\n @Field(type => Int, { description: '검측 대기 수' })\n wait: number\n\n @Field(type => Int, { description: '검측 요청 수' })\n request: number\n\n @Field(type => Int, { description: '검측 통과 수' })\n pass: number\n\n @Field(type => Int, { description: '검측 실패 수' })\n fail: number\n\n @Field(type => Int, { nullable: true, description: '재검측 대기 수 (failCount > 0 인 WAIT/OVERALL_WAIT)' })\n reWait?: number\n}\n\n@ObjectType()\nexport class BuildingInspectionList {\n @Field(type => [BuildingInspection])\n items: BuildingInspection[]\n\n @Field(type => Int)\n total: number\n}\n\n@ObjectType()\nexport class ProjectManagerOutput {\n @Field(type => ID, { nullable: true })\n id?: string\n\n @Field({ nullable: true })\n phone?: string\n\n @Field({ nullable: true })\n position?: string\n\n @Field(type => ID)\n userId?: string\n\n @Field({ nullable: true })\n name?: string\n\n @Field({ nullable: true })\n updatedAt?: string\n}\n"]}
@@ -1,6 +1,7 @@
1
1
  import { User } from '@things-factory/auth-base';
2
2
  import { BuildingLevel } from '@dssp/building-complex';
3
3
  import { Checklist } from '../checklist/checklist';
4
+ import { BuildingInspectionDailyWorklog } from '../building-inspection-daily-worklog/building-inspection-daily-worklog';
4
5
  export declare enum BuildingInspectionStatus {
5
6
  WAIT = "WAIT",
6
7
  OVERALL_WAIT = "OVERALL_WAIT",
@@ -9,15 +10,28 @@ export declare enum BuildingInspectionStatus {
9
10
  PASS = "PASS",
10
11
  FAIL = "FAIL"
11
12
  }
13
+ export declare enum ProjectType {
14
+ DSSP = "DSSP",
15
+ DCSP = "DCSP"
16
+ }
12
17
  export declare class BuildingInspection {
13
18
  readonly id: string;
19
+ projectType?: ProjectType;
14
20
  status?: BuildingInspectionStatus;
21
+ failCount?: number;
15
22
  requestDate?: string;
16
23
  drawingMarker?: string;
24
+ cellX?: number;
25
+ cellY?: number;
26
+ memo?: string;
17
27
  buildingLevel?: BuildingLevel;
18
28
  buildingLevelId?: string;
19
29
  checklist?: Checklist;
20
30
  checklistId?: string;
31
+ manager?: User;
32
+ managerId?: string;
33
+ worklog?: BuildingInspectionDailyWorklog;
34
+ worklogId?: string;
21
35
  createdAt?: Date;
22
36
  updatedAt?: Date;
23
37
  deletedAt?: Date;
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BuildingInspection = exports.BuildingInspectionStatus = void 0;
3
+ exports.BuildingInspection = exports.ProjectType = exports.BuildingInspectionStatus = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const typeorm_1 = require("typeorm");
6
6
  const type_graphql_1 = require("type-graphql");
7
7
  const auth_base_1 = require("@things-factory/auth-base");
8
8
  const building_complex_1 = require("@dssp/building-complex");
9
9
  const checklist_1 = require("../checklist/checklist");
10
+ const building_inspection_type_1 = require("./building-inspection-type");
11
+ const building_inspection_daily_worklog_1 = require("../building-inspection-daily-worklog/building-inspection-daily-worklog");
10
12
  var BuildingInspectionStatus;
11
13
  (function (BuildingInspectionStatus) {
12
14
  BuildingInspectionStatus["WAIT"] = "WAIT";
@@ -15,29 +17,49 @@ var BuildingInspectionStatus;
15
17
  BuildingInspectionStatus["OVERALL_REQUEST"] = "OVERALL_REQUEST";
16
18
  BuildingInspectionStatus["PASS"] = "PASS";
17
19
  BuildingInspectionStatus["FAIL"] = "FAIL";
18
- })(BuildingInspectionStatus = exports.BuildingInspectionStatus || (exports.BuildingInspectionStatus = {}));
20
+ })(BuildingInspectionStatus || (exports.BuildingInspectionStatus = BuildingInspectionStatus = {}));
21
+ var ProjectType;
22
+ (function (ProjectType) {
23
+ ProjectType["DSSP"] = "DSSP";
24
+ ProjectType["DCSP"] = "DCSP";
25
+ })(ProjectType || (exports.ProjectType = ProjectType = {}));
19
26
  (0, type_graphql_1.registerEnumType)(BuildingInspectionStatus, {
20
27
  name: 'BuildingInspectionStatus',
21
28
  description: '검측 상태'
22
29
  });
30
+ (0, type_graphql_1.registerEnumType)(ProjectType, {
31
+ name: 'ProjectType',
32
+ description: '프로젝트 타입'
33
+ });
23
34
  let BuildingInspection = class BuildingInspection {
24
35
  };
36
+ exports.BuildingInspection = BuildingInspection;
25
37
  tslib_1.__decorate([
26
38
  (0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
27
39
  (0, type_graphql_1.Field)(type => type_graphql_1.ID),
28
40
  tslib_1.__metadata("design:type", String)
29
41
  ], BuildingInspection.prototype, "id", void 0);
42
+ tslib_1.__decorate([
43
+ (0, typeorm_1.Column)({ nullable: false, comment: '프로젝트 타입', default: ProjectType.DSSP }),
44
+ (0, type_graphql_1.Field)({ nullable: true }),
45
+ tslib_1.__metadata("design:type", String)
46
+ ], BuildingInspection.prototype, "projectType", void 0);
30
47
  tslib_1.__decorate([
31
48
  (0, typeorm_1.Column)({
32
49
  nullable: false,
33
- comment: '상태(WAIT: 검측 대기, OVERALL_WAIT: 총괄자 검측 대기, REQUEST: 검측 요청, OVERALL_REQUEST: 총괄자 검측 요청, PASS: 합격, FAIL: 불합격)',
50
+ comment: '상태(WAIT: 작업 완료, OVERALL_WAIT: 총괄자 작업 완료, REQUEST: 검측 요청, OVERALL_REQUEST: 총괄자 검측 요청, PASS: 합격(검측 완료), FAIL: 불합격(조치 필요))',
34
51
  default: BuildingInspectionStatus.WAIT
35
52
  }),
36
53
  (0, type_graphql_1.Field)({ nullable: true }),
37
54
  tslib_1.__metadata("design:type", String)
38
55
  ], BuildingInspection.prototype, "status", void 0);
39
56
  tslib_1.__decorate([
40
- (0, typeorm_1.Column)({ type: 'date', default: () => 'CURRENT_DATE', nullable: true, comment: '검측 요청일' }),
57
+ (0, typeorm_1.Column)({ type: 'int', default: 0, nullable: false, comment: '불합격 횟수 (재검측 여부 판단용)' }),
58
+ (0, type_graphql_1.Field)({ nullable: true }),
59
+ tslib_1.__metadata("design:type", Number)
60
+ ], BuildingInspection.prototype, "failCount", void 0);
61
+ tslib_1.__decorate([
62
+ (0, typeorm_1.Column)({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP', nullable: true, comment: '검측 요청일시' }),
41
63
  (0, type_graphql_1.Field)(type => String, { nullable: true }),
42
64
  tslib_1.__metadata("design:type", String)
43
65
  ], BuildingInspection.prototype, "requestDate", void 0);
@@ -46,6 +68,21 @@ tslib_1.__decorate([
46
68
  (0, type_graphql_1.Field)(type => String, { nullable: true }),
47
69
  tslib_1.__metadata("design:type", String)
48
70
  ], BuildingInspection.prototype, "drawingMarker", void 0);
71
+ tslib_1.__decorate([
72
+ (0, typeorm_1.Column)({ nullable: true, comment: 'X좌표' }),
73
+ (0, type_graphql_1.Field)({ nullable: true }),
74
+ tslib_1.__metadata("design:type", Number)
75
+ ], BuildingInspection.prototype, "cellX", void 0);
76
+ tslib_1.__decorate([
77
+ (0, typeorm_1.Column)({ nullable: true, comment: 'Y좌표' }),
78
+ (0, type_graphql_1.Field)({ nullable: true }),
79
+ tslib_1.__metadata("design:type", Number)
80
+ ], BuildingInspection.prototype, "cellY", void 0);
81
+ tslib_1.__decorate([
82
+ (0, typeorm_1.Column)({ nullable: true, comment: '메모 - DSSP: 검측 메모, DCSP: 검측 요청서 메모' }),
83
+ (0, type_graphql_1.Field)({ nullable: true }),
84
+ tslib_1.__metadata("design:type", String)
85
+ ], BuildingInspection.prototype, "memo", void 0);
49
86
  tslib_1.__decorate([
50
87
  (0, typeorm_1.ManyToOne)(type => building_complex_1.BuildingLevel),
51
88
  (0, type_graphql_1.Field)(() => building_complex_1.BuildingLevel, { nullable: true }),
@@ -65,6 +102,24 @@ tslib_1.__decorate([
65
102
  (0, typeorm_1.RelationId)((buildingInspection) => buildingInspection.checklist),
66
103
  tslib_1.__metadata("design:type", String)
67
104
  ], BuildingInspection.prototype, "checklistId", void 0);
105
+ tslib_1.__decorate([
106
+ (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
107
+ (0, type_graphql_1.Field)(type => building_inspection_type_1.ProjectManagerOutput, { nullable: true }),
108
+ tslib_1.__metadata("design:type", auth_base_1.User)
109
+ ], BuildingInspection.prototype, "manager", void 0);
110
+ tslib_1.__decorate([
111
+ (0, typeorm_1.RelationId)((buildingInspection) => buildingInspection.manager),
112
+ tslib_1.__metadata("design:type", String)
113
+ ], BuildingInspection.prototype, "managerId", void 0);
114
+ tslib_1.__decorate([
115
+ (0, typeorm_1.ManyToOne)(type => building_inspection_daily_worklog_1.BuildingInspectionDailyWorklog, { nullable: true }),
116
+ (0, type_graphql_1.Field)(type => building_inspection_daily_worklog_1.BuildingInspectionDailyWorklog, { nullable: true }),
117
+ tslib_1.__metadata("design:type", building_inspection_daily_worklog_1.BuildingInspectionDailyWorklog)
118
+ ], BuildingInspection.prototype, "worklog", void 0);
119
+ tslib_1.__decorate([
120
+ (0, typeorm_1.RelationId)((buildingInspection) => buildingInspection.worklog),
121
+ tslib_1.__metadata("design:type", String)
122
+ ], BuildingInspection.prototype, "worklogId", void 0);
68
123
  tslib_1.__decorate([
69
124
  (0, typeorm_1.CreateDateColumn)(),
70
125
  (0, type_graphql_1.Field)({ nullable: true }),
@@ -98,9 +153,13 @@ tslib_1.__decorate([
98
153
  (0, typeorm_1.RelationId)((buildingInspection) => buildingInspection.updater),
99
154
  tslib_1.__metadata("design:type", String)
100
155
  ], BuildingInspection.prototype, "updaterId", void 0);
101
- BuildingInspection = tslib_1.__decorate([
156
+ exports.BuildingInspection = BuildingInspection = tslib_1.__decorate([
102
157
  (0, typeorm_1.Entity)({ comment: '시공 검측 (층별 도면의 검측 리스트)' }),
103
- (0, typeorm_1.Index)('ix_building_inspection_0', (buildingInspection) => [buildingInspection.buildingLevel], {
158
+ (0, typeorm_1.Index)('ix_building_inspection_0', (buildingInspection) => [
159
+ buildingInspection.buildingLevel,
160
+ buildingInspection.cellX,
161
+ buildingInspection.cellY
162
+ ], {
104
163
  where: '"deleted_at" IS NULL'
105
164
  }),
106
165
  (0, typeorm_1.Index)('ix_building_inspection_1', (buildingInspection) => [buildingInspection.checklist], {
@@ -109,7 +168,19 @@ BuildingInspection = tslib_1.__decorate([
109
168
  (0, typeorm_1.Index)('ix_building_inspection_2', (buildingInspection) => [buildingInspection.requestDate], {
110
169
  where: '"deleted_at" IS NULL'
111
170
  }),
171
+ (0, typeorm_1.Index)('ix_building_inspection_3', (buildingInspection) => [
172
+ buildingInspection.buildingLevel,
173
+ buildingInspection.projectType,
174
+ buildingInspection.requestDate
175
+ ], { where: '"deleted_at" IS NULL' }),
176
+ (0, typeorm_1.Index)('ix_building_inspection_4', (buildingInspection) => [
177
+ buildingInspection.buildingLevel,
178
+ buildingInspection.projectType,
179
+ buildingInspection.status
180
+ ], { where: '"deleted_at" IS NULL' }),
181
+ (0, typeorm_1.Index)('ix_building_inspection_5', (buildingInspection) => [buildingInspection.worklog], {
182
+ where: '"deleted_at" IS NULL'
183
+ }),
112
184
  (0, type_graphql_1.ObjectType)()
113
185
  ], BuildingInspection);
114
- exports.BuildingInspection = BuildingInspection;
115
186
  //# sourceMappingURL=building-inspection.js.map