@dssp/supervision 1.0.0-alpha.9 → 1.0.0-alpha.92

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 (360) 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-list-page.d.ts +1 -2
  5. package/dist-client/pages/action-plan/action-plan-list-page.js +1 -2
  6. package/dist-client/pages/action-plan/action-plan-list-page.js.map +1 -1
  7. package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.d.ts +22 -0
  8. package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.js +171 -0
  9. package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.js.map +1 -0
  10. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.d.ts +59 -0
  11. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.js +868 -0
  12. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.js.map +1 -0
  13. package/dist-client/pages/building-inspection/building-inspection-detail-camera.d.ts +8 -6
  14. package/dist-client/pages/building-inspection/building-inspection-detail-camera.js +116 -65
  15. package/dist-client/pages/building-inspection/building-inspection-detail-camera.js.map +1 -1
  16. package/dist-client/pages/building-inspection/building-inspection-detail-checklist.d.ts +11 -0
  17. package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js +147 -72
  18. package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js.map +1 -1
  19. package/dist-client/pages/building-inspection/building-inspection-detail-drawing.d.ts +1 -0
  20. package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js +78 -14
  21. package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js.map +1 -1
  22. package/dist-client/pages/building-inspection/building-inspection-list.d.ts +26 -2
  23. package/dist-client/pages/building-inspection/building-inspection-list.js +375 -34
  24. package/dist-client/pages/building-inspection/building-inspection-list.js.map +1 -1
  25. package/dist-client/pages/building-inspection/building-inspection-management.d.ts +81 -0
  26. package/dist-client/pages/building-inspection/building-inspection-management.js +1512 -0
  27. package/dist-client/pages/building-inspection/building-inspection-management.js.map +1 -0
  28. package/dist-client/pages/building-inspection/component/building-inspection-detail-header.d.ts +3 -0
  29. package/dist-client/pages/building-inspection/component/building-inspection-detail-header.js +112 -20
  30. package/dist-client/pages/building-inspection/component/building-inspection-detail-header.js.map +1 -1
  31. package/dist-client/pages/building-inspection/component/daily-worklog-popup.d.ts +27 -0
  32. package/dist-client/pages/building-inspection/component/daily-worklog-popup.js +542 -0
  33. package/dist-client/pages/building-inspection/component/daily-worklog-popup.js.map +1 -0
  34. package/dist-client/pages/building-inspection/component/field-document/field-document-constants.d.ts +18 -0
  35. package/dist-client/pages/building-inspection/component/field-document/field-document-constants.js +630 -0
  36. package/dist-client/pages/building-inspection/component/field-document/field-document-constants.js.map +1 -0
  37. package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.d.ts +10 -0
  38. package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.js +219 -0
  39. package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.js.map +1 -0
  40. package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.d.ts +25 -0
  41. package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.js +545 -0
  42. package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.js.map +1 -0
  43. package/dist-client/pages/building-inspection/component/field-document/field-document-popup.d.ts +39 -0
  44. package/dist-client/pages/building-inspection/component/field-document/field-document-popup.js +675 -0
  45. package/dist-client/pages/building-inspection/component/field-document/field-document-popup.js.map +1 -0
  46. package/dist-client/pages/building-inspection/component/image-preview-popup.d.ts +15 -0
  47. package/dist-client/pages/building-inspection/component/image-preview-popup.js +348 -0
  48. package/dist-client/pages/building-inspection/component/image-preview-popup.js.map +1 -0
  49. package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.d.ts +25 -0
  50. package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.js +491 -0
  51. package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.js.map +1 -0
  52. package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.d.ts +31 -0
  53. package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.js +485 -0
  54. package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.js.map +1 -0
  55. package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.d.ts +27 -0
  56. package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.js +416 -0
  57. package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.js.map +1 -0
  58. package/dist-client/pages/building-inspection/component/inspection-event-provider.d.ts +4 -2
  59. package/dist-client/pages/building-inspection/component/inspection-event-provider.js +156 -37
  60. package/dist-client/pages/building-inspection/component/inspection-event-provider.js.map +1 -1
  61. package/dist-client/pages/building-inspection/inspection-create-popup.js +23 -12
  62. package/dist-client/pages/building-inspection/inspection-create-popup.js.map +1 -1
  63. package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.d.ts +3 -0
  64. package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.js +817 -0
  65. package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.js.map +1 -0
  66. package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.d.ts +16 -2
  67. package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js +250 -45
  68. package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js.map +1 -1
  69. package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.js +10 -6
  70. package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.js.map +1 -1
  71. package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.d.ts +19 -0
  72. package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.js +205 -0
  73. package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.js.map +1 -0
  74. package/dist-client/pages/checklist/attachment-list-popup.d.ts +1 -0
  75. package/dist-client/pages/checklist/attachment-list-popup.js +251 -69
  76. package/dist-client/pages/checklist/attachment-list-popup.js.map +1 -1
  77. package/dist-client/pages/checklist/checklist-view.d.ts +5 -4
  78. package/dist-client/pages/checklist/checklist-view.js +305 -37
  79. package/dist-client/pages/checklist/checklist-view.js.map +1 -1
  80. package/dist-client/pages/checklist/comment-list-popup.js +15 -5
  81. package/dist-client/pages/checklist/comment-list-popup.js.map +1 -1
  82. package/dist-client/pages/checklist/file-preview-popup.js +0 -1
  83. package/dist-client/pages/checklist/file-preview-popup.js.map +1 -1
  84. package/dist-client/pages/checklist/inspection-info-popup.d.ts +49 -0
  85. package/dist-client/pages/checklist/inspection-info-popup.js +683 -0
  86. package/dist-client/pages/checklist/inspection-info-popup.js.map +1 -0
  87. package/dist-client/pages/checklist/inspection-tab-popup.d.ts +18 -0
  88. package/dist-client/pages/checklist/inspection-tab-popup.js +196 -0
  89. package/dist-client/pages/checklist/inspection-tab-popup.js.map +1 -0
  90. package/dist-client/pages/checklist-database/checklist-database.d.ts +35 -0
  91. package/dist-client/pages/checklist-database/checklist-database.js +540 -0
  92. package/dist-client/pages/checklist-database/checklist-database.js.map +1 -0
  93. package/dist-client/pages/checklist-template/checklist-template-item.js +39 -3
  94. package/dist-client/pages/checklist-template/checklist-template-item.js.map +1 -1
  95. package/dist-client/pages/checklist-template/checklist-template-list.js +3 -2
  96. package/dist-client/pages/checklist-template/checklist-template-list.js.map +1 -1
  97. package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.d.ts +2 -0
  98. package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.js +223 -0
  99. package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.js.map +1 -0
  100. package/dist-client/pages/checklist-template/construction-checklist-template-list.d.ts +55 -0
  101. package/dist-client/pages/checklist-template/construction-checklist-template-list.js +404 -0
  102. package/dist-client/pages/checklist-template/construction-checklist-template-list.js.map +1 -0
  103. package/dist-client/pages/issue/issue-list-page.d.ts +1 -2
  104. package/dist-client/pages/issue/issue-list-page.js +1 -2
  105. package/dist-client/pages/issue/issue-list-page.js.map +1 -1
  106. package/dist-client/pages/project-checklist/project-checklist-management.d.ts +58 -0
  107. package/dist-client/pages/project-checklist/project-checklist-management.js +1076 -0
  108. package/dist-client/pages/project-checklist/project-checklist-management.js.map +1 -0
  109. package/dist-client/pages/project-report/project-report-list-page.d.ts +1 -2
  110. package/dist-client/pages/project-report/project-report-list-page.js +1 -2
  111. package/dist-client/pages/project-report/project-report-list-page.js.map +1 -1
  112. package/dist-client/pages/supervisor/supervisor-list-page.d.ts +1 -2
  113. package/dist-client/pages/supervisor/supervisor-list-page.js +1 -2
  114. package/dist-client/pages/supervisor/supervisor-list-page.js.map +1 -1
  115. package/dist-client/route.d.ts +1 -1
  116. package/dist-client/route.js +18 -0
  117. package/dist-client/route.js.map +1 -1
  118. package/dist-client/stt/speech-to-text.d.ts +13 -8
  119. package/dist-client/stt/speech-to-text.js +282 -40
  120. package/dist-client/stt/speech-to-text.js.map +1 -1
  121. package/dist-client/tsconfig.tsbuildinfo +1 -1
  122. package/dist-server/service/action-plan/action-plan-mutation.js +5 -6
  123. package/dist-server/service/action-plan/action-plan-mutation.js.map +1 -1
  124. package/dist-server/service/action-plan/action-plan-query.d.ts +2 -2
  125. package/dist-server/service/action-plan/action-plan-query.js +5 -11
  126. package/dist-server/service/action-plan/action-plan-query.js.map +1 -1
  127. package/dist-server/service/building-inspection/building-inspection-mutation.d.ts +2 -3
  128. package/dist-server/service/building-inspection/building-inspection-mutation.js +102 -34
  129. package/dist-server/service/building-inspection/building-inspection-mutation.js.map +1 -1
  130. package/dist-server/service/building-inspection/building-inspection-query.d.ts +9 -7
  131. package/dist-server/service/building-inspection/building-inspection-query.js +168 -52
  132. package/dist-server/service/building-inspection/building-inspection-query.js.map +1 -1
  133. package/dist-server/service/building-inspection/building-inspection-type.d.ts +32 -11
  134. package/dist-server/service/building-inspection/building-inspection-type.js +111 -23
  135. package/dist-server/service/building-inspection/building-inspection-type.js.map +1 -1
  136. package/dist-server/service/building-inspection/building-inspection.d.ts +5 -0
  137. package/dist-server/service/building-inspection/building-inspection.js +37 -4
  138. package/dist-server/service/building-inspection/building-inspection.js.map +1 -1
  139. package/dist-server/service/building-inspection/index.d.ts +3 -4
  140. package/dist-server/service/building-inspection/index.js +10 -3
  141. package/dist-server/service/building-inspection/index.js.map +1 -1
  142. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.d.ts +6 -0
  143. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.js +66 -0
  144. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.js.map +1 -0
  145. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.d.ts +16 -0
  146. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.js +171 -0
  147. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.js.map +1 -0
  148. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.d.ts +23 -0
  149. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.js +90 -0
  150. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.js.map +1 -0
  151. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.d.ts +33 -0
  152. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.js +132 -0
  153. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.js.map +1 -0
  154. package/dist-server/service/building-inspection-daily-worklog/index.d.ts +5 -0
  155. package/dist-server/service/building-inspection-daily-worklog/index.js +9 -0
  156. package/dist-server/service/building-inspection-daily-worklog/index.js.map +1 -0
  157. package/dist-server/service/building-inspection-history/building-inspection-history-query.d.ts +16 -0
  158. package/dist-server/service/building-inspection-history/building-inspection-history-query.js +120 -0
  159. package/dist-server/service/building-inspection-history/building-inspection-history-query.js.map +1 -0
  160. package/dist-server/service/building-inspection-history/building-inspection-history-type.d.ts +5 -0
  161. package/dist-server/service/building-inspection-history/building-inspection-history-type.js +21 -0
  162. package/dist-server/service/building-inspection-history/building-inspection-history-type.js.map +1 -0
  163. package/dist-server/service/building-inspection-history/building-inspection-history.d.ts +35 -0
  164. package/dist-server/service/building-inspection-history/building-inspection-history.js +162 -0
  165. package/dist-server/service/building-inspection-history/building-inspection-history.js.map +1 -0
  166. package/dist-server/service/building-inspection-history/event-subscriber.d.ts +7 -0
  167. package/dist-server/service/building-inspection-history/event-subscriber.js +21 -0
  168. package/dist-server/service/building-inspection-history/event-subscriber.js.map +1 -0
  169. package/dist-server/service/building-inspection-history/index.d.ts +6 -0
  170. package/dist-server/service/building-inspection-history/index.js +10 -0
  171. package/dist-server/service/building-inspection-history/index.js.map +1 -0
  172. package/dist-server/service/checklist/checklist-mutation.d.ts +0 -5
  173. package/dist-server/service/checklist/checklist-mutation.js +1 -67
  174. package/dist-server/service/checklist/checklist-mutation.js.map +1 -1
  175. package/dist-server/service/checklist/checklist-query.d.ts +7 -0
  176. package/dist-server/service/checklist/checklist-query.js +83 -0
  177. package/dist-server/service/checklist/checklist-query.js.map +1 -1
  178. package/dist-server/service/checklist/checklist-type.d.ts +0 -13
  179. package/dist-server/service/checklist/checklist-type.js +1 -49
  180. package/dist-server/service/checklist/checklist-type.js.map +1 -1
  181. package/dist-server/service/checklist/checklist.d.ts +24 -7
  182. package/dist-server/service/checklist/checklist.js +75 -30
  183. package/dist-server/service/checklist/checklist.js.map +1 -1
  184. package/dist-server/service/checklist/event-subscriber.d.ts +7 -0
  185. package/dist-server/service/checklist/event-subscriber.js +21 -0
  186. package/dist-server/service/checklist/event-subscriber.js.map +1 -0
  187. package/dist-server/service/checklist/index.d.ts +1 -2
  188. package/dist-server/service/checklist/index.js +1 -2
  189. package/dist-server/service/checklist/index.js.map +1 -1
  190. package/dist-server/service/checklist-history/checklist-history-query.d.ts +11 -0
  191. package/dist-server/service/checklist-history/checklist-history-query.js +77 -0
  192. package/dist-server/service/checklist-history/checklist-history-query.js.map +1 -0
  193. package/dist-server/service/checklist-history/checklist-history-type.d.ts +5 -0
  194. package/dist-server/service/checklist-history/checklist-history-type.js +21 -0
  195. package/dist-server/service/checklist-history/checklist-history-type.js.map +1 -0
  196. package/dist-server/service/{checklist → checklist-history}/checklist-history.d.ts +19 -1
  197. package/dist-server/service/{checklist → checklist-history}/checklist-history.js +97 -14
  198. package/dist-server/service/checklist-history/checklist-history.js.map +1 -0
  199. package/dist-server/service/checklist-history/event-subscriber.d.ts +7 -0
  200. package/dist-server/service/checklist-history/event-subscriber.js +21 -0
  201. package/dist-server/service/checklist-history/event-subscriber.js.map +1 -0
  202. package/dist-server/service/checklist-history/index.d.ts +6 -0
  203. package/dist-server/service/checklist-history/index.js +10 -0
  204. package/dist-server/service/checklist-history/index.js.map +1 -0
  205. package/dist-server/service/checklist-item/checklist-item-query.d.ts +1 -1
  206. package/dist-server/service/checklist-item/checklist-item-query.js +5 -3
  207. package/dist-server/service/checklist-item/checklist-item-query.js.map +1 -1
  208. package/dist-server/service/checklist-item/checklist-item.d.ts +2 -0
  209. package/dist-server/service/checklist-item/checklist-item.js +11 -1
  210. package/dist-server/service/checklist-item/checklist-item.js.map +1 -1
  211. package/dist-server/service/checklist-item/index.d.ts +0 -1
  212. package/dist-server/service/checklist-item/index.js +1 -2
  213. package/dist-server/service/checklist-item/index.js.map +1 -1
  214. package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.d.ts +1 -0
  215. package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.js +33 -6
  216. package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.js.map +1 -1
  217. package/dist-server/service/checklist-item-history/checklist-item-history-query.d.ts +16 -0
  218. package/dist-server/service/checklist-item-history/checklist-item-history-query.js +123 -0
  219. package/dist-server/service/checklist-item-history/checklist-item-history-query.js.map +1 -0
  220. package/dist-server/service/checklist-item-history/checklist-item-history-type.d.ts +5 -0
  221. package/dist-server/service/checklist-item-history/checklist-item-history-type.js +21 -0
  222. package/dist-server/service/checklist-item-history/checklist-item-history-type.js.map +1 -0
  223. package/dist-server/service/checklist-item-history/checklist-item-history.d.ts +27 -0
  224. package/dist-server/service/checklist-item-history/checklist-item-history.js +133 -0
  225. package/dist-server/service/checklist-item-history/checklist-item-history.js.map +1 -0
  226. package/dist-server/service/checklist-item-history/event-subscriber.d.ts +7 -0
  227. package/dist-server/service/checklist-item-history/event-subscriber.js +21 -0
  228. package/dist-server/service/checklist-item-history/event-subscriber.js.map +1 -0
  229. package/dist-server/service/checklist-item-history/index.d.ts +6 -0
  230. package/dist-server/service/checklist-item-history/index.js +10 -0
  231. package/dist-server/service/checklist-item-history/index.js.map +1 -0
  232. package/dist-server/service/checklist-template/checklist-template-query.d.ts +1 -1
  233. package/dist-server/service/checklist-template/checklist-template-query.js +2 -5
  234. package/dist-server/service/checklist-template/checklist-template-query.js.map +1 -1
  235. package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js +13 -1
  236. package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js.map +1 -1
  237. package/dist-server/service/checklist-template-item/checklist-template-item-type.d.ts +3 -0
  238. package/dist-server/service/checklist-template-item/checklist-template-item-type.js +9 -0
  239. package/dist-server/service/checklist-template-item/checklist-template-item-type.js.map +1 -1
  240. package/dist-server/service/checklist-template-item/checklist-template-item.d.ts +7 -0
  241. package/dist-server/service/checklist-template-item/checklist-template-item.js +22 -2
  242. package/dist-server/service/checklist-template-item/checklist-template-item.js.map +1 -1
  243. package/dist-server/service/checklist-template-item/spec-matching-service.d.ts +2 -0
  244. package/dist-server/service/checklist-template-item/spec-matching-service.js +51 -0
  245. package/dist-server/service/checklist-template-item/spec-matching-service.js.map +1 -0
  246. package/dist-server/service/checklist-type/checklist-type-query.d.ts +1 -1
  247. package/dist-server/service/checklist-type/checklist-type-query.js +2 -5
  248. package/dist-server/service/checklist-type/checklist-type-query.js.map +1 -1
  249. package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.d.ts +7 -0
  250. package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.js +107 -0
  251. package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.js.map +1 -0
  252. package/dist-server/service/construction-checklist-template/construction-checklist-template-query.d.ts +10 -0
  253. package/dist-server/service/construction-checklist-template/construction-checklist-template-query.js +62 -0
  254. package/dist-server/service/construction-checklist-template/construction-checklist-template-query.js.map +1 -0
  255. package/dist-server/service/construction-checklist-template/construction-checklist-template-type.d.ts +11 -0
  256. package/dist-server/service/construction-checklist-template/construction-checklist-template-type.js +43 -0
  257. package/dist-server/service/construction-checklist-template/construction-checklist-template-type.js.map +1 -0
  258. package/dist-server/service/construction-checklist-template/construction-checklist-template.d.ts +18 -0
  259. package/dist-server/service/construction-checklist-template/construction-checklist-template.js +80 -0
  260. package/dist-server/service/construction-checklist-template/construction-checklist-template.js.map +1 -0
  261. package/dist-server/service/construction-checklist-template/index.d.ts +5 -0
  262. package/dist-server/service/construction-checklist-template/index.js +9 -0
  263. package/dist-server/service/construction-checklist-template/index.js.map +1 -0
  264. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.d.ts +6 -0
  265. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.js +56 -0
  266. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.js.map +1 -0
  267. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.d.ts +9 -0
  268. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.js +53 -0
  269. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.js.map +1 -0
  270. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.d.ts +17 -0
  271. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.js +67 -0
  272. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.js.map +1 -0
  273. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.d.ts +24 -0
  274. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.js +113 -0
  275. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.js.map +1 -0
  276. package/dist-server/service/construction-checklist-template-item/index.d.ts +5 -0
  277. package/dist-server/service/construction-checklist-template-item/index.js +9 -0
  278. package/dist-server/service/construction-checklist-template-item/index.js.map +1 -0
  279. package/dist-server/service/field-document/field-document-auto-file.d.ts +21 -0
  280. package/dist-server/service/field-document/field-document-auto-file.js +47 -0
  281. package/dist-server/service/field-document/field-document-auto-file.js.map +1 -0
  282. package/dist-server/service/field-document/field-document-mutation.d.ts +9 -0
  283. package/dist-server/service/field-document/field-document-mutation.js +136 -0
  284. package/dist-server/service/field-document/field-document-mutation.js.map +1 -0
  285. package/dist-server/service/field-document/field-document-query.d.ts +14 -0
  286. package/dist-server/service/field-document/field-document-query.js +120 -0
  287. package/dist-server/service/field-document/field-document-query.js.map +1 -0
  288. package/dist-server/service/field-document/field-document-summary-service.d.ts +2 -0
  289. package/dist-server/service/field-document/field-document-summary-service.js +55 -0
  290. package/dist-server/service/field-document/field-document-summary-service.js.map +1 -0
  291. package/dist-server/service/field-document/field-document-type.d.ts +23 -0
  292. package/dist-server/service/field-document/field-document-type.js +84 -0
  293. package/dist-server/service/field-document/field-document-type.js.map +1 -0
  294. package/dist-server/service/field-document/field-document.d.ts +29 -0
  295. package/dist-server/service/field-document/field-document.js +127 -0
  296. package/dist-server/service/field-document/field-document.js.map +1 -0
  297. package/dist-server/service/field-document/index.d.ts +5 -0
  298. package/dist-server/service/field-document/index.js +9 -0
  299. package/dist-server/service/field-document/index.js.map +1 -0
  300. package/dist-server/service/index.d.ts +9 -1
  301. package/dist-server/service/index.js +42 -3
  302. package/dist-server/service/index.js.map +1 -1
  303. package/dist-server/service/issue/issue-mutation.js +5 -6
  304. package/dist-server/service/issue/issue-mutation.js.map +1 -1
  305. package/dist-server/service/issue/issue-query.d.ts +2 -2
  306. package/dist-server/service/issue/issue-query.js +5 -11
  307. package/dist-server/service/issue/issue-query.js.map +1 -1
  308. package/dist-server/service/project-checklist/index.d.ts +5 -0
  309. package/dist-server/service/project-checklist/index.js +9 -0
  310. package/dist-server/service/project-checklist/index.js.map +1 -0
  311. package/dist-server/service/project-checklist/project-checklist-mutation.d.ts +7 -0
  312. package/dist-server/service/project-checklist/project-checklist-mutation.js +118 -0
  313. package/dist-server/service/project-checklist/project-checklist-mutation.js.map +1 -0
  314. package/dist-server/service/project-checklist/project-checklist-query.d.ts +12 -0
  315. package/dist-server/service/project-checklist/project-checklist-query.js +76 -0
  316. package/dist-server/service/project-checklist/project-checklist-query.js.map +1 -0
  317. package/dist-server/service/project-checklist/project-checklist-type.d.ts +18 -0
  318. package/dist-server/service/project-checklist/project-checklist-type.js +69 -0
  319. package/dist-server/service/project-checklist/project-checklist-type.js.map +1 -0
  320. package/dist-server/service/project-checklist/project-checklist.d.ts +20 -0
  321. package/dist-server/service/project-checklist/project-checklist.js +90 -0
  322. package/dist-server/service/project-checklist/project-checklist.js.map +1 -0
  323. package/dist-server/service/project-checklist/spec-matching-service.d.ts +17 -0
  324. package/dist-server/service/project-checklist/spec-matching-service.js +85 -0
  325. package/dist-server/service/project-checklist/spec-matching-service.js.map +1 -0
  326. package/dist-server/service/project-checklist-item/index.d.ts +4 -0
  327. package/dist-server/service/project-checklist-item/index.js +9 -0
  328. package/dist-server/service/project-checklist-item/index.js.map +1 -0
  329. package/dist-server/service/project-checklist-item/project-checklist-item-mutation.d.ts +2 -0
  330. package/dist-server/service/project-checklist-item/project-checklist-item-mutation.js +13 -0
  331. package/dist-server/service/project-checklist-item/project-checklist-item-mutation.js.map +1 -0
  332. package/dist-server/service/project-checklist-item/project-checklist-item-query.d.ts +5 -0
  333. package/dist-server/service/project-checklist-item/project-checklist-item-query.js +34 -0
  334. package/dist-server/service/project-checklist-item/project-checklist-item-query.js.map +1 -0
  335. package/dist-server/service/project-checklist-item/project-checklist-item-type.d.ts +5 -0
  336. package/dist-server/service/project-checklist-item/project-checklist-item-type.js +21 -0
  337. package/dist-server/service/project-checklist-item/project-checklist-item-type.js.map +1 -0
  338. package/dist-server/service/project-checklist-item/project-checklist-item.d.ts +19 -0
  339. package/dist-server/service/project-checklist-item/project-checklist-item.js +92 -0
  340. package/dist-server/service/project-checklist-item/project-checklist-item.js.map +1 -0
  341. package/dist-server/service/project-report/project-report-mutation.js +5 -6
  342. package/dist-server/service/project-report/project-report-mutation.js.map +1 -1
  343. package/dist-server/service/project-report/project-report-query.d.ts +2 -2
  344. package/dist-server/service/project-report/project-report-query.js +5 -11
  345. package/dist-server/service/project-report/project-report-query.js.map +1 -1
  346. package/dist-server/service/project-report/project-report.d.ts +0 -2
  347. package/dist-server/service/project-report/project-report.js +0 -6
  348. package/dist-server/service/project-report/project-report.js.map +1 -1
  349. package/dist-server/service/supervisor/supervisor-mutation.js +5 -6
  350. package/dist-server/service/supervisor/supervisor-mutation.js.map +1 -1
  351. package/dist-server/service/supervisor/supervisor-query.d.ts +2 -2
  352. package/dist-server/service/supervisor/supervisor-query.js +5 -11
  353. package/dist-server/service/supervisor/supervisor-query.js.map +1 -1
  354. package/dist-server/tsconfig.tsbuildinfo +1 -1
  355. package/package.json +14 -13
  356. package/things-factory.config.js +9 -1
  357. package/dist-server/service/building-inspection/building-inspection-history.d.ts +0 -17
  358. package/dist-server/service/building-inspection/building-inspection-history.js +0 -86
  359. package/dist-server/service/building-inspection/building-inspection-history.js.map +0 -1
  360. package/dist-server/service/checklist/checklist-history.js.map +0 -1
