@things-factory/worklist 10.1.247 → 10.1.248

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 (696) hide show
  1. package/package.json +3 -3
  2. package/dist-client/activity-cells.d.ts +0 -21
  3. package/dist-client/activity-cells.js +0 -117
  4. package/dist-client/activity-cells.js.map +0 -1
  5. package/dist-client/activity-state-counts.d.ts +0 -6
  6. package/dist-client/activity-state-counts.js +0 -23
  7. package/dist-client/activity-state-counts.js.map +0 -1
  8. package/dist-client/activity-summary-generator.d.ts +0 -2
  9. package/dist-client/activity-summary-generator.js +0 -155
  10. package/dist-client/activity-summary-generator.js.map +0 -1
  11. package/dist-client/approval-progress.d.ts +0 -18
  12. package/dist-client/approval-progress.js +0 -31
  13. package/dist-client/approval-progress.js.map +0 -1
  14. package/dist-client/bootstrap.d.ts +0 -5
  15. package/dist-client/bootstrap.js +0 -63
  16. package/dist-client/bootstrap.js.map +0 -1
  17. package/dist-client/chip-counts.d.ts +0 -7
  18. package/dist-client/chip-counts.js +0 -11
  19. package/dist-client/chip-counts.js.map +0 -1
  20. package/dist-client/chip-filters.d.ts +0 -60
  21. package/dist-client/chip-filters.js +0 -102
  22. package/dist-client/chip-filters.js.map +0 -1
  23. package/dist-client/components/activity-/bowner-view.d.ts +0 -1
  24. package/dist-client/components/activity-/bowner-view.js +0 -104
  25. package/dist-client/components/activity-/bowner-view.js.map +0 -1
  26. package/dist-client/components/activity-approval-ribon.d.ts +0 -31
  27. package/dist-client/components/activity-approval-ribon.js +0 -103
  28. package/dist-client/components/activity-approval-ribon.js.map +0 -1
  29. package/dist-client/components/activity-fields.d.ts +0 -77
  30. package/dist-client/components/activity-fields.js +0 -424
  31. package/dist-client/components/activity-fields.js.map +0 -1
  32. package/dist-client/components/activity-instance-preview.d.ts +0 -2
  33. package/dist-client/components/activity-instance-preview.js +0 -177
  34. package/dist-client/components/activity-instance-preview.js.map +0 -1
  35. package/dist-client/components/activity-instance-ribon.d.ts +0 -32
  36. package/dist-client/components/activity-instance-ribon.js +0 -91
  37. package/dist-client/components/activity-instance-ribon.js.map +0 -1
  38. package/dist-client/components/activity-intro-view.d.ts +0 -1
  39. package/dist-client/components/activity-intro-view.js +0 -104
  40. package/dist-client/components/activity-intro-view.js.map +0 -1
  41. package/dist-client/components/activity-reporter-view.d.ts +0 -1
  42. package/dist-client/components/activity-reporter-view.js +0 -103
  43. package/dist-client/components/activity-reporter-view.js.map +0 -1
  44. package/dist-client/components/activity-starter-form.d.ts +0 -19
  45. package/dist-client/components/activity-starter-form.js +0 -264
  46. package/dist-client/components/activity-starter-form.js.map +0 -1
  47. package/dist-client/components/activity-thread-ribon.d.ts +0 -38
  48. package/dist-client/components/activity-thread-ribon.js +0 -95
  49. package/dist-client/components/activity-thread-ribon.js.map +0 -1
  50. package/dist-client/components/activity-thread-timeline.d.ts +0 -28
  51. package/dist-client/components/activity-thread-timeline.js +0 -339
  52. package/dist-client/components/activity-thread-timeline.js.map +0 -1
  53. package/dist-client/components/can-pick.d.ts +0 -15
  54. package/dist-client/components/can-pick.js +0 -16
  55. package/dist-client/components/can-pick.js.map +0 -1
  56. package/dist-client/components/decision-content.d.ts +0 -35
  57. package/dist-client/components/decision-content.js +0 -331
  58. package/dist-client/components/decision-content.js.map +0 -1
  59. package/dist-client/components/decision-slots.d.ts +0 -153
  60. package/dist-client/components/decision-slots.js +0 -152
  61. package/dist-client/components/decision-slots.js.map +0 -1
  62. package/dist-client/components/mutation-outcome.d.ts +0 -57
  63. package/dist-client/components/mutation-outcome.js +0 -78
  64. package/dist-client/components/mutation-outcome.js.map +0 -1
  65. package/dist-client/components/say-outcome.d.ts +0 -25
  66. package/dist-client/components/say-outcome.js +0 -51
  67. package/dist-client/components/say-outcome.js.map +0 -1
  68. package/dist-client/components/state-ribon.d.ts +0 -48
  69. package/dist-client/components/state-ribon.js +0 -225
  70. package/dist-client/components/state-ribon.js.map +0 -1
  71. package/dist-client/components/timeline-entries.d.ts +0 -38
  72. package/dist-client/components/timeline-entries.js +0 -62
  73. package/dist-client/components/timeline-entries.js.map +0 -1
  74. package/dist-client/components/work-box-groups.d.ts +0 -25
  75. package/dist-client/components/work-box-groups.js +0 -98
  76. package/dist-client/components/work-box-groups.js.map +0 -1
  77. package/dist-client/due.d.ts +0 -16
  78. package/dist-client/due.js +0 -78
  79. package/dist-client/due.js.map +0 -1
  80. package/dist-client/entity360/person-open-work-section.d.ts +0 -23
  81. package/dist-client/entity360/person-open-work-section.js +0 -79
  82. package/dist-client/entity360/person-open-work-section.js.map +0 -1
  83. package/dist-client/grist-editor/grist-editor-activity-search-key.d.ts +0 -12
  84. package/dist-client/grist-editor/grist-editor-activity-search-key.js +0 -70
  85. package/dist-client/grist-editor/grist-editor-activity-search-key.js.map +0 -1
  86. package/dist-client/grist-editor/grist-renderer-activity-search-key.d.ts +0 -3
  87. package/dist-client/grist-editor/grist-renderer-activity-search-key.js +0 -25
  88. package/dist-client/grist-editor/grist-renderer-activity-search-key.js.map +0 -1
  89. package/dist-client/grist-editor/popup-activity-search-keys-input.d.ts +0 -17
  90. package/dist-client/grist-editor/popup-activity-search-keys-input.js +0 -175
  91. package/dist-client/grist-editor/popup-activity-search-keys-input.js.map +0 -1
  92. package/dist-client/index.d.ts +0 -6
  93. package/dist-client/index.js +0 -7
  94. package/dist-client/index.js.map +0 -1
  95. package/dist-client/my-work-menus.d.ts +0 -90
  96. package/dist-client/my-work-menus.js +0 -20
  97. package/dist-client/my-work-menus.js.map +0 -1
  98. package/dist-client/pages/activity/activity-list-page.d.ts +0 -53
  99. package/dist-client/pages/activity/activity-list-page.js +0 -600
  100. package/dist-client/pages/activity/activity-list-page.js.map +0 -1
  101. package/dist-client/pages/activity/activity-model-item-list.d.ts +0 -24
  102. package/dist-client/pages/activity/activity-model-item-list.js +0 -292
  103. package/dist-client/pages/activity/activity-model-item-list.js.map +0 -1
  104. package/dist-client/pages/activity/activity-page.d.ts +0 -56
  105. package/dist-client/pages/activity/activity-page.js +0 -396
  106. package/dist-client/pages/activity/activity-page.js.map +0 -1
  107. package/dist-client/pages/activity/activity-partial-view.d.ts +0 -13
  108. package/dist-client/pages/activity/activity-partial-view.js +0 -56
  109. package/dist-client/pages/activity/activity-partial-view.js.map +0 -1
  110. package/dist-client/pages/activity/assignee-roles-cell.d.ts +0 -32
  111. package/dist-client/pages/activity/assignee-roles-cell.js +0 -26
  112. package/dist-client/pages/activity/assignee-roles-cell.js.map +0 -1
  113. package/dist-client/pages/activity/starter-list-page.d.ts +0 -31
  114. package/dist-client/pages/activity/starter-list-page.js +0 -172
  115. package/dist-client/pages/activity/starter-list-page.js.map +0 -1
  116. package/dist-client/pages/activity-approval/activity-approval-importer.d.ts +0 -23
  117. package/dist-client/pages/activity-approval/activity-approval-importer.js +0 -94
  118. package/dist-client/pages/activity-approval/activity-approval-importer.js.map +0 -1
  119. package/dist-client/pages/activity-approval/activity-approval-list-page.d.ts +0 -55
  120. package/dist-client/pages/activity-approval/activity-approval-list-page.js +0 -253
  121. package/dist-client/pages/activity-approval/activity-approval-list-page.js.map +0 -1
  122. package/dist-client/pages/activity-approval/activity-approval-page.d.ts +0 -158
  123. package/dist-client/pages/activity-approval/activity-approval-page.js +0 -875
  124. package/dist-client/pages/activity-approval/activity-approval-page.js.map +0 -1
  125. package/dist-client/pages/activity-approval/approval-gate.d.ts +0 -29
  126. package/dist-client/pages/activity-approval/approval-gate.js +0 -21
  127. package/dist-client/pages/activity-approval/approval-gate.js.map +0 -1
  128. package/dist-client/pages/activity-catalog/activity-catalog-page.d.ts +0 -31
  129. package/dist-client/pages/activity-catalog/activity-catalog-page.js +0 -420
  130. package/dist-client/pages/activity-catalog/activity-catalog-page.js.map +0 -1
  131. package/dist-client/pages/activity-catalog/activity-detail-actions.d.ts +0 -34
  132. package/dist-client/pages/activity-catalog/activity-detail-actions.js +0 -18
  133. package/dist-client/pages/activity-catalog/activity-detail-actions.js.map +0 -1
  134. package/dist-client/pages/activity-catalog/activity-detail-page.d.ts +0 -90
  135. package/dist-client/pages/activity-catalog/activity-detail-page.js +0 -525
  136. package/dist-client/pages/activity-catalog/activity-detail-page.js.map +0 -1
  137. package/dist-client/pages/activity-catalog/activity-guide.d.ts +0 -16
  138. package/dist-client/pages/activity-catalog/activity-guide.js +0 -5
  139. package/dist-client/pages/activity-catalog/activity-guide.js.map +0 -1
  140. package/dist-client/pages/activity-catalog/activity-panels.d.ts +0 -80
  141. package/dist-client/pages/activity-catalog/activity-panels.js +0 -53
  142. package/dist-client/pages/activity-catalog/activity-panels.js.map +0 -1
  143. package/dist-client/pages/activity-catalog/activity-stage.d.ts +0 -31
  144. package/dist-client/pages/activity-catalog/activity-stage.js +0 -44
  145. package/dist-client/pages/activity-catalog/activity-stage.js.map +0 -1
  146. package/dist-client/pages/activity-instance/activity-instance-list-page.d.ts +0 -42
  147. package/dist-client/pages/activity-instance/activity-instance-list-page.js +0 -306
  148. package/dist-client/pages/activity-instance/activity-instance-list-page.js.map +0 -1
  149. package/dist-client/pages/activity-instance/activity-instance-search-page.d.ts +0 -69
  150. package/dist-client/pages/activity-instance/activity-instance-search-page.js +0 -309
  151. package/dist-client/pages/activity-instance/activity-instance-search-page.js.map +0 -1
  152. package/dist-client/pages/activity-instance/activity-instance-start-page.d.ts +0 -54
  153. package/dist-client/pages/activity-instance/activity-instance-start-page.js +0 -557
  154. package/dist-client/pages/activity-instance/activity-instance-start-page.js.map +0 -1
  155. package/dist-client/pages/activity-instance/activity-instance-view.d.ts +0 -36
  156. package/dist-client/pages/activity-instance/activity-instance-view.js +0 -494
  157. package/dist-client/pages/activity-instance/activity-instance-view.js.map +0 -1
  158. package/dist-client/pages/activity-instance/discard-offer.d.ts +0 -11
  159. package/dist-client/pages/activity-instance/discard-offer.js +0 -11
  160. package/dist-client/pages/activity-instance/discard-offer.js.map +0 -1
  161. package/dist-client/pages/activity-stats/activity-stats-importer.d.ts +0 -23
  162. package/dist-client/pages/activity-stats/activity-stats-importer.js +0 -94
  163. package/dist-client/pages/activity-stats/activity-stats-importer.js.map +0 -1
  164. package/dist-client/pages/activity-stats/activity-stats-list-page.d.ts +0 -55
  165. package/dist-client/pages/activity-stats/activity-stats-list-page.js +0 -253
  166. package/dist-client/pages/activity-stats/activity-stats-list-page.js.map +0 -1
  167. package/dist-client/pages/activity-store/activity-store-page.d.ts +0 -41
  168. package/dist-client/pages/activity-store/activity-store-page.js +0 -210
  169. package/dist-client/pages/activity-store/activity-store-page.js.map +0 -1
  170. package/dist-client/pages/activity-supervisor/reporter-list-page.d.ts +0 -30
  171. package/dist-client/pages/activity-supervisor/reporter-list-page.js +0 -190
  172. package/dist-client/pages/activity-supervisor/reporter-list-page.js.map +0 -1
  173. package/dist-client/pages/activity-template/activity-template-importer.d.ts +0 -11
  174. package/dist-client/pages/activity-template/activity-template-importer.js +0 -98
  175. package/dist-client/pages/activity-template/activity-template-importer.js.map +0 -1
  176. package/dist-client/pages/activity-template/activity-template-list-page.d.ts +0 -53
  177. package/dist-client/pages/activity-template/activity-template-list-page.js +0 -377
  178. package/dist-client/pages/activity-template/activity-template-list-page.js.map +0 -1
  179. package/dist-client/pages/activity-template/activity-template-model-item-list.d.ts +0 -1
  180. package/dist-client/pages/activity-template/activity-template-model-item-list.js +0 -41
  181. package/dist-client/pages/activity-template/activity-template-model-item-list.js.map +0 -1
  182. package/dist-client/pages/activity-thread/activity-thread-importer.d.ts +0 -11
  183. package/dist-client/pages/activity-thread/activity-thread-importer.js +0 -96
  184. package/dist-client/pages/activity-thread/activity-thread-importer.js.map +0 -1
  185. package/dist-client/pages/activity-thread/activity-thread-list-page.d.ts +0 -52
  186. package/dist-client/pages/activity-thread/activity-thread-list-page.js +0 -248
  187. package/dist-client/pages/activity-thread/activity-thread-list-page.js.map +0 -1
  188. package/dist-client/pages/activity-thread/activity-thread-page.d.ts +0 -91
  189. package/dist-client/pages/activity-thread/activity-thread-page.js +0 -593
  190. package/dist-client/pages/activity-thread/activity-thread-page.js.map +0 -1
  191. package/dist-client/pages/activity-thread/activity-thread-view-page.d.ts +0 -56
  192. package/dist-client/pages/activity-thread/activity-thread-view-page.js +0 -385
  193. package/dist-client/pages/activity-thread/activity-thread-view-page.js.map +0 -1
  194. package/dist-client/pages/activity-thread/activity-thread-view.d.ts +0 -31
  195. package/dist-client/pages/activity-thread/activity-thread-view.js +0 -134
  196. package/dist-client/pages/activity-thread/activity-thread-view.js.map +0 -1
  197. package/dist-client/pages/activity-thread/thread-sections.d.ts +0 -34
  198. package/dist-client/pages/activity-thread/thread-sections.js +0 -36
  199. package/dist-client/pages/activity-thread/thread-sections.js.map +0 -1
  200. package/dist-client/pages/installable-activity/installable-activity-list-page.d.ts +0 -64
  201. package/dist-client/pages/installable-activity/installable-activity-list-page.js +0 -424
  202. package/dist-client/pages/installable-activity/installable-activity-list-page.js.map +0 -1
  203. package/dist-client/pages/installable-activity/installable-activity-model-item-list.d.ts +0 -1
  204. package/dist-client/pages/installable-activity/installable-activity-model-item-list.js +0 -20
  205. package/dist-client/pages/installable-activity/installable-activity-model-item-list.js.map +0 -1
  206. package/dist-client/pages/todo/approval-done-list-page.d.ts +0 -42
  207. package/dist-client/pages/todo/approval-done-list-page.js +0 -365
  208. package/dist-client/pages/todo/approval-done-list-page.js.map +0 -1
  209. package/dist-client/pages/todo/approval-pending-list-page.d.ts +0 -79
  210. package/dist-client/pages/todo/approval-pending-list-page.js +0 -683
  211. package/dist-client/pages/todo/approval-pending-list-page.js.map +0 -1
  212. package/dist-client/pages/todo/done-list-calendar-page.d.ts +0 -47
  213. package/dist-client/pages/todo/done-list-calendar-page.js +0 -379
  214. package/dist-client/pages/todo/done-list-calendar-page.js.map +0 -1
  215. package/dist-client/pages/todo/draft-list-page.d.ts +0 -64
  216. package/dist-client/pages/todo/draft-list-page.js +0 -404
  217. package/dist-client/pages/todo/draft-list-page.js.map +0 -1
  218. package/dist-client/pages/todo/list-thumbnail.d.ts +0 -25
  219. package/dist-client/pages/todo/list-thumbnail.js +0 -25
  220. package/dist-client/pages/todo/list-thumbnail.js.map +0 -1
  221. package/dist-client/pages/todo/pickable-list-page.d.ts +0 -37
  222. package/dist-client/pages/todo/pickable-list-page.js +0 -271
  223. package/dist-client/pages/todo/pickable-list-page.js.map +0 -1
  224. package/dist-client/pages/todo/todo-list-page.d.ts +0 -66
  225. package/dist-client/pages/todo/todo-list-page.js +0 -503
  226. package/dist-client/pages/todo/todo-list-page.js.map +0 -1
  227. package/dist-client/pages/todo/work-box.d.ts +0 -52
  228. package/dist-client/pages/todo/work-box.js +0 -54
  229. package/dist-client/pages/todo/work-box.js.map +0 -1
  230. package/dist-client/pages/work-door/door-links.d.ts +0 -22
  231. package/dist-client/pages/work-door/door-links.js +0 -20
  232. package/dist-client/pages/work-door/door-links.js.map +0 -1
  233. package/dist-client/pages/work-door/door-sentence.d.ts +0 -75
  234. package/dist-client/pages/work-door/door-sentence.js +0 -107
  235. package/dist-client/pages/work-door/door-sentence.js.map +0 -1
  236. package/dist-client/pages/work-door/door-words.d.ts +0 -48
  237. package/dist-client/pages/work-door/door-words.js +0 -84
  238. package/dist-client/pages/work-door/door-words.js.map +0 -1
  239. package/dist-client/route.d.ts +0 -1
  240. package/dist-client/route.js +0 -77
  241. package/dist-client/route.js.map +0 -1
  242. package/dist-client/templates/activity-approval-context-template.d.ts +0 -3
  243. package/dist-client/templates/activity-approval-context-template.js +0 -105
  244. package/dist-client/templates/activity-approval-context-template.js.map +0 -1
  245. package/dist-client/templates/activity-instance-context-template.d.ts +0 -3
  246. package/dist-client/templates/activity-instance-context-template.js +0 -118
  247. package/dist-client/templates/activity-instance-context-template.js.map +0 -1
  248. package/dist-client/templates/activity-thread-context-template.d.ts +0 -3
  249. package/dist-client/templates/activity-thread-context-template.js +0 -74
  250. package/dist-client/templates/activity-thread-context-template.js.map +0 -1
  251. package/dist-client/templates/context-panel.d.ts +0 -26
  252. package/dist-client/templates/context-panel.js +0 -182
  253. package/dist-client/templates/context-panel.js.map +0 -1
  254. package/dist-client/tsconfig.tsbuildinfo +0 -1
  255. package/dist-client/types/activity-approval.d.ts +0 -36
  256. package/dist-client/types/activity-approval.js +0 -17
  257. package/dist-client/types/activity-approval.js.map +0 -1
  258. package/dist-client/types/activity-instance-type.d.ts +0 -77
  259. package/dist-client/types/activity-instance-type.js +0 -11
  260. package/dist-client/types/activity-instance-type.js.map +0 -1
  261. package/dist-client/types/activity-instance.d.ts +0 -72
  262. package/dist-client/types/activity-instance.js +0 -36
  263. package/dist-client/types/activity-instance.js.map +0 -1
  264. package/dist-client/types/activity-model-type.d.ts +0 -31
  265. package/dist-client/types/activity-model-type.js +0 -18
  266. package/dist-client/types/activity-model-type.js.map +0 -1
  267. package/dist-client/types/activity-search-key-item-type.d.ts +0 -6
  268. package/dist-client/types/activity-search-key-item-type.js +0 -3
  269. package/dist-client/types/activity-search-key-item-type.js.map +0 -1
  270. package/dist-client/types/activity-thread-history.d.ts +0 -28
  271. package/dist-client/types/activity-thread-history.js +0 -7
  272. package/dist-client/types/activity-thread-history.js.map +0 -1
  273. package/dist-client/types/activity-thread-type.d.ts +0 -15
  274. package/dist-client/types/activity-thread-type.js +0 -7
  275. package/dist-client/types/activity-thread-type.js.map +0 -1
  276. package/dist-client/types/activity-thread.d.ts +0 -39
  277. package/dist-client/types/activity-thread.js +0 -18
  278. package/dist-client/types/activity-thread.js.map +0 -1
  279. package/dist-client/types/activity.d.ts +0 -68
  280. package/dist-client/types/activity.js +0 -40
  281. package/dist-client/types/activity.js.map +0 -1
  282. package/dist-client/types/types.d.ts +0 -23
  283. package/dist-client/types/types.js +0 -42
  284. package/dist-client/types/types.js.map +0 -1
  285. package/dist-client/when.d.ts +0 -4
  286. package/dist-client/when.js +0 -72
  287. package/dist-client/when.js.map +0 -1
  288. package/dist-client/work-calendar-sources.d.ts +0 -96
  289. package/dist-client/work-calendar-sources.js +0 -88
  290. package/dist-client/work-calendar-sources.js.map +0 -1
  291. package/dist-server/controllers/activity-approval/_abort.d.ts +0 -5
  292. package/dist-server/controllers/activity-approval/_abort.js +0 -29
  293. package/dist-server/controllers/activity-approval/_abort.js.map +0 -1
  294. package/dist-server/controllers/activity-approval/abort.d.ts +0 -5
  295. package/dist-server/controllers/activity-approval/abort.js +0 -35
  296. package/dist-server/controllers/activity-approval/abort.js.map +0 -1
  297. package/dist-server/controllers/activity-approval/approval-line.d.ts +0 -138
  298. package/dist-server/controllers/activity-approval/approval-line.js +0 -186
  299. package/dist-server/controllers/activity-approval/approval-line.js.map +0 -1
  300. package/dist-server/controllers/activity-approval/approve.d.ts +0 -5
  301. package/dist-server/controllers/activity-approval/approve.js +0 -142
  302. package/dist-server/controllers/activity-approval/approve.js.map +0 -1
  303. package/dist-server/controllers/activity-approval/check-authority.d.ts +0 -8
  304. package/dist-server/controllers/activity-approval/check-authority.js +0 -29
  305. package/dist-server/controllers/activity-approval/check-authority.js.map +0 -1
  306. package/dist-server/controllers/activity-approval/claim.d.ts +0 -42
  307. package/dist-server/controllers/activity-approval/claim.js +0 -77
  308. package/dist-server/controllers/activity-approval/claim.js.map +0 -1
  309. package/dist-server/controllers/activity-approval/create-approval.d.ts +0 -41
  310. package/dist-server/controllers/activity-approval/create-approval.js +0 -85
  311. package/dist-server/controllers/activity-approval/create-approval.js.map +0 -1
  312. package/dist-server/controllers/activity-approval/delegate.d.ts +0 -23
  313. package/dist-server/controllers/activity-approval/delegate.js +0 -113
  314. package/dist-server/controllers/activity-approval/delegate.js.map +0 -1
  315. package/dist-server/controllers/activity-approval/delegation.d.ts +0 -21
  316. package/dist-server/controllers/activity-approval/delegation.js +0 -17
  317. package/dist-server/controllers/activity-approval/delegation.js.map +0 -1
  318. package/dist-server/controllers/activity-approval/opinion.d.ts +0 -10
  319. package/dist-server/controllers/activity-approval/opinion.js +0 -43
  320. package/dist-server/controllers/activity-approval/opinion.js.map +0 -1
  321. package/dist-server/controllers/activity-approval/reject.d.ts +0 -5
  322. package/dist-server/controllers/activity-approval/reject.js +0 -93
  323. package/dist-server/controllers/activity-approval/reject.js.map +0 -1
  324. package/dist-server/controllers/activity-approval/resolve-judgeable-seats.d.ts +0 -21
  325. package/dist-server/controllers/activity-approval/resolve-judgeable-seats.js +0 -60
  326. package/dist-server/controllers/activity-approval/resolve-judgeable-seats.js.map +0 -1
  327. package/dist-server/controllers/activity-approval/save.d.ts +0 -5
  328. package/dist-server/controllers/activity-approval/save.js +0 -56
  329. package/dist-server/controllers/activity-approval/save.js.map +0 -1
  330. package/dist-server/controllers/activity-approval/seat-standing.d.ts +0 -66
  331. package/dist-server/controllers/activity-approval/seat-standing.js +0 -57
  332. package/dist-server/controllers/activity-approval/seat-standing.js.map +0 -1
  333. package/dist-server/controllers/activity-installation/activity-installation-controller.d.ts +0 -79
  334. package/dist-server/controllers/activity-installation/activity-installation-controller.js +0 -99
  335. package/dist-server/controllers/activity-installation/activity-installation-controller.js.map +0 -1
  336. package/dist-server/controllers/activity-installation/call-webhook.d.ts +0 -3
  337. package/dist-server/controllers/activity-installation/call-webhook.js +0 -42
  338. package/dist-server/controllers/activity-installation/call-webhook.js.map +0 -1
  339. package/dist-server/controllers/activity-installation/installable-to-activity.d.ts +0 -77
  340. package/dist-server/controllers/activity-installation/installable-to-activity.js +0 -68
  341. package/dist-server/controllers/activity-installation/installable-to-activity.js.map +0 -1
  342. package/dist-server/controllers/activity-installation/registry-conflict.d.ts +0 -47
  343. package/dist-server/controllers/activity-installation/registry-conflict.js +0 -47
  344. package/dist-server/controllers/activity-installation/registry-conflict.js.map +0 -1
  345. package/dist-server/controllers/activity-instance/abort.d.ts +0 -5
  346. package/dist-server/controllers/activity-instance/abort.js +0 -62
  347. package/dist-server/controllers/activity-instance/abort.js.map +0 -1
  348. package/dist-server/controllers/activity-instance/approval-expectation.d.ts +0 -34
  349. package/dist-server/controllers/activity-instance/approval-expectation.js +0 -18
  350. package/dist-server/controllers/activity-instance/approval-expectation.js.map +0 -1
  351. package/dist-server/controllers/activity-instance/approval-line-input.d.ts +0 -29
  352. package/dist-server/controllers/activity-instance/approval-line-input.js +0 -44
  353. package/dist-server/controllers/activity-instance/approval-line-input.js.map +0 -1
  354. package/dist-server/controllers/activity-instance/assign.d.ts +0 -8
  355. package/dist-server/controllers/activity-instance/assign.js +0 -152
  356. package/dist-server/controllers/activity-instance/assign.js.map +0 -1
  357. package/dist-server/controllers/activity-instance/assignee-input.d.ts +0 -25
  358. package/dist-server/controllers/activity-instance/assignee-input.js +0 -28
  359. package/dist-server/controllers/activity-instance/assignee-input.js.map +0 -1
  360. package/dist-server/controllers/activity-instance/claim-draft.d.ts +0 -17
  361. package/dist-server/controllers/activity-instance/claim-draft.js +0 -30
  362. package/dist-server/controllers/activity-instance/claim-draft.js.map +0 -1
  363. package/dist-server/controllers/activity-instance/discard-draft.d.ts +0 -22
  364. package/dist-server/controllers/activity-instance/discard-draft.js +0 -54
  365. package/dist-server/controllers/activity-instance/discard-draft.js.map +0 -1
  366. package/dist-server/controllers/activity-instance/draft.d.ts +0 -3
  367. package/dist-server/controllers/activity-instance/draft.js +0 -93
  368. package/dist-server/controllers/activity-instance/draft.js.map +0 -1
  369. package/dist-server/controllers/activity-instance/end.d.ts +0 -6
  370. package/dist-server/controllers/activity-instance/end.js +0 -65
  371. package/dist-server/controllers/activity-instance/end.js.map +0 -1
  372. package/dist-server/controllers/activity-instance/entitlement.d.ts +0 -25
  373. package/dist-server/controllers/activity-instance/entitlement.js +0 -110
  374. package/dist-server/controllers/activity-instance/entitlement.js.map +0 -1
  375. package/dist-server/controllers/activity-instance/index.d.ts +0 -6
  376. package/dist-server/controllers/activity-instance/index.js +0 -10
  377. package/dist-server/controllers/activity-instance/index.js.map +0 -1
  378. package/dist-server/controllers/activity-instance/issue.d.ts +0 -3
  379. package/dist-server/controllers/activity-instance/issue.js +0 -272
  380. package/dist-server/controllers/activity-instance/issue.js.map +0 -1
  381. package/dist-server/controllers/activity-instance/pick.d.ts +0 -2
  382. package/dist-server/controllers/activity-instance/pick.js +0 -112
  383. package/dist-server/controllers/activity-instance/pick.js.map +0 -1
  384. package/dist-server/controllers/activity-read/assert-may-read.d.ts +0 -20
  385. package/dist-server/controllers/activity-read/assert-may-read.js +0 -108
  386. package/dist-server/controllers/activity-read/assert-may-read.js.map +0 -1
  387. package/dist-server/controllers/activity-read/participates.d.ts +0 -41
  388. package/dist-server/controllers/activity-read/participates.js +0 -42
  389. package/dist-server/controllers/activity-read/participates.js.map +0 -1
  390. package/dist-server/controllers/activity-thread/_abort.d.ts +0 -5
  391. package/dist-server/controllers/activity-thread/_abort.js +0 -36
  392. package/dist-server/controllers/activity-thread/_abort.js.map +0 -1
  393. package/dist-server/controllers/activity-thread/abort.d.ts +0 -5
  394. package/dist-server/controllers/activity-thread/abort.js +0 -45
  395. package/dist-server/controllers/activity-thread/abort.js.map +0 -1
  396. package/dist-server/controllers/activity-thread/check-authority.d.ts +0 -2
  397. package/dist-server/controllers/activity-thread/check-authority.js +0 -65
  398. package/dist-server/controllers/activity-thread/check-authority.js.map +0 -1
  399. package/dist-server/controllers/activity-thread/delegate.d.ts +0 -7
  400. package/dist-server/controllers/activity-thread/delegate.js +0 -66
  401. package/dist-server/controllers/activity-thread/delegate.js.map +0 -1
  402. package/dist-server/controllers/activity-thread/end.d.ts +0 -6
  403. package/dist-server/controllers/activity-thread/end.js +0 -44
  404. package/dist-server/controllers/activity-thread/end.js.map +0 -1
  405. package/dist-server/controllers/activity-thread/index.d.ts +0 -7
  406. package/dist-server/controllers/activity-thread/index.js +0 -11
  407. package/dist-server/controllers/activity-thread/index.js.map +0 -1
  408. package/dist-server/controllers/activity-thread/restart.d.ts +0 -2
  409. package/dist-server/controllers/activity-thread/restart.js +0 -63
  410. package/dist-server/controllers/activity-thread/restart.js.map +0 -1
  411. package/dist-server/controllers/activity-thread/save.d.ts +0 -3
  412. package/dist-server/controllers/activity-thread/save.js +0 -45
  413. package/dist-server/controllers/activity-thread/save.js.map +0 -1
  414. package/dist-server/controllers/activity-thread/start.d.ts +0 -2
  415. package/dist-server/controllers/activity-thread/start.js +0 -43
  416. package/dist-server/controllers/activity-thread/start.js.map +0 -1
  417. package/dist-server/controllers/activity-thread/submit.d.ts +0 -6
  418. package/dist-server/controllers/activity-thread/submit.js +0 -90
  419. package/dist-server/controllers/activity-thread/submit.js.map +0 -1
  420. package/dist-server/controllers/common.d.ts +0 -34
  421. package/dist-server/controllers/common.js +0 -346
  422. package/dist-server/controllers/common.js.map +0 -1
  423. package/dist-server/controllers/index.d.ts +0 -5
  424. package/dist-server/controllers/index.js +0 -18
  425. package/dist-server/controllers/index.js.map +0 -1
  426. package/dist-server/index.d.ts +0 -6
  427. package/dist-server/index.js +0 -18
  428. package/dist-server/index.js.map +0 -1
  429. package/dist-server/role-tasks.d.ts +0 -2
  430. package/dist-server/role-tasks.js +0 -16
  431. package/dist-server/role-tasks.js.map +0 -1
  432. package/dist-server/routes.d.ts +0 -1
  433. package/dist-server/routes.js +0 -57
  434. package/dist-server/routes.js.map +0 -1
  435. package/dist-server/service/activity/activity-decision-key-item-type.d.ts +0 -206
  436. package/dist-server/service/activity/activity-decision-key-item-type.js +0 -182
  437. package/dist-server/service/activity/activity-decision-key-item-type.js.map +0 -1
  438. package/dist-server/service/activity/activity-history.d.ts +0 -44
  439. package/dist-server/service/activity/activity-history.js +0 -220
  440. package/dist-server/service/activity/activity-history.js.map +0 -1
  441. package/dist-server/service/activity/activity-model-type.d.ts +0 -49
  442. package/dist-server/service/activity/activity-model-type.js +0 -138
  443. package/dist-server/service/activity/activity-model-type.js.map +0 -1
  444. package/dist-server/service/activity/activity-mutation.d.ts +0 -12
  445. package/dist-server/service/activity/activity-mutation.js +0 -416
  446. package/dist-server/service/activity/activity-mutation.js.map +0 -1
  447. package/dist-server/service/activity/activity-query.d.ts +0 -24
  448. package/dist-server/service/activity/activity-query.js +0 -310
  449. package/dist-server/service/activity/activity-query.js.map +0 -1
  450. package/dist-server/service/activity/activity-search-key-item-type.d.ts +0 -6
  451. package/dist-server/service/activity/activity-search-key-item-type.js +0 -28
  452. package/dist-server/service/activity/activity-search-key-item-type.js.map +0 -1
  453. package/dist-server/service/activity/activity-type.d.ts +0 -84
  454. package/dist-server/service/activity/activity-type.js +0 -269
  455. package/dist-server/service/activity/activity-type.js.map +0 -1
  456. package/dist-server/service/activity/activity.d.ts +0 -135
  457. package/dist-server/service/activity/activity.js +0 -328
  458. package/dist-server/service/activity/activity.js.map +0 -1
  459. package/dist-server/service/activity/approval-line-seats.d.ts +0 -12
  460. package/dist-server/service/activity/approval-line-seats.js +0 -68
  461. package/dist-server/service/activity/approval-line-seats.js.map +0 -1
  462. package/dist-server/service/activity/credential-field.d.ts +0 -35
  463. package/dist-server/service/activity/credential-field.js +0 -89
  464. package/dist-server/service/activity/credential-field.js.map +0 -1
  465. package/dist-server/service/activity/decision-key-declaration.d.ts +0 -106
  466. package/dist-server/service/activity/decision-key-declaration.js +0 -181
  467. package/dist-server/service/activity/decision-key-declaration.js.map +0 -1
  468. package/dist-server/service/activity/declaration-guard-subscriber.d.ts +0 -24
  469. package/dist-server/service/activity/declaration-guard-subscriber.js +0 -46
  470. package/dist-server/service/activity/declaration-guard-subscriber.js.map +0 -1
  471. package/dist-server/service/activity/event-subscriber.d.ts +0 -7
  472. package/dist-server/service/activity/event-subscriber.js +0 -21
  473. package/dist-server/service/activity/event-subscriber.js.map +0 -1
  474. package/dist-server/service/activity/freeze-decision-sentences-for.d.ts +0 -11
  475. package/dist-server/service/activity/freeze-decision-sentences-for.js +0 -18
  476. package/dist-server/service/activity/freeze-decision-sentences-for.js.map +0 -1
  477. package/dist-server/service/activity/index.d.ts +0 -9
  478. package/dist-server/service/activity/index.js +0 -13
  479. package/dist-server/service/activity/index.js.map +0 -1
  480. package/dist-server/service/activity/search-key-declaration.d.ts +0 -38
  481. package/dist-server/service/activity/search-key-declaration.js +0 -49
  482. package/dist-server/service/activity/search-key-declaration.js.map +0 -1
  483. package/dist-server/service/activity-approval/activity-approval-mutation.d.ts +0 -8
  484. package/dist-server/service/activity-approval/activity-approval-mutation.js +0 -81
  485. package/dist-server/service/activity-approval/activity-approval-mutation.js.map +0 -1
  486. package/dist-server/service/activity-approval/activity-approval-query.d.ts +0 -42
  487. package/dist-server/service/activity-approval/activity-approval-query.js +0 -391
  488. package/dist-server/service/activity-approval/activity-approval-query.js.map +0 -1
  489. package/dist-server/service/activity-approval/activity-approval-subscription.d.ts +0 -6
  490. package/dist-server/service/activity-approval/activity-approval-subscription.js +0 -39
  491. package/dist-server/service/activity-approval/activity-approval-subscription.js.map +0 -1
  492. package/dist-server/service/activity-approval/activity-approval-type.d.ts +0 -10
  493. package/dist-server/service/activity-approval/activity-approval-type.js +0 -39
  494. package/dist-server/service/activity-approval/activity-approval-type.js.map +0 -1
  495. package/dist-server/service/activity-approval/activity-approval.d.ts +0 -67
  496. package/dist-server/service/activity-approval/activity-approval.js +0 -183
  497. package/dist-server/service/activity-approval/activity-approval.js.map +0 -1
  498. package/dist-server/service/activity-approval/event-subscriber.d.ts +0 -7
  499. package/dist-server/service/activity-approval/event-subscriber.js +0 -46
  500. package/dist-server/service/activity-approval/event-subscriber.js.map +0 -1
  501. package/dist-server/service/activity-approval/index.d.ts +0 -8
  502. package/dist-server/service/activity-approval/index.js +0 -12
  503. package/dist-server/service/activity-approval/index.js.map +0 -1
  504. package/dist-server/service/activity-approval/my-pending-approvals.d.ts +0 -33
  505. package/dist-server/service/activity-approval/my-pending-approvals.js +0 -52
  506. package/dist-server/service/activity-approval/my-pending-approvals.js.map +0 -1
  507. package/dist-server/service/activity-instance/activity-instance-history.d.ts +0 -60
  508. package/dist-server/service/activity-instance/activity-instance-history.js +0 -294
  509. package/dist-server/service/activity-instance/activity-instance-history.js.map +0 -1
  510. package/dist-server/service/activity-instance/activity-instance-mutation.d.ts +0 -16
  511. package/dist-server/service/activity-instance/activity-instance-mutation.js +0 -185
  512. package/dist-server/service/activity-instance/activity-instance-mutation.js.map +0 -1
  513. package/dist-server/service/activity-instance/activity-instance-query.d.ts +0 -27
  514. package/dist-server/service/activity-instance/activity-instance-query.js +0 -386
  515. package/dist-server/service/activity-instance/activity-instance-query.js.map +0 -1
  516. package/dist-server/service/activity-instance/activity-instance-subscription.d.ts +0 -6
  517. package/dist-server/service/activity-instance/activity-instance-subscription.js +0 -39
  518. package/dist-server/service/activity-instance/activity-instance-subscription.js.map +0 -1
  519. package/dist-server/service/activity-instance/activity-instance-type.d.ts +0 -107
  520. package/dist-server/service/activity-instance/activity-instance-type.js +0 -301
  521. package/dist-server/service/activity-instance/activity-instance-type.js.map +0 -1
  522. package/dist-server/service/activity-instance/activity-instance.d.ts +0 -81
  523. package/dist-server/service/activity-instance/activity-instance.js +0 -324
  524. package/dist-server/service/activity-instance/activity-instance.js.map +0 -1
  525. package/dist-server/service/activity-instance/assignee-pool.d.ts +0 -59
  526. package/dist-server/service/activity-instance/assignee-pool.js +0 -99
  527. package/dist-server/service/activity-instance/assignee-pool.js.map +0 -1
  528. package/dist-server/service/activity-instance/draft-list-states.d.ts +0 -39
  529. package/dist-server/service/activity-instance/draft-list-states.js +0 -51
  530. package/dist-server/service/activity-instance/draft-list-states.js.map +0 -1
  531. package/dist-server/service/activity-instance/event-subscriber.d.ts +0 -21
  532. package/dist-server/service/activity-instance/event-subscriber.js +0 -59
  533. package/dist-server/service/activity-instance/event-subscriber.js.map +0 -1
  534. package/dist-server/service/activity-instance/index.d.ts +0 -9
  535. package/dist-server/service/activity-instance/index.js +0 -13
  536. package/dist-server/service/activity-instance/index.js.map +0 -1
  537. package/dist-server/service/activity-instance/request-box.d.ts +0 -2
  538. package/dist-server/service/activity-instance/request-box.js +0 -18
  539. package/dist-server/service/activity-instance/request-box.js.map +0 -1
  540. package/dist-server/service/activity-stats/activity-stats-query.d.ts +0 -9
  541. package/dist-server/service/activity-stats/activity-stats-query.js +0 -230
  542. package/dist-server/service/activity-stats/activity-stats-query.js.map +0 -1
  543. package/dist-server/service/activity-stats/activity-stats-type.d.ts +0 -27
  544. package/dist-server/service/activity-stats/activity-stats-type.js +0 -74
  545. package/dist-server/service/activity-stats/activity-stats-type.js.map +0 -1
  546. package/dist-server/service/activity-stats/event-placement.d.ts +0 -55
  547. package/dist-server/service/activity-stats/event-placement.js +0 -82
  548. package/dist-server/service/activity-stats/event-placement.js.map +0 -1
  549. package/dist-server/service/activity-stats/index.d.ts +0 -2
  550. package/dist-server/service/activity-stats/index.js +0 -6
  551. package/dist-server/service/activity-stats/index.js.map +0 -1
  552. package/dist-server/service/activity-summary/activity-summary-query.d.ts +0 -8
  553. package/dist-server/service/activity-summary/activity-summary-query.js +0 -137
  554. package/dist-server/service/activity-summary/activity-summary-query.js.map +0 -1
  555. package/dist-server/service/activity-summary/activity-summary.d.ts +0 -6
  556. package/dist-server/service/activity-summary/activity-summary.js +0 -28
  557. package/dist-server/service/activity-summary/activity-summary.js.map +0 -1
  558. package/dist-server/service/activity-summary/index.d.ts +0 -5
  559. package/dist-server/service/activity-summary/index.js +0 -9
  560. package/dist-server/service/activity-summary/index.js.map +0 -1
  561. package/dist-server/service/activity-summary/open-work.d.ts +0 -4
  562. package/dist-server/service/activity-summary/open-work.js +0 -51
  563. package/dist-server/service/activity-summary/open-work.js.map +0 -1
  564. package/dist-server/service/activity-summary/person-open-work.d.ts +0 -17
  565. package/dist-server/service/activity-summary/person-open-work.js +0 -68
  566. package/dist-server/service/activity-summary/person-open-work.js.map +0 -1
  567. package/dist-server/service/activity-template/activity-template-history.d.ts +0 -32
  568. package/dist-server/service/activity-template/activity-template-history.js +0 -165
  569. package/dist-server/service/activity-template/activity-template-history.js.map +0 -1
  570. package/dist-server/service/activity-template/activity-template-mutation.d.ts +0 -10
  571. package/dist-server/service/activity-template/activity-template-mutation.js +0 -194
  572. package/dist-server/service/activity-template/activity-template-mutation.js.map +0 -1
  573. package/dist-server/service/activity-template/activity-template-query.d.ts +0 -14
  574. package/dist-server/service/activity-template/activity-template-query.js +0 -112
  575. package/dist-server/service/activity-template/activity-template-query.js.map +0 -1
  576. package/dist-server/service/activity-template/activity-template-type.d.ts +0 -44
  577. package/dist-server/service/activity-template/activity-template-type.js +0 -164
  578. package/dist-server/service/activity-template/activity-template-type.js.map +0 -1
  579. package/dist-server/service/activity-template/activity-template.d.ts +0 -36
  580. package/dist-server/service/activity-template/activity-template.js +0 -154
  581. package/dist-server/service/activity-template/activity-template.js.map +0 -1
  582. package/dist-server/service/activity-template/event-subscriber.d.ts +0 -7
  583. package/dist-server/service/activity-template/event-subscriber.js +0 -21
  584. package/dist-server/service/activity-template/event-subscriber.js.map +0 -1
  585. package/dist-server/service/activity-template/index.d.ts +0 -8
  586. package/dist-server/service/activity-template/index.js +0 -12
  587. package/dist-server/service/activity-template/index.js.map +0 -1
  588. package/dist-server/service/activity-thread/activity-thread-history-query.d.ts +0 -10
  589. package/dist-server/service/activity-thread/activity-thread-history-query.js +0 -69
  590. package/dist-server/service/activity-thread/activity-thread-history-query.js.map +0 -1
  591. package/dist-server/service/activity-thread/activity-thread-history.d.ts +0 -39
  592. package/dist-server/service/activity-thread/activity-thread-history.js +0 -211
  593. package/dist-server/service/activity-thread/activity-thread-history.js.map +0 -1
  594. package/dist-server/service/activity-thread/activity-thread-mutation.d.ts +0 -20
  595. package/dist-server/service/activity-thread/activity-thread-mutation.js +0 -115
  596. package/dist-server/service/activity-thread/activity-thread-mutation.js.map +0 -1
  597. package/dist-server/service/activity-thread/activity-thread-query.d.ts +0 -24
  598. package/dist-server/service/activity-thread/activity-thread-query.js +0 -276
  599. package/dist-server/service/activity-thread/activity-thread-query.js.map +0 -1
  600. package/dist-server/service/activity-thread/activity-thread-subscription.d.ts +0 -6
  601. package/dist-server/service/activity-thread/activity-thread-subscription.js +0 -38
  602. package/dist-server/service/activity-thread/activity-thread-subscription.js.map +0 -1
  603. package/dist-server/service/activity-thread/activity-thread-type.d.ts +0 -15
  604. package/dist-server/service/activity-thread/activity-thread-type.js +0 -50
  605. package/dist-server/service/activity-thread/activity-thread-type.js.map +0 -1
  606. package/dist-server/service/activity-thread/activity-thread.d.ts +0 -47
  607. package/dist-server/service/activity-thread/activity-thread.js +0 -197
  608. package/dist-server/service/activity-thread/activity-thread.js.map +0 -1
  609. package/dist-server/service/activity-thread/event-subscriber.d.ts +0 -13
  610. package/dist-server/service/activity-thread/event-subscriber.js +0 -45
  611. package/dist-server/service/activity-thread/event-subscriber.js.map +0 -1
  612. package/dist-server/service/activity-thread/index.d.ts +0 -10
  613. package/dist-server/service/activity-thread/index.js +0 -14
  614. package/dist-server/service/activity-thread/index.js.map +0 -1
  615. package/dist-server/service/activity-thread/my-open-threads.d.ts +0 -33
  616. package/dist-server/service/activity-thread/my-open-threads.js +0 -85
  617. package/dist-server/service/activity-thread/my-open-threads.js.map +0 -1
  618. package/dist-server/service/activity-thread/todo-order.d.ts +0 -49
  619. package/dist-server/service/activity-thread/todo-order.js +0 -70
  620. package/dist-server/service/activity-thread/todo-order.js.map +0 -1
  621. package/dist-server/service/approval-notice/approval-notice-rules.d.ts +0 -67
  622. package/dist-server/service/approval-notice/approval-notice-rules.js +0 -67
  623. package/dist-server/service/approval-notice/approval-notice-rules.js.map +0 -1
  624. package/dist-server/service/approval-notice/approval-notice.d.ts +0 -11
  625. package/dist-server/service/approval-notice/approval-notice.js +0 -76
  626. package/dist-server/service/approval-notice/approval-notice.js.map +0 -1
  627. package/dist-server/service/index.d.ts +0 -23
  628. package/dist-server/service/index.js +0 -75
  629. package/dist-server/service/index.js.map +0 -1
  630. package/dist-server/service/installable-activity/activity-readiness.d.ts +0 -58
  631. package/dist-server/service/installable-activity/activity-readiness.js +0 -105
  632. package/dist-server/service/installable-activity/activity-readiness.js.map +0 -1
  633. package/dist-server/service/installable-activity/index.d.ts +0 -6
  634. package/dist-server/service/installable-activity/index.js +0 -10
  635. package/dist-server/service/installable-activity/index.js.map +0 -1
  636. package/dist-server/service/installable-activity/installable-activity-mutation.d.ts +0 -11
  637. package/dist-server/service/installable-activity/installable-activity-mutation.js +0 -83
  638. package/dist-server/service/installable-activity/installable-activity-mutation.js.map +0 -1
  639. package/dist-server/service/installable-activity/installable-activity-query.d.ts +0 -22
  640. package/dist-server/service/installable-activity/installable-activity-query.js +0 -127
  641. package/dist-server/service/installable-activity/installable-activity-query.js.map +0 -1
  642. package/dist-server/service/installable-activity/installable-activity-type.d.ts +0 -5
  643. package/dist-server/service/installable-activity/installable-activity-type.js +0 -21
  644. package/dist-server/service/installable-activity/installable-activity-type.js.map +0 -1
  645. package/dist-server/service/installable-activity/installable-activity.d.ts +0 -92
  646. package/dist-server/service/installable-activity/installable-activity.js +0 -140
  647. package/dist-server/service/installable-activity/installable-activity.js.map +0 -1
  648. package/dist-server/service/nulls-last.d.ts +0 -30
  649. package/dist-server/service/nulls-last.js +0 -37
  650. package/dist-server/service/nulls-last.js.map +0 -1
  651. package/dist-server/service/subscription/roles-of.d.ts +0 -9
  652. package/dist-server/service/subscription/roles-of.js +0 -17
  653. package/dist-server/service/subscription/roles-of.js.map +0 -1
  654. package/dist-server/service/subscription/subscription-filters.d.ts +0 -47
  655. package/dist-server/service/subscription/subscription-filters.js +0 -57
  656. package/dist-server/service/subscription/subscription-filters.js.map +0 -1
  657. package/dist-server/service/work-door/activity-lookup.d.ts +0 -70
  658. package/dist-server/service/work-door/activity-lookup.js +0 -110
  659. package/dist-server/service/work-door/activity-lookup.js.map +0 -1
  660. package/dist-server/service/work-door/approval-line-standing.d.ts +0 -106
  661. package/dist-server/service/work-door/approval-line-standing.js +0 -65
  662. package/dist-server/service/work-door/approval-line-standing.js.map +0 -1
  663. package/dist-server/service/work-door/index.d.ts +0 -15
  664. package/dist-server/service/work-door/index.js +0 -20
  665. package/dist-server/service/work-door/index.js.map +0 -1
  666. package/dist-server/service/work-door/pass-work-door.d.ts +0 -74
  667. package/dist-server/service/work-door/pass-work-door.js +0 -45
  668. package/dist-server/service/work-door/pass-work-door.js.map +0 -1
  669. package/dist-server/service/work-door/work-door-declaration.d.ts +0 -135
  670. package/dist-server/service/work-door/work-door-declaration.js +0 -87
  671. package/dist-server/service/work-door/work-door-declaration.js.map +0 -1
  672. package/dist-server/service/work-door/work-door-event.d.ts +0 -20
  673. package/dist-server/service/work-door/work-door-event.js +0 -25
  674. package/dist-server/service/work-door/work-door-event.js.map +0 -1
  675. package/dist-server/service/work-door/work-door-journal-service.d.ts +0 -47
  676. package/dist-server/service/work-door/work-door-journal-service.js +0 -75
  677. package/dist-server/service/work-door/work-door-journal-service.js.map +0 -1
  678. package/dist-server/service/work-door/work-door-journal.d.ts +0 -30
  679. package/dist-server/service/work-door/work-door-journal.js +0 -94
  680. package/dist-server/service/work-door/work-door-journal.js.map +0 -1
  681. package/dist-server/service/work-door/work-door-not-used.d.ts +0 -39
  682. package/dist-server/service/work-door/work-door-not-used.js +0 -86
  683. package/dist-server/service/work-door/work-door-not-used.js.map +0 -1
  684. package/dist-server/service/work-door/work-door-resolver.d.ts +0 -32
  685. package/dist-server/service/work-door/work-door-resolver.js +0 -152
  686. package/dist-server/service/work-door/work-door-resolver.js.map +0 -1
  687. package/dist-server/service/work-door/work-door-service.d.ts +0 -36
  688. package/dist-server/service/work-door/work-door-service.js +0 -127
  689. package/dist-server/service/work-door/work-door-service.js.map +0 -1
  690. package/dist-server/service/work-door/work-door-type.d.ts +0 -88
  691. package/dist-server/service/work-door/work-door-type.js +0 -206
  692. package/dist-server/service/work-door/work-door-type.js.map +0 -1
  693. package/dist-server/service/work-door/work-door.d.ts +0 -187
  694. package/dist-server/service/work-door/work-door.js +0 -119
  695. package/dist-server/service/work-door/work-door.js.map +0 -1
  696. package/dist-server/tsconfig.tsbuildinfo +0 -1
@@ -1,6 +0,0 @@
1
- import './routes.js';
2
- export * from './controllers/index.js';
3
- export * from './service/index.js';
4
- export { freezeDecisionSentences, DecisionSentenceMissing } from '../shared/decision-sentences.js';
5
- export { freezeDecisionSentencesFor } from './service/activity/freeze-decision-sentences-for.js';
6
- export type { DecisionSentenceKey, Translate as DecisionSentenceTranslate } from '../shared/decision-sentences.js';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.freezeDecisionSentencesFor = exports.DecisionSentenceMissing = exports.freezeDecisionSentences = void 0;
4
- const tslib_1 = require("tslib");
5
- require("./routes.js");
6
- tslib_1.__exportStar(require("./controllers/index.js"), exports);
7
- tslib_1.__exportStar(require("./service/index.js"), exports);
8
- /* Freezing an approval's value sentences — the same reading of the input the decision screen uses. */
9
- var decision_sentences_js_1 = require("../shared/decision-sentences.js");
10
- Object.defineProperty(exports, "freezeDecisionSentences", { enumerable: true, get: function () { return decision_sentences_js_1.freezeDecisionSentences; } });
11
- Object.defineProperty(exports, "DecisionSentenceMissing", { enumerable: true, get: function () { return decision_sentences_js_1.DecisionSentenceMissing; } });
12
- var freeze_decision_sentences_for_js_1 = require("./service/activity/freeze-decision-sentences-for.js");
13
- Object.defineProperty(exports, "freezeDecisionSentencesFor", { enumerable: true, get: function () { return freeze_decision_sentences_for_js_1.freezeDecisionSentencesFor; } });
14
- const auth_base_1 = require("@things-factory/auth-base");
15
- const role_tasks_js_1 = require("./role-tasks.js");
16
- for (const task of role_tasks_js_1.ROLE_TASKS)
17
- (0, auth_base_1.registerRoleTask)(task);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;AAAA,uBAAoB;AAEpB,iEAAsC;AACtC,6DAAkC;AAElC,sGAAsG;AACtG,yEAAkG;AAAzF,gIAAA,uBAAuB,OAAA;AAAE,gIAAA,uBAAuB,OAAA;AACzD,wGAAgG;AAAvF,8IAAA,0BAA0B,OAAA;AAGnC,yDAA4D;AAC5D,mDAA4C;AAE5C,KAAK,MAAM,IAAI,IAAI,0BAAU;IAAE,IAAA,4BAAgB,EAAC,IAAI,CAAC,CAAA","sourcesContent":["import './routes.js'\n\nexport * from './controllers/index.js'\nexport * from './service/index.js'\n\n/* Freezing an approval's value sentences — the same reading of the input the decision screen uses. */\nexport { freezeDecisionSentences, DecisionSentenceMissing } from '../shared/decision-sentences.js'\nexport { freezeDecisionSentencesFor } from './service/activity/freeze-decision-sentences-for.js'\nexport type { DecisionSentenceKey, Translate as DecisionSentenceTranslate } from '../shared/decision-sentences.js'\n\nimport { registerRoleTask } from '@things-factory/auth-base'\nimport { ROLE_TASKS } from './role-tasks.js'\n\nfor (const task of ROLE_TASKS) registerRoleTask(task)\n"]}
@@ -1,2 +0,0 @@
1
- import type { RoleTask } from '@things-factory/auth-base';
2
- export declare const ROLE_TASKS: RoleTask[];
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /*
3
- * The work this module names, for the seats applications build (ADR-0139 decision 11).
4
- *
5
- * A task holds whole privileges: each opens everything its doors open, and the words under `task.<id>` in this
6
- * module's translations say what that is. Seats are put together by applications (`RoleTemplate.tasks`).
7
- *
8
- * Data only - `server/index.ts` registers it - so an application's tests read it without starting the framework.
9
- */
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.ROLE_TASKS = void 0;
12
- exports.ROLE_TASKS = [
13
- { id: 'worklist.submit-approvals', grants: [{ category: 'activity', axes: ['query'] }, { category: 'activity-instance', axes: ['mutation'] }] },
14
- { id: 'worklist.all-cases-reading', grants: [{ category: 'activity-instance', axes: ['query'] }] }
15
- ];
16
- //# sourceMappingURL=role-tasks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"role-tasks.js","sourceRoot":"","sources":["../server/role-tasks.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAIU,QAAA,UAAU,GAAe;IACpC,EAAE,EAAE,EAAE,2BAA2B,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,mBAAmB,EAAE,IAAI,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,EAAE;IAC/I,EAAE,EAAE,EAAE,4BAA4B,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,mBAAmB,EAAE,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;CACnG,CAAA","sourcesContent":["/*\n * The work this module names, for the seats applications build (ADR-0139 decision 11).\n *\n * A task holds whole privileges: each opens everything its doors open, and the words under `task.<id>` in this\n * module's translations say what that is. Seats are put together by applications (`RoleTemplate.tasks`).\n *\n * Data only - `server/index.ts` registers it - so an application's tests read it without starting the framework.\n */\n\nimport type { RoleTask } from '@things-factory/auth-base'\n\nexport const ROLE_TASKS: RoleTask[] = [\n { id: 'worklist.submit-approvals', grants: [{ category: 'activity', axes: ['query'] }, { category: 'activity-instance', axes: ['mutation'] }] },\n { id: 'worklist.all-cases-reading', grants: [{ category: 'activity-instance', axes: ['query'] }] }\n]\n"]}
@@ -1 +0,0 @@
1
- export {};
@@ -1,57 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const shell_1 = require("@things-factory/shell");
4
- const issue_js_1 = require("./controllers/activity-instance/issue.js");
5
- process.on('bootstrap-module-global-public-route', (app, globalPublicRouter) => {
6
- /*
7
- * can add global public routes to application (auth not required, tenancy not required)
8
- *
9
- * ex) routes.get('/path', async(context, next) => {})
10
- * ex) routes.post('/path', async(context, next) => {})
11
- */
12
- /* When a callback occurs from the scheduler when a scheduled dataset is on schedule, data collection task for the dataset should be issued. */
13
- globalPublicRouter.post('/callback-schedule-for-activity', async (context, next) => {
14
- const { client } = context.request.body;
15
- if (!client || typeof client !== 'object') {
16
- throw new Error('client property should be a part of callback body.');
17
- }
18
- const { group: domainId, key: activityId } = client;
19
- if (!domainId || !activityId) {
20
- throw new Error(`group(${domainId}) and key(${activityId}) properties should not be empty`);
21
- }
22
- if (!domainId || !activityId) {
23
- throw new Error(`domainId(${domainId}) and activityId(${activityId}) properties should not be empty`);
24
- }
25
- await (0, shell_1.getDataSource)().transaction(async (tx) => {
26
- const domain = await tx.getRepository(shell_1.Domain).findOneBy({ id: domainId });
27
- if (!domain) {
28
- throw new Error(`domain(${domainId}) not found`);
29
- }
30
- context.state = {
31
- ...context.state,
32
- domain,
33
- tx
34
- };
35
- await (0, issue_js_1.issue)({
36
- activityId
37
- }, context);
38
- });
39
- context.status = 200;
40
- });
41
- });
42
- process.on('bootstrap-module-global-private-route', (app, globalPrivateRouter) => {
43
- /*
44
- * can add global private routes to application (auth required, tenancy not required)
45
- */
46
- });
47
- process.on('bootstrap-module-domain-public-route', (app, domainPublicRouter) => {
48
- /*
49
- * can add domain public routes to application (auth not required, tenancy required)
50
- */
51
- });
52
- process.on('bootstrap-module-domain-private-route', (app, domainPrivateRouter) => {
53
- /*
54
- * can add domain private routes to application (auth required, tenancy required)
55
- */
56
- });
57
- //# sourceMappingURL=routes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"routes.js","sourceRoot":"","sources":["../server/routes.ts"],"names":[],"mappings":";;AAAA,iDAA6D;AAE7D,uEAAgE;AAEhE,OAAO,CAAC,EAAE,CAAC,sCAA6C,EAAE,CAAC,GAAG,EAAE,kBAAkB,EAAE,EAAE;IACpF;;;;;OAKG;IAEH,+IAA+I;IAC/I,kBAAkB,CAAC,IAAI,CAAC,iCAAiC,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;QACjF,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC,IAA+B,CAAA;QAElE,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YAC1C,MAAM,IAAI,KAAK,CAAC,oDAAoD,CAAC,CAAA;QACvE,CAAC;QAED,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,MAAM,CAAA;QAEnD,IAAI,CAAC,QAAQ,IAAI,CAAC,UAAU,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,SAAS,QAAQ,aAAa,UAAU,kCAAkC,CAAC,CAAA;QAC7F,CAAC;QAED,IAAI,CAAC,QAAQ,IAAI,CAAC,UAAU,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,YAAY,QAAQ,oBAAoB,UAAU,kCAAkC,CAAC,CAAA;QACvG,CAAC;QAED,MAAM,IAAA,qBAAa,GAAE,CAAC,WAAW,CAAC,KAAK,EAAC,EAAE,EAAC,EAAE;YAC3C,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC,aAAa,CAAC,cAAM,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAA;YAEzE,IAAI,CAAC,MAAM,EAAE,CAAC;gBACZ,MAAM,IAAI,KAAK,CAAC,UAAU,QAAQ,aAAa,CAAC,CAAA;YAClD,CAAC;YAED,OAAO,CAAC,KAAK,GAAG;gBACd,GAAG,OAAO,CAAC,KAAK;gBAChB,MAAM;gBACN,EAAE;aACH,CAAA;YAED,MAAM,IAAA,gBAAK,EACT;gBACE,UAAU;aACX,EACD,OAAO,CACR,CAAA;QACH,CAAC,CAAC,CAAA;QAEF,OAAO,CAAC,MAAM,GAAG,GAAG,CAAA;IACtB,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,OAAO,CAAC,EAAE,CAAC,uCAA8C,EAAE,CAAC,GAAG,EAAE,mBAAmB,EAAE,EAAE;IACtF;;OAEG;AACL,CAAC,CAAC,CAAA;AAEF,OAAO,CAAC,EAAE,CAAC,sCAA6C,EAAE,CAAC,GAAG,EAAE,kBAAkB,EAAE,EAAE;IACpF;;OAEG;AACL,CAAC,CAAC,CAAA;AAEF,OAAO,CAAC,EAAE,CAAC,uCAA8C,EAAE,CAAC,GAAG,EAAE,mBAAmB,EAAE,EAAE;IACtF;;OAEG;AACL,CAAC,CAAC,CAAA","sourcesContent":["import { Domain, getDataSource } from '@things-factory/shell'\nimport { ScheduleRegisterRequest } from '@things-factory/scheduler-client'\nimport { issue } from './controllers/activity-instance/issue.js'\n\nprocess.on('bootstrap-module-global-public-route' as any, (app, globalPublicRouter) => {\n /*\n * can add global public routes to application (auth not required, tenancy not required)\n *\n * ex) routes.get('/path', async(context, next) => {})\n * ex) routes.post('/path', async(context, next) => {})\n */\n\n /* When a callback occurs from the scheduler when a scheduled dataset is on schedule, data collection task for the dataset should be issued. */\n globalPublicRouter.post('/callback-schedule-for-activity', async (context, next) => {\n const { client } = context.request.body as ScheduleRegisterRequest\n\n if (!client || typeof client !== 'object') {\n throw new Error('client property should be a part of callback body.')\n }\n\n const { group: domainId, key: activityId } = client\n\n if (!domainId || !activityId) {\n throw new Error(`group(${domainId}) and key(${activityId}) properties should not be empty`)\n }\n\n if (!domainId || !activityId) {\n throw new Error(`domainId(${domainId}) and activityId(${activityId}) properties should not be empty`)\n }\n\n await getDataSource().transaction(async tx => {\n const domain = await tx.getRepository(Domain).findOneBy({ id: domainId })\n\n if (!domain) {\n throw new Error(`domain(${domainId}) not found`)\n }\n\n context.state = {\n ...context.state,\n domain,\n tx\n }\n\n await issue(\n {\n activityId\n },\n context\n )\n })\n\n context.status = 200\n })\n})\n\nprocess.on('bootstrap-module-global-private-route' as any, (app, globalPrivateRouter) => {\n /*\n * can add global private routes to application (auth required, tenancy not required)\n */\n})\n\nprocess.on('bootstrap-module-domain-public-route' as any, (app, domainPublicRouter) => {\n /*\n * can add domain public routes to application (auth not required, tenancy required)\n */\n})\n\nprocess.on('bootstrap-module-domain-private-route' as any, (app, domainPrivateRouter) => {\n /*\n * can add domain private routes to application (auth required, tenancy required)\n */\n})\n"]}
@@ -1,206 +0,0 @@
1
- /**
2
- * The part an input value plays on the approval screen.
3
- *
4
- * ── The shape of the set: three tenses, and five others ───────────────────
5
- * Three of the eight say something about the subject at a point in time, and the other five do not:
6
- *
7
- * past evidence what the decision was made from (may repeat)
8
- * present currentState how things stand right now
9
- * future consequence what approving would change (may repeat)
10
- *
11
- * subject what this is about
12
- * reason what a person wrote
13
- * headline one sentence built from the values
14
- * reversibility whether approving can be undone
15
- *
16
- * Every mis-slotting found so far was the same mistake in that column: currentState under
17
- * consequence read the present as the future, and evidence under currentState read the past as the
18
- * present. So when a ninth role is asked for, the first question is whether the value is the
19
- * subject's past, present or future — if it is, one of those three already holds it. If it is not,
20
- * whoever asks should be able to say what it is instead. (2026-09-10, architect's ruling)
21
- *
22
- * ── Why the keys and the values are spelled the same ──────────────────────
23
- * type-graphql publishes an enum by its **keys** when the field names the enum type, and by its
24
- * **values** when the field leaves the type off. One word in a @Field decorator therefore decides
25
- * what a client receives, and a schema-improving edit far away can flip it. That has already cost
26
- * this repository twice: ApprovalLineItem.participation arrives as `Reference` and was compared
27
- * against `reference`, false every time; the catalog page read `NotWorklist` where its selector,
28
- * i18n key and stage list all said `notworklist`.
29
- *
30
- * Writing each key as its own value takes the choice away — either spelling produces the same
31
- * string. ActivityModelItemInoutType and ActivityModelItemType are written the same way.
32
- *
33
- * ── The set is closed, and widening it is the architect's call ────────────
34
- * Left open as a free string, a convention becomes suffix-appending: every lane invents its own
35
- * word for the same slot and the screen ends up switching on a dozen spellings, printing the
36
- * unmatched ones. Adding a role here is an architecture decision, not a lane's. (2026-09-09,
37
- * architect's ruling)
38
- */
39
- export declare enum ActivityDecisionRole {
40
- /** One sentence built from the values: 「폐기 30 EA」, 「3에서 1로 올림」. */
41
- headline = "headline",
42
- /** What the decision is about — one identifier. */
43
- subject = "subject",
44
- /** What the person who raised it wrote. Absent, the screen says so rather than leaving a gap. */
45
- reason = "reason",
46
- /**
47
- * What changes on approval: 「주문 넷이 뒤로 밀린다」. The only role that may appear more than once.
48
- *
49
- * Named consequence rather than effect because TwinCommand.effect already means the opposite in
50
- * time: { status, at, seen }, what the source reported back after the command was dispatched.
51
- * That one is an observation and past; this one is a prediction and future. Using a real term for
52
- * the wrong meaning is worse than coining one, and plant already writes .consequence for exactly
53
- * this sense in its stop-reason dialog. (2026-09-10, architect's ruling)
54
- */
55
- consequence = "consequence",
56
- /**
57
- * What is measured to be true right now — about the world, not about the request.
58
- *
59
- * The other roles all describe what is being asked for. This one does not, and putting it under
60
- * consequence made the screen say the opposite of the truth: the twin's current readings would
61
- * have read as things the approval causes.
62
- *
63
- * Not named observed: ops-contract already has observedBy for which observation backs a declared
64
- * property, and TwinCommand.effect is an observation too, so observed would sit in the most
65
- * confusable spot between them. (2026-09-10, architect's ruling) plant never needed it because the subject's present state
66
- * went into the headline (「폐기 30 EA」); the twin's instruction and its current state are two
67
- * separate things, and holding them side by side is what this screen is for.
68
- */
69
- currentState = "currentState",
70
- /**
71
- * Whether approving can be undone. Drawn in the frame rather than in the body.
72
- *
73
- * Not a separate role for want of a place — it fits consequence well enough — but for want of
74
- * weight. Listed among the consequences it reads with the same force as "four orders get pushed
75
- * back", and on
76
- * the twin actuation, where approving moves equipment, it is the heaviest line on the screen.
77
- *
78
- * ── Not the same as rejectionIsFinal ──────────────────────────────────
79
- * Two "cannot be undone" facts attach to opposite actions, and the twin actuation carries both,
80
- * which is what makes them look like one:
81
- *
82
- * reversibility whether **approving** can be undone (this role, read from the input)
83
- * rejectionIsFinal whether **rejecting** ends the case (a column on Activity)
84
- *
85
- * Merging them in a screen sentence tells the reader that rejection can be taken back.
86
- */
87
- reversibility = "reversibility",
88
- /**
89
- * What the decision was made from — which inspection, against which spec, decided when.
90
- *
91
- * Neither consequence nor currentState: consequence is the opposite direction in time, and under
92
- * currentState a past finding reads as the present state of the subject. plant's disposition
93
- * approval kept its own screen for exactly these three values, and it survived the comparison not
94
- * because a slot could not hold them but because no slot existed — those are different reasons,
95
- * and only the second one means the set is short.
96
- *
97
- * plant's case for it: someone approving a concession in a regulated plant who cannot see which
98
- * inspection produced the finding is approving without grounds.
99
- *
100
- * Repeats, because grounds come in several — there were three.
101
- */
102
- evidence = "evidence"
103
- }
104
- /**
105
- * One value the approver reads, and the part it plays.
106
- *
107
- * ── Why this points at input rather than at a model item ──────────────────
108
- * inputPath names a value inside the instance's input and does not go through the activity's model.
109
- * That is the whole reason it is a separate array: the values an approver most needs are computed by
110
- * the registering module and put on the input, not declared as model items — plant's
111
- * `shift.passes` / `shift.passedBy` are exactly that. A role hung on a model item could not
112
- * reach them.
113
- *
114
- * ── inputPath, not inputKey ───────────────────────────────────────────────
115
- * ActivitySearchKeyItem.inputKey names one top-level key, because its value goes into a searchable
116
- * column and a path into a list is not something that can be indexed. This field takes a path,
117
- * because it points at a value to draw. The two do different work, so they carry different names —
118
- * one word with two meanings would make the wrong one silent, and a name that does not exist is
119
- * read as a mistake instead. (2026-09-09, architect's ruling)
120
- *
121
- * 'reason' → input.reason
122
- * 'shift.passes' → input.shift.passes
123
- *
124
- * Dots only. No array index — drawing a list is the slot's job, not the path's — and no wildcard. A
125
- * path that leads nowhere resolves to undefined and is not folded into an empty value: a `reason`
126
- * that is missing and a `reason` someone left blank are different facts, and the screen draws them
127
- * differently.
128
- *
129
- * The two declarations also address different readers. model declares the boxes a performer fills;
130
- * this declares what an approver reads. Putting both on one item leaves "is this an input or
131
- * something to judge by" unanswerable.
132
- *
133
- * Order matters. plant wrote four of these screens by hand and all four laid the slots out in the
134
- * same order, which makes the order the screen's hierarchy rather than a preference — so this is an
135
- * ordered array and not an object keyed by role.
136
- */
137
- export declare class ActivityDecisionKeyItem {
138
- role: ActivityDecisionRole;
139
- inputPath: string;
140
- name?: string;
141
- tKey?: string;
142
- /**
143
- * i18n key for the **value**, when the value is a sentence the module would otherwise freeze.
144
- *
145
- * ── tKey is the label; this is the sentence ───────────────────────────
146
- * Two different things were being asked of one field. The screen draws a slot as a label and a
147
- * value, and they come from different places:
148
- *
149
- * label declaredLabel(slot) = t(slot.tKey, { defaultValue: name }) 「설비」 「사유」
150
- * value fieldValue(slot.value) the frozen sentence
151
- *
152
- * Putting a sentence key in `tKey` turns the label into a developer's English name and leaves the
153
- * frozen Korean where it was — the thing this is meant to remove.
154
- *
155
- * ── Why the sentence must not freeze ──────────────────────────────────
156
- * Eighteen doors build a Korean sentence when the request is raised and `issue()` snapshots it
157
- * whole. The sentence then stands in the language of whoever raised it, not whoever reads it, and
158
- * an approver on another language never catches up.
159
- *
160
- * Values are right to freeze — an approval is a judgment about facts at a moment, so quantities,
161
- * dates and counts are the record. The prose describing them is not a fact, and freezing it also
162
- * loses what it described: maintenance deferral carries `impact.times` as a value but `dueAt`
163
- * only inside the sentence, so editing that wording would leave no way to say which due date the
164
- * approval was about. (ADR-0054 ④)
165
- *
166
- * ── Computed, never invented ──────────────────────────────────────────
167
- * `approval.<door>.<inputPath>` — `inputPath` is the one thing unique within a door, which `role`
168
- * is not (a door repeats `consequence`). Nobody writing a new door picks a key, so no table of
169
- * keys grows, and a test can count every one of them.
170
- *
171
- * Leaving it out is how a slot stays as it is. The frozen sentence remains in `value`, so a
172
- * consumer that knows nothing about this field — the plain card, the timeline, an export — draws
173
- * exactly what it drew before, and a missing translation never puts English into a Korean screen.
174
- */
175
- valueTKey?: string;
176
- /**
177
- * What the sentence puts into its blanks: **name in the sentence → where the value lives.**
178
- *
179
- * { what: 'equipmentName', days: 'impact.days' } → t(valueTKey, { what: …, days: … })
180
- *
181
- * Every value here is an `inputPath`, and that is the point rather than a convention: a sentence
182
- * may only be built from values that were snapshotted. Wanting a value with no field to read it
183
- * from means the field is missing, not that params needs another source — so the rule is a shape
184
- * a declaration cannot write around, and a test counts it.
185
- *
186
- * The names on the left belong to the sentence and only have to match the locale files.
187
- */
188
- params?: {
189
- [name: string]: string;
190
- };
191
- /**
192
- * Unit to print after the value, when the activity fixes the unit.
193
- *
194
- * Declared once, so it holds for every instance of the activity — 「30 건」 works, and a unit that
195
- * varies per record does not: plant's disposition carries the unit alongside the quantity, so the
196
- * same activity produces 「3 EA」 and 「12.5 KG」. Writing one of them here would attach the wrong
197
- * unit to the other records, with nothing to catch it.
198
- *
199
- * A unit that varies belongs in the headline sentence the module builds, which is what plant did:
200
- * 「LOT-A 3 EA 를 폐기합니다」. Leave this empty then.
201
- *
202
- * Delete this field if no activity ever turns out to fix a unit. A field nobody writes stays
203
- * forever and the next person reads a meaning into it. (2026-09-10, architect's ruling)
204
- */
205
- unit?: string;
206
- }
@@ -1,182 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ActivityDecisionKeyItem = exports.ActivityDecisionRole = 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
- /**
8
- * The part an input value plays on the approval screen.
9
- *
10
- * ── The shape of the set: three tenses, and five others ───────────────────
11
- * Three of the eight say something about the subject at a point in time, and the other five do not:
12
- *
13
- * past evidence what the decision was made from (may repeat)
14
- * present currentState how things stand right now
15
- * future consequence what approving would change (may repeat)
16
- *
17
- * subject what this is about
18
- * reason what a person wrote
19
- * headline one sentence built from the values
20
- * reversibility whether approving can be undone
21
- *
22
- * Every mis-slotting found so far was the same mistake in that column: currentState under
23
- * consequence read the present as the future, and evidence under currentState read the past as the
24
- * present. So when a ninth role is asked for, the first question is whether the value is the
25
- * subject's past, present or future — if it is, one of those three already holds it. If it is not,
26
- * whoever asks should be able to say what it is instead. (2026-09-10, architect's ruling)
27
- *
28
- * ── Why the keys and the values are spelled the same ──────────────────────
29
- * type-graphql publishes an enum by its **keys** when the field names the enum type, and by its
30
- * **values** when the field leaves the type off. One word in a @Field decorator therefore decides
31
- * what a client receives, and a schema-improving edit far away can flip it. That has already cost
32
- * this repository twice: ApprovalLineItem.participation arrives as `Reference` and was compared
33
- * against `reference`, false every time; the catalog page read `NotWorklist` where its selector,
34
- * i18n key and stage list all said `notworklist`.
35
- *
36
- * Writing each key as its own value takes the choice away — either spelling produces the same
37
- * string. ActivityModelItemInoutType and ActivityModelItemType are written the same way.
38
- *
39
- * ── The set is closed, and widening it is the architect's call ────────────
40
- * Left open as a free string, a convention becomes suffix-appending: every lane invents its own
41
- * word for the same slot and the screen ends up switching on a dozen spellings, printing the
42
- * unmatched ones. Adding a role here is an architecture decision, not a lane's. (2026-09-09,
43
- * architect's ruling)
44
- */
45
- var ActivityDecisionRole;
46
- (function (ActivityDecisionRole) {
47
- /** One sentence built from the values: 「폐기 30 EA」, 「3에서 1로 올림」. */
48
- ActivityDecisionRole["headline"] = "headline";
49
- /** What the decision is about — one identifier. */
50
- ActivityDecisionRole["subject"] = "subject";
51
- /** What the person who raised it wrote. Absent, the screen says so rather than leaving a gap. */
52
- ActivityDecisionRole["reason"] = "reason";
53
- /**
54
- * What changes on approval: 「주문 넷이 뒤로 밀린다」. The only role that may appear more than once.
55
- *
56
- * Named consequence rather than effect because TwinCommand.effect already means the opposite in
57
- * time: { status, at, seen }, what the source reported back after the command was dispatched.
58
- * That one is an observation and past; this one is a prediction and future. Using a real term for
59
- * the wrong meaning is worse than coining one, and plant already writes .consequence for exactly
60
- * this sense in its stop-reason dialog. (2026-09-10, architect's ruling)
61
- */
62
- ActivityDecisionRole["consequence"] = "consequence";
63
- /**
64
- * What is measured to be true right now — about the world, not about the request.
65
- *
66
- * The other roles all describe what is being asked for. This one does not, and putting it under
67
- * consequence made the screen say the opposite of the truth: the twin's current readings would
68
- * have read as things the approval causes.
69
- *
70
- * Not named observed: ops-contract already has observedBy for which observation backs a declared
71
- * property, and TwinCommand.effect is an observation too, so observed would sit in the most
72
- * confusable spot between them. (2026-09-10, architect's ruling) plant never needed it because the subject's present state
73
- * went into the headline (「폐기 30 EA」); the twin's instruction and its current state are two
74
- * separate things, and holding them side by side is what this screen is for.
75
- */
76
- ActivityDecisionRole["currentState"] = "currentState";
77
- /**
78
- * Whether approving can be undone. Drawn in the frame rather than in the body.
79
- *
80
- * Not a separate role for want of a place — it fits consequence well enough — but for want of
81
- * weight. Listed among the consequences it reads with the same force as "four orders get pushed
82
- * back", and on
83
- * the twin actuation, where approving moves equipment, it is the heaviest line on the screen.
84
- *
85
- * ── Not the same as rejectionIsFinal ──────────────────────────────────
86
- * Two "cannot be undone" facts attach to opposite actions, and the twin actuation carries both,
87
- * which is what makes them look like one:
88
- *
89
- * reversibility whether **approving** can be undone (this role, read from the input)
90
- * rejectionIsFinal whether **rejecting** ends the case (a column on Activity)
91
- *
92
- * Merging them in a screen sentence tells the reader that rejection can be taken back.
93
- */
94
- ActivityDecisionRole["reversibility"] = "reversibility";
95
- /**
96
- * What the decision was made from — which inspection, against which spec, decided when.
97
- *
98
- * Neither consequence nor currentState: consequence is the opposite direction in time, and under
99
- * currentState a past finding reads as the present state of the subject. plant's disposition
100
- * approval kept its own screen for exactly these three values, and it survived the comparison not
101
- * because a slot could not hold them but because no slot existed — those are different reasons,
102
- * and only the second one means the set is short.
103
- *
104
- * plant's case for it: someone approving a concession in a regulated plant who cannot see which
105
- * inspection produced the finding is approving without grounds.
106
- *
107
- * Repeats, because grounds come in several — there were three.
108
- */
109
- ActivityDecisionRole["evidence"] = "evidence";
110
- })(ActivityDecisionRole || (exports.ActivityDecisionRole = ActivityDecisionRole = {}));
111
- (0, type_graphql_1.registerEnumType)(ActivityDecisionRole, {
112
- name: 'ActivityDecisionRole',
113
- description: 'the part an input value plays on the approval screen'
114
- });
115
- /**
116
- * One value the approver reads, and the part it plays.
117
- *
118
- * ── Why this points at input rather than at a model item ──────────────────
119
- * inputPath names a value inside the instance's input and does not go through the activity's model.
120
- * That is the whole reason it is a separate array: the values an approver most needs are computed by
121
- * the registering module and put on the input, not declared as model items — plant's
122
- * `shift.passes` / `shift.passedBy` are exactly that. A role hung on a model item could not
123
- * reach them.
124
- *
125
- * ── inputPath, not inputKey ───────────────────────────────────────────────
126
- * ActivitySearchKeyItem.inputKey names one top-level key, because its value goes into a searchable
127
- * column and a path into a list is not something that can be indexed. This field takes a path,
128
- * because it points at a value to draw. The two do different work, so they carry different names —
129
- * one word with two meanings would make the wrong one silent, and a name that does not exist is
130
- * read as a mistake instead. (2026-09-09, architect's ruling)
131
- *
132
- * 'reason' → input.reason
133
- * 'shift.passes' → input.shift.passes
134
- *
135
- * Dots only. No array index — drawing a list is the slot's job, not the path's — and no wildcard. A
136
- * path that leads nowhere resolves to undefined and is not folded into an empty value: a `reason`
137
- * that is missing and a `reason` someone left blank are different facts, and the screen draws them
138
- * differently.
139
- *
140
- * The two declarations also address different readers. model declares the boxes a performer fills;
141
- * this declares what an approver reads. Putting both on one item leaves "is this an input or
142
- * something to judge by" unanswerable.
143
- *
144
- * Order matters. plant wrote four of these screens by hand and all four laid the slots out in the
145
- * same order, which makes the order the screen's hierarchy rather than a preference — so this is an
146
- * ordered array and not an object keyed by role.
147
- */
148
- let ActivityDecisionKeyItem = class ActivityDecisionKeyItem {
149
- };
150
- exports.ActivityDecisionKeyItem = ActivityDecisionKeyItem;
151
- tslib_1.__decorate([
152
- (0, type_graphql_1.Field)(type => ActivityDecisionRole),
153
- tslib_1.__metadata("design:type", String)
154
- ], ActivityDecisionKeyItem.prototype, "role", void 0);
155
- tslib_1.__decorate([
156
- (0, type_graphql_1.Field)({ description: "Dotted path to the value inside the instance's input, e.g. 'shift.passes'" }),
157
- tslib_1.__metadata("design:type", String)
158
- ], ActivityDecisionKeyItem.prototype, "inputPath", void 0);
159
- tslib_1.__decorate([
160
- (0, type_graphql_1.Field)({ nullable: true, description: 'Developer-facing note. Never shown on a screen.' }),
161
- tslib_1.__metadata("design:type", String)
162
- ], ActivityDecisionKeyItem.prototype, "name", void 0);
163
- tslib_1.__decorate([
164
- (0, type_graphql_1.Field)({ nullable: true, description: 'i18n key for the label. Without it the screen shows no label.' }),
165
- tslib_1.__metadata("design:type", String)
166
- ], ActivityDecisionKeyItem.prototype, "tKey", void 0);
167
- tslib_1.__decorate([
168
- (0, type_graphql_1.Field)({ nullable: true, description: "i18n key for the value sentence: approval.<door>.<inputPath>" }),
169
- tslib_1.__metadata("design:type", String)
170
- ], ActivityDecisionKeyItem.prototype, "valueTKey", void 0);
171
- tslib_1.__decorate([
172
- (0, type_graphql_1.Field)(type => shell_1.ScalarObject, { nullable: true, description: 'sentence placeholder → inputPath' }),
173
- tslib_1.__metadata("design:type", Object)
174
- ], ActivityDecisionKeyItem.prototype, "params", void 0);
175
- tslib_1.__decorate([
176
- (0, type_graphql_1.Field)({ nullable: true, description: 'Unit to print after the value, when the activity fixes the unit' }),
177
- tslib_1.__metadata("design:type", String)
178
- ], ActivityDecisionKeyItem.prototype, "unit", void 0);
179
- exports.ActivityDecisionKeyItem = ActivityDecisionKeyItem = tslib_1.__decorate([
180
- (0, type_graphql_1.ObjectType)({ description: 'Entity for ActivityDecisionKeyItem' })
181
- ], ActivityDecisionKeyItem);
182
- //# sourceMappingURL=activity-decision-key-item-type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"activity-decision-key-item-type.js","sourceRoot":"","sources":["../../../server/service/activity/activity-decision-key-item-type.ts"],"names":[],"mappings":";;;;AAAA,+CAAkE;AAElE,iDAAoD;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,IAAY,oBAgEX;AAhED,WAAY,oBAAoB;IAC9B,mEAAmE;IACnE,6CAAqB,CAAA;IACrB,mDAAmD;IACnD,2CAAmB,CAAA;IACnB,iGAAiG;IACjG,yCAAiB,CAAA;IACjB;;;;;;;;OAQG;IACH,mDAA2B,CAAA;IAC3B;;;;;;;;;;;;OAYG;IACH,qDAA6B,CAAA;IAC7B;;;;;;;;;;;;;;;;OAgBG;IACH,uDAA+B,CAAA;IAC/B;;;;;;;;;;;;;OAaG;IACH,6CAAqB,CAAA;AACvB,CAAC,EAhEW,oBAAoB,oCAApB,oBAAoB,QAgE/B;AAED,IAAA,+BAAgB,EAAC,oBAAoB,EAAE;IACrC,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,sDAAsD;CACpE,CAAC,CAAA;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEI,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;CAgFnC,CAAA;AAhFY,0DAAuB;AAElC;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,oBAAoB,CAAC;;qDACV;AAG1B;IADC,IAAA,oBAAK,EAAC,EAAE,WAAW,EAAE,2EAA2E,EAAE,CAAC;;0DACnF;AAGjB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,iDAAiD,EAAE,CAAC;;qDAC7E;AAGb;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,+DAA+D,EAAE,CAAC;;qDAC3F;AAoCb;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,8DAA8D,EAAE,CAAC;;0DACrF;AAelB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,oBAAY,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,kCAAkC,EAAE,CAAC;;uDAC9D;AAiBnC;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,iEAAiE,EAAE,CAAC;;qDAC7F;kCA/EF,uBAAuB;IADnC,IAAA,yBAAU,EAAC,EAAE,WAAW,EAAE,oCAAoC,EAAE,CAAC;GACrD,uBAAuB,CAgFnC","sourcesContent":["import { Field, ObjectType, registerEnumType } from 'type-graphql'\n\nimport { ScalarObject } from '@things-factory/shell'\n\n/**\n * The part an input value plays on the approval screen.\n *\n * ── The shape of the set: three tenses, and five others ───────────────────\n * Three of the eight say something about the subject at a point in time, and the other five do not:\n *\n * past evidence what the decision was made from (may repeat)\n * present currentState how things stand right now\n * future consequence what approving would change (may repeat)\n *\n * subject what this is about\n * reason what a person wrote\n * headline one sentence built from the values\n * reversibility whether approving can be undone\n *\n * Every mis-slotting found so far was the same mistake in that column: currentState under\n * consequence read the present as the future, and evidence under currentState read the past as the\n * present. So when a ninth role is asked for, the first question is whether the value is the\n * subject's past, present or future — if it is, one of those three already holds it. If it is not,\n * whoever asks should be able to say what it is instead. (2026-09-10, architect's ruling)\n *\n * ── Why the keys and the values are spelled the same ──────────────────────\n * type-graphql publishes an enum by its **keys** when the field names the enum type, and by its\n * **values** when the field leaves the type off. One word in a @Field decorator therefore decides\n * what a client receives, and a schema-improving edit far away can flip it. That has already cost\n * this repository twice: ApprovalLineItem.participation arrives as `Reference` and was compared\n * against `reference`, false every time; the catalog page read `NotWorklist` where its selector,\n * i18n key and stage list all said `notworklist`.\n *\n * Writing each key as its own value takes the choice away — either spelling produces the same\n * string. ActivityModelItemInoutType and ActivityModelItemType are written the same way.\n *\n * ── The set is closed, and widening it is the architect's call ────────────\n * Left open as a free string, a convention becomes suffix-appending: every lane invents its own\n * word for the same slot and the screen ends up switching on a dozen spellings, printing the\n * unmatched ones. Adding a role here is an architecture decision, not a lane's. (2026-09-09,\n * architect's ruling)\n */\nexport enum ActivityDecisionRole {\n /** One sentence built from the values: 「폐기 30 EA」, 「3에서 1로 올림」. */\n headline = 'headline',\n /** What the decision is about — one identifier. */\n subject = 'subject',\n /** What the person who raised it wrote. Absent, the screen says so rather than leaving a gap. */\n reason = 'reason',\n /**\n * What changes on approval: 「주문 넷이 뒤로 밀린다」. The only role that may appear more than once.\n *\n * Named consequence rather than effect because TwinCommand.effect already means the opposite in\n * time: { status, at, seen }, what the source reported back after the command was dispatched.\n * That one is an observation and past; this one is a prediction and future. Using a real term for\n * the wrong meaning is worse than coining one, and plant already writes .consequence for exactly\n * this sense in its stop-reason dialog. (2026-09-10, architect's ruling)\n */\n consequence = 'consequence',\n /**\n * What is measured to be true right now — about the world, not about the request.\n *\n * The other roles all describe what is being asked for. This one does not, and putting it under\n * consequence made the screen say the opposite of the truth: the twin's current readings would\n * have read as things the approval causes.\n *\n * Not named observed: ops-contract already has observedBy for which observation backs a declared\n * property, and TwinCommand.effect is an observation too, so observed would sit in the most\n * confusable spot between them. (2026-09-10, architect's ruling) plant never needed it because the subject's present state\n * went into the headline (「폐기 30 EA」); the twin's instruction and its current state are two\n * separate things, and holding them side by side is what this screen is for.\n */\n currentState = 'currentState',\n /**\n * Whether approving can be undone. Drawn in the frame rather than in the body.\n *\n * Not a separate role for want of a place — it fits consequence well enough — but for want of\n * weight. Listed among the consequences it reads with the same force as \"four orders get pushed\n * back\", and on\n * the twin actuation, where approving moves equipment, it is the heaviest line on the screen.\n *\n * ── Not the same as rejectionIsFinal ──────────────────────────────────\n * Two \"cannot be undone\" facts attach to opposite actions, and the twin actuation carries both,\n * which is what makes them look like one:\n *\n * reversibility whether **approving** can be undone (this role, read from the input)\n * rejectionIsFinal whether **rejecting** ends the case (a column on Activity)\n *\n * Merging them in a screen sentence tells the reader that rejection can be taken back.\n */\n reversibility = 'reversibility',\n /**\n * What the decision was made from — which inspection, against which spec, decided when.\n *\n * Neither consequence nor currentState: consequence is the opposite direction in time, and under\n * currentState a past finding reads as the present state of the subject. plant's disposition\n * approval kept its own screen for exactly these three values, and it survived the comparison not\n * because a slot could not hold them but because no slot existed — those are different reasons,\n * and only the second one means the set is short.\n *\n * plant's case for it: someone approving a concession in a regulated plant who cannot see which\n * inspection produced the finding is approving without grounds.\n *\n * Repeats, because grounds come in several — there were three.\n */\n evidence = 'evidence'\n}\n\nregisterEnumType(ActivityDecisionRole, {\n name: 'ActivityDecisionRole',\n description: 'the part an input value plays on the approval screen'\n})\n\n/**\n * One value the approver reads, and the part it plays.\n *\n * ── Why this points at input rather than at a model item ──────────────────\n * inputPath names a value inside the instance's input and does not go through the activity's model.\n * That is the whole reason it is a separate array: the values an approver most needs are computed by\n * the registering module and put on the input, not declared as model items — plant's\n * `shift.passes` / `shift.passedBy` are exactly that. A role hung on a model item could not\n * reach them.\n *\n * ── inputPath, not inputKey ───────────────────────────────────────────────\n * ActivitySearchKeyItem.inputKey names one top-level key, because its value goes into a searchable\n * column and a path into a list is not something that can be indexed. This field takes a path,\n * because it points at a value to draw. The two do different work, so they carry different names —\n * one word with two meanings would make the wrong one silent, and a name that does not exist is\n * read as a mistake instead. (2026-09-09, architect's ruling)\n *\n * 'reason' → input.reason\n * 'shift.passes' → input.shift.passes\n *\n * Dots only. No array index — drawing a list is the slot's job, not the path's — and no wildcard. A\n * path that leads nowhere resolves to undefined and is not folded into an empty value: a `reason`\n * that is missing and a `reason` someone left blank are different facts, and the screen draws them\n * differently.\n *\n * The two declarations also address different readers. model declares the boxes a performer fills;\n * this declares what an approver reads. Putting both on one item leaves \"is this an input or\n * something to judge by\" unanswerable.\n *\n * Order matters. plant wrote four of these screens by hand and all four laid the slots out in the\n * same order, which makes the order the screen's hierarchy rather than a preference — so this is an\n * ordered array and not an object keyed by role.\n */\n@ObjectType({ description: 'Entity for ActivityDecisionKeyItem' })\nexport class ActivityDecisionKeyItem {\n @Field(type => ActivityDecisionRole)\n role: ActivityDecisionRole\n\n @Field({ description: \"Dotted path to the value inside the instance's input, e.g. 'shift.passes'\" })\n inputPath: string\n\n @Field({ nullable: true, description: 'Developer-facing note. Never shown on a screen.' })\n name?: string\n\n @Field({ nullable: true, description: 'i18n key for the label. Without it the screen shows no label.' })\n tKey?: string\n\n /**\n * i18n key for the **value**, when the value is a sentence the module would otherwise freeze.\n *\n * ── tKey is the label; this is the sentence ───────────────────────────\n * Two different things were being asked of one field. The screen draws a slot as a label and a\n * value, and they come from different places:\n *\n * label declaredLabel(slot) = t(slot.tKey, { defaultValue: name }) 「설비」 「사유」\n * value fieldValue(slot.value) the frozen sentence\n *\n * Putting a sentence key in `tKey` turns the label into a developer's English name and leaves the\n * frozen Korean where it was — the thing this is meant to remove.\n *\n * ── Why the sentence must not freeze ──────────────────────────────────\n * Eighteen doors build a Korean sentence when the request is raised and `issue()` snapshots it\n * whole. The sentence then stands in the language of whoever raised it, not whoever reads it, and\n * an approver on another language never catches up.\n *\n * Values are right to freeze — an approval is a judgment about facts at a moment, so quantities,\n * dates and counts are the record. The prose describing them is not a fact, and freezing it also\n * loses what it described: maintenance deferral carries `impact.times` as a value but `dueAt`\n * only inside the sentence, so editing that wording would leave no way to say which due date the\n * approval was about. (ADR-0054 ④)\n *\n * ── Computed, never invented ──────────────────────────────────────────\n * `approval.<door>.<inputPath>` — `inputPath` is the one thing unique within a door, which `role`\n * is not (a door repeats `consequence`). Nobody writing a new door picks a key, so no table of\n * keys grows, and a test can count every one of them.\n *\n * Leaving it out is how a slot stays as it is. The frozen sentence remains in `value`, so a\n * consumer that knows nothing about this field — the plain card, the timeline, an export — draws\n * exactly what it drew before, and a missing translation never puts English into a Korean screen.\n */\n @Field({ nullable: true, description: \"i18n key for the value sentence: approval.<door>.<inputPath>\" })\n valueTKey?: string\n\n /**\n * What the sentence puts into its blanks: **name in the sentence → where the value lives.**\n *\n * { what: 'equipmentName', days: 'impact.days' } → t(valueTKey, { what: …, days: … })\n *\n * Every value here is an `inputPath`, and that is the point rather than a convention: a sentence\n * may only be built from values that were snapshotted. Wanting a value with no field to read it\n * from means the field is missing, not that params needs another source — so the rule is a shape\n * a declaration cannot write around, and a test counts it.\n *\n * The names on the left belong to the sentence and only have to match the locale files.\n */\n @Field(type => ScalarObject, { nullable: true, description: 'sentence placeholder → inputPath' })\n params?: { [name: string]: string }\n\n /**\n * Unit to print after the value, when the activity fixes the unit.\n *\n * Declared once, so it holds for every instance of the activity — 「30 건」 works, and a unit that\n * varies per record does not: plant's disposition carries the unit alongside the quantity, so the\n * same activity produces 「3 EA」 and 「12.5 KG」. Writing one of them here would attach the wrong\n * unit to the other records, with nothing to catch it.\n *\n * A unit that varies belongs in the headline sentence the module builds, which is what plant did:\n * 「LOT-A 3 EA 를 폐기합니다」. Leave this empty then.\n *\n * Delete this field if no activity ever turns out to fix a unit. A field nobody writes stays\n * forever and the next person reads a meaning into it. (2026-09-10, architect's ruling)\n */\n @Field({ nullable: true, description: 'Unit to print after the value, when the activity fixes the unit' })\n unit?: string\n}\n"]}
@@ -1,44 +0,0 @@
1
- import { HistoryActionType, HistoryEntityInterface } from '@operato/typeorm-history';
2
- import { Role, User } from '@things-factory/auth-base';
3
- import { Domain } from '@things-factory/shell';
4
- import { ApprovalLineItem } from '@things-factory/organization';
5
- import { Activity, ActivityStartingType, ActivityStatus, ActivityType, ActivityUIType, AssigneeItem } from './activity.js';
6
- import { ActivityModelItem } from './activity-model-type.js';
7
- export declare class ActivityHistory implements HistoryEntityInterface<Activity> {
8
- readonly id: string;
9
- version?: number;
10
- domain?: Domain;
11
- domainId?: string;
12
- name?: string;
13
- description?: string;
14
- activityType?: ActivityType;
15
- state?: ActivityStatus;
16
- model?: ActivityModelItem[];
17
- priority?: number;
18
- startingType?: ActivityStartingType;
19
- schedule?: string;
20
- timezone?: string;
21
- scheduleId?: string;
22
- standardTime?: number;
23
- issuerRole?: Role;
24
- issuerRoleId?: string;
25
- assigneeRoleIds?: string[];
26
- supervisoryRole?: Role;
27
- supervisoryRoleId?: string;
28
- assignees?: AssigneeItem[];
29
- approvalLine?: ApprovalLineItem[];
30
- uiType?: ActivityUIType;
31
- uiSource?: string;
32
- viewType?: ActivityUIType;
33
- viewSource?: string;
34
- reportType?: ActivityUIType;
35
- reportSource?: string;
36
- createdAt?: Date;
37
- updatedAt?: Date;
38
- creator?: User;
39
- creatorId?: string;
40
- updater?: User;
41
- updaterId?: string;
42
- originalId: string;
43
- action: HistoryActionType;
44
- }