@dssp/supervision 1.0.0-alpha.97 → 1.0.0

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 (498) hide show
  1. package/package.json +13 -12
  2. package/dist-client/bootstrap.d.ts +0 -1
  3. package/dist-client/bootstrap.js +0 -2
  4. package/dist-client/bootstrap.js.map +0 -1
  5. package/dist-client/graphql/building-inspection.d.ts +0 -1
  6. package/dist-client/graphql/building-inspection.js +0 -102
  7. package/dist-client/graphql/building-inspection.js.map +0 -1
  8. package/dist-client/index.d.ts +0 -0
  9. package/dist-client/index.js +0 -2
  10. package/dist-client/index.js.map +0 -1
  11. package/dist-client/pages/action-plan/action-plan-importer.d.ts +0 -10
  12. package/dist-client/pages/action-plan/action-plan-importer.js +0 -101
  13. package/dist-client/pages/action-plan/action-plan-importer.js.map +0 -1
  14. package/dist-client/pages/action-plan/action-plan-list-page.d.ts +0 -62
  15. package/dist-client/pages/action-plan/action-plan-list-page.js +0 -322
  16. package/dist-client/pages/action-plan/action-plan-list-page.js.map +0 -1
  17. package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.d.ts +0 -22
  18. package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.js +0 -171
  19. package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.js.map +0 -1
  20. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.d.ts +0 -59
  21. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.js +0 -868
  22. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.js.map +0 -1
  23. package/dist-client/pages/building-inspection/building-inspection-detail-camera.d.ts +0 -27
  24. package/dist-client/pages/building-inspection/building-inspection-detail-camera.js +0 -342
  25. package/dist-client/pages/building-inspection/building-inspection-detail-camera.js.map +0 -1
  26. package/dist-client/pages/building-inspection/building-inspection-detail-checklist.d.ts +0 -31
  27. package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js +0 -332
  28. package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js.map +0 -1
  29. package/dist-client/pages/building-inspection/building-inspection-detail-drawing.d.ts +0 -36
  30. package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js +0 -369
  31. package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js.map +0 -1
  32. package/dist-client/pages/building-inspection/building-inspection-list.d.ts +0 -98
  33. package/dist-client/pages/building-inspection/building-inspection-list.js +0 -914
  34. package/dist-client/pages/building-inspection/building-inspection-list.js.map +0 -1
  35. package/dist-client/pages/building-inspection/building-inspection-management.d.ts +0 -82
  36. package/dist-client/pages/building-inspection/building-inspection-management.js +0 -1527
  37. package/dist-client/pages/building-inspection/building-inspection-management.js.map +0 -1
  38. package/dist-client/pages/building-inspection/component/building-inspection-detail-header.d.ts +0 -4
  39. package/dist-client/pages/building-inspection/component/building-inspection-detail-header.js +0 -238
  40. package/dist-client/pages/building-inspection/component/building-inspection-detail-header.js.map +0 -1
  41. package/dist-client/pages/building-inspection/component/daily-worklog-popup.d.ts +0 -27
  42. package/dist-client/pages/building-inspection/component/daily-worklog-popup.js +0 -542
  43. package/dist-client/pages/building-inspection/component/daily-worklog-popup.js.map +0 -1
  44. package/dist-client/pages/building-inspection/component/field-document/field-document-constants.d.ts +0 -18
  45. package/dist-client/pages/building-inspection/component/field-document/field-document-constants.js +0 -630
  46. package/dist-client/pages/building-inspection/component/field-document/field-document-constants.js.map +0 -1
  47. package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.d.ts +0 -10
  48. package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.js +0 -219
  49. package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.js.map +0 -1
  50. package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.d.ts +0 -25
  51. package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.js +0 -546
  52. package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.js.map +0 -1
  53. package/dist-client/pages/building-inspection/component/field-document/field-document-popup.d.ts +0 -42
  54. package/dist-client/pages/building-inspection/component/field-document/field-document-popup.js +0 -738
  55. package/dist-client/pages/building-inspection/component/field-document/field-document-popup.js.map +0 -1
  56. package/dist-client/pages/building-inspection/component/image-preview-popup.d.ts +0 -15
  57. package/dist-client/pages/building-inspection/component/image-preview-popup.js +0 -348
  58. package/dist-client/pages/building-inspection/component/image-preview-popup.js.map +0 -1
  59. package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.d.ts +0 -25
  60. package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.js +0 -491
  61. package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.js.map +0 -1
  62. package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.d.ts +0 -31
  63. package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.js +0 -485
  64. package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.js.map +0 -1
  65. package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.d.ts +0 -27
  66. package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.js +0 -416
  67. package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.js.map +0 -1
  68. package/dist-client/pages/building-inspection/component/inspection-event-provider.d.ts +0 -9
  69. package/dist-client/pages/building-inspection/component/inspection-event-provider.js +0 -190
  70. package/dist-client/pages/building-inspection/component/inspection-event-provider.js.map +0 -1
  71. package/dist-client/pages/building-inspection/inspection-create-popup.d.ts +0 -3
  72. package/dist-client/pages/building-inspection/inspection-create-popup.js +0 -841
  73. package/dist-client/pages/building-inspection/inspection-create-popup.js.map +0 -1
  74. package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.d.ts +0 -3
  75. package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.js +0 -817
  76. package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.js.map +0 -1
  77. package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.d.ts +0 -60
  78. package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js +0 -1135
  79. package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js.map +0 -1
  80. package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.d.ts +0 -2
  81. package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.js +0 -740
  82. package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.js.map +0 -1
  83. package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.d.ts +0 -19
  84. package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.js +0 -205
  85. package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.js.map +0 -1
  86. package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.d.ts +0 -1
  87. package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.js +0 -304
  88. package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.js.map +0 -1
  89. package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.d.ts +0 -15
  90. package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.js +0 -430
  91. package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.js.map +0 -1
  92. package/dist-client/pages/checklist/attachment-list-popup.d.ts +0 -3
  93. package/dist-client/pages/checklist/attachment-list-popup.js +0 -492
  94. package/dist-client/pages/checklist/attachment-list-popup.js.map +0 -1
  95. package/dist-client/pages/checklist/checklist-view.d.ts +0 -16
  96. package/dist-client/pages/checklist/checklist-view.js +0 -926
  97. package/dist-client/pages/checklist/checklist-view.js.map +0 -1
  98. package/dist-client/pages/checklist/comment-list-popup.d.ts +0 -1
  99. package/dist-client/pages/checklist/comment-list-popup.js +0 -367
  100. package/dist-client/pages/checklist/comment-list-popup.js.map +0 -1
  101. package/dist-client/pages/checklist/file-preview-popup.d.ts +0 -1
  102. package/dist-client/pages/checklist/file-preview-popup.js +0 -77
  103. package/dist-client/pages/checklist/file-preview-popup.js.map +0 -1
  104. package/dist-client/pages/checklist/inspection-info-popup.d.ts +0 -49
  105. package/dist-client/pages/checklist/inspection-info-popup.js +0 -683
  106. package/dist-client/pages/checklist/inspection-info-popup.js.map +0 -1
  107. package/dist-client/pages/checklist/inspection-tab-popup.d.ts +0 -18
  108. package/dist-client/pages/checklist/inspection-tab-popup.js +0 -196
  109. package/dist-client/pages/checklist/inspection-tab-popup.js.map +0 -1
  110. package/dist-client/pages/checklist/kcs-criteria-popup.d.ts +0 -16
  111. package/dist-client/pages/checklist/kcs-criteria-popup.js +0 -179
  112. package/dist-client/pages/checklist/kcs-criteria-popup.js.map +0 -1
  113. package/dist-client/pages/checklist-database/checklist-database.d.ts +0 -35
  114. package/dist-client/pages/checklist-database/checklist-database.js +0 -540
  115. package/dist-client/pages/checklist-database/checklist-database.js.map +0 -1
  116. package/dist-client/pages/checklist-template/checklist-template-item.d.ts +0 -2
  117. package/dist-client/pages/checklist-template/checklist-template-item.js +0 -278
  118. package/dist-client/pages/checklist-template/checklist-template-item.js.map +0 -1
  119. package/dist-client/pages/checklist-template/checklist-template-list.d.ts +0 -53
  120. package/dist-client/pages/checklist-template/checklist-template-list.js +0 -350
  121. package/dist-client/pages/checklist-template/checklist-template-list.js.map +0 -1
  122. package/dist-client/pages/checklist-template/checklist-type-management.d.ts +0 -55
  123. package/dist-client/pages/checklist-template/checklist-type-management.js +0 -250
  124. package/dist-client/pages/checklist-template/checklist-type-management.js.map +0 -1
  125. package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.d.ts +0 -2
  126. package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.js +0 -223
  127. package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.js.map +0 -1
  128. package/dist-client/pages/checklist-template/construction-checklist-template-list.d.ts +0 -55
  129. package/dist-client/pages/checklist-template/construction-checklist-template-list.js +0 -404
  130. package/dist-client/pages/checklist-template/construction-checklist-template-list.js.map +0 -1
  131. package/dist-client/pages/issue/issue-importer.d.ts +0 -10
  132. package/dist-client/pages/issue/issue-importer.js +0 -101
  133. package/dist-client/pages/issue/issue-importer.js.map +0 -1
  134. package/dist-client/pages/issue/issue-list-page.d.ts +0 -62
  135. package/dist-client/pages/issue/issue-list-page.js +0 -322
  136. package/dist-client/pages/issue/issue-list-page.js.map +0 -1
  137. package/dist-client/pages/project-checklist/project-checklist-management.d.ts +0 -62
  138. package/dist-client/pages/project-checklist/project-checklist-management.js +0 -1145
  139. package/dist-client/pages/project-checklist/project-checklist-management.js.map +0 -1
  140. package/dist-client/pages/project-report/project-report-importer.d.ts +0 -10
  141. package/dist-client/pages/project-report/project-report-importer.js +0 -101
  142. package/dist-client/pages/project-report/project-report-importer.js.map +0 -1
  143. package/dist-client/pages/project-report/project-report-list-page.d.ts +0 -62
  144. package/dist-client/pages/project-report/project-report-list-page.js +0 -322
  145. package/dist-client/pages/project-report/project-report-list-page.js.map +0 -1
  146. package/dist-client/pages/supervisor/supervisor-importer.d.ts +0 -10
  147. package/dist-client/pages/supervisor/supervisor-importer.js +0 -101
  148. package/dist-client/pages/supervisor/supervisor-importer.js.map +0 -1
  149. package/dist-client/pages/supervisor/supervisor-list-page.d.ts +0 -62
  150. package/dist-client/pages/supervisor/supervisor-list-page.js +0 -322
  151. package/dist-client/pages/supervisor/supervisor-list-page.js.map +0 -1
  152. package/dist-client/route.d.ts +0 -1
  153. package/dist-client/route.js +0 -44
  154. package/dist-client/route.js.map +0 -1
  155. package/dist-client/stt/speech-to-text.d.ts +0 -41
  156. package/dist-client/stt/speech-to-text.js +0 -331
  157. package/dist-client/stt/speech-to-text.js.map +0 -1
  158. package/dist-client/stt/stt-utils.d.ts +0 -28
  159. package/dist-client/stt/stt-utils.js +0 -146
  160. package/dist-client/stt/stt-utils.js.map +0 -1
  161. package/dist-client/tsconfig.tsbuildinfo +0 -1
  162. package/dist-server/controllers/index.d.ts +0 -0
  163. package/dist-server/controllers/index.js +0 -1
  164. package/dist-server/controllers/index.js.map +0 -1
  165. package/dist-server/index.d.ts +0 -3
  166. package/dist-server/index.js +0 -7
  167. package/dist-server/index.js.map +0 -1
  168. package/dist-server/middlewares/index.d.ts +0 -1
  169. package/dist-server/middlewares/index.js +0 -7
  170. package/dist-server/middlewares/index.js.map +0 -1
  171. package/dist-server/migrations/index.d.ts +0 -1
  172. package/dist-server/migrations/index.js +0 -12
  173. package/dist-server/migrations/index.js.map +0 -1
  174. package/dist-server/routes.d.ts +0 -0
  175. package/dist-server/routes.js +0 -25
  176. package/dist-server/routes.js.map +0 -1
  177. package/dist-server/service/action-plan/action-plan-mutation.d.ts +0 -10
  178. package/dist-server/service/action-plan/action-plan-mutation.js +0 -167
  179. package/dist-server/service/action-plan/action-plan-mutation.js.map +0 -1
  180. package/dist-server/service/action-plan/action-plan-query.d.ts +0 -12
  181. package/dist-server/service/action-plan/action-plan-query.js +0 -91
  182. package/dist-server/service/action-plan/action-plan-query.js.map +0 -1
  183. package/dist-server/service/action-plan/action-plan-type.d.ts +0 -23
  184. package/dist-server/service/action-plan/action-plan-type.js +0 -86
  185. package/dist-server/service/action-plan/action-plan-type.js.map +0 -1
  186. package/dist-server/service/action-plan/action-plan.d.ts +0 -27
  187. package/dist-server/service/action-plan/action-plan.js +0 -116
  188. package/dist-server/service/action-plan/action-plan.js.map +0 -1
  189. package/dist-server/service/action-plan/index.d.ts +0 -5
  190. package/dist-server/service/action-plan/index.js +0 -9
  191. package/dist-server/service/action-plan/index.js.map +0 -1
  192. package/dist-server/service/building-inspection/building-inspection-mutation.d.ts +0 -9
  193. package/dist-server/service/building-inspection/building-inspection-mutation.js +0 -404
  194. package/dist-server/service/building-inspection/building-inspection-mutation.js.map +0 -1
  195. package/dist-server/service/building-inspection/building-inspection-query.d.ts +0 -24
  196. package/dist-server/service/building-inspection/building-inspection-query.js +0 -406
  197. package/dist-server/service/building-inspection/building-inspection-query.js.map +0 -1
  198. package/dist-server/service/building-inspection/building-inspection-type.d.ts +0 -89
  199. package/dist-server/service/building-inspection/building-inspection-type.js +0 -330
  200. package/dist-server/service/building-inspection/building-inspection-type.js.map +0 -1
  201. package/dist-server/service/building-inspection/building-inspection.d.ts +0 -42
  202. package/dist-server/service/building-inspection/building-inspection.js +0 -186
  203. package/dist-server/service/building-inspection/building-inspection.js.map +0 -1
  204. package/dist-server/service/building-inspection/index.d.ts +0 -7
  205. package/dist-server/service/building-inspection/index.js +0 -19
  206. package/dist-server/service/building-inspection/index.js.map +0 -1
  207. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.d.ts +0 -6
  208. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.js +0 -66
  209. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.js.map +0 -1
  210. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.d.ts +0 -16
  211. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.js +0 -171
  212. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.js.map +0 -1
  213. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.d.ts +0 -23
  214. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.js +0 -90
  215. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.js.map +0 -1
  216. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.d.ts +0 -33
  217. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.js +0 -132
  218. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.js.map +0 -1
  219. package/dist-server/service/building-inspection-daily-worklog/index.d.ts +0 -5
  220. package/dist-server/service/building-inspection-daily-worklog/index.js +0 -9
  221. package/dist-server/service/building-inspection-daily-worklog/index.js.map +0 -1
  222. package/dist-server/service/building-inspection-history/building-inspection-history-query.d.ts +0 -16
  223. package/dist-server/service/building-inspection-history/building-inspection-history-query.js +0 -120
  224. package/dist-server/service/building-inspection-history/building-inspection-history-query.js.map +0 -1
  225. package/dist-server/service/building-inspection-history/building-inspection-history-type.d.ts +0 -5
  226. package/dist-server/service/building-inspection-history/building-inspection-history-type.js +0 -21
  227. package/dist-server/service/building-inspection-history/building-inspection-history-type.js.map +0 -1
  228. package/dist-server/service/building-inspection-history/building-inspection-history.d.ts +0 -35
  229. package/dist-server/service/building-inspection-history/building-inspection-history.js +0 -162
  230. package/dist-server/service/building-inspection-history/building-inspection-history.js.map +0 -1
  231. package/dist-server/service/building-inspection-history/event-subscriber.d.ts +0 -7
  232. package/dist-server/service/building-inspection-history/event-subscriber.js +0 -21
  233. package/dist-server/service/building-inspection-history/event-subscriber.js.map +0 -1
  234. package/dist-server/service/building-inspection-history/index.d.ts +0 -6
  235. package/dist-server/service/building-inspection-history/index.js +0 -10
  236. package/dist-server/service/building-inspection-history/index.js.map +0 -1
  237. package/dist-server/service/checklist/checklist-mutation.d.ts +0 -3
  238. package/dist-server/service/checklist/checklist-mutation.js +0 -30
  239. package/dist-server/service/checklist/checklist-mutation.js.map +0 -1
  240. package/dist-server/service/checklist/checklist-query.d.ts +0 -21
  241. package/dist-server/service/checklist/checklist-query.js +0 -177
  242. package/dist-server/service/checklist/checklist-query.js.map +0 -1
  243. package/dist-server/service/checklist/checklist-type.d.ts +0 -5
  244. package/dist-server/service/checklist/checklist-type.js +0 -21
  245. package/dist-server/service/checklist/checklist-type.js.map +0 -1
  246. package/dist-server/service/checklist/checklist.d.ts +0 -66
  247. package/dist-server/service/checklist/checklist.js +0 -259
  248. package/dist-server/service/checklist/checklist.js.map +0 -1
  249. package/dist-server/service/checklist/event-subscriber.d.ts +0 -7
  250. package/dist-server/service/checklist/event-subscriber.js +0 -21
  251. package/dist-server/service/checklist/event-subscriber.js.map +0 -1
  252. package/dist-server/service/checklist/index.d.ts +0 -5
  253. package/dist-server/service/checklist/index.js +0 -9
  254. package/dist-server/service/checklist/index.js.map +0 -1
  255. package/dist-server/service/checklist-history/checklist-history-query.d.ts +0 -11
  256. package/dist-server/service/checklist-history/checklist-history-query.js +0 -77
  257. package/dist-server/service/checklist-history/checklist-history-query.js.map +0 -1
  258. package/dist-server/service/checklist-history/checklist-history-type.d.ts +0 -5
  259. package/dist-server/service/checklist-history/checklist-history-type.js +0 -21
  260. package/dist-server/service/checklist-history/checklist-history-type.js.map +0 -1
  261. package/dist-server/service/checklist-history/checklist-history.d.ts +0 -50
  262. package/dist-server/service/checklist-history/checklist-history.js +0 -239
  263. package/dist-server/service/checklist-history/checklist-history.js.map +0 -1
  264. package/dist-server/service/checklist-history/event-subscriber.d.ts +0 -7
  265. package/dist-server/service/checklist-history/event-subscriber.js +0 -21
  266. package/dist-server/service/checklist-history/event-subscriber.js.map +0 -1
  267. package/dist-server/service/checklist-history/index.d.ts +0 -6
  268. package/dist-server/service/checklist-history/index.js +0 -10
  269. package/dist-server/service/checklist-history/index.js.map +0 -1
  270. package/dist-server/service/checklist-item/checklist-item-mutation.d.ts +0 -2
  271. package/dist-server/service/checklist-item/checklist-item-mutation.js +0 -13
  272. package/dist-server/service/checklist-item/checklist-item-mutation.js.map +0 -1
  273. package/dist-server/service/checklist-item/checklist-item-query.d.ts +0 -18
  274. package/dist-server/service/checklist-item/checklist-item-query.js +0 -138
  275. package/dist-server/service/checklist-item/checklist-item-query.js.map +0 -1
  276. package/dist-server/service/checklist-item/checklist-item-type.d.ts +0 -5
  277. package/dist-server/service/checklist-item/checklist-item-type.js +0 -21
  278. package/dist-server/service/checklist-item/checklist-item-type.js.map +0 -1
  279. package/dist-server/service/checklist-item/checklist-item.d.ts +0 -29
  280. package/dist-server/service/checklist-item/checklist-item.js +0 -124
  281. package/dist-server/service/checklist-item/checklist-item.js.map +0 -1
  282. package/dist-server/service/checklist-item/index.d.ts +0 -4
  283. package/dist-server/service/checklist-item/index.js +0 -9
  284. package/dist-server/service/checklist-item/index.js.map +0 -1
  285. package/dist-server/service/checklist-item-comment/checklist-item-comment-history.d.ts +0 -16
  286. package/dist-server/service/checklist-item-comment/checklist-item-comment-history.js +0 -83
  287. package/dist-server/service/checklist-item-comment/checklist-item-comment-history.js.map +0 -1
  288. package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.d.ts +0 -8
  289. package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.js +0 -114
  290. package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.js.map +0 -1
  291. package/dist-server/service/checklist-item-comment/checklist-item-comment-query.d.ts +0 -7
  292. package/dist-server/service/checklist-item-comment/checklist-item-comment-query.js +0 -49
  293. package/dist-server/service/checklist-item-comment/checklist-item-comment-query.js.map +0 -1
  294. package/dist-server/service/checklist-item-comment/checklist-item-comment-type.d.ts +0 -14
  295. package/dist-server/service/checklist-item-comment/checklist-item-comment-type.js +0 -53
  296. package/dist-server/service/checklist-item-comment/checklist-item-comment-type.js.map +0 -1
  297. package/dist-server/service/checklist-item-comment/checklist-item-comment.d.ts +0 -12
  298. package/dist-server/service/checklist-item-comment/checklist-item-comment.js +0 -57
  299. package/dist-server/service/checklist-item-comment/checklist-item-comment.js.map +0 -1
  300. package/dist-server/service/checklist-item-comment/index.d.ts +0 -5
  301. package/dist-server/service/checklist-item-comment/index.js +0 -10
  302. package/dist-server/service/checklist-item-comment/index.js.map +0 -1
  303. package/dist-server/service/checklist-item-history/checklist-item-history-query.d.ts +0 -16
  304. package/dist-server/service/checklist-item-history/checklist-item-history-query.js +0 -123
  305. package/dist-server/service/checklist-item-history/checklist-item-history-query.js.map +0 -1
  306. package/dist-server/service/checklist-item-history/checklist-item-history-type.d.ts +0 -5
  307. package/dist-server/service/checklist-item-history/checklist-item-history-type.js +0 -21
  308. package/dist-server/service/checklist-item-history/checklist-item-history-type.js.map +0 -1
  309. package/dist-server/service/checklist-item-history/checklist-item-history.d.ts +0 -27
  310. package/dist-server/service/checklist-item-history/checklist-item-history.js +0 -133
  311. package/dist-server/service/checklist-item-history/checklist-item-history.js.map +0 -1
  312. package/dist-server/service/checklist-item-history/event-subscriber.d.ts +0 -7
  313. package/dist-server/service/checklist-item-history/event-subscriber.js +0 -21
  314. package/dist-server/service/checklist-item-history/event-subscriber.js.map +0 -1
  315. package/dist-server/service/checklist-item-history/index.d.ts +0 -6
  316. package/dist-server/service/checklist-item-history/index.js +0 -10
  317. package/dist-server/service/checklist-item-history/index.js.map +0 -1
  318. package/dist-server/service/checklist-template/checklist-template-mutation.d.ts +0 -6
  319. package/dist-server/service/checklist-template/checklist-template-mutation.js +0 -64
  320. package/dist-server/service/checklist-template/checklist-template-mutation.js.map +0 -1
  321. package/dist-server/service/checklist-template/checklist-template-query.d.ts +0 -10
  322. package/dist-server/service/checklist-template/checklist-template-query.js +0 -62
  323. package/dist-server/service/checklist-template/checklist-template-query.js.map +0 -1
  324. package/dist-server/service/checklist-template/checklist-template-type.d.ts +0 -10
  325. package/dist-server/service/checklist-template/checklist-template-type.js +0 -39
  326. package/dist-server/service/checklist-template/checklist-template-type.js.map +0 -1
  327. package/dist-server/service/checklist-template/checklist-template.d.ts +0 -17
  328. package/dist-server/service/checklist-template/checklist-template.js +0 -78
  329. package/dist-server/service/checklist-template/checklist-template.js.map +0 -1
  330. package/dist-server/service/checklist-template/index.d.ts +0 -5
  331. package/dist-server/service/checklist-template/index.js +0 -9
  332. package/dist-server/service/checklist-template/index.js.map +0 -1
  333. package/dist-server/service/checklist-template-item/checklist-template-item-mutation.d.ts +0 -7
  334. package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js +0 -80
  335. package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js.map +0 -1
  336. package/dist-server/service/checklist-template-item/checklist-template-item-query.d.ts +0 -11
  337. package/dist-server/service/checklist-template-item/checklist-template-item-query.js +0 -78
  338. package/dist-server/service/checklist-template-item/checklist-template-item-query.js.map +0 -1
  339. package/dist-server/service/checklist-template-item/checklist-template-item-type.d.ts +0 -19
  340. package/dist-server/service/checklist-template-item/checklist-template-item-type.js +0 -69
  341. package/dist-server/service/checklist-template-item/checklist-template-item-type.js.map +0 -1
  342. package/dist-server/service/checklist-template-item/checklist-template-item.d.ts +0 -26
  343. package/dist-server/service/checklist-template-item/checklist-template-item.js +0 -106
  344. package/dist-server/service/checklist-template-item/checklist-template-item.js.map +0 -1
  345. package/dist-server/service/checklist-template-item/index.d.ts +0 -5
  346. package/dist-server/service/checklist-template-item/index.js +0 -9
  347. package/dist-server/service/checklist-template-item/index.js.map +0 -1
  348. package/dist-server/service/checklist-template-item/spec-matching-service.d.ts +0 -2
  349. package/dist-server/service/checklist-template-item/spec-matching-service.js +0 -51
  350. package/dist-server/service/checklist-template-item/spec-matching-service.js.map +0 -1
  351. package/dist-server/service/checklist-type/checklist-type-mutation.d.ts +0 -6
  352. package/dist-server/service/checklist-type/checklist-type-mutation.js +0 -64
  353. package/dist-server/service/checklist-type/checklist-type-mutation.js.map +0 -1
  354. package/dist-server/service/checklist-type/checklist-type-query.d.ts +0 -10
  355. package/dist-server/service/checklist-type/checklist-type-query.js +0 -62
  356. package/dist-server/service/checklist-type/checklist-type-query.js.map +0 -1
  357. package/dist-server/service/checklist-type/checklist-type-type.d.ts +0 -11
  358. package/dist-server/service/checklist-type/checklist-type-type.js +0 -43
  359. package/dist-server/service/checklist-type/checklist-type-type.js.map +0 -1
  360. package/dist-server/service/checklist-type/checklist-type.d.ts +0 -19
  361. package/dist-server/service/checklist-type/checklist-type.js +0 -78
  362. package/dist-server/service/checklist-type/checklist-type.js.map +0 -1
  363. package/dist-server/service/checklist-type/index.d.ts +0 -5
  364. package/dist-server/service/checklist-type/index.js +0 -9
  365. package/dist-server/service/checklist-type/index.js.map +0 -1
  366. package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.d.ts +0 -7
  367. package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.js +0 -107
  368. package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.js.map +0 -1
  369. package/dist-server/service/construction-checklist-template/construction-checklist-template-query.d.ts +0 -10
  370. package/dist-server/service/construction-checklist-template/construction-checklist-template-query.js +0 -62
  371. package/dist-server/service/construction-checklist-template/construction-checklist-template-query.js.map +0 -1
  372. package/dist-server/service/construction-checklist-template/construction-checklist-template-type.d.ts +0 -11
  373. package/dist-server/service/construction-checklist-template/construction-checklist-template-type.js +0 -43
  374. package/dist-server/service/construction-checklist-template/construction-checklist-template-type.js.map +0 -1
  375. package/dist-server/service/construction-checklist-template/construction-checklist-template.d.ts +0 -18
  376. package/dist-server/service/construction-checklist-template/construction-checklist-template.js +0 -80
  377. package/dist-server/service/construction-checklist-template/construction-checklist-template.js.map +0 -1
  378. package/dist-server/service/construction-checklist-template/index.d.ts +0 -5
  379. package/dist-server/service/construction-checklist-template/index.js +0 -9
  380. package/dist-server/service/construction-checklist-template/index.js.map +0 -1
  381. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.d.ts +0 -6
  382. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.js +0 -56
  383. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.js.map +0 -1
  384. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.d.ts +0 -9
  385. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.js +0 -53
  386. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.js.map +0 -1
  387. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.d.ts +0 -17
  388. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.js +0 -67
  389. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.js.map +0 -1
  390. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.d.ts +0 -24
  391. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.js +0 -113
  392. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.js.map +0 -1
  393. package/dist-server/service/construction-checklist-template-item/index.d.ts +0 -5
  394. package/dist-server/service/construction-checklist-template-item/index.js +0 -9
  395. package/dist-server/service/construction-checklist-template-item/index.js.map +0 -1
  396. package/dist-server/service/field-document/field-document-auto-file.d.ts +0 -21
  397. package/dist-server/service/field-document/field-document-auto-file.js +0 -47
  398. package/dist-server/service/field-document/field-document-auto-file.js.map +0 -1
  399. package/dist-server/service/field-document/field-document-mutation.d.ts +0 -9
  400. package/dist-server/service/field-document/field-document-mutation.js +0 -139
  401. package/dist-server/service/field-document/field-document-mutation.js.map +0 -1
  402. package/dist-server/service/field-document/field-document-query.d.ts +0 -14
  403. package/dist-server/service/field-document/field-document-query.js +0 -120
  404. package/dist-server/service/field-document/field-document-query.js.map +0 -1
  405. package/dist-server/service/field-document/field-document-summary-service.d.ts +0 -10
  406. package/dist-server/service/field-document/field-document-summary-service.js +0 -79
  407. package/dist-server/service/field-document/field-document-summary-service.js.map +0 -1
  408. package/dist-server/service/field-document/field-document-type.d.ts +0 -24
  409. package/dist-server/service/field-document/field-document-type.js +0 -88
  410. package/dist-server/service/field-document/field-document-type.js.map +0 -1
  411. package/dist-server/service/field-document/field-document.d.ts +0 -29
  412. package/dist-server/service/field-document/field-document.js +0 -127
  413. package/dist-server/service/field-document/field-document.js.map +0 -1
  414. package/dist-server/service/field-document/index.d.ts +0 -5
  415. package/dist-server/service/field-document/index.js +0 -9
  416. package/dist-server/service/field-document/index.js.map +0 -1
  417. package/dist-server/service/index.d.ts +0 -23
  418. package/dist-server/service/index.js +0 -98
  419. package/dist-server/service/index.js.map +0 -1
  420. package/dist-server/service/issue/index.d.ts +0 -5
  421. package/dist-server/service/issue/index.js +0 -9
  422. package/dist-server/service/issue/index.js.map +0 -1
  423. package/dist-server/service/issue/issue-mutation.d.ts +0 -10
  424. package/dist-server/service/issue/issue-mutation.js +0 -167
  425. package/dist-server/service/issue/issue-mutation.js.map +0 -1
  426. package/dist-server/service/issue/issue-query.d.ts +0 -12
  427. package/dist-server/service/issue/issue-query.js +0 -91
  428. package/dist-server/service/issue/issue-query.js.map +0 -1
  429. package/dist-server/service/issue/issue-type.d.ts +0 -23
  430. package/dist-server/service/issue/issue-type.js +0 -86
  431. package/dist-server/service/issue/issue-type.js.map +0 -1
  432. package/dist-server/service/issue/issue.d.ts +0 -26
  433. package/dist-server/service/issue/issue.js +0 -111
  434. package/dist-server/service/issue/issue.js.map +0 -1
  435. package/dist-server/service/project-checklist/index.d.ts +0 -5
  436. package/dist-server/service/project-checklist/index.js +0 -9
  437. package/dist-server/service/project-checklist/index.js.map +0 -1
  438. package/dist-server/service/project-checklist/project-checklist-mutation.d.ts +0 -7
  439. package/dist-server/service/project-checklist/project-checklist-mutation.js +0 -118
  440. package/dist-server/service/project-checklist/project-checklist-mutation.js.map +0 -1
  441. package/dist-server/service/project-checklist/project-checklist-query.d.ts +0 -12
  442. package/dist-server/service/project-checklist/project-checklist-query.js +0 -76
  443. package/dist-server/service/project-checklist/project-checklist-query.js.map +0 -1
  444. package/dist-server/service/project-checklist/project-checklist-type.d.ts +0 -18
  445. package/dist-server/service/project-checklist/project-checklist-type.js +0 -69
  446. package/dist-server/service/project-checklist/project-checklist-type.js.map +0 -1
  447. package/dist-server/service/project-checklist/project-checklist.d.ts +0 -20
  448. package/dist-server/service/project-checklist/project-checklist.js +0 -90
  449. package/dist-server/service/project-checklist/project-checklist.js.map +0 -1
  450. package/dist-server/service/project-checklist/spec-matching-service.d.ts +0 -17
  451. package/dist-server/service/project-checklist/spec-matching-service.js +0 -140
  452. package/dist-server/service/project-checklist/spec-matching-service.js.map +0 -1
  453. package/dist-server/service/project-checklist-item/index.d.ts +0 -4
  454. package/dist-server/service/project-checklist-item/index.js +0 -9
  455. package/dist-server/service/project-checklist-item/index.js.map +0 -1
  456. package/dist-server/service/project-checklist-item/project-checklist-item-mutation.d.ts +0 -2
  457. package/dist-server/service/project-checklist-item/project-checklist-item-mutation.js +0 -13
  458. package/dist-server/service/project-checklist-item/project-checklist-item-mutation.js.map +0 -1
  459. package/dist-server/service/project-checklist-item/project-checklist-item-query.d.ts +0 -5
  460. package/dist-server/service/project-checklist-item/project-checklist-item-query.js +0 -34
  461. package/dist-server/service/project-checklist-item/project-checklist-item-query.js.map +0 -1
  462. package/dist-server/service/project-checklist-item/project-checklist-item-type.d.ts +0 -5
  463. package/dist-server/service/project-checklist-item/project-checklist-item-type.js +0 -21
  464. package/dist-server/service/project-checklist-item/project-checklist-item-type.js.map +0 -1
  465. package/dist-server/service/project-checklist-item/project-checklist-item.d.ts +0 -19
  466. package/dist-server/service/project-checklist-item/project-checklist-item.js +0 -92
  467. package/dist-server/service/project-checklist-item/project-checklist-item.js.map +0 -1
  468. package/dist-server/service/project-report/index.d.ts +0 -5
  469. package/dist-server/service/project-report/index.js +0 -9
  470. package/dist-server/service/project-report/index.js.map +0 -1
  471. package/dist-server/service/project-report/project-report-mutation.d.ts +0 -10
  472. package/dist-server/service/project-report/project-report-mutation.js +0 -167
  473. package/dist-server/service/project-report/project-report-mutation.js.map +0 -1
  474. package/dist-server/service/project-report/project-report-query.d.ts +0 -12
  475. package/dist-server/service/project-report/project-report-query.js +0 -91
  476. package/dist-server/service/project-report/project-report-query.js.map +0 -1
  477. package/dist-server/service/project-report/project-report-type.d.ts +0 -23
  478. package/dist-server/service/project-report/project-report-type.js +0 -86
  479. package/dist-server/service/project-report/project-report-type.js.map +0 -1
  480. package/dist-server/service/project-report/project-report.d.ts +0 -28
  481. package/dist-server/service/project-report/project-report.js +0 -121
  482. package/dist-server/service/project-report/project-report.js.map +0 -1
  483. package/dist-server/service/supervisor/index.d.ts +0 -5
  484. package/dist-server/service/supervisor/index.js +0 -9
  485. package/dist-server/service/supervisor/index.js.map +0 -1
  486. package/dist-server/service/supervisor/supervisor-mutation.d.ts +0 -10
  487. package/dist-server/service/supervisor/supervisor-mutation.js +0 -167
  488. package/dist-server/service/supervisor/supervisor-mutation.js.map +0 -1
  489. package/dist-server/service/supervisor/supervisor-query.d.ts +0 -12
  490. package/dist-server/service/supervisor/supervisor-query.js +0 -91
  491. package/dist-server/service/supervisor/supervisor-query.js.map +0 -1
  492. package/dist-server/service/supervisor/supervisor-type.d.ts +0 -23
  493. package/dist-server/service/supervisor/supervisor-type.js +0 -86
  494. package/dist-server/service/supervisor/supervisor-type.js.map +0 -1
  495. package/dist-server/service/supervisor/supervisor.d.ts +0 -28
  496. package/dist-server/service/supervisor/supervisor.js +0 -121
  497. package/dist-server/service/supervisor/supervisor.js.map +0 -1
  498. package/dist-server/tsconfig.tsbuildinfo +0 -1
@@ -1,6 +0,0 @@
1
- import { BuildingInspectionHistory } from './building-inspection-history';
2
- import { BuildingInspectionHistoryQuery } from './building-inspection-history-query';
3
- import { BuildingInspectionHistoryEntitySubscriber } from './event-subscriber';
4
- export declare const entities: (typeof BuildingInspectionHistory)[];
5
- export declare const resolvers: (typeof BuildingInspectionHistoryQuery)[];
6
- export declare const subscribers: (typeof BuildingInspectionHistoryEntitySubscriber)[];
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.subscribers = exports.resolvers = exports.entities = void 0;
4
- const building_inspection_history_1 = require("./building-inspection-history");
5
- const building_inspection_history_query_1 = require("./building-inspection-history-query");
6
- const event_subscriber_1 = require("./event-subscriber");
7
- exports.entities = [building_inspection_history_1.BuildingInspectionHistory];
8
- exports.resolvers = [building_inspection_history_query_1.BuildingInspectionHistoryQuery];
9
- exports.subscribers = [event_subscriber_1.BuildingInspectionHistoryEntitySubscriber];
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/building-inspection-history/index.ts"],"names":[],"mappings":";;;AAAA,+EAAyE;AACzE,2FAAoF;AACpF,yDAA8E;AAEjE,QAAA,QAAQ,GAAG,CAAC,uDAAyB,CAAC,CAAA;AACtC,QAAA,SAAS,GAAG,CAAC,kEAA8B,CAAC,CAAA;AAC5C,QAAA,WAAW,GAAG,CAAC,4DAAyC,CAAC,CAAA","sourcesContent":["import { BuildingInspectionHistory } from './building-inspection-history'\nimport { BuildingInspectionHistoryQuery } from './building-inspection-history-query'\nimport { BuildingInspectionHistoryEntitySubscriber } from './event-subscriber'\n\nexport const entities = [BuildingInspectionHistory]\nexport const resolvers = [BuildingInspectionHistoryQuery]\nexport const subscribers = [BuildingInspectionHistoryEntitySubscriber]\n"]}
@@ -1,3 +0,0 @@
1
- export declare class ChecklistMutation {
2
- deleteChecklists(ids: string[], context: ResolverContext): Promise<boolean>;
3
- }
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChecklistMutation = void 0;
4
- const tslib_1 = require("tslib");
5
- const type_graphql_1 = require("type-graphql");
6
- const typeorm_1 = require("typeorm");
7
- const checklist_1 = require("./checklist");
8
- let ChecklistMutation = class ChecklistMutation {
9
- async deleteChecklists(ids, context) {
10
- const { domain, tx } = context.state;
11
- await tx.getRepository(checklist_1.Checklist).softDelete({
12
- id: (0, typeorm_1.In)(ids)
13
- });
14
- return true;
15
- }
16
- };
17
- exports.ChecklistMutation = ChecklistMutation;
18
- tslib_1.__decorate([
19
- (0, type_graphql_1.Directive)('@transaction'),
20
- (0, type_graphql_1.Mutation)(returns => Boolean, { description: 'To create Building Inspection And Checklist information' }),
21
- tslib_1.__param(0, (0, type_graphql_1.Arg)('ids', type => [String])),
22
- tslib_1.__param(1, (0, type_graphql_1.Ctx)()),
23
- tslib_1.__metadata("design:type", Function),
24
- tslib_1.__metadata("design:paramtypes", [Array, Object]),
25
- tslib_1.__metadata("design:returntype", Promise)
26
- ], ChecklistMutation.prototype, "deleteChecklists", null);
27
- exports.ChecklistMutation = ChecklistMutation = tslib_1.__decorate([
28
- (0, type_graphql_1.Resolver)(checklist_1.Checklist)
29
- ], ChecklistMutation);
30
- //# sourceMappingURL=checklist-mutation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checklist-mutation.js","sourceRoot":"","sources":["../../../server/service/checklist/checklist-mutation.ts"],"names":[],"mappings":";;;;AAAA,+CAAsE;AACtE,qCAA4B;AAC5B,2CAAuC;AAGhC,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAGtB,AAAN,KAAK,CAAC,gBAAgB,CAA+B,GAAa,EAAS,OAAwB;QACjG,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC,KAAK,CAAA;QAEpC,MAAM,EAAE,CAAC,aAAa,CAAC,qBAAS,CAAC,CAAC,UAAU,CAAC;YAC3C,EAAE,EAAE,IAAA,YAAE,EAAC,GAAG,CAAC;SACZ,CAAC,CAAA;QAEF,OAAO,IAAI,CAAA;IACb,CAAC;CACF,CAAA;AAZY,8CAAiB;AAGtB;IAFL,IAAA,wBAAS,EAAC,cAAc,CAAC;IACzB,IAAA,uBAAQ,EAAC,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,WAAW,EAAE,yDAAyD,EAAE,CAAC;IACjF,mBAAA,IAAA,kBAAG,EAAC,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;IAAiB,mBAAA,IAAA,kBAAG,GAAE,CAAA;;;;yDAQzE;4BAXU,iBAAiB;IAD7B,IAAA,uBAAQ,EAAC,qBAAS,CAAC;GACP,iBAAiB,CAY7B","sourcesContent":["import { Resolver, Mutation, Arg, Ctx, Directive } from 'type-graphql'\nimport { In } from 'typeorm'\nimport { Checklist } from './checklist'\n\n@Resolver(Checklist)\nexport class ChecklistMutation {\n @Directive('@transaction')\n @Mutation(returns => Boolean, { description: 'To create Building Inspection And Checklist information' })\n async deleteChecklists(@Arg('ids', type => [String]) ids: string[], @Ctx() context: ResolverContext): Promise<boolean> {\n const { domain, tx } = context.state\n\n await tx.getRepository(Checklist).softDelete({\n id: In(ids)\n })\n\n return true\n }\n}\n"]}
@@ -1,21 +0,0 @@
1
- import { ListParam } from '@things-factory/shell';
2
- import { User } from '@things-factory/auth-base';
3
- import { Checklist } from './checklist';
4
- import { ChecklistList } from './checklist-type';
5
- import { ChecklistItem } from '../checklist-item/checklist-item';
6
- import { BuildingInspection } from '../building-inspection/building-inspection';
7
- import { Attachment } from '@things-factory/attachment-base';
8
- export declare class ChecklistQuery {
9
- checklist(id: string, context: ResolverContext): Promise<Checklist>;
10
- checklists(params: ListParam, context: ResolverContext): Promise<ChecklistList>;
11
- checklistItems(checklist: Checklist): Promise<ChecklistItem[]>;
12
- checklistAttachments(checklist: Checklist, description?: string): Promise<Attachment[]>;
13
- buildingInspection(checklist: Checklist): Promise<BuildingInspection>;
14
- nameListAttachment(checklist: Checklist): Promise<Attachment | null>;
15
- taskConstructor(checklist: Checklist): Promise<User>;
16
- overallConstructor(checklist: Checklist): Promise<User>;
17
- taskSupervisory(checklist: Checklist): Promise<User>;
18
- overallSupervisory(checklist: Checklist): Promise<User>;
19
- updater(checklist: Checklist): Promise<User>;
20
- creator(checklist: Checklist): Promise<User>;
21
- }
@@ -1,177 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChecklistQuery = void 0;
4
- const tslib_1 = require("tslib");
5
- const type_graphql_1 = require("type-graphql");
6
- const shell_1 = require("@things-factory/shell");
7
- const auth_base_1 = require("@things-factory/auth-base");
8
- const checklist_1 = require("./checklist");
9
- const checklist_type_1 = require("./checklist-type");
10
- const checklist_item_1 = require("../checklist-item/checklist-item");
11
- const building_inspection_1 = require("../building-inspection/building-inspection");
12
- const attachment_base_1 = require("@things-factory/attachment-base");
13
- let ChecklistQuery = class ChecklistQuery {
14
- async checklist(id, context) {
15
- const { domain } = context.state;
16
- return await (0, shell_1.getRepository)(checklist_1.Checklist).findOne({
17
- where: { id }
18
- });
19
- }
20
- async checklists(params, context) {
21
- const { domain } = context.state;
22
- const queryBuilder = (0, shell_1.getQueryBuilderFromListParams)({
23
- params,
24
- repository: await (0, shell_1.getRepository)(checklist_1.Checklist),
25
- searchables: ['name', 'description']
26
- });
27
- const [items, total] = await queryBuilder.getManyAndCount();
28
- return { items, total };
29
- }
30
- async checklistItems(checklist) {
31
- return await (0, shell_1.getRepository)(checklist_item_1.ChecklistItem)
32
- .createQueryBuilder('ci')
33
- .where('ci.checklist_id = :checklistId', { checklistId: checklist.id })
34
- .orderBy('ci.sequence', 'ASC')
35
- .getMany();
36
- }
37
- async checklistAttachments(checklist, description) {
38
- return await (0, shell_1.getRepository)(attachment_base_1.Attachment).find({
39
- where: {
40
- refType: checklist_1.Checklist.name,
41
- refBy: checklist.id,
42
- description: description // 검측 상태로 받으며 어떤 스탭에 올렸는지로 시공자/감리자 구분
43
- },
44
- order: {
45
- createdAt: 'DESC'
46
- }
47
- });
48
- }
49
- async buildingInspection(checklist) {
50
- return await (0, shell_1.getRepository)(building_inspection_1.BuildingInspection).findOneBy({ checklist: { id: checklist.id } });
51
- }
52
- async nameListAttachment(checklist) {
53
- return await (0, shell_1.getRepository)(attachment_base_1.Attachment).findOneBy({ refBy: checklist.id, refType: 'Checklist_NameList' });
54
- }
55
- async taskConstructor(checklist) {
56
- if (!checklist.taskConstructorId)
57
- return null;
58
- return await (0, shell_1.getRepository)(auth_base_1.User).findOneBy({ id: checklist.taskConstructorId });
59
- }
60
- async overallConstructor(checklist) {
61
- if (!checklist.overallConstructorId)
62
- return null;
63
- return await (0, shell_1.getRepository)(auth_base_1.User).findOneBy({ id: checklist.overallConstructorId });
64
- }
65
- async taskSupervisory(checklist) {
66
- if (!checklist.taskSupervisoryId)
67
- return null;
68
- return await (0, shell_1.getRepository)(auth_base_1.User).findOneBy({ id: checklist.taskSupervisoryId });
69
- }
70
- async overallSupervisory(checklist) {
71
- if (!checklist.overallSupervisoryId)
72
- return null;
73
- return await (0, shell_1.getRepository)(auth_base_1.User).findOneBy({ id: checklist.overallSupervisoryId });
74
- }
75
- async updater(checklist) {
76
- if (!checklist.updaterId)
77
- return null;
78
- return await (0, shell_1.getRepository)(auth_base_1.User).findOneBy({ id: checklist.updaterId });
79
- }
80
- async creator(checklist) {
81
- if (!checklist.creatorId)
82
- return null;
83
- return await (0, shell_1.getRepository)(auth_base_1.User).findOneBy({ id: checklist.creatorId });
84
- }
85
- };
86
- exports.ChecklistQuery = ChecklistQuery;
87
- tslib_1.__decorate([
88
- (0, type_graphql_1.Query)(returns => checklist_1.Checklist, { nullable: true, description: 'To fetch a Checklist' }),
89
- tslib_1.__param(0, (0, type_graphql_1.Arg)('id')),
90
- tslib_1.__param(1, (0, type_graphql_1.Ctx)()),
91
- tslib_1.__metadata("design:type", Function),
92
- tslib_1.__metadata("design:paramtypes", [String, Object]),
93
- tslib_1.__metadata("design:returntype", Promise)
94
- ], ChecklistQuery.prototype, "checklist", null);
95
- tslib_1.__decorate([
96
- (0, type_graphql_1.Query)(returns => checklist_type_1.ChecklistList, { description: 'To fetch multiple Checklists' }),
97
- tslib_1.__param(0, (0, type_graphql_1.Args)()),
98
- tslib_1.__param(1, (0, type_graphql_1.Ctx)()),
99
- tslib_1.__metadata("design:type", Function),
100
- tslib_1.__metadata("design:paramtypes", [shell_1.ListParam, Object]),
101
- tslib_1.__metadata("design:returntype", Promise)
102
- ], ChecklistQuery.prototype, "checklists", null);
103
- tslib_1.__decorate([
104
- (0, type_graphql_1.FieldResolver)(type => [checklist_item_1.ChecklistItem]),
105
- tslib_1.__param(0, (0, type_graphql_1.Root)()),
106
- tslib_1.__metadata("design:type", Function),
107
- tslib_1.__metadata("design:paramtypes", [checklist_1.Checklist]),
108
- tslib_1.__metadata("design:returntype", Promise)
109
- ], ChecklistQuery.prototype, "checklistItems", null);
110
- tslib_1.__decorate([
111
- (0, type_graphql_1.FieldResolver)(type => [attachment_base_1.Attachment]),
112
- tslib_1.__param(0, (0, type_graphql_1.Root)()),
113
- tslib_1.__param(1, (0, type_graphql_1.Arg)('description', { nullable: true })),
114
- tslib_1.__metadata("design:type", Function),
115
- tslib_1.__metadata("design:paramtypes", [checklist_1.Checklist, String]),
116
- tslib_1.__metadata("design:returntype", Promise)
117
- ], ChecklistQuery.prototype, "checklistAttachments", null);
118
- tslib_1.__decorate([
119
- (0, type_graphql_1.FieldResolver)(type => building_inspection_1.BuildingInspection),
120
- tslib_1.__param(0, (0, type_graphql_1.Root)()),
121
- tslib_1.__metadata("design:type", Function),
122
- tslib_1.__metadata("design:paramtypes", [checklist_1.Checklist]),
123
- tslib_1.__metadata("design:returntype", Promise)
124
- ], ChecklistQuery.prototype, "buildingInspection", null);
125
- tslib_1.__decorate([
126
- (0, type_graphql_1.FieldResolver)(type => attachment_base_1.Attachment, { nullable: true }),
127
- tslib_1.__param(0, (0, type_graphql_1.Root)()),
128
- tslib_1.__metadata("design:type", Function),
129
- tslib_1.__metadata("design:paramtypes", [checklist_1.Checklist]),
130
- tslib_1.__metadata("design:returntype", Promise)
131
- ], ChecklistQuery.prototype, "nameListAttachment", null);
132
- tslib_1.__decorate([
133
- (0, type_graphql_1.FieldResolver)(type => auth_base_1.User),
134
- tslib_1.__param(0, (0, type_graphql_1.Root)()),
135
- tslib_1.__metadata("design:type", Function),
136
- tslib_1.__metadata("design:paramtypes", [checklist_1.Checklist]),
137
- tslib_1.__metadata("design:returntype", Promise)
138
- ], ChecklistQuery.prototype, "taskConstructor", null);
139
- tslib_1.__decorate([
140
- (0, type_graphql_1.FieldResolver)(type => auth_base_1.User),
141
- tslib_1.__param(0, (0, type_graphql_1.Root)()),
142
- tslib_1.__metadata("design:type", Function),
143
- tslib_1.__metadata("design:paramtypes", [checklist_1.Checklist]),
144
- tslib_1.__metadata("design:returntype", Promise)
145
- ], ChecklistQuery.prototype, "overallConstructor", null);
146
- tslib_1.__decorate([
147
- (0, type_graphql_1.FieldResolver)(type => auth_base_1.User),
148
- tslib_1.__param(0, (0, type_graphql_1.Root)()),
149
- tslib_1.__metadata("design:type", Function),
150
- tslib_1.__metadata("design:paramtypes", [checklist_1.Checklist]),
151
- tslib_1.__metadata("design:returntype", Promise)
152
- ], ChecklistQuery.prototype, "taskSupervisory", null);
153
- tslib_1.__decorate([
154
- (0, type_graphql_1.FieldResolver)(type => auth_base_1.User),
155
- tslib_1.__param(0, (0, type_graphql_1.Root)()),
156
- tslib_1.__metadata("design:type", Function),
157
- tslib_1.__metadata("design:paramtypes", [checklist_1.Checklist]),
158
- tslib_1.__metadata("design:returntype", Promise)
159
- ], ChecklistQuery.prototype, "overallSupervisory", null);
160
- tslib_1.__decorate([
161
- (0, type_graphql_1.FieldResolver)(type => auth_base_1.User),
162
- tslib_1.__param(0, (0, type_graphql_1.Root)()),
163
- tslib_1.__metadata("design:type", Function),
164
- tslib_1.__metadata("design:paramtypes", [checklist_1.Checklist]),
165
- tslib_1.__metadata("design:returntype", Promise)
166
- ], ChecklistQuery.prototype, "updater", null);
167
- tslib_1.__decorate([
168
- (0, type_graphql_1.FieldResolver)(type => auth_base_1.User),
169
- tslib_1.__param(0, (0, type_graphql_1.Root)()),
170
- tslib_1.__metadata("design:type", Function),
171
- tslib_1.__metadata("design:paramtypes", [checklist_1.Checklist]),
172
- tslib_1.__metadata("design:returntype", Promise)
173
- ], ChecklistQuery.prototype, "creator", null);
174
- exports.ChecklistQuery = ChecklistQuery = tslib_1.__decorate([
175
- (0, type_graphql_1.Resolver)(checklist_1.Checklist)
176
- ], ChecklistQuery);
177
- //# sourceMappingURL=checklist-query.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checklist-query.js","sourceRoot":"","sources":["../../../server/service/checklist/checklist-query.ts"],"names":[],"mappings":";;;;AAAA,+CAAmF;AACnF,iDAA+F;AAC/F,yDAAgD;AAChD,2CAAuC;AACvC,qDAAgD;AAChD,qEAAgE;AAChE,oFAA+E;AAC/E,qEAA4D;AAGrD,IAAM,cAAc,GAApB,MAAM,cAAc;IAEnB,AAAN,KAAK,CAAC,SAAS,CAAY,EAAU,EAAS,OAAwB;QACpE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,KAAK,CAAA;QAEhC,OAAO,MAAM,IAAA,qBAAa,EAAC,qBAAS,CAAC,CAAC,OAAO,CAAC;YAC5C,KAAK,EAAE,EAAE,EAAE,EAAE;SACd,CAAC,CAAA;IACJ,CAAC;IAGK,AAAN,KAAK,CAAC,UAAU,CAAS,MAAiB,EAAS,OAAwB;QACzE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,KAAK,CAAA;QAEhC,MAAM,YAAY,GAAG,IAAA,qCAA6B,EAAC;YACjD,MAAM;YACN,UAAU,EAAE,MAAM,IAAA,qBAAa,EAAC,qBAAS,CAAC;YAC1C,WAAW,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC;SACrC,CAAC,CAAA;QAEF,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,MAAM,YAAY,CAAC,eAAe,EAAE,CAAA;QAE3D,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,CAAA;IACzB,CAAC;IAGK,AAAN,KAAK,CAAC,cAAc,CAAS,SAAoB;QAC/C,OAAO,MAAM,IAAA,qBAAa,EAAC,8BAAa,CAAC;aACtC,kBAAkB,CAAC,IAAI,CAAC;aACxB,KAAK,CAAC,gCAAgC,EAAE,EAAE,WAAW,EAAE,SAAS,CAAC,EAAE,EAAE,CAAC;aACtE,OAAO,CAAC,aAAa,EAAE,KAAK,CAAC;aAC7B,OAAO,EAAE,CAAA;IACd,CAAC;IAGK,AAAN,KAAK,CAAC,oBAAoB,CAChB,SAAoB,EACY,WAAoB;QAE5D,OAAO,MAAM,IAAA,qBAAa,EAAC,4BAAU,CAAC,CAAC,IAAI,CAAC;YAC1C,KAAK,EAAE;gBACL,OAAO,EAAE,qBAAS,CAAC,IAAI;gBACvB,KAAK,EAAE,SAAS,CAAC,EAAE;gBACnB,WAAW,EAAE,WAAW,CAAC,qCAAqC;aAC/D;YACD,KAAK,EAAE;gBACL,SAAS,EAAE,MAAM;aAClB;SACF,CAAC,CAAA;IACJ,CAAC;IAGK,AAAN,KAAK,CAAC,kBAAkB,CAAS,SAAoB;QACnD,OAAO,MAAM,IAAA,qBAAa,EAAC,wCAAkB,CAAC,CAAC,SAAS,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,SAAS,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;IAC/F,CAAC;IAGK,AAAN,KAAK,CAAC,kBAAkB,CAAS,SAAoB;QACnD,OAAO,MAAM,IAAA,qBAAa,EAAC,4BAAU,CAAC,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,CAAC,CAAA;IAC1G,CAAC;IAGK,AAAN,KAAK,CAAC,eAAe,CAAS,SAAoB;QAChD,IAAI,CAAC,SAAS,CAAC,iBAAiB;YAAE,OAAO,IAAI,CAAA;QAC7C,OAAO,MAAM,IAAA,qBAAa,EAAC,gBAAI,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,iBAAiB,EAAE,CAAC,CAAA;IACjF,CAAC;IAGK,AAAN,KAAK,CAAC,kBAAkB,CAAS,SAAoB;QACnD,IAAI,CAAC,SAAS,CAAC,oBAAoB;YAAE,OAAO,IAAI,CAAA;QAChD,OAAO,MAAM,IAAA,qBAAa,EAAC,gBAAI,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,oBAAoB,EAAE,CAAC,CAAA;IACpF,CAAC;IAGK,AAAN,KAAK,CAAC,eAAe,CAAS,SAAoB;QAChD,IAAI,CAAC,SAAS,CAAC,iBAAiB;YAAE,OAAO,IAAI,CAAA;QAC7C,OAAO,MAAM,IAAA,qBAAa,EAAC,gBAAI,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,iBAAiB,EAAE,CAAC,CAAA;IACjF,CAAC;IAGK,AAAN,KAAK,CAAC,kBAAkB,CAAS,SAAoB;QACnD,IAAI,CAAC,SAAS,CAAC,oBAAoB;YAAE,OAAO,IAAI,CAAA;QAChD,OAAO,MAAM,IAAA,qBAAa,EAAC,gBAAI,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,oBAAoB,EAAE,CAAC,CAAA;IACpF,CAAC;IAGK,AAAN,KAAK,CAAC,OAAO,CAAS,SAAoB;QACxC,IAAI,CAAC,SAAS,CAAC,SAAS;YAAE,OAAO,IAAI,CAAA;QACrC,OAAO,MAAM,IAAA,qBAAa,EAAC,gBAAI,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,SAAS,EAAE,CAAC,CAAA;IACzE,CAAC;IAGK,AAAN,KAAK,CAAC,OAAO,CAAS,SAAoB;QACxC,IAAI,CAAC,SAAS,CAAC,SAAS;YAAE,OAAO,IAAI,CAAA;QACrC,OAAO,MAAM,IAAA,qBAAa,EAAC,gBAAI,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,SAAS,EAAE,CAAC,CAAA;IACzE,CAAC;CACF,CAAA;AAhGY,wCAAc;AAEnB;IADL,IAAA,oBAAK,EAAC,OAAO,CAAC,EAAE,CAAC,qBAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,sBAAsB,EAAE,CAAC;IACrE,mBAAA,IAAA,kBAAG,EAAC,IAAI,CAAC,CAAA;IAAc,mBAAA,IAAA,kBAAG,GAAE,CAAA;;;;+CAM5C;AAGK;IADL,IAAA,oBAAK,EAAC,OAAO,CAAC,EAAE,CAAC,8BAAa,EAAE,EAAE,WAAW,EAAE,8BAA8B,EAAE,CAAC;IAC/D,mBAAA,IAAA,mBAAI,GAAE,CAAA;IAAqB,mBAAA,IAAA,kBAAG,GAAE,CAAA;;6CAAjB,iBAAS;;gDAYzC;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,8BAAa,CAAC,CAAC;IACjB,mBAAA,IAAA,mBAAI,GAAE,CAAA;;6CAAY,qBAAS;;oDAMhD;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,4BAAU,CAAC,CAAC;IAEjC,mBAAA,IAAA,mBAAI,GAAE,CAAA;IACN,mBAAA,IAAA,kBAAG,EAAC,aAAa,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAA;;6CADpB,qBAAS;;0DAa7B;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,wCAAkB,CAAC;IAChB,mBAAA,IAAA,mBAAI,GAAE,CAAA;;6CAAY,qBAAS;;wDAEpD;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,4BAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,mBAAA,IAAA,mBAAI,GAAE,CAAA;;6CAAY,qBAAS;;wDAEpD;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,CAAC;IACL,mBAAA,IAAA,mBAAI,GAAE,CAAA;;6CAAY,qBAAS;;qDAGjD;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,CAAC;IACF,mBAAA,IAAA,mBAAI,GAAE,CAAA;;6CAAY,qBAAS;;wDAGpD;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,CAAC;IACL,mBAAA,IAAA,mBAAI,GAAE,CAAA;;6CAAY,qBAAS;;qDAGjD;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,CAAC;IACF,mBAAA,IAAA,mBAAI,GAAE,CAAA;;6CAAY,qBAAS;;wDAGpD;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,CAAC;IACb,mBAAA,IAAA,mBAAI,GAAE,CAAA;;6CAAY,qBAAS;;6CAGzC;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,CAAC;IACb,mBAAA,IAAA,mBAAI,GAAE,CAAA;;6CAAY,qBAAS;;6CAGzC;yBA/FU,cAAc;IAD1B,IAAA,uBAAQ,EAAC,qBAAS,CAAC;GACP,cAAc,CAgG1B","sourcesContent":["import { Resolver, Query, FieldResolver, Root, Args, Arg, Ctx } from 'type-graphql'\nimport { getQueryBuilderFromListParams, getRepository, ListParam } from '@things-factory/shell'\nimport { User } from '@things-factory/auth-base'\nimport { Checklist } from './checklist'\nimport { ChecklistList } from './checklist-type'\nimport { ChecklistItem } from '../checklist-item/checklist-item'\nimport { BuildingInspection } from '../building-inspection/building-inspection'\nimport { Attachment } from '@things-factory/attachment-base'\n\n@Resolver(Checklist)\nexport class ChecklistQuery {\n @Query(returns => Checklist!, { nullable: true, description: 'To fetch a Checklist' })\n async checklist(@Arg('id') id: string, @Ctx() context: ResolverContext): Promise<Checklist> {\n const { domain } = context.state\n\n return await getRepository(Checklist).findOne({\n where: { id }\n })\n }\n\n @Query(returns => ChecklistList, { description: 'To fetch multiple Checklists' })\n async checklists(@Args() params: ListParam, @Ctx() context: ResolverContext): Promise<ChecklistList> {\n const { domain } = context.state\n\n const queryBuilder = getQueryBuilderFromListParams({\n params,\n repository: await getRepository(Checklist),\n searchables: ['name', 'description']\n })\n\n const [items, total] = await queryBuilder.getManyAndCount()\n\n return { items, total }\n }\n\n @FieldResolver(type => [ChecklistItem])\n async checklistItems(@Root() checklist: Checklist): Promise<ChecklistItem[]> {\n return await getRepository(ChecklistItem)\n .createQueryBuilder('ci')\n .where('ci.checklist_id = :checklistId', { checklistId: checklist.id })\n .orderBy('ci.sequence', 'ASC')\n .getMany()\n }\n\n @FieldResolver(type => [Attachment])\n async checklistAttachments(\n @Root() checklist: Checklist,\n @Arg('description', { nullable: true }) description?: string\n ): Promise<Attachment[]> {\n return await getRepository(Attachment).find({\n where: {\n refType: Checklist.name,\n refBy: checklist.id,\n description: description // 검측 상태로 받으며 어떤 스탭에 올렸는지로 시공자/감리자 구분\n },\n order: {\n createdAt: 'DESC'\n }\n })\n }\n\n @FieldResolver(type => BuildingInspection)\n async buildingInspection(@Root() checklist: Checklist): Promise<BuildingInspection> {\n return await getRepository(BuildingInspection).findOneBy({ checklist: { id: checklist.id } })\n }\n\n @FieldResolver(type => Attachment, { nullable: true })\n async nameListAttachment(@Root() checklist: Checklist): Promise<Attachment | null> {\n return await getRepository(Attachment).findOneBy({ refBy: checklist.id, refType: 'Checklist_NameList' })\n }\n\n @FieldResolver(type => User)\n async taskConstructor(@Root() checklist: Checklist): Promise<User> {\n if (!checklist.taskConstructorId) return null\n return await getRepository(User).findOneBy({ id: checklist.taskConstructorId })\n }\n\n @FieldResolver(type => User)\n async overallConstructor(@Root() checklist: Checklist): Promise<User> {\n if (!checklist.overallConstructorId) return null\n return await getRepository(User).findOneBy({ id: checklist.overallConstructorId })\n }\n\n @FieldResolver(type => User)\n async taskSupervisory(@Root() checklist: Checklist): Promise<User> {\n if (!checklist.taskSupervisoryId) return null\n return await getRepository(User).findOneBy({ id: checklist.taskSupervisoryId })\n }\n\n @FieldResolver(type => User)\n async overallSupervisory(@Root() checklist: Checklist): Promise<User> {\n if (!checklist.overallSupervisoryId) return null\n return await getRepository(User).findOneBy({ id: checklist.overallSupervisoryId })\n }\n\n @FieldResolver(type => User)\n async updater(@Root() checklist: Checklist): Promise<User> {\n if (!checklist.updaterId) return null\n return await getRepository(User).findOneBy({ id: checklist.updaterId })\n }\n\n @FieldResolver(type => User)\n async creator(@Root() checklist: Checklist): Promise<User> {\n if (!checklist.creatorId) return null\n return await getRepository(User).findOneBy({ id: checklist.creatorId })\n }\n}\n"]}
@@ -1,5 +0,0 @@
1
- import { Checklist } from './checklist';
2
- export declare class ChecklistList {
3
- items: Checklist[];
4
- total: number;
5
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChecklistList = void 0;
4
- const tslib_1 = require("tslib");
5
- const type_graphql_1 = require("type-graphql");
6
- const checklist_1 = require("./checklist");
7
- let ChecklistList = class ChecklistList {
8
- };
9
- exports.ChecklistList = ChecklistList;
10
- tslib_1.__decorate([
11
- (0, type_graphql_1.Field)(type => [checklist_1.Checklist]),
12
- tslib_1.__metadata("design:type", Array)
13
- ], ChecklistList.prototype, "items", void 0);
14
- tslib_1.__decorate([
15
- (0, type_graphql_1.Field)(type => type_graphql_1.Int),
16
- tslib_1.__metadata("design:type", Number)
17
- ], ChecklistList.prototype, "total", void 0);
18
- exports.ChecklistList = ChecklistList = tslib_1.__decorate([
19
- (0, type_graphql_1.ObjectType)()
20
- ], ChecklistList);
21
- //# sourceMappingURL=checklist-type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checklist-type.js","sourceRoot":"","sources":["../../../server/service/checklist/checklist-type.ts"],"names":[],"mappings":";;;;AAAA,+CAAqD;AACrD,2CAAuC;AAEhC,IAAM,aAAa,GAAnB,MAAM,aAAa;CAMzB,CAAA;AANY,sCAAa;AAExB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,qBAAS,CAAC,CAAC;;4CACT;AAGlB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,CAAC;;4CACN;wBALF,aAAa;IADzB,IAAA,yBAAU,GAAE;GACA,aAAa,CAMzB","sourcesContent":["import { ObjectType, Field, Int } from 'type-graphql'\nimport { Checklist } from './checklist'\n@ObjectType()\nexport class ChecklistList {\n @Field(type => [Checklist])\n items: Checklist[]\n\n @Field(type => Int)\n total: number\n}\n"]}
@@ -1,66 +0,0 @@
1
- import { User } from '@things-factory/auth-base';
2
- import { ChecklistItem } from '../checklist-item/checklist-item';
3
- import { BuildingInspection } from '../building-inspection/building-inspection';
4
- import { ProjectType } from '../building-inspection/building-inspection';
5
- export declare enum ChecklistReferenceType {
6
- INSPECTION = "INSPECTION",// 검측
7
- TASK = "TASK"
8
- }
9
- export declare enum DocumentNoType {
10
- CHECKLIST = "01",// 체크리스트
11
- INSPECTION_REQUEST = "02",// 검측 요청서
12
- INSPECTION_RESULT = "03",// 검측 결과 통보서
13
- DAILY_WORKLOG = "04"
14
- }
15
- export declare enum InspectionResultStatus {
16
- PASS = "PASS",// 합격
17
- FAIL = "FAIL"
18
- }
19
- export declare enum InspectionResultType {
20
- GENERAL = "GENERAL",// 일반
21
- FOCUS = "FOCUS",// 중점
22
- CONCEALED_WORK = "CONCEALED_WORK"
23
- }
24
- export declare class Checklist {
25
- readonly id: string;
26
- name?: string;
27
- documentNo?: string;
28
- projectType?: ProjectType;
29
- checklistReferenceType?: ChecklistReferenceType;
30
- constructionType?: string;
31
- constructionDetailType?: string;
32
- location?: string;
33
- inspectionDrawingType?: string;
34
- inspectionParts?: string[];
35
- constructionInspectionDate?: Date;
36
- supervisorInspectionDate?: Date;
37
- overallConstructorSignature?: string;
38
- taskConstructorSignature?: string;
39
- overallSupervisorySignature?: string;
40
- taskSupervisorySignature?: string;
41
- overallConstructor?: User;
42
- overallConstructorId?: string;
43
- taskConstructor?: User;
44
- taskConstructorId?: string;
45
- overallSupervisory?: User;
46
- overallSupervisoryId?: string;
47
- taskSupervisory?: User;
48
- taskSupervisoryId?: string;
49
- checklistItems?: ChecklistItem[];
50
- buildingInspection?: BuildingInspection;
51
- inspectionRequestDocumentNo?: string;
52
- inspectionRequestMemo?: string;
53
- inspectionRequestUpdatedAt?: Date;
54
- inspectionResultDocumentNo?: string;
55
- inspectionResultMemo?: string;
56
- inspectionResultStatus?: InspectionResultStatus;
57
- inspectionResultType?: InspectionResultType;
58
- inspectionResultUpdatedAt?: Date;
59
- createdAt?: Date;
60
- updatedAt?: Date;
61
- deletedAt?: Date;
62
- creator?: User;
63
- creatorId?: string;
64
- updater?: User;
65
- updaterId?: string;
66
- }
@@ -1,259 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Checklist = exports.InspectionResultType = exports.InspectionResultStatus = exports.DocumentNoType = exports.ChecklistReferenceType = void 0;
4
- const tslib_1 = require("tslib");
5
- const typeorm_1 = require("typeorm");
6
- const type_graphql_1 = require("type-graphql");
7
- const auth_base_1 = require("@things-factory/auth-base");
8
- const checklist_item_1 = require("../checklist-item/checklist-item");
9
- const building_inspection_1 = require("../building-inspection/building-inspection");
10
- const building_inspection_2 = require("../building-inspection/building-inspection");
11
- var ChecklistReferenceType;
12
- (function (ChecklistReferenceType) {
13
- ChecklistReferenceType["INSPECTION"] = "INSPECTION";
14
- ChecklistReferenceType["TASK"] = "TASK"; // 공정표
15
- })(ChecklistReferenceType || (exports.ChecklistReferenceType = ChecklistReferenceType = {}));
16
- var DocumentNoType;
17
- (function (DocumentNoType) {
18
- DocumentNoType["CHECKLIST"] = "01";
19
- DocumentNoType["INSPECTION_REQUEST"] = "02";
20
- DocumentNoType["INSPECTION_RESULT"] = "03";
21
- DocumentNoType["DAILY_WORKLOG"] = "04"; // 일일 업무일지
22
- })(DocumentNoType || (exports.DocumentNoType = DocumentNoType = {}));
23
- var InspectionResultStatus;
24
- (function (InspectionResultStatus) {
25
- InspectionResultStatus["PASS"] = "PASS";
26
- InspectionResultStatus["FAIL"] = "FAIL"; // 불합격
27
- })(InspectionResultStatus || (exports.InspectionResultStatus = InspectionResultStatus = {}));
28
- var InspectionResultType;
29
- (function (InspectionResultType) {
30
- InspectionResultType["GENERAL"] = "GENERAL";
31
- InspectionResultType["FOCUS"] = "FOCUS";
32
- InspectionResultType["CONCEALED_WORK"] = "CONCEALED_WORK"; // 매몰부위
33
- })(InspectionResultType || (exports.InspectionResultType = InspectionResultType = {}));
34
- (0, type_graphql_1.registerEnumType)(ChecklistReferenceType, {
35
- name: 'ChecklistReferenceType',
36
- description: '체크리스트 참조 타입'
37
- });
38
- (0, type_graphql_1.registerEnumType)(DocumentNoType, {
39
- name: 'DocumentNoType',
40
- description: '문서 번호 타입'
41
- });
42
- (0, type_graphql_1.registerEnumType)(InspectionResultStatus, {
43
- name: 'InspectionResultStatus',
44
- description: '검측 결과 상태'
45
- });
46
- (0, type_graphql_1.registerEnumType)(InspectionResultType, {
47
- name: 'InspectionResultType',
48
- description: '검측 결과 타입'
49
- });
50
- let Checklist = class Checklist {
51
- };
52
- exports.Checklist = Checklist;
53
- tslib_1.__decorate([
54
- (0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
55
- (0, type_graphql_1.Field)(type => type_graphql_1.ID),
56
- tslib_1.__metadata("design:type", String)
57
- ], Checklist.prototype, "id", void 0);
58
- tslib_1.__decorate([
59
- (0, typeorm_1.Column)({ nullable: true, comment: '이름' }),
60
- (0, type_graphql_1.Field)({ nullable: true }),
61
- tslib_1.__metadata("design:type", String)
62
- ], Checklist.prototype, "name", void 0);
63
- tslib_1.__decorate([
64
- (0, typeorm_1.Column)({ nullable: true, comment: '문서 번호 - 검측: 동(4자리)-층(3자리)-시퀀스(6자리), 공정표: 날짜(6자리)-시퀀스(6자리)' }),
65
- (0, type_graphql_1.Field)({ nullable: true }),
66
- tslib_1.__metadata("design:type", String)
67
- ], Checklist.prototype, "documentNo", void 0);
68
- tslib_1.__decorate([
69
- (0, typeorm_1.Column)({ nullable: false, comment: '프로젝트 타입', default: building_inspection_2.ProjectType.DSSP }),
70
- (0, type_graphql_1.Field)({ nullable: true }),
71
- tslib_1.__metadata("design:type", String)
72
- ], Checklist.prototype, "projectType", void 0);
73
- tslib_1.__decorate([
74
- (0, typeorm_1.Column)({ nullable: false, comment: '체크리스트 참조 타입 (구분 용)', default: ChecklistReferenceType.INSPECTION }),
75
- (0, type_graphql_1.Field)({ nullable: true }),
76
- tslib_1.__metadata("design:type", String)
77
- ], Checklist.prototype, "checklistReferenceType", void 0);
78
- tslib_1.__decorate([
79
- (0, typeorm_1.Column)({ nullable: true, comment: '공종' }),
80
- (0, type_graphql_1.Field)({ nullable: true }),
81
- tslib_1.__metadata("design:type", String)
82
- ], Checklist.prototype, "constructionType", void 0);
83
- tslib_1.__decorate([
84
- (0, typeorm_1.Column)({ nullable: true, comment: '세부 공종' }),
85
- (0, type_graphql_1.Field)({ nullable: true }),
86
- tslib_1.__metadata("design:type", String)
87
- ], Checklist.prototype, "constructionDetailType", void 0);
88
- tslib_1.__decorate([
89
- (0, typeorm_1.Column)({ nullable: true, comment: '위치 (x동 x층)' }),
90
- (0, type_graphql_1.Field)({ nullable: true }),
91
- tslib_1.__metadata("design:type", String)
92
- ], Checklist.prototype, "location", void 0);
93
- tslib_1.__decorate([
94
- (0, typeorm_1.Column)({ nullable: true, comment: '검측 도면 타입', default: '' }),
95
- (0, type_graphql_1.Field)({ nullable: true }),
96
- tslib_1.__metadata("design:type", String)
97
- ], Checklist.prototype, "inspectionDrawingType", void 0);
98
- tslib_1.__decorate([
99
- (0, typeorm_1.Column)('simple-array', { nullable: true, comment: '검측 부위' }),
100
- (0, type_graphql_1.Field)(() => [String], { nullable: true }),
101
- tslib_1.__metadata("design:type", Array)
102
- ], Checklist.prototype, "inspectionParts", void 0);
103
- tslib_1.__decorate([
104
- (0, typeorm_1.Column)({ nullable: true, comment: '시공자 점검일' }),
105
- (0, type_graphql_1.Field)({ nullable: true }),
106
- tslib_1.__metadata("design:type", Date)
107
- ], Checklist.prototype, "constructionInspectionDate", void 0);
108
- tslib_1.__decorate([
109
- (0, typeorm_1.Column)({ nullable: true, comment: '감리자 점검일' }),
110
- (0, type_graphql_1.Field)({ nullable: true }),
111
- tslib_1.__metadata("design:type", Date)
112
- ], Checklist.prototype, "supervisorInspectionDate", void 0);
113
- tslib_1.__decorate([
114
- (0, typeorm_1.Column)({ nullable: true, comment: '총괄 시공 책임자 사인' }),
115
- (0, type_graphql_1.Field)({ nullable: true }),
116
- tslib_1.__metadata("design:type", String)
117
- ], Checklist.prototype, "overallConstructorSignature", void 0);
118
- tslib_1.__decorate([
119
- (0, typeorm_1.Column)({ nullable: true, comment: '공종별 시공 관리자 사인' }),
120
- (0, type_graphql_1.Field)({ nullable: true }),
121
- tslib_1.__metadata("design:type", String)
122
- ], Checklist.prototype, "taskConstructorSignature", void 0);
123
- tslib_1.__decorate([
124
- (0, typeorm_1.Column)({ nullable: true, comment: '총괄 감리 책임자 사인' }),
125
- (0, type_graphql_1.Field)({ nullable: true }),
126
- tslib_1.__metadata("design:type", String)
127
- ], Checklist.prototype, "overallSupervisorySignature", void 0);
128
- tslib_1.__decorate([
129
- (0, typeorm_1.Column)({ nullable: true, comment: '건축사보 (공종별 감리 관리자) 사인' }),
130
- (0, type_graphql_1.Field)({ nullable: true }),
131
- tslib_1.__metadata("design:type", String)
132
- ], Checklist.prototype, "taskSupervisorySignature", void 0);
133
- tslib_1.__decorate([
134
- (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
135
- (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true, description: '총괄 시공 책임자' }),
136
- tslib_1.__metadata("design:type", auth_base_1.User)
137
- ], Checklist.prototype, "overallConstructor", void 0);
138
- tslib_1.__decorate([
139
- (0, typeorm_1.RelationId)((checklist) => checklist.overallConstructor),
140
- tslib_1.__metadata("design:type", String)
141
- ], Checklist.prototype, "overallConstructorId", void 0);
142
- tslib_1.__decorate([
143
- (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
144
- (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true, description: '공종별 시공 관리자' }),
145
- tslib_1.__metadata("design:type", auth_base_1.User)
146
- ], Checklist.prototype, "taskConstructor", void 0);
147
- tslib_1.__decorate([
148
- (0, typeorm_1.RelationId)((checklist) => checklist.taskConstructor),
149
- tslib_1.__metadata("design:type", String)
150
- ], Checklist.prototype, "taskConstructorId", void 0);
151
- tslib_1.__decorate([
152
- (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
153
- (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true, description: '총괄 감리 책임자' }),
154
- tslib_1.__metadata("design:type", auth_base_1.User)
155
- ], Checklist.prototype, "overallSupervisory", void 0);
156
- tslib_1.__decorate([
157
- (0, typeorm_1.RelationId)((checklist) => checklist.overallSupervisory),
158
- tslib_1.__metadata("design:type", String)
159
- ], Checklist.prototype, "overallSupervisoryId", void 0);
160
- tslib_1.__decorate([
161
- (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
162
- (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true, description: '건축사보 (공종별 감리 관리자)' }),
163
- tslib_1.__metadata("design:type", auth_base_1.User)
164
- ], Checklist.prototype, "taskSupervisory", void 0);
165
- tslib_1.__decorate([
166
- (0, typeorm_1.RelationId)((checklist) => checklist.taskSupervisory),
167
- tslib_1.__metadata("design:type", String)
168
- ], Checklist.prototype, "taskSupervisoryId", void 0);
169
- tslib_1.__decorate([
170
- (0, typeorm_1.OneToMany)(() => checklist_item_1.ChecklistItem, checklistItem => checklistItem.checklist),
171
- (0, type_graphql_1.Field)(() => [checklist_item_1.ChecklistItem]),
172
- tslib_1.__metadata("design:type", Array)
173
- ], Checklist.prototype, "checklistItems", void 0);
174
- tslib_1.__decorate([
175
- (0, typeorm_1.OneToOne)(() => building_inspection_1.BuildingInspection, buildingInspection => buildingInspection.checklist),
176
- (0, type_graphql_1.Field)(() => building_inspection_1.BuildingInspection),
177
- tslib_1.__metadata("design:type", building_inspection_1.BuildingInspection)
178
- ], Checklist.prototype, "buildingInspection", void 0);
179
- tslib_1.__decorate([
180
- (0, typeorm_1.Column)({ nullable: true, comment: '검측 요청서 문서번호 - {네이밍} 검측 제02-00001호)' }) // DocumentNoType 참조
181
- ,
182
- (0, type_graphql_1.Field)({ nullable: true }),
183
- tslib_1.__metadata("design:type", String)
184
- ], Checklist.prototype, "inspectionRequestDocumentNo", void 0);
185
- tslib_1.__decorate([
186
- (0, typeorm_1.Column)({ nullable: true, comment: '검측 요청서 - 검측 사항' }),
187
- (0, type_graphql_1.Field)({ nullable: true }),
188
- tslib_1.__metadata("design:type", String)
189
- ], Checklist.prototype, "inspectionRequestMemo", void 0);
190
- tslib_1.__decorate([
191
- (0, typeorm_1.Column)({ nullable: true, comment: '검측 요청서 - 요청 시간' }),
192
- (0, type_graphql_1.Field)({ nullable: true }),
193
- tslib_1.__metadata("design:type", Date)
194
- ], Checklist.prototype, "inspectionRequestUpdatedAt", void 0);
195
- tslib_1.__decorate([
196
- (0, typeorm_1.Column)({ nullable: true, comment: '검측 결과 통보서 문서번호 - {네이밍} 검측 제03-00001호)' }) // DocumentNoType 참조
197
- ,
198
- (0, type_graphql_1.Field)({ nullable: true }),
199
- tslib_1.__metadata("design:type", String)
200
- ], Checklist.prototype, "inspectionResultDocumentNo", void 0);
201
- tslib_1.__decorate([
202
- (0, typeorm_1.Column)({ nullable: true, comment: '검측 결과 통보서 - 지시 사항' }),
203
- (0, type_graphql_1.Field)({ nullable: true }),
204
- tslib_1.__metadata("design:type", String)
205
- ], Checklist.prototype, "inspectionResultMemo", void 0);
206
- tslib_1.__decorate([
207
- (0, typeorm_1.Column)({ nullable: true, comment: '검측 결과 통보서 - 검측 결과 여부' }),
208
- (0, type_graphql_1.Field)({ nullable: true }),
209
- tslib_1.__metadata("design:type", String)
210
- ], Checklist.prototype, "inspectionResultStatus", void 0);
211
- tslib_1.__decorate([
212
- (0, typeorm_1.Column)({ nullable: true, comment: '검측 결과 통보서 - 검측 결과 타입' }),
213
- (0, type_graphql_1.Field)({ nullable: true }),
214
- tslib_1.__metadata("design:type", String)
215
- ], Checklist.prototype, "inspectionResultType", void 0);
216
- tslib_1.__decorate([
217
- (0, typeorm_1.Column)({ nullable: true, comment: '검측 결과 통보서 - 검측 결과 통보 시간' }),
218
- (0, type_graphql_1.Field)({ nullable: true }),
219
- tslib_1.__metadata("design:type", Date)
220
- ], Checklist.prototype, "inspectionResultUpdatedAt", void 0);
221
- tslib_1.__decorate([
222
- (0, typeorm_1.CreateDateColumn)(),
223
- (0, type_graphql_1.Field)({ nullable: true }),
224
- tslib_1.__metadata("design:type", Date)
225
- ], Checklist.prototype, "createdAt", void 0);
226
- tslib_1.__decorate([
227
- (0, typeorm_1.UpdateDateColumn)(),
228
- (0, type_graphql_1.Field)({ nullable: true }),
229
- tslib_1.__metadata("design:type", Date)
230
- ], Checklist.prototype, "updatedAt", void 0);
231
- tslib_1.__decorate([
232
- (0, typeorm_1.DeleteDateColumn)(),
233
- (0, type_graphql_1.Field)({ nullable: true }),
234
- tslib_1.__metadata("design:type", Date)
235
- ], Checklist.prototype, "deletedAt", void 0);
236
- tslib_1.__decorate([
237
- (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
238
- (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
239
- tslib_1.__metadata("design:type", auth_base_1.User)
240
- ], Checklist.prototype, "creator", void 0);
241
- tslib_1.__decorate([
242
- (0, typeorm_1.RelationId)((checklist) => checklist.creator),
243
- tslib_1.__metadata("design:type", String)
244
- ], Checklist.prototype, "creatorId", void 0);
245
- tslib_1.__decorate([
246
- (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
247
- (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
248
- tslib_1.__metadata("design:type", auth_base_1.User)
249
- ], Checklist.prototype, "updater", void 0);
250
- tslib_1.__decorate([
251
- (0, typeorm_1.RelationId)((checklist) => checklist.updater),
252
- tslib_1.__metadata("design:type", String)
253
- ], Checklist.prototype, "updaterId", void 0);
254
- exports.Checklist = Checklist = tslib_1.__decorate([
255
- (0, typeorm_1.Entity)({ comment: '체크리스트' }),
256
- (0, typeorm_1.Index)('ix_checklist_1', (checklist) => [checklist.documentNo, checklist.createdAt], { where: '"deleted_at" IS NULL' }),
257
- (0, type_graphql_1.ObjectType)()
258
- ], Checklist);
259
- //# sourceMappingURL=checklist.js.map