@@ -1,21 +1,20 @@
1
1
  import { BuildingInspection } from './building-inspection';
2
- import { ChecklistReferenceType } from '../checklist/checklist';
3
- declare class ChecklistInputType {
2
+ import { InspectionResultStatus, InspectionResultType } from '../checklist/checklist';
3
+ export declare class ChecklistInputType {
4
4
  name: string;
5
5
  constructionType?: string;
6
6
  constructionDetailType?: string;
7
7
  location?: string;
8
8
  inspectionDrawingType?: string;
9
9
  inspectionParts?: string[];
10
- checklistReferenceType?: ChecklistReferenceType;
11
- taskCode?: string;
12
- projectId?: string;
13
10
  }
14
- declare class ChecklistItemInputType {
11
+ export declare class ChecklistItemInputType {
15
12
  name: string;
16
13
  mainType: string;
17
14
  detailType: string;
18
- inspctionCriteria: string;
15
+ inspctionCriteria?: string;
16
+ kcsCriteria?: string;
17
+ siteSpecCriteria?: string;
19
18
  }
20
19
  export declare class NewBuildingInspection {
21
20
  buildingLevelId?: string;
@@ -25,34 +24,48 @@ export declare class NewBuildingInspection {
25
24
  cellY?: number;
26
25
  managerId?: string;
27
26
  }
28
- declare class ChecklistSubmitInputType {
27
+ export declare class ChecklistSubmitInputType {
29
28
  id: string;
30
29
  overallConstructorSignature?: string;
31
30
  taskConstructorSignature?: string;
32
31
  overallSupervisorySignature?: string;
33
32
  taskSupervisorySignature?: string;
33
+ inspectionRequestMemo?: string;
34
+ inspectionResultMemo?: string;
35
+ inspectionResultStatus?: InspectionResultStatus;
36
+ inspectionResultType?: InspectionResultType;
34
37
  }
35
- declare class ChecklistItemSubmitInputType {
38
+ export declare class ChecklistItemSubmitInputType {
36
39
  id: string;
37
40
  constructionConfirmStatus?: string;
38
41
  supervisoryConfirmStatus?: string;
39
42
  }
40
43
  export declare class UpdateBuildingInspectionSubmitType {
41
44
  id: string;
45
+ memo?: string;
46
+ requestDate?: string;
42
47
  checklist: ChecklistSubmitInputType;
43
48
  checklistItem: ChecklistItemSubmitInputType[];
44
49
  }
45
- export declare class UpdateBuildingInspectionDrawingMarker {
50
+ export declare class UpdateBuildingInspection {
46
51
  id: string;
47
52
  drawingMarker?: string;
53
+ memo?: string;
48
54
  }
49
55
  export declare class BuildingInspectionsOfProject {
50
56
  projectId: string;
51
57
  limit: number;
58
+ statusFilter?: string;
59
+ }
60
+ export declare class BuildingInspectionsOfBuilding {
61
+ buildingId: string;
62
+ limit: number;
52
63
  }
53
64
  export declare class BuildingInspectionsOfBuildingLevel {
54
65
  buildingLevelId: string;
55
66
  limit: number;
67
+ startDate?: string;
68
+ endDate?: string;
56
69
  }
57
70
  export declare class BuildingInspectionSummary {
58
71
  requestDate?: string;
@@ -60,9 +73,17 @@ export declare class BuildingInspectionSummary {
60
73
  request: number;
61
74
  pass: number;
62
75
  fail: number;
76
+ reWait?: number;
63
77
  }
64
78
  export declare class BuildingInspectionList {
65
79
  items: BuildingInspection[];
66
80
  total: number;
67
81
  }
68
- 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,12 +1,13 @@
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
7
  const checklist_1 = require("../checklist/checklist");
8
8
  let ChecklistInputType = class ChecklistInputType {
9
9
  };
10
+ exports.ChecklistInputType = ChecklistInputType;
10
11
  tslib_1.__decorate([
11
12
  (0, type_graphql_1.Field)({ nullable: false }),
12
13
  tslib_1.__metadata("design:type", String)
@@ -31,23 +32,12 @@ tslib_1.__decorate([
31
32
  (0, type_graphql_1.Field)(type => [String], { nullable: true }),
32
33
  tslib_1.__metadata("design:type", Array)
33
34
  ], ChecklistInputType.prototype, "inspectionParts", void 0);
34
- tslib_1.__decorate([
35
- (0, type_graphql_1.Field)({ nullable: true }),
36
- tslib_1.__metadata("design:type", String)
37
- ], ChecklistInputType.prototype, "checklistReferenceType", void 0);
38
- tslib_1.__decorate([
39
- (0, type_graphql_1.Field)({ nullable: true }),
40
- tslib_1.__metadata("design:type", String)
41
- ], ChecklistInputType.prototype, "taskCode", void 0);
42
- tslib_1.__decorate([
43
- (0, type_graphql_1.Field)({ nullable: true }),
44
- tslib_1.__metadata("design:type", String)
45
- ], ChecklistInputType.prototype, "projectId", void 0);
46
- ChecklistInputType = tslib_1.__decorate([
35
+ exports.ChecklistInputType = ChecklistInputType = tslib_1.__decorate([
47
36
  (0, type_graphql_1.InputType)()
48
37
  ], ChecklistInputType);
49
38
  let ChecklistItemInputType = class ChecklistItemInputType {
50
39
  };
40
+ exports.ChecklistItemInputType = ChecklistItemInputType;
51
41
  tslib_1.__decorate([
52
42
  (0, type_graphql_1.Field)({ nullable: false }),
53
43
  tslib_1.__metadata("design:type", String)
@@ -64,7 +54,15 @@ tslib_1.__decorate([
64
54
  (0, type_graphql_1.Field)({ nullable: true }),
65
55
  tslib_1.__metadata("design:type", String)
66
56
  ], ChecklistItemInputType.prototype, "inspctionCriteria", void 0);
67
- 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([
68
66
  (0, type_graphql_1.InputType)()
69
67
  ], ChecklistItemInputType);
70
68
  let NewBuildingInspection = class NewBuildingInspection {
@@ -99,6 +97,7 @@ exports.NewBuildingInspection = NewBuildingInspection = tslib_1.__decorate([
99
97
  ], NewBuildingInspection);
100
98
  let ChecklistSubmitInputType = class ChecklistSubmitInputType {
101
99
  };
100
+ exports.ChecklistSubmitInputType = ChecklistSubmitInputType;
102
101
  tslib_1.__decorate([
103
102
  (0, type_graphql_1.Field)({ nullable: false }),
104
103
  tslib_1.__metadata("design:type", String)
@@ -119,11 +118,28 @@ tslib_1.__decorate([
119
118
  (0, type_graphql_1.Field)({ nullable: true }),
120
119
  tslib_1.__metadata("design:type", String)
121
120
  ], ChecklistSubmitInputType.prototype, "taskSupervisorySignature", void 0);
122
- 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([
123
138
  (0, type_graphql_1.InputType)()
124
139
  ], ChecklistSubmitInputType);
125
140
  let ChecklistItemSubmitInputType = class ChecklistItemSubmitInputType {
126
141
  };
142
+ exports.ChecklistItemSubmitInputType = ChecklistItemSubmitInputType;
127
143
  tslib_1.__decorate([
128
144
  (0, type_graphql_1.Field)({ nullable: false }),
129
145
  tslib_1.__metadata("design:type", String)
@@ -136,7 +152,7 @@ tslib_1.__decorate([
136
152
  (0, type_graphql_1.Field)({ nullable: true }),
137
153
  tslib_1.__metadata("design:type", String)
138
154
  ], ChecklistItemSubmitInputType.prototype, "supervisoryConfirmStatus", void 0);
139
- ChecklistItemSubmitInputType = tslib_1.__decorate([
155
+ exports.ChecklistItemSubmitInputType = ChecklistItemSubmitInputType = tslib_1.__decorate([
140
156
  (0, type_graphql_1.InputType)()
141
157
  ], ChecklistItemSubmitInputType);
142
158
  let UpdateBuildingInspectionSubmitType = class UpdateBuildingInspectionSubmitType {
@@ -146,6 +162,14 @@ tslib_1.__decorate([
146
162
  (0, type_graphql_1.Field)({ nullable: false }),
147
163
  tslib_1.__metadata("design:type", String)
148
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);
149
173
  tslib_1.__decorate([
150
174
  (0, type_graphql_1.Field)(type => ChecklistSubmitInputType, { nullable: false }),
151
175
  tslib_1.__metadata("design:type", ChecklistSubmitInputType)
@@ -157,20 +181,24 @@ tslib_1.__decorate([
157
181
  exports.UpdateBuildingInspectionSubmitType = UpdateBuildingInspectionSubmitType = tslib_1.__decorate([
158
182
  (0, type_graphql_1.InputType)()
159
183
  ], UpdateBuildingInspectionSubmitType);
160
- let UpdateBuildingInspectionDrawingMarker = class UpdateBuildingInspectionDrawingMarker {
184
+ let UpdateBuildingInspection = class UpdateBuildingInspection {
161
185
  };
162
- exports.UpdateBuildingInspectionDrawingMarker = UpdateBuildingInspectionDrawingMarker;
186
+ exports.UpdateBuildingInspection = UpdateBuildingInspection;
163
187
  tslib_1.__decorate([
164
188
  (0, type_graphql_1.Field)({ nullable: false }),
165
189
  tslib_1.__metadata("design:type", String)
166
- ], UpdateBuildingInspectionDrawingMarker.prototype, "id", void 0);
190
+ ], UpdateBuildingInspection.prototype, "id", void 0);
191
+ tslib_1.__decorate([
192
+ (0, type_graphql_1.Field)(type => String, { nullable: true }),
193
+ tslib_1.__metadata("design:type", String)
194
+ ], UpdateBuildingInspection.prototype, "drawingMarker", void 0);
167
195
  tslib_1.__decorate([
168
196
  (0, type_graphql_1.Field)(type => String, { nullable: true }),
169
197
  tslib_1.__metadata("design:type", String)
170
- ], UpdateBuildingInspectionDrawingMarker.prototype, "drawingMarker", void 0);
171
- exports.UpdateBuildingInspectionDrawingMarker = UpdateBuildingInspectionDrawingMarker = tslib_1.__decorate([
198
+ ], UpdateBuildingInspection.prototype, "memo", void 0);
199
+ exports.UpdateBuildingInspection = UpdateBuildingInspection = tslib_1.__decorate([
172
200
  (0, type_graphql_1.InputType)()
173
- ], UpdateBuildingInspectionDrawingMarker);
201
+ ], UpdateBuildingInspection);
174
202
  let BuildingInspectionsOfProject = class BuildingInspectionsOfProject {
175
203
  };
176
204
  exports.BuildingInspectionsOfProject = BuildingInspectionsOfProject;
@@ -182,9 +210,27 @@ tslib_1.__decorate([
182
210
  (0, type_graphql_1.Field)({ nullable: true }),
183
211
  tslib_1.__metadata("design:type", Number)
184
212
  ], BuildingInspectionsOfProject.prototype, "limit", void 0);
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);
185
217
  exports.BuildingInspectionsOfProject = BuildingInspectionsOfProject = tslib_1.__decorate([
186
218
  (0, type_graphql_1.InputType)()
187
219
  ], 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);
188
234
  let BuildingInspectionsOfBuildingLevel = class BuildingInspectionsOfBuildingLevel {
189
235
  };
190
236
  exports.BuildingInspectionsOfBuildingLevel = BuildingInspectionsOfBuildingLevel;
@@ -196,6 +242,14 @@ tslib_1.__decorate([
196
242
  (0, type_graphql_1.Field)({ nullable: true }),
197
243
  tslib_1.__metadata("design:type", Number)
198
244
  ], BuildingInspectionsOfBuildingLevel.prototype, "limit", void 0);
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);
199
253
  exports.BuildingInspectionsOfBuildingLevel = BuildingInspectionsOfBuildingLevel = tslib_1.__decorate([
200
254
  (0, type_graphql_1.InputType)()
201
255
  ], BuildingInspectionsOfBuildingLevel);
@@ -222,6 +276,10 @@ tslib_1.__decorate([
222
276
  (0, type_graphql_1.Field)(type => type_graphql_1.Int, { description: '검측 실패 수' }),
223
277
  tslib_1.__metadata("design:type", Number)
224
278
  ], BuildingInspectionSummary.prototype, "fail", void 0);
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);
225
283
  exports.BuildingInspectionSummary = BuildingInspectionSummary = tslib_1.__decorate([
226
284
  (0, type_graphql_1.ObjectType)()
227
285
  ], BuildingInspectionSummary);
@@ -239,4 +297,34 @@ tslib_1.__decorate([
239
297
  exports.BuildingInspectionList = BuildingInspectionList = tslib_1.__decorate([
240
298
  (0, type_graphql_1.ObjectType)()
241
299
  ], 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);
242
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;AAC1D,sDAA+D;AAG/D,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CA2BvB,CAAA;AAzBC;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gDACf;AAGZ;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACD;AAGzB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kEACK;AAG/B;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACT;AAGjB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iEACI;AAG9B;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DAClB;AAG1B;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kEACqB;AAG/C;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACT;AAGjB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACR;AA1Bd,kBAAkB;IADvB,IAAA,wBAAS,GAAE;GACN,kBAAkB,CA2BvB;AAGD,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAY3B,CAAA;AAVC;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oDACf;AAGZ;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;wDACX;AAGhB;IADC,IA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AE,WAAW,EAAE,SAAS,EAAE,CAAC;;uDACnC;oCAdD,yBAAyB;IADrC,IAAA,yBAAU,GAAE;GACA,yBAAyB,CAerC;AAGM,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAMlC,CAAA;AANY,wDAAsB;AAEjC;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,wCAAkB,CAAC,CAAC;;qDACT;AAG3B;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,CAAC;;qDACN;iCALF,sBAAsB;IADlC,IAAA,yBAAU,GAAE;GACA,sBAAsB,CAMlC","sourcesContent":["import { ObjectType, Field, InputType, Int } from 'type-graphql'\nimport { BuildingInspection } from './building-inspection'\nimport { ChecklistReferenceType } from '../checklist/checklist'\n\n@InputType()\nclass 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 @Field({ nullable: true })\n checklistReferenceType?: ChecklistReferenceType\n\n @Field({ nullable: true })\n taskCode?: string\n\n @Field({ nullable: true })\n projectId?: 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: 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()\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;AAC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AM,sBAAsB;CAMlC,CAAA;AANY,wDAAsB;AAEjC;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,wCAAkB,CAAC,CAAC;;qDACT;AAG3B;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,CAAC;;qDACN;iCALF,sBAAsB;IADlC,IAAA,yBAAU,GAAE;GACA,sBAAsB,CAMlC;AAGM,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CAkBhC,CAAA;AAlBY,oDAAoB;AAE/B;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDAC3B;AAGX;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACZ;AAGd;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACT;AAGjB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;oDACH;AAGf;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACb;AAGb;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACR;+BAjBP,oBAAoB;IADhC,IAAA,yBAAU,GAAE;GACA,oBAAoB,CAkBhC","sourcesContent":["import { ObjectType, Field, InputType, Int, ID } from 'type-graphql'\nimport { BuildingInspection } from './building-inspection'\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",
@@ -17,16 +18,20 @@ export declare class BuildingInspection {
17
18
  readonly id: string;
18
19
  projectType?: ProjectType;
19
20
  status?: BuildingInspectionStatus;
21
+ failCount?: number;
20
22
  requestDate?: string;
21
23
  drawingMarker?: string;
22
24
  cellX?: number;
23
25
  cellY?: number;
26
+ memo?: string;
24
27
  buildingLevel?: BuildingLevel;
25
28
  buildingLevelId?: string;
26
29
  checklist?: Checklist;
27
30
  checklistId?: string;
28
31
  manager?: User;
29
32
  managerId?: string;
33
+ worklog?: BuildingInspectionDailyWorklog;
34
+ worklogId?: string;
30
35
  createdAt?: Date;
31
36
  updatedAt?: Date;
32
37
  deletedAt?: Date;
@@ -7,7 +7,8 @@ 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 project_1 = require("@dssp/project");
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");
11
12
  var BuildingInspectionStatus;
12
13
  (function (BuildingInspectionStatus) {
13
14
  BuildingInspectionStatus["WAIT"] = "WAIT";
@@ -46,14 +47,19 @@ tslib_1.__decorate([
46
47
  tslib_1.__decorate([
47
48
  (0, typeorm_1.Column)({
48
49
  nullable: false,
49
- comment: '상태(WAIT: 검측 대기, OVERALL_WAIT: 총괄자 검측 대기, REQUEST: 검측 요청, OVERALL_REQUEST: 총괄자 검측 요청, PASS: 합격, FAIL: 불합격)',
50
+ comment: '상태(WAIT: 작업 완료, OVERALL_WAIT: 총괄자 작업 완료, REQUEST: 검측 요청, OVERALL_REQUEST: 총괄자 검측 요청, PASS: 합격(검측 완료), FAIL: 불합격(조치 필요))',
50
51
  default: BuildingInspectionStatus.WAIT
51
52
  }),
52
53
  (0, type_graphql_1.Field)({ nullable: true }),
53
54
  tslib_1.__metadata("design:type", String)
54
55
  ], BuildingInspection.prototype, "status", void 0);
55
56
  tslib_1.__decorate([
56
- (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: '검측 요청일시' }),
57
63
  (0, type_graphql_1.Field)(type => String, { nullable: true }),
58
64
  tslib_1.__metadata("design:type", String)
59
65
  ], BuildingInspection.prototype, "requestDate", void 0);
@@ -72,6 +78,11 @@ tslib_1.__decorate([
72
78
  (0, type_graphql_1.Field)({ nullable: true }),
73
79
  tslib_1.__metadata("design:type", Number)
74
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);
75
86
  tslib_1.__decorate([
76
87
  (0, typeorm_1.ManyToOne)(type => building_complex_1.BuildingLevel),
77
88
  (0, type_graphql_1.Field)(() => building_complex_1.BuildingLevel, { nullable: true }),
@@ -93,13 +104,22 @@ tslib_1.__decorate([
93
104
  ], BuildingInspection.prototype, "checklistId", void 0);
94
105
  tslib_1.__decorate([
95
106
  (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
96
- (0, type_graphql_1.Field)(type => project_1.ManagerOutput, { nullable: true }),
107
+ (0, type_graphql_1.Field)(type => building_inspection_type_1.ProjectManagerOutput, { nullable: true }),
97
108
  tslib_1.__metadata("design:type", auth_base_1.User)
98
109
  ], BuildingInspection.prototype, "manager", void 0);
99
110
  tslib_1.__decorate([
100
111
  (0, typeorm_1.RelationId)((buildingInspection) => buildingInspection.manager),
101
112
  tslib_1.__metadata("design:type", String)
102
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);
103
123
  tslib_1.__decorate([
104
124
  (0, typeorm_1.CreateDateColumn)(),
105
125
  (0, type_graphql_1.Field)({ nullable: true }),
@@ -148,6 +168,19 @@ exports.BuildingInspection = BuildingInspection = tslib_1.__decorate([
148
168
  (0, typeorm_1.Index)('ix_building_inspection_2', (buildingInspection) => [buildingInspection.requestDate], {
149
169
  where: '"deleted_at" IS NULL'
150
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
+ }),
151
184
  (0, type_graphql_1.ObjectType)()
152
185
  ], BuildingInspection);
153
186
  //# sourceMappingURL=building-inspection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"building-inspection.js","sourceRoot":"","sources":["../../../server/service/building-inspection/building-inspection.ts"],"names":[],"mappings":";;;;AAAA,qCAYgB;AAChB,+CAAsE;AACtE,yDAAgD;AAChD,6DAAsD;AACtD,sDAAkD;AAClD,2CAA6C;AAE7C,IAAY,wBAOX;AAPD,WAAY,wBAAwB;IAClC,yCAAa,CAAA;IACb,yDAA6B,CAAA;IAC7B,+CAAmB,CAAA;IACnB,+DAAmC,CAAA;IACnC,yCAAa,CAAA;IACb,yCAAa,CAAA;AACf,CAAC,EAPW,wBAAwB,wCAAxB,wBAAwB,QAOnC;AACD,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,4BAAa,CAAA;IACb,4BAAa,CAAA;AACf,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,IAAA,+BAAgB,EAAC,wBAAwB,EAAE;IACzC,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE,OAAO;CACrB,CAAC,CAAA;AACF,IAAA,+BAAgB,EAAC,WAAW,EAAE;IAC5B,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,SAAS;CACvB,CAAC,CAAA;AAqBK,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAmF9B,CAAA;AAnFY,gDAAkB;AAGpB;IAFR,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;8CACC;AAInB;IAFC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,CAAC,IAAI,EAAE,CAAC;IAC1E,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACD;A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umn,\n JoinColumn\n} from 'typeorm'\nimport { ObjectType, Field, ID, registerEnumType } from 'type-graphql'\nimport { User } from '@things-factory/auth-base'\nimport { BuildingLevel } from '@dssp/building-complex'\nimport { Checklist } from '../checklist/checklist'\nimport { ManagerOutput } from '@dssp/project'\n\nexport enum BuildingInspectionStatus {\n WAIT = 'WAIT',\n OVERALL_WAIT = 'OVERALL_WAIT',\n REQUEST = 'REQUEST',\n OVERALL_REQUEST = 'OVERALL_REQUEST',\n PASS = 'PASS',\n FAIL = 'FAIL'\n}\nexport enum ProjectType {\n DSSP = 'DSSP',\n DCSP = 'DCSP'\n}\n\nregisterEnumType(BuildingInspectionStatus, {\n name: 'BuildingInspectionStatus',\n description: '검측 상태'\n})\nregisterEnumType(ProjectType, {\n name: 'ProjectType',\n description: '프로젝트 타입'\n})\n\n@Entity({ comment: '시공 검측 (층별 도면의 검측 리스트)' })\n@Index(\n 'ix_building_inspection_0',\n (buildingInspection: BuildingInspection) => [\n buildingInspection.buildingLevel,\n buildingInspection.cellX,\n buildingInspection.cellY\n ],\n {\n where: '\"deleted_at\" IS NULL'\n }\n)\n@Index('ix_building_inspection_1', (buildingInspection: BuildingInspection) => [buildingInspection.checklist], {\n where: '\"deleted_at\" IS NULL'\n})\n@Index('ix_building_inspection_2', (buildingInspection: BuildingInspection) => [buildingInspection.requestDate], {\n where: '\"deleted_at\" IS NULL'\n})\n@ObjectType()\nexport class BuildingInspection {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @Column({ nullable: false, comment: '프로젝트 타입', default: ProjectType.DSSP })\n @Field({ nullable: true })\n projectType?: ProjectType\n\n @Column({\n nullable: false,\n comment:\n '상태(WAIT: 검측 대기, OVERALL_WAIT: 총괄자 검측 대기, REQUEST: 검측 요청, OVERALL_REQUEST: 총괄자 검측 요청, PASS: 합격, FAIL: 불합격)',\n default: BuildingInspectionStatus.WAIT\n })\n @Field({ nullable: true })\n status?: BuildingInspectionStatus\n\n @Column({ type: 'date', default: () => 'CURRENT_DATE', nullable: true, comment: '검측 요청일' })\n @Field(type => String, { nullable: true })\n requestDate?: string\n\n @Column({ type: 'simple-json', nullable: true, comment: '도면 마커' })\n @Field(type => String, { nullable: true })\n drawingMarker?: string\n\n @Column({ nullable: true, comment: 'X좌표' })\n @Field({ nullable: true })\n cellX?: number\n\n @Column({ nullable: true, comment: 'Y좌표' })\n @Field({ nullable: true })\n cellY?: number\n\n // 층 정보 (N:1 상위 테이블 참조)\n @ManyToOne(type => BuildingLevel)\n @Field(() => BuildingLevel, { nullable: true })\n buildingLevel?: BuildingLevel\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.buildingLevel)\n buildingLevelId?: string\n\n // 체크리스트 (1:1 상위 테이블 참조)\n @OneToOne(type => Checklist)\n @JoinColumn()\n @Field(() => Checklist, { nullable: true })\n checklist?: Checklist\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.checklist)\n checklistId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => ManagerOutput, { nullable: true })\n manager?: User\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.manager)\n managerId?: string\n\n @CreateDateColumn()\n @Field({ nullable: true })\n createdAt?: Date\n\n @UpdateDateColumn()\n @Field({ nullable: true })\n updatedAt?: Date\n\n @DeleteDateColumn()\n @Field({ nullable: true })\n deletedAt?: Date\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n creator?: User\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.creator)\n creatorId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n updater?: User\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.updater)\n updaterId?: string\n}\n"]}
1
+ {"version":3,"file":"building-inspection.js","sourceRoot":"","sources":["../../../server/service/building-inspection/building-inspection.ts"],"names":[],"mappings":";;;;AAAA,qCAYgB;AAChB,+CAAsE;AACtE,yDAAgD;AAChD,6DAAsD;AACtD,sDAA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0BAA0B,EAAE,CAAC,kBAAsC,EAAE,EAAE,CAAC,CAAC,kBAAkB,CAAC,SAAS,CAAC,EAAE;QAC7G,KAAK,EAAE,sBAAsB;KAC9B,CAAC;IACD,IAAA,eAAK,EAAC,0BAA0B,EAAE,CAAC,kBAAsC,EAAE,EAAE,CAAC,CAAC,kBAAkB,CAAC,WAAW,CAAC,EAAE;QAC/G,KAAK,EAAE,sBAAsB;KAC9B,CAAC;IACD,IAAA,eAAK,EACJ,0BAA0B,EAC1B,CAAC,kBAAsC,EAAE,EAAE,CAAC;QAC1C,kBAAkB,CAAC,aAAa;QAChC,kBAAkB,CAAC,WAAW;QAC9B,kBAAkB,CAAC,WAAW;KAC/B,EACD,EAAE,KAAK,EAAE,sBAAsB,EAAE,CAClC;IACA,IAAA,eAAK,EACJ,0BAA0B,EAC1B,CAAC,kBAAsC,EAAE,EAAE,CAAC;QAC1C,kBAAkB,CAAC,aAAa;QAChC,kBAAkB,CAAC,WAAW;QAC9B,kBAAkB,CAAC,MAAM;KAC1B,EACD,EAAE,KAAK,EAAE,sBAAsB,EAAE,CAClC;IACA,IAAA,eAAK,EAAC,0BAA0B,EAAE,CAAC,kBAAsC,EAAE,EAAE,CAAC,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE;QAC3G,KAAK,EAAE,sBAAsB;KAC9B,CAAC;IACD,IAAA,yBAAU,GAAE;GACA,kBAAkB,CAmG9B","sourcesContent":["import {\n CreateDateColumn,\n UpdateDateColumn,\n DeleteDateColumn,\n Entity,\n Index,\n Column,\n RelationId,\n ManyToOne,\n OneToOne,\n PrimaryGeneratedColumn,\n JoinColumn\n} from 'typeorm'\nimport { ObjectType, Field, ID, registerEnumType } from 'type-graphql'\nimport { User } from '@things-factory/auth-base'\nimport { BuildingLevel } from '@dssp/building-complex'\nimport { Checklist } from '../checklist/checklist'\nimport { ProjectManagerOutput } from './building-inspection-type'\nimport { BuildingInspectionDailyWorklog } from '../building-inspection-daily-worklog/building-inspection-daily-worklog'\n\nexport enum BuildingInspectionStatus {\n WAIT = 'WAIT',\n OVERALL_WAIT = 'OVERALL_WAIT',\n REQUEST = 'REQUEST',\n OVERALL_REQUEST = 'OVERALL_REQUEST',\n PASS = 'PASS',\n FAIL = 'FAIL'\n}\nexport enum ProjectType {\n DSSP = 'DSSP',\n DCSP = 'DCSP'\n}\n\nregisterEnumType(BuildingInspectionStatus, {\n name: 'BuildingInspectionStatus',\n description: '검측 상태'\n})\nregisterEnumType(ProjectType, {\n name: 'ProjectType',\n description: '프로젝트 타입'\n})\n\n@Entity({ comment: '시공 검측 (층별 도면의 검측 리스트)' })\n@Index(\n 'ix_building_inspection_0',\n (buildingInspection: BuildingInspection) => [\n buildingInspection.buildingLevel,\n buildingInspection.cellX,\n buildingInspection.cellY\n ],\n {\n where: '\"deleted_at\" IS NULL'\n }\n)\n@Index('ix_building_inspection_1', (buildingInspection: BuildingInspection) => [buildingInspection.checklist], {\n where: '\"deleted_at\" IS NULL'\n})\n@Index('ix_building_inspection_2', (buildingInspection: BuildingInspection) => [buildingInspection.requestDate], {\n where: '\"deleted_at\" IS NULL'\n})\n@Index(\n 'ix_building_inspection_3',\n (buildingInspection: BuildingInspection) => [\n buildingInspection.buildingLevel,\n buildingInspection.projectType,\n buildingInspection.requestDate\n ],\n { where: '\"deleted_at\" IS NULL' }\n)\n@Index(\n 'ix_building_inspection_4',\n (buildingInspection: BuildingInspection) => [\n buildingInspection.buildingLevel,\n buildingInspection.projectType,\n buildingInspection.status\n ],\n { where: '\"deleted_at\" IS NULL' }\n)\n@Index('ix_building_inspection_5', (buildingInspection: BuildingInspection) => [buildingInspection.worklog], {\n where: '\"deleted_at\" IS NULL'\n})\n@ObjectType()\nexport class BuildingInspection {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @Column({ nullable: false, comment: '프로젝트 타입', default: ProjectType.DSSP })\n @Field({ nullable: true })\n projectType?: ProjectType\n\n @Column({\n nullable: false,\n comment:\n '상태(WAIT: 작업 완료, OVERALL_WAIT: 총괄자 작업 완료, REQUEST: 검측 요청, OVERALL_REQUEST: 총괄자 검측 요청, PASS: 합격(검측 완료), FAIL: 불합격(조치 필요))',\n default: BuildingInspectionStatus.WAIT\n })\n @Field({ nullable: true })\n status?: BuildingInspectionStatus\n\n @Column({ type: 'int', default: 0, nullable: false, comment: '불합격 횟수 (재검측 여부 판단용)' })\n @Field({ nullable: true })\n failCount?: number\n\n @Column({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP', nullable: true, comment: '검측 요청일시' })\n @Field(type => String, { nullable: true })\n requestDate?: string\n\n @Column({ type: 'simple-json', nullable: true, comment: '도면 마커' })\n @Field(type => String, { nullable: true })\n drawingMarker?: string\n\n @Column({ nullable: true, comment: 'X좌표' })\n @Field({ nullable: true })\n cellX?: number\n\n @Column({ nullable: true, comment: 'Y좌표' })\n @Field({ nullable: true })\n cellY?: number\n\n @Column({ nullable: true, comment: '메모 - DSSP: 검측 메모, DCSP: 검측 요청서 메모' })\n @Field({ nullable: true })\n memo?: string\n\n // 층 정보 (N:1 상위 테이블 참조)\n @ManyToOne(type => BuildingLevel)\n @Field(() => BuildingLevel, { nullable: true })\n buildingLevel?: BuildingLevel\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.buildingLevel)\n buildingLevelId?: string\n\n // 체크리스트 (1:1 상위 테이블 참조)\n @OneToOne(type => Checklist)\n @JoinColumn()\n @Field(() => Checklist, { nullable: true })\n checklist?: Checklist\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.checklist)\n checklistId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => ProjectManagerOutput, { nullable: true })\n manager?: User\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.manager)\n managerId?: string\n\n // 일일 업무 일지가 생성되면 ID를 넣어줌 (상위 테이블 참조)\n @ManyToOne(type => BuildingInspectionDailyWorklog, { nullable: true })\n @Field(type => BuildingInspectionDailyWorklog, { nullable: true })\n worklog?: BuildingInspectionDailyWorklog\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.worklog)\n worklogId?: string\n\n @CreateDateColumn()\n @Field({ nullable: true })\n createdAt?: Date\n\n @UpdateDateColumn()\n @Field({ nullable: true })\n updatedAt?: Date\n\n @DeleteDateColumn()\n @Field({ nullable: true })\n deletedAt?: Date\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n creator?: User\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.creator)\n creatorId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n updater?: User\n\n @RelationId((buildingInspection: BuildingInspection) => buildingInspection.updater)\n updaterId?: string\n}\n"]}
@@ -1,8 +1,7 @@
1
1
  import { BuildingInspection, BuildingInspectionStatus, ProjectType } from './building-inspection';
2
2
  import { BuildingInspectionQuery } from './building-inspection-query';
3
3
  import { BuildingInspectionMutation } from './building-inspection-mutation';
4
- import { BuildingInspectionSummary } from './building-inspection-type';
5
- import { BuildingInspectionHistory } from './building-inspection-history';
6
- export declare const entities: (typeof BuildingInspection | typeof BuildingInspectionHistory)[];
4
+ import { BuildingInspectionSummary, ChecklistInputType, ChecklistItemInputType, ChecklistSubmitInputType, ChecklistItemSubmitInputType } from './building-inspection-type';
5
+ export declare const entities: (typeof BuildingInspection)[];
7
6
  export declare const resolvers: (typeof BuildingInspectionQuery | typeof BuildingInspectionMutation)[];
8
- export declare const types: (typeof BuildingInspectionStatus | typeof ProjectType | typeof BuildingInspectionSummary)[];
7
+ export declare const types: (typeof ChecklistInputType | typeof ChecklistItemInputType | typeof ChecklistSubmitInputType | typeof ChecklistItemSubmitInputType | typeof BuildingInspectionSummary | typeof BuildingInspectionStatus | typeof ProjectType)[];
@@ -5,8 +5,15 @@ const building_inspection_1 = require("./building-inspection");
5
5
  const building_inspection_query_1 = require("./building-inspection-query");
6
6
  const building_inspection_mutation_1 = require("./building-inspection-mutation");
7
7
  const building_inspection_type_1 = require("./building-inspection-type");
8
- const building_inspection_history_1 = require("./building-inspection-history");
9
- exports.entities = [building_inspection_1.BuildingInspection, building_inspection_history_1.BuildingInspectionHistory];
8
+ exports.entities = [building_inspection_1.BuildingInspection];
10
9
  exports.resolvers = [building_inspection_query_1.BuildingInspectionQuery, building_inspection_mutation_1.BuildingInspectionMutation];
11
- exports.types = [building_inspection_1.BuildingInspectionStatus, building_inspection_type_1.BuildingInspectionSummary, building_inspection_1.ProjectType];
10
+ exports.types = [
11
+ building_inspection_1.BuildingInspectionStatus,
12
+ building_inspection_type_1.BuildingInspectionSummary,
13
+ building_inspection_1.ProjectType,
14
+ building_inspection_type_1.ChecklistInputType,
15
+ building_inspection_type_1.ChecklistItemInputType,
16
+ building_inspection_type_1.ChecklistSubmitInputType,
17
+ building_inspection_type_1.ChecklistItemSubmitInputType
18
+ ];
12
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/building-inspection/index.ts"],"names":[],"mappings":";;;AAAA,+DAAiG;AACjG,2EAAqE;AACrE,iFAA2E;AAC3E,yEAAsE;AACtE,+EAAyE;AAE5D,QAAA,QAAQ,GAAG,CAAC,wCAAkB,EAAE,uDAAyB,CAAC,CAAA;AAC1D,QAAA,SAAS,GAAG,CAAC,mDAAuB,EAAE,yDAA0B,CAAC,CAAA;AACjE,QAAA,KAAK,GAAG,CAAC,8CAAwB,EAAE,oDAAyB,EAAE,iCAAW,CAAC,CAAA","sourcesContent":["import { BuildingInspection, BuildingInspectionStatus, ProjectType } from './building-inspection'\nimport { BuildingInspectionQuery } from './building-inspection-query'\nimport { BuildingInspectionMutation } from './building-inspection-mutation'\nimport { BuildingInspectionSummary } from './building-inspection-type'\nimport { BuildingInspectionHistory } from './building-inspection-history'\n\nexport const entities = [BuildingInspection, BuildingInspectionHistory]\nexport const resolvers = [BuildingInspectionQuery, BuildingInspectionMutation]\nexport const types = [BuildingInspectionStatus, BuildingInspectionSummary, ProjectType]\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/building-inspection/index.ts"],"names":[],"mappings":";;;AAAA,+DAAiG;AACjG,2EAAqE;AACrE,iFAA2E;AAC3E,yEAMmC;AAEtB,QAAA,QAAQ,GAAG,CAAC,wCAAkB,CAAC,CAAA;AAC/B,QAAA,SAAS,GAAG,CAAC,mDAAuB,EAAE,yDAA0B,CAAC,CAAA;AACjE,QAAA,KAAK,GAAG;IACnB,8CAAwB;IACxB,oDAAyB;IACzB,iCAAW;IACX,6CAAkB;IAClB,iDAAsB;IACtB,mDAAwB;IACxB,uDAA4B;CAC7B,CAAA","sourcesContent":["import { BuildingInspection, BuildingInspectionStatus, ProjectType } from './building-inspection'\nimport { BuildingInspectionQuery } from './building-inspection-query'\nimport { BuildingInspectionMutation } from './building-inspection-mutation'\nimport {\n BuildingInspectionSummary,\n ChecklistInputType,\n ChecklistItemInputType,\n ChecklistSubmitInputType,\n ChecklistItemSubmitInputType\n} from './building-inspection-type'\n\nexport const entities = [BuildingInspection]\nexport const resolvers = [BuildingInspectionQuery, BuildingInspectionMutation]\nexport const types = [\n BuildingInspectionStatus,\n BuildingInspectionSummary,\n ProjectType,\n ChecklistInputType,\n ChecklistItemInputType,\n ChecklistSubmitInputType,\n ChecklistItemSubmitInputType\n]\n"]}
@@ -0,0 +1,6 @@
1
+ import { BuildingInspectionDailyWorklog } from './building-inspection-daily-worklog';
2
+ import { BuildingInspectionDailyWorklogPatch, BuildingInspectionDailyWorklogNew } from './building-inspection-daily-worklog-type';
3
+ export declare class BuildingInspectionDailyWorklogMutation {
4
+ createBuildingInspectionDailyWorklog(patch: BuildingInspectionDailyWorklogNew, context: ResolverContext): Promise<BuildingInspectionDailyWorklog>;
5
+ updateBuildingInspectionDailyWorklog(patch: BuildingInspectionDailyWorklogPatch, context: ResolverContext): Promise<BuildingInspectionDailyWorklog>;
6
+ }