@webiny/api-workflows 0.0.0-unstable.7c2def32a7 → 0.0.0-unstable.9609e4e0c9

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 (1695) hide show
  1. package/WorkflowsFeature.js +136 -51
  2. package/WorkflowsFeature.js.map +1 -1
  3. package/constants.d.ts +25 -1
  4. package/constants.js +15 -2
  5. package/constants.js.map +1 -1
  6. package/domain/PersistenceError.d.ts +21 -0
  7. package/domain/PersistenceError.js +22 -0
  8. package/domain/PersistenceError.js.map +1 -0
  9. package/domain/PersistenceErrorSource.d.ts +6 -0
  10. package/domain/ai/getAiActor.d.ts +7 -0
  11. package/domain/ai/getAiActor.js +8 -0
  12. package/domain/ai/getAiActor.js.map +1 -0
  13. package/domain/aiTools/isWorkflowAiToolName.d.ts +6 -0
  14. package/domain/aiTools/isWorkflowAiToolName.js +5 -0
  15. package/domain/aiTools/isWorkflowAiToolName.js.map +1 -0
  16. package/domain/assignment/abstractions/AssignmentModelProvider.d.ts +9 -0
  17. package/domain/assignment/abstractions/AssignmentModelProvider.js +5 -0
  18. package/domain/assignment/abstractions/AssignmentModelProvider.js.map +1 -0
  19. package/domain/assignment/abstractions/AssignmentRepository.d.ts +59 -0
  20. package/domain/assignment/abstractions/AssignmentRepository.js +5 -0
  21. package/domain/assignment/abstractions/AssignmentRepository.js.map +1 -0
  22. package/domain/assignment/assignment.model.d.ts +12 -0
  23. package/domain/assignment/assignment.model.js +36 -0
  24. package/domain/assignment/assignment.model.js.map +1 -0
  25. package/domain/assignment/attachAssignmentRecords.d.ts +8 -0
  26. package/domain/assignment/attachAssignmentRecords.js +13 -0
  27. package/domain/assignment/attachAssignmentRecords.js.map +1 -0
  28. package/domain/assignment/errors.d.ts +6 -0
  29. package/domain/assignment/errors.js +9 -0
  30. package/domain/assignment/errors.js.map +1 -0
  31. package/domain/assignment/redactAssignmentRecords.d.ts +8 -0
  32. package/domain/assignment/redactAssignmentRecords.js +9 -0
  33. package/domain/assignment/redactAssignmentRecords.js.map +1 -0
  34. package/domain/assignment/toAssignmentRecordValues.d.ts +10 -0
  35. package/domain/assignment/toAssignmentRecordValues.js +29 -0
  36. package/domain/assignment/toAssignmentRecordValues.js.map +1 -0
  37. package/domain/assignment/types.d.ts +63 -0
  38. package/domain/assignment/types.js +0 -0
  39. package/domain/automation/automationStepConfigSchema.d.ts +17 -0
  40. package/domain/automation/automationStepConfigSchema.js +8 -0
  41. package/domain/automation/automationStepConfigSchema.js.map +1 -0
  42. package/domain/automation/getAutomationActor.d.ts +8 -0
  43. package/domain/automation/getAutomationActor.js +8 -0
  44. package/domain/automation/getAutomationActor.js.map +1 -0
  45. package/domain/automation/getRequesterIdentity.d.ts +9 -0
  46. package/domain/automation/getRequesterIdentity.js +12 -0
  47. package/domain/automation/getRequesterIdentity.js.map +1 -0
  48. package/domain/automation/matchesAutomationScope.d.ts +6 -0
  49. package/domain/automation/matchesAutomationScope.js +16 -0
  50. package/domain/automation/matchesAutomationScope.js.map +1 -0
  51. package/domain/automation/parseAutomationSettings.d.ts +8 -0
  52. package/domain/automation/parseAutomationSettings.js +11 -0
  53. package/domain/automation/parseAutomationSettings.js.map +1 -0
  54. package/domain/automation/parseAutomationSettingsIssue.d.ts +14 -0
  55. package/domain/automation/parseAutomationSettingsIssue.js +15 -0
  56. package/domain/automation/parseAutomationSettingsIssue.js.map +1 -0
  57. package/domain/config/types.d.ts +69 -0
  58. package/domain/config/types.js +0 -0
  59. package/domain/forEachWithConcurrency.d.ts +15 -0
  60. package/domain/forEachWithConcurrency.js +17 -0
  61. package/domain/forEachWithConcurrency.js.map +1 -0
  62. package/domain/hasErrorSource.d.ts +10 -0
  63. package/domain/hasErrorSource.js +4 -0
  64. package/domain/hasErrorSource.js.map +1 -0
  65. package/domain/notifications/clampComment.d.ts +6 -0
  66. package/domain/notifications/clampComment.js +11 -0
  67. package/domain/notifications/clampComment.js.map +1 -0
  68. package/domain/notifications/constants.d.ts +2 -0
  69. package/domain/notifications/constants.js +4 -0
  70. package/domain/notifications/constants.js.map +1 -0
  71. package/domain/notifications/dropActor.d.ts +11 -0
  72. package/domain/notifications/dropActor.js +9 -0
  73. package/domain/notifications/dropActor.js.map +1 -0
  74. package/domain/notifications/getActorName.d.ts +7 -0
  75. package/domain/notifications/getActorName.js +8 -0
  76. package/domain/notifications/getActorName.js.map +1 -0
  77. package/domain/notifications/getReviewChangeRecipients.d.ts +8 -0
  78. package/domain/notifications/getReviewChangeRecipients.js +16 -0
  79. package/domain/notifications/getReviewChangeRecipients.js.map +1 -0
  80. package/domain/notifications/messages/buildApprovedMessage.d.ts +7 -0
  81. package/domain/notifications/messages/buildApprovedMessage.js +13 -0
  82. package/domain/notifications/messages/buildApprovedMessage.js.map +1 -0
  83. package/domain/notifications/messages/buildAssignedMessage.d.ts +18 -0
  84. package/domain/notifications/messages/buildAssignedMessage.js +14 -0
  85. package/domain/notifications/messages/buildAssignedMessage.js.map +1 -0
  86. package/domain/notifications/messages/buildCancelledMessage.d.ts +15 -0
  87. package/domain/notifications/messages/buildCancelledMessage.js +30 -0
  88. package/domain/notifications/messages/buildCancelledMessage.js.map +1 -0
  89. package/domain/notifications/messages/buildFailedMessage.d.ts +13 -0
  90. package/domain/notifications/messages/buildFailedMessage.js +13 -0
  91. package/domain/notifications/messages/buildFailedMessage.js.map +1 -0
  92. package/domain/notifications/messages/buildPoolReachedMessage.d.ts +10 -0
  93. package/domain/notifications/messages/buildPoolReachedMessage.js +13 -0
  94. package/domain/notifications/messages/buildPoolReachedMessage.js.map +1 -0
  95. package/domain/notifications/messages/buildReassignedMessage.d.ts +12 -0
  96. package/domain/notifications/messages/buildReassignedMessage.js +13 -0
  97. package/domain/notifications/messages/buildReassignedMessage.js.map +1 -0
  98. package/domain/notifications/messages/buildRejectedMessage.d.ts +12 -0
  99. package/domain/notifications/messages/buildRejectedMessage.js +25 -0
  100. package/domain/notifications/messages/buildRejectedMessage.js.map +1 -0
  101. package/domain/notifications/messages/buildTakenOverMessage.d.ts +10 -0
  102. package/domain/notifications/messages/buildTakenOverMessage.js +13 -0
  103. package/domain/notifications/messages/buildTakenOverMessage.js.map +1 -0
  104. package/domain/notifications/messages/getAssignmentReason.d.ts +7 -0
  105. package/domain/notifications/messages/getAssignmentReason.js +17 -0
  106. package/domain/notifications/messages/getAssignmentReason.js.map +1 -0
  107. package/domain/notifications/toSingleLine.d.ts +6 -0
  108. package/domain/notifications/toSingleLine.js +4 -0
  109. package/domain/notifications/toSingleLine.js.map +1 -0
  110. package/domain/notifications/types.d.ts +58 -0
  111. package/domain/notifications/types.js +0 -0
  112. package/domain/permissions/errors.d.ts +15 -0
  113. package/domain/permissions/errors.js +19 -0
  114. package/domain/permissions/errors.js.map +1 -0
  115. package/domain/permissions/types.d.ts +11 -0
  116. package/domain/permissions/types.js +0 -0
  117. package/domain/review/Review.d.ts +258 -0
  118. package/domain/review/Review.js +702 -0
  119. package/domain/review/Review.js.map +1 -0
  120. package/domain/review/ReviewStepRunInfo.d.ts +18 -0
  121. package/domain/review/ReviewStepRunInfo.js +0 -0
  122. package/domain/review/abstractions/ReviewModelProvider.d.ts +9 -0
  123. package/domain/review/abstractions/ReviewModelProvider.js +5 -0
  124. package/domain/review/abstractions/ReviewModelProvider.js.map +1 -0
  125. package/domain/review/abstractions/ReviewRepository.d.ts +122 -0
  126. package/domain/review/abstractions/ReviewRepository.js +5 -0
  127. package/domain/review/abstractions/ReviewRepository.js.map +1 -0
  128. package/domain/review/applyTargetAccess.d.ts +6 -0
  129. package/domain/review/applyTargetAccess.js +17 -0
  130. package/domain/review/applyTargetAccess.js.map +1 -0
  131. package/domain/review/canCancelByPermission.d.ts +9 -0
  132. package/domain/review/canCancelByPermission.js +8 -0
  133. package/domain/review/canCancelByPermission.js.map +1 -0
  134. package/domain/review/canReassignByPermission.d.ts +7 -0
  135. package/domain/review/canReassignByPermission.js +4 -0
  136. package/domain/review/canReassignByPermission.js.map +1 -0
  137. package/domain/review/canRestartByPermission.d.ts +9 -0
  138. package/domain/review/canRestartByPermission.js +8 -0
  139. package/domain/review/canRestartByPermission.js.map +1 -0
  140. package/domain/review/canViewStepRunByPermission.d.ts +7 -0
  141. package/domain/review/canViewStepRunByPermission.js +4 -0
  142. package/domain/review/canViewStepRunByPermission.js.map +1 -0
  143. package/domain/review/errors.d.ts +234 -0
  144. package/domain/review/errors.js +190 -0
  145. package/domain/review/errors.js.map +1 -0
  146. package/domain/review/facts.d.ts +111 -0
  147. package/domain/review/facts.js +0 -0
  148. package/domain/review/getDeleteCancelReason.d.ts +5 -0
  149. package/domain/review/getDeleteCancelReason.js +6 -0
  150. package/domain/review/getDeleteCancelReason.js.map +1 -0
  151. package/domain/review/getReviewViewerFlags.d.ts +14 -0
  152. package/domain/review/getReviewViewerFlags.js +39 -0
  153. package/domain/review/getReviewViewerFlags.js.map +1 -0
  154. package/domain/review/getStaleStepRunReason.d.ts +17 -0
  155. package/domain/review/getStaleStepRunReason.js +13 -0
  156. package/domain/review/getStaleStepRunReason.js.map +1 -0
  157. package/domain/review/matchesReviewList.d.ts +17 -0
  158. package/domain/review/matchesReviewList.js +27 -0
  159. package/domain/review/matchesReviewList.js.map +1 -0
  160. package/domain/review/matchesReviewReadFilter.d.ts +6 -0
  161. package/domain/review/matchesReviewReadFilter.js +9 -0
  162. package/domain/review/matchesReviewReadFilter.js.map +1 -0
  163. package/domain/review/review.model.d.ts +14 -0
  164. package/domain/review/review.model.js +112 -0
  165. package/domain/review/review.model.js.map +1 -0
  166. package/domain/review/toBlockingReview.d.ts +7 -0
  167. package/domain/review/toBlockingReview.js +18 -0
  168. package/domain/review/toBlockingReview.js.map +1 -0
  169. package/domain/review/types.d.ts +211 -0
  170. package/domain/review/types.js +0 -0
  171. package/domain/routing/createRoutingFailedResolution.d.ts +8 -0
  172. package/domain/routing/createRoutingFailedResolution.js +30 -0
  173. package/domain/routing/createRoutingFailedResolution.js.map +1 -0
  174. package/domain/routing/errors.d.ts +25 -0
  175. package/domain/routing/errors.js +18 -0
  176. package/domain/routing/errors.js.map +1 -0
  177. package/domain/routing/findNarrowedTeamId.d.ts +5 -0
  178. package/domain/routing/findNarrowedTeamId.js +8 -0
  179. package/domain/routing/findNarrowedTeamId.js.map +1 -0
  180. package/domain/routing/getFailedRoutingConditions.d.ts +10 -0
  181. package/domain/routing/getFailedRoutingConditions.js +13 -0
  182. package/domain/routing/getFailedRoutingConditions.js.map +1 -0
  183. package/domain/routing/getRoutingUserSkipReason.d.ts +16 -0
  184. package/domain/routing/getRoutingUserSkipReason.js +10 -0
  185. package/domain/routing/getRoutingUserSkipReason.js.map +1 -0
  186. package/domain/routing/listNotEvaluatedTrace.d.ts +7 -0
  187. package/domain/routing/listNotEvaluatedTrace.js +9 -0
  188. package/domain/routing/listNotEvaluatedTrace.js.map +1 -0
  189. package/domain/routing/listRoutingCandidates.d.ts +15 -0
  190. package/domain/routing/listRoutingCandidates.js +7 -0
  191. package/domain/routing/listRoutingCandidates.js.map +1 -0
  192. package/domain/routing/listStrategySkips.d.ts +22 -0
  193. package/domain/routing/listStrategySkips.js +28 -0
  194. package/domain/routing/listStrategySkips.js.map +1 -0
  195. package/domain/routing/matchRoutingRuleConditions.d.ts +9 -0
  196. package/domain/routing/matchRoutingRuleConditions.js +7 -0
  197. package/domain/routing/matchRoutingRuleConditions.js.map +1 -0
  198. package/domain/routing/matchRoutingRuleLocalConditions.d.ts +8 -0
  199. package/domain/routing/matchRoutingRuleLocalConditions.js +10 -0
  200. package/domain/routing/matchRoutingRuleLocalConditions.js.map +1 -0
  201. package/domain/routing/matchesFolderCondition.d.ts +8 -0
  202. package/domain/routing/matchesFolderCondition.js +11 -0
  203. package/domain/routing/matchesFolderCondition.js.map +1 -0
  204. package/domain/routing/matchesFolderTypeCondition.d.ts +8 -0
  205. package/domain/routing/matchesFolderTypeCondition.js +7 -0
  206. package/domain/routing/matchesFolderTypeCondition.js.map +1 -0
  207. package/domain/routing/matchesRequesterTeamCondition.d.ts +4 -0
  208. package/domain/routing/matchesRequesterTeamCondition.js +4 -0
  209. package/domain/routing/matchesRequesterTeamCondition.js.map +1 -0
  210. package/domain/routing/matchesRequesterUserCondition.d.ts +4 -0
  211. package/domain/routing/matchesRequesterUserCondition.js +4 -0
  212. package/domain/routing/matchesRequesterUserCondition.js.map +1 -0
  213. package/domain/routing/orderLeastLoaded.d.ts +7 -0
  214. package/domain/routing/orderLeastLoaded.js +18 -0
  215. package/domain/routing/orderLeastLoaded.js.map +1 -0
  216. package/domain/routing/orderRoundRobin.d.ts +7 -0
  217. package/domain/routing/orderRoundRobin.js +16 -0
  218. package/domain/routing/orderRoundRobin.js.map +1 -0
  219. package/domain/routing/reasons.d.ts +22 -0
  220. package/domain/routing/reasons.js +12 -0
  221. package/domain/routing/reasons.js.map +1 -0
  222. package/domain/routing/redactStepCandidates.d.ts +8 -0
  223. package/domain/routing/redactStepCandidates.js +12 -0
  224. package/domain/routing/redactStepCandidates.js.map +1 -0
  225. package/domain/routing/toInspectionTrace.d.ts +6 -0
  226. package/domain/routing/toInspectionTrace.js +11 -0
  227. package/domain/routing/toInspectionTrace.js.map +1 -0
  228. package/domain/routing/toRoutingEvaluation.d.ts +20 -0
  229. package/domain/routing/toRoutingEvaluation.js +40 -0
  230. package/domain/routing/toRoutingEvaluation.js.map +1 -0
  231. package/domain/routing/toStepAssignmentResolution.d.ts +7 -0
  232. package/domain/routing/toStepAssignmentResolution.js +24 -0
  233. package/domain/routing/toStepAssignmentResolution.js.map +1 -0
  234. package/domain/routing/toStepMembersParams.d.ts +15 -0
  235. package/domain/routing/toStepMembersParams.js +19 -0
  236. package/domain/routing/toStepMembersParams.js.map +1 -0
  237. package/domain/routing/types.d.ts +198 -0
  238. package/domain/routing/types.js +0 -0
  239. package/domain/settings/WorkflowSettingsValidator.d.ts +7 -0
  240. package/domain/settings/WorkflowSettingsValidator.js +39 -0
  241. package/domain/settings/WorkflowSettingsValidator.js.map +1 -0
  242. package/domain/settings/abstractions/WorkflowSettingsModelProvider.d.ts +9 -0
  243. package/domain/settings/abstractions/WorkflowSettingsModelProvider.js +5 -0
  244. package/domain/settings/abstractions/WorkflowSettingsModelProvider.js.map +1 -0
  245. package/domain/settings/abstractions/WorkflowSettingsRepository.d.ts +13 -0
  246. package/domain/settings/abstractions/WorkflowSettingsRepository.js +5 -0
  247. package/domain/settings/abstractions/WorkflowSettingsRepository.js.map +1 -0
  248. package/domain/settings/errors.d.ts +14 -0
  249. package/domain/settings/errors.js +18 -0
  250. package/domain/settings/errors.js.map +1 -0
  251. package/domain/settings/filterActiveExclusions.d.ts +3 -0
  252. package/domain/settings/filterActiveExclusions.js +4 -0
  253. package/domain/settings/filterActiveExclusions.js.map +1 -0
  254. package/domain/settings/settings.model.d.ts +9 -0
  255. package/domain/settings/settings.model.js +26 -0
  256. package/domain/settings/settings.model.js.map +1 -0
  257. package/domain/settings/types.d.ts +10 -0
  258. package/domain/settings/types.js +0 -0
  259. package/domain/toChunks.d.ts +2 -0
  260. package/domain/toChunks.js +8 -0
  261. package/domain/toChunks.js.map +1 -0
  262. package/domain/workflow/WorkflowValidator.d.ts +26 -0
  263. package/domain/workflow/WorkflowValidator.js +65 -0
  264. package/domain/workflow/WorkflowValidator.js.map +1 -0
  265. package/domain/workflow/abstractions/WorkflowModelProvider.d.ts +12 -0
  266. package/domain/workflow/abstractions/WorkflowModelProvider.js +5 -0
  267. package/domain/workflow/abstractions/WorkflowModelProvider.js.map +1 -0
  268. package/domain/workflow/abstractions/WorkflowRepository.d.ts +32 -0
  269. package/domain/workflow/abstractions/WorkflowRepository.js +5 -0
  270. package/domain/workflow/abstractions/WorkflowRepository.js.map +1 -0
  271. package/domain/workflow/canPickReviewer.d.ts +8 -0
  272. package/domain/workflow/canPickReviewer.js +10 -0
  273. package/domain/workflow/canPickReviewer.js.map +1 -0
  274. package/domain/workflow/errors.d.ts +53 -15
  275. package/domain/workflow/errors.js +34 -14
  276. package/domain/workflow/errors.js.map +1 -1
  277. package/domain/workflow/findReviewStepConfigProblem.d.ts +8 -0
  278. package/domain/workflow/findReviewStepConfigProblem.js +21 -0
  279. package/domain/workflow/findReviewStepConfigProblem.js.map +1 -0
  280. package/domain/workflow/findRuleWithoutTarget.d.ts +10 -0
  281. package/domain/workflow/findRuleWithoutTarget.js +15 -0
  282. package/domain/workflow/findRuleWithoutTarget.js.map +1 -0
  283. package/domain/workflow/getConfigIssueField.d.ts +6 -0
  284. package/domain/workflow/getConfigIssueField.js +7 -0
  285. package/domain/workflow/getConfigIssueField.js.map +1 -0
  286. package/domain/workflow/isAppWorkflow.d.ts +7 -0
  287. package/domain/workflow/isAppWorkflow.js +5 -0
  288. package/domain/workflow/isAppWorkflow.js.map +1 -0
  289. package/domain/workflow/reviewStepConfigSchema.d.ts +39 -0
  290. package/domain/workflow/reviewStepConfigSchema.js +41 -0
  291. package/domain/workflow/reviewStepConfigSchema.js.map +1 -0
  292. package/domain/workflow/ruleErrorMessages.d.ts +26 -0
  293. package/domain/workflow/ruleErrorMessages.js +16 -0
  294. package/domain/workflow/ruleErrorMessages.js.map +1 -0
  295. package/domain/workflow/stepTypes.d.ts +7 -0
  296. package/domain/workflow/stepTypes.js +6 -0
  297. package/domain/workflow/stepTypes.js.map +1 -0
  298. package/domain/workflow/types.d.ts +102 -0
  299. package/domain/workflow/types.js +0 -0
  300. package/domain/workflow/workflow.model.d.ts +12 -0
  301. package/domain/workflow/workflow.model.js +34 -0
  302. package/domain/workflow/workflow.model.js.map +1 -0
  303. package/features/aiTools/BuiltInAiToolsFeature.d.ts +5 -0
  304. package/features/aiTools/BuiltInAiToolsFeature.js +13 -0
  305. package/features/aiTools/BuiltInAiToolsFeature.js.map +1 -0
  306. package/features/aiTools/ReadTargetTool/ReadTargetTool.d.ts +29 -0
  307. package/features/aiTools/ReadTargetTool/ReadTargetTool.js +61 -0
  308. package/features/aiTools/ReadTargetTool/ReadTargetTool.js.map +1 -0
  309. package/features/aiTools/UpdateTargetFieldsTool/UpdateTargetFieldsTool.d.ts +43 -0
  310. package/features/aiTools/UpdateTargetFieldsTool/UpdateTargetFieldsTool.js +85 -0
  311. package/features/aiTools/UpdateTargetFieldsTool/UpdateTargetFieldsTool.js.map +1 -0
  312. package/features/aiTools/WorkflowAiTool/abstractions.d.ts +60 -0
  313. package/features/aiTools/WorkflowAiTool/abstractions.js +5 -0
  314. package/features/aiTools/WorkflowAiTool/abstractions.js.map +1 -0
  315. package/features/aiTools/WorkflowAiTool/index.d.ts +1 -0
  316. package/features/aiTools/WorkflowAiTool/index.js +1 -0
  317. package/features/aiTools/WorkflowAiToolRegistryService/WorkflowAiToolRegistryService.d.ts +13 -0
  318. package/features/aiTools/WorkflowAiToolRegistryService/WorkflowAiToolRegistryService.js +42 -0
  319. package/features/aiTools/WorkflowAiToolRegistryService/WorkflowAiToolRegistryService.js.map +1 -0
  320. package/features/aiTools/WorkflowAiToolRegistryService/abstractions.d.ts +12 -0
  321. package/features/aiTools/WorkflowAiToolRegistryService/abstractions.js +5 -0
  322. package/features/aiTools/WorkflowAiToolRegistryService/abstractions.js.map +1 -0
  323. package/features/aiTools/WorkflowAiToolRegistryService/feature.d.ts +4 -0
  324. package/features/aiTools/WorkflowAiToolRegistryService/feature.js +11 -0
  325. package/features/aiTools/WorkflowAiToolRegistryService/feature.js.map +1 -0
  326. package/features/aiTools/WorkflowAiToolRegistryService/index.d.ts +1 -0
  327. package/features/aiTools/WorkflowAiToolRegistryService/index.js +1 -0
  328. package/features/aiTools/constants.d.ts +18 -0
  329. package/features/aiTools/constants.js +10 -0
  330. package/features/aiTools/constants.js.map +1 -0
  331. package/features/assignment/ListReviewAssignments/ListReviewAssignmentsUseCase.d.ts +17 -0
  332. package/features/assignment/ListReviewAssignments/ListReviewAssignmentsUseCase.js +69 -0
  333. package/features/assignment/ListReviewAssignments/ListReviewAssignmentsUseCase.js.map +1 -0
  334. package/features/assignment/ListReviewAssignments/abstractions.d.ts +28 -0
  335. package/features/assignment/ListReviewAssignments/abstractions.js +5 -0
  336. package/features/assignment/ListReviewAssignments/abstractions.js.map +1 -0
  337. package/features/assignment/ListReviewAssignments/feature.d.ts +4 -0
  338. package/features/assignment/ListReviewAssignments/feature.js +11 -0
  339. package/features/assignment/ListReviewAssignments/feature.js.map +1 -0
  340. package/features/assignment/ListReviewAssignments/index.d.ts +2 -0
  341. package/features/assignment/ListReviewAssignments/index.js +1 -0
  342. package/features/assignment/shared/AssignmentEntryMapper.d.ts +19 -0
  343. package/features/assignment/shared/AssignmentEntryMapper.js +38 -0
  344. package/features/assignment/shared/AssignmentEntryMapper.js.map +1 -0
  345. package/features/assignment/shared/AssignmentModelProvider.d.ts +13 -0
  346. package/features/assignment/shared/AssignmentModelProvider.js +22 -0
  347. package/features/assignment/shared/AssignmentModelProvider.js.map +1 -0
  348. package/features/assignment/shared/AssignmentRepository.d.ts +22 -0
  349. package/features/assignment/shared/AssignmentRepository.js +97 -0
  350. package/features/assignment/shared/AssignmentRepository.js.map +1 -0
  351. package/features/assignment/shared/feature.d.ts +4 -0
  352. package/features/assignment/shared/feature.js +13 -0
  353. package/features/assignment/shared/feature.js.map +1 -0
  354. package/features/automation/AutomationDefinition/abstractions.d.ts +66 -0
  355. package/features/automation/AutomationDefinition/abstractions.js +5 -0
  356. package/features/automation/AutomationDefinition/abstractions.js.map +1 -0
  357. package/features/automation/AutomationDefinition/index.d.ts +2 -0
  358. package/features/automation/AutomationDefinition/index.js +1 -0
  359. package/features/automation/AutomationDefinitionRegistryService/AutomationDefinitionRegistryService.d.ts +12 -0
  360. package/features/automation/AutomationDefinitionRegistryService/AutomationDefinitionRegistryService.js +30 -0
  361. package/features/automation/AutomationDefinitionRegistryService/AutomationDefinitionRegistryService.js.map +1 -0
  362. package/features/automation/AutomationDefinitionRegistryService/abstractions.d.ts +12 -0
  363. package/features/automation/AutomationDefinitionRegistryService/abstractions.js +5 -0
  364. package/features/automation/AutomationDefinitionRegistryService/abstractions.js.map +1 -0
  365. package/features/automation/AutomationDefinitionRegistryService/feature.d.ts +4 -0
  366. package/features/automation/AutomationDefinitionRegistryService/feature.js +11 -0
  367. package/features/automation/AutomationDefinitionRegistryService/feature.js.map +1 -0
  368. package/features/automation/AutomationDefinitionRegistryService/index.d.ts +1 -0
  369. package/features/automation/AutomationDefinitionRegistryService/index.js +1 -0
  370. package/features/bypass/WorkflowBypassService/WorkflowBypassService.d.ts +11 -0
  371. package/features/bypass/WorkflowBypassService/WorkflowBypassService.js +20 -0
  372. package/features/bypass/WorkflowBypassService/WorkflowBypassService.js.map +1 -0
  373. package/features/bypass/WorkflowBypassService/abstractions.d.ts +19 -0
  374. package/features/bypass/WorkflowBypassService/abstractions.js +5 -0
  375. package/features/bypass/WorkflowBypassService/abstractions.js.map +1 -0
  376. package/features/bypass/WorkflowBypassService/feature.d.ts +4 -0
  377. package/features/bypass/WorkflowBypassService/feature.js +11 -0
  378. package/features/bypass/WorkflowBypassService/feature.js.map +1 -0
  379. package/features/bypass/WorkflowBypassService/index.d.ts +1 -0
  380. package/features/bypass/WorkflowBypassService/index.js +1 -0
  381. package/features/config/GetWorkflowSettingsForEditor/GetWorkflowSettingsForEditorUseCase.d.ts +13 -0
  382. package/features/config/GetWorkflowSettingsForEditor/GetWorkflowSettingsForEditorUseCase.js +27 -0
  383. package/features/config/GetWorkflowSettingsForEditor/GetWorkflowSettingsForEditorUseCase.js.map +1 -0
  384. package/features/config/GetWorkflowSettingsForEditor/abstractions.d.ts +31 -0
  385. package/features/config/GetWorkflowSettingsForEditor/abstractions.js +5 -0
  386. package/features/config/GetWorkflowSettingsForEditor/abstractions.js.map +1 -0
  387. package/features/config/GetWorkflowSettingsForEditor/feature.d.ts +4 -0
  388. package/features/config/GetWorkflowSettingsForEditor/feature.js +11 -0
  389. package/features/config/GetWorkflowSettingsForEditor/feature.js.map +1 -0
  390. package/features/config/GetWorkflowSettingsForEditor/index.d.ts +2 -0
  391. package/features/config/GetWorkflowSettingsForEditor/index.js +1 -0
  392. package/features/config/ListAutomationDefinitions/ListAutomationDefinitionsUseCase.d.ts +13 -0
  393. package/features/config/ListAutomationDefinitions/ListAutomationDefinitionsUseCase.js +45 -0
  394. package/features/config/ListAutomationDefinitions/ListAutomationDefinitionsUseCase.js.map +1 -0
  395. package/features/config/ListAutomationDefinitions/abstractions.d.ts +27 -0
  396. package/features/config/ListAutomationDefinitions/abstractions.js +5 -0
  397. package/features/config/ListAutomationDefinitions/abstractions.js.map +1 -0
  398. package/features/config/ListAutomationDefinitions/feature.d.ts +4 -0
  399. package/features/config/ListAutomationDefinitions/feature.js +11 -0
  400. package/features/config/ListAutomationDefinitions/feature.js.map +1 -0
  401. package/features/config/ListAutomationDefinitions/index.d.ts +2 -0
  402. package/features/config/ListAutomationDefinitions/index.js +1 -0
  403. package/features/config/ListWorkflowAiTools/ListWorkflowAiToolsUseCase.d.ts +13 -0
  404. package/features/config/ListWorkflowAiTools/ListWorkflowAiToolsUseCase.js +41 -0
  405. package/features/config/ListWorkflowAiTools/ListWorkflowAiToolsUseCase.js.map +1 -0
  406. package/features/config/ListWorkflowAiTools/abstractions.d.ts +26 -0
  407. package/features/config/ListWorkflowAiTools/abstractions.js +5 -0
  408. package/features/config/ListWorkflowAiTools/abstractions.js.map +1 -0
  409. package/features/config/ListWorkflowAiTools/feature.d.ts +4 -0
  410. package/features/config/ListWorkflowAiTools/feature.js +11 -0
  411. package/features/config/ListWorkflowAiTools/feature.js.map +1 -0
  412. package/features/config/ListWorkflowAiTools/index.d.ts +2 -0
  413. package/features/config/ListWorkflowAiTools/index.js +1 -0
  414. package/features/config/ListWorkflowNotificationTransports/ListWorkflowNotificationTransportsUseCase.d.ts +13 -0
  415. package/features/config/ListWorkflowNotificationTransports/ListWorkflowNotificationTransportsUseCase.js +38 -0
  416. package/features/config/ListWorkflowNotificationTransports/ListWorkflowNotificationTransportsUseCase.js.map +1 -0
  417. package/features/config/ListWorkflowNotificationTransports/abstractions.d.ts +25 -0
  418. package/features/config/ListWorkflowNotificationTransports/abstractions.js +5 -0
  419. package/features/config/ListWorkflowNotificationTransports/abstractions.js.map +1 -0
  420. package/features/config/ListWorkflowNotificationTransports/feature.d.ts +4 -0
  421. package/features/config/ListWorkflowNotificationTransports/feature.js +11 -0
  422. package/features/config/ListWorkflowNotificationTransports/feature.js.map +1 -0
  423. package/features/config/ListWorkflowNotificationTransports/index.d.ts +2 -0
  424. package/features/config/ListWorkflowNotificationTransports/index.js +1 -0
  425. package/features/config/ListWorkflowStepTypes/ListWorkflowStepTypesUseCase.d.ts +15 -0
  426. package/features/config/ListWorkflowStepTypes/ListWorkflowStepTypesUseCase.js +77 -0
  427. package/features/config/ListWorkflowStepTypes/ListWorkflowStepTypesUseCase.js.map +1 -0
  428. package/features/config/ListWorkflowStepTypes/abstractions.d.ts +27 -0
  429. package/features/config/ListWorkflowStepTypes/abstractions.js +5 -0
  430. package/features/config/ListWorkflowStepTypes/abstractions.js.map +1 -0
  431. package/features/config/ListWorkflowStepTypes/feature.d.ts +4 -0
  432. package/features/config/ListWorkflowStepTypes/feature.js +11 -0
  433. package/features/config/ListWorkflowStepTypes/feature.js.map +1 -0
  434. package/features/config/ListWorkflowStepTypes/index.d.ts +2 -0
  435. package/features/config/ListWorkflowStepTypes/index.js +1 -0
  436. package/features/config/ListWorkflowTeams/ListWorkflowTeamsUseCase.d.ts +19 -0
  437. package/features/config/ListWorkflowTeams/ListWorkflowTeamsUseCase.js +120 -0
  438. package/features/config/ListWorkflowTeams/ListWorkflowTeamsUseCase.js.map +1 -0
  439. package/features/config/ListWorkflowTeams/abstractions.d.ts +36 -0
  440. package/features/config/ListWorkflowTeams/abstractions.js +5 -0
  441. package/features/config/ListWorkflowTeams/abstractions.js.map +1 -0
  442. package/features/config/ListWorkflowTeams/feature.d.ts +4 -0
  443. package/features/config/ListWorkflowTeams/feature.js +11 -0
  444. package/features/config/ListWorkflowTeams/feature.js.map +1 -0
  445. package/features/config/ListWorkflowTeams/index.d.ts +3 -0
  446. package/features/config/ListWorkflowTeams/index.js +1 -0
  447. package/features/config/ListWorkflowUsers/ListWorkflowUsersUseCase.d.ts +17 -0
  448. package/features/config/ListWorkflowUsers/ListWorkflowUsersUseCase.js +105 -0
  449. package/features/config/ListWorkflowUsers/ListWorkflowUsersUseCase.js.map +1 -0
  450. package/features/config/ListWorkflowUsers/abstractions.d.ts +44 -0
  451. package/features/config/ListWorkflowUsers/abstractions.js +5 -0
  452. package/features/config/ListWorkflowUsers/abstractions.js.map +1 -0
  453. package/features/config/ListWorkflowUsers/feature.d.ts +4 -0
  454. package/features/config/ListWorkflowUsers/feature.js +11 -0
  455. package/features/config/ListWorkflowUsers/feature.js.map +1 -0
  456. package/features/config/ListWorkflowUsers/index.d.ts +3 -0
  457. package/features/config/ListWorkflowUsers/index.js +1 -0
  458. package/features/config/SaveWorkflowSettingsForEditor/SaveWorkflowSettingsForEditorUseCase.d.ts +13 -0
  459. package/features/config/SaveWorkflowSettingsForEditor/SaveWorkflowSettingsForEditorUseCase.js +25 -0
  460. package/features/config/SaveWorkflowSettingsForEditor/SaveWorkflowSettingsForEditorUseCase.js.map +1 -0
  461. package/features/config/SaveWorkflowSettingsForEditor/abstractions.d.ts +27 -0
  462. package/features/config/SaveWorkflowSettingsForEditor/abstractions.js +5 -0
  463. package/features/config/SaveWorkflowSettingsForEditor/abstractions.js.map +1 -0
  464. package/features/config/SaveWorkflowSettingsForEditor/feature.d.ts +4 -0
  465. package/features/config/SaveWorkflowSettingsForEditor/feature.js +11 -0
  466. package/features/config/SaveWorkflowSettingsForEditor/feature.js.map +1 -0
  467. package/features/config/SaveWorkflowSettingsForEditor/index.d.ts +1 -0
  468. package/features/config/SaveWorkflowSettingsForEditor/index.js +1 -0
  469. package/features/identity/CandidateReadAccess/CandidateReadAccess.d.ts +28 -0
  470. package/features/identity/CandidateReadAccess/CandidateReadAccess.js +40 -0
  471. package/features/identity/CandidateReadAccess/CandidateReadAccess.js.map +1 -0
  472. package/features/identity/CandidateReadAccess/abstractions.d.ts +25 -0
  473. package/features/identity/CandidateReadAccess/abstractions.js +5 -0
  474. package/features/identity/CandidateReadAccess/abstractions.js.map +1 -0
  475. package/features/identity/CandidateReadAccess/feature.d.ts +4 -0
  476. package/features/identity/CandidateReadAccess/feature.js +11 -0
  477. package/features/identity/CandidateReadAccess/feature.js.map +1 -0
  478. package/features/identity/CandidateReadAccess/index.d.ts +1 -0
  479. package/features/identity/CandidateReadAccess/index.js +1 -0
  480. package/features/identity/CurrentReviewViewer/CurrentReviewViewer.d.ts +21 -0
  481. package/features/identity/CurrentReviewViewer/CurrentReviewViewer.js +48 -0
  482. package/features/identity/CurrentReviewViewer/CurrentReviewViewer.js.map +1 -0
  483. package/features/identity/CurrentReviewViewer/abstractions.d.ts +23 -0
  484. package/features/identity/CurrentReviewViewer/abstractions.js +5 -0
  485. package/features/identity/CurrentReviewViewer/abstractions.js.map +1 -0
  486. package/features/identity/CurrentReviewViewer/feature.d.ts +4 -0
  487. package/features/identity/CurrentReviewViewer/feature.js +11 -0
  488. package/features/identity/CurrentReviewViewer/feature.js.map +1 -0
  489. package/features/identity/CurrentReviewViewer/index.d.ts +1 -0
  490. package/features/identity/CurrentReviewViewer/index.js +1 -0
  491. package/features/identity/CurrentUserTeams/CurrentUserTeams.d.ts +22 -0
  492. package/features/identity/CurrentUserTeams/CurrentUserTeams.js +39 -0
  493. package/features/identity/CurrentUserTeams/CurrentUserTeams.js.map +1 -0
  494. package/features/identity/CurrentUserTeams/abstractions.d.ts +15 -0
  495. package/features/identity/CurrentUserTeams/abstractions.js +5 -0
  496. package/features/identity/CurrentUserTeams/abstractions.js.map +1 -0
  497. package/features/identity/CurrentUserTeams/feature.d.ts +4 -0
  498. package/features/identity/CurrentUserTeams/feature.js +11 -0
  499. package/features/identity/CurrentUserTeams/feature.js.map +1 -0
  500. package/features/identity/CurrentUserTeams/index.d.ts +1 -0
  501. package/features/identity/CurrentUserTeams/index.js +1 -0
  502. package/features/identity/ReviewTeamLoader/ReviewTeamLoader.d.ts +24 -0
  503. package/features/identity/ReviewTeamLoader/ReviewTeamLoader.js +63 -0
  504. package/features/identity/ReviewTeamLoader/ReviewTeamLoader.js.map +1 -0
  505. package/features/identity/ReviewTeamLoader/abstractions.d.ts +21 -0
  506. package/features/identity/ReviewTeamLoader/abstractions.js +5 -0
  507. package/features/identity/ReviewTeamLoader/abstractions.js.map +1 -0
  508. package/features/identity/ReviewTeamLoader/feature.d.ts +4 -0
  509. package/features/identity/ReviewTeamLoader/feature.js +11 -0
  510. package/features/identity/ReviewTeamLoader/feature.js.map +1 -0
  511. package/features/identity/ReviewTeamLoader/index.d.ts +1 -0
  512. package/features/identity/ReviewTeamLoader/index.js +1 -0
  513. package/features/model/WorkflowModelParser/abstractions.d.ts +21 -0
  514. package/features/model/WorkflowModelParser/abstractions.js +5 -0
  515. package/features/model/WorkflowModelParser/abstractions.js.map +1 -0
  516. package/features/model/WorkflowModelParser/index.d.ts +1 -0
  517. package/features/model/WorkflowModelParser/index.js +1 -0
  518. package/features/model/WorkflowModelParserService/WorkflowModelParserService.d.ts +11 -0
  519. package/features/model/WorkflowModelParserService/WorkflowModelParserService.js +28 -0
  520. package/features/model/WorkflowModelParserService/WorkflowModelParserService.js.map +1 -0
  521. package/features/model/WorkflowModelParserService/abstractions.d.ts +10 -0
  522. package/features/model/WorkflowModelParserService/abstractions.js +5 -0
  523. package/features/model/WorkflowModelParserService/abstractions.js.map +1 -0
  524. package/features/model/WorkflowModelParserService/index.d.ts +1 -0
  525. package/features/model/WorkflowModelParserService/index.js +1 -0
  526. package/features/model/feature.d.ts +5 -0
  527. package/features/model/feature.js +11 -0
  528. package/features/model/feature.js.map +1 -0
  529. package/features/notifications/ListNotificationTransports/ListNotificationTransportsRepository.d.ts +11 -0
  530. package/features/notifications/ListNotificationTransports/ListNotificationTransportsRepository.js +33 -0
  531. package/features/notifications/ListNotificationTransports/ListNotificationTransportsRepository.js.map +1 -0
  532. package/features/notifications/ListNotificationTransports/ListNotificationTransportsUseCase.d.ts +14 -0
  533. package/features/notifications/ListNotificationTransports/ListNotificationTransportsUseCase.js +18 -0
  534. package/features/notifications/ListNotificationTransports/ListNotificationTransportsUseCase.js.map +1 -0
  535. package/features/notifications/ListNotificationTransports/abstractions.d.ts +25 -0
  536. package/features/notifications/ListNotificationTransports/abstractions.js +6 -0
  537. package/features/notifications/ListNotificationTransports/abstractions.js.map +1 -0
  538. package/features/notifications/ListNotificationTransports/feature.d.ts +4 -0
  539. package/features/notifications/ListNotificationTransports/feature.js +13 -0
  540. package/features/notifications/ListNotificationTransports/feature.js.map +1 -0
  541. package/features/notifications/ListNotificationTransports/index.d.ts +1 -0
  542. package/features/notifications/ListNotificationTransports/index.js +1 -0
  543. package/features/notifications/NotificationRecipientService/NotificationRecipientService.d.ts +16 -0
  544. package/features/notifications/NotificationRecipientService/NotificationRecipientService.js +77 -0
  545. package/features/notifications/NotificationRecipientService/NotificationRecipientService.js.map +1 -0
  546. package/features/notifications/NotificationRecipientService/abstractions.d.ts +47 -0
  547. package/features/notifications/NotificationRecipientService/abstractions.js +5 -0
  548. package/features/notifications/NotificationRecipientService/abstractions.js.map +1 -0
  549. package/features/notifications/NotificationRecipientService/feature.d.ts +4 -0
  550. package/features/notifications/NotificationRecipientService/feature.js +11 -0
  551. package/features/notifications/NotificationRecipientService/feature.js.map +1 -0
  552. package/features/notifications/NotificationRecipientService/index.d.ts +1 -0
  553. package/features/notifications/NotificationRecipientService/index.js +1 -0
  554. package/features/notifications/NotificationTransport/MailNotificationTransport.d.ts +7 -4
  555. package/features/notifications/NotificationTransport/MailNotificationTransport.js +51 -21
  556. package/features/notifications/NotificationTransport/MailNotificationTransport.js.map +1 -1
  557. package/features/notifications/NotificationTransport/abstractions.d.ts +23 -4
  558. package/features/notifications/NotificationTransport/abstractions.js.map +1 -1
  559. package/features/notifications/NotificationTransport/index.d.ts +0 -2
  560. package/features/notifications/NotificationTransport/index.js +0 -1
  561. package/features/notifications/ReviewChangeNotifierService/ReviewChangeNotifierService.d.ts +13 -0
  562. package/features/notifications/ReviewChangeNotifierService/ReviewChangeNotifierService.js +49 -0
  563. package/features/notifications/ReviewChangeNotifierService/ReviewChangeNotifierService.js.map +1 -0
  564. package/features/notifications/ReviewChangeNotifierService/abstractions.d.ts +25 -0
  565. package/features/notifications/ReviewChangeNotifierService/abstractions.js +5 -0
  566. package/features/notifications/ReviewChangeNotifierService/abstractions.js.map +1 -0
  567. package/features/notifications/ReviewChangeNotifierService/feature.d.ts +4 -0
  568. package/features/notifications/ReviewChangeNotifierService/feature.js +11 -0
  569. package/features/notifications/ReviewChangeNotifierService/feature.js.map +1 -0
  570. package/features/notifications/ReviewChangeNotifierService/index.d.ts +1 -0
  571. package/features/notifications/ReviewChangeNotifierService/index.js +1 -0
  572. package/features/notifications/ReviewNotifierService/ReviewNotifierService.d.ts +19 -0
  573. package/features/notifications/ReviewNotifierService/ReviewNotifierService.js +149 -0
  574. package/features/notifications/ReviewNotifierService/ReviewNotifierService.js.map +1 -0
  575. package/features/notifications/ReviewNotifierService/abstractions.d.ts +27 -0
  576. package/features/notifications/ReviewNotifierService/abstractions.js +5 -0
  577. package/features/notifications/ReviewNotifierService/abstractions.js.map +1 -0
  578. package/features/notifications/ReviewNotifierService/feature.d.ts +4 -0
  579. package/features/notifications/ReviewNotifierService/feature.js +11 -0
  580. package/features/notifications/ReviewNotifierService/feature.js.map +1 -0
  581. package/features/notifications/ReviewNotifierService/index.d.ts +1 -0
  582. package/features/notifications/ReviewNotifierService/index.js +1 -0
  583. package/features/notifications/ReviewTargetLink/abstractions.d.ts +26 -0
  584. package/features/notifications/ReviewTargetLink/abstractions.js +5 -0
  585. package/features/notifications/ReviewTargetLink/abstractions.js.map +1 -0
  586. package/features/notifications/ReviewTargetLink/index.d.ts +1 -0
  587. package/features/notifications/ReviewTargetLink/index.js +1 -0
  588. package/features/notifications/ReviewTargetLinkService/ReviewTargetLinkService.d.ts +17 -0
  589. package/features/notifications/ReviewTargetLinkService/ReviewTargetLinkService.js +54 -0
  590. package/features/notifications/ReviewTargetLinkService/ReviewTargetLinkService.js.map +1 -0
  591. package/features/notifications/ReviewTargetLinkService/abstractions.d.ts +17 -0
  592. package/features/notifications/ReviewTargetLinkService/abstractions.js +5 -0
  593. package/features/notifications/ReviewTargetLinkService/abstractions.js.map +1 -0
  594. package/features/notifications/ReviewTargetLinkService/feature.d.ts +4 -0
  595. package/features/notifications/ReviewTargetLinkService/feature.js +11 -0
  596. package/features/notifications/ReviewTargetLinkService/feature.js.map +1 -0
  597. package/features/notifications/ReviewTargetLinkService/index.d.ts +1 -0
  598. package/features/notifications/ReviewTargetLinkService/index.js +1 -0
  599. package/features/notifications/ReviewWebsocketSender/ReviewWebsocketSender.d.ts +16 -0
  600. package/features/notifications/ReviewWebsocketSender/ReviewWebsocketSender.js +91 -0
  601. package/features/notifications/ReviewWebsocketSender/ReviewWebsocketSender.js.map +1 -0
  602. package/features/notifications/ReviewWebsocketSender/abstractions.d.ts +27 -0
  603. package/features/notifications/ReviewWebsocketSender/abstractions.js +5 -0
  604. package/features/notifications/ReviewWebsocketSender/abstractions.js.map +1 -0
  605. package/features/notifications/ReviewWebsocketSender/feature.d.ts +4 -0
  606. package/features/notifications/ReviewWebsocketSender/feature.js +11 -0
  607. package/features/notifications/ReviewWebsocketSender/feature.js.map +1 -0
  608. package/features/notifications/ReviewWebsocketSender/index.d.ts +1 -0
  609. package/features/notifications/ReviewWebsocketSender/index.js +1 -0
  610. package/features/notifications/WorkflowsAdminUrlService/WorkflowsAdminUrlService.d.ts +8 -0
  611. package/features/notifications/WorkflowsAdminUrlService/WorkflowsAdminUrlService.js +22 -0
  612. package/features/notifications/WorkflowsAdminUrlService/WorkflowsAdminUrlService.js.map +1 -0
  613. package/features/notifications/WorkflowsAdminUrlService/abstractions.d.ts +16 -0
  614. package/features/notifications/WorkflowsAdminUrlService/abstractions.js +5 -0
  615. package/features/notifications/WorkflowsAdminUrlService/abstractions.js.map +1 -0
  616. package/features/notifications/WorkflowsAdminUrlService/feature.d.ts +4 -0
  617. package/features/notifications/WorkflowsAdminUrlService/feature.js +11 -0
  618. package/features/notifications/WorkflowsAdminUrlService/feature.js.map +1 -0
  619. package/features/notifications/WorkflowsAdminUrlService/index.d.ts +1 -0
  620. package/features/notifications/WorkflowsAdminUrlService/index.js +1 -0
  621. package/features/notifications/feature.d.ts +13 -0
  622. package/features/notifications/feature.js +43 -0
  623. package/features/notifications/feature.js.map +1 -0
  624. package/features/notifications/handlers/ReviewApprovedNotifications.d.ts +17 -0
  625. package/features/notifications/handlers/ReviewApprovedNotifications.js +54 -0
  626. package/features/notifications/handlers/ReviewApprovedNotifications.js.map +1 -0
  627. package/features/notifications/handlers/ReviewCancelledNotifications.d.ts +19 -0
  628. package/features/notifications/handlers/ReviewCancelledNotifications.js +60 -0
  629. package/features/notifications/handlers/ReviewCancelledNotifications.js.map +1 -0
  630. package/features/notifications/handlers/ReviewRequestedChangeNotifications.d.ts +18 -0
  631. package/features/notifications/handlers/ReviewRequestedChangeNotifications.js +39 -0
  632. package/features/notifications/handlers/ReviewRequestedChangeNotifications.js.map +1 -0
  633. package/features/notifications/handlers/ReviewStepApprovedChangeNotifications.d.ts +19 -0
  634. package/features/notifications/handlers/ReviewStepApprovedChangeNotifications.js +40 -0
  635. package/features/notifications/handlers/ReviewStepApprovedChangeNotifications.js.map +1 -0
  636. package/features/notifications/handlers/ReviewStepFailedNotifications.d.ts +18 -0
  637. package/features/notifications/handlers/ReviewStepFailedNotifications.js +53 -0
  638. package/features/notifications/handlers/ReviewStepFailedNotifications.js.map +1 -0
  639. package/features/notifications/handlers/ReviewStepReachedNotifications.d.ts +19 -0
  640. package/features/notifications/handlers/ReviewStepReachedNotifications.js +90 -0
  641. package/features/notifications/handlers/ReviewStepReachedNotifications.js.map +1 -0
  642. package/features/notifications/handlers/ReviewStepReassignedNotifications.d.ts +17 -0
  643. package/features/notifications/handlers/ReviewStepReassignedNotifications.js +80 -0
  644. package/features/notifications/handlers/ReviewStepReassignedNotifications.js.map +1 -0
  645. package/features/notifications/handlers/ReviewStepRejectedNotifications.d.ts +18 -0
  646. package/features/notifications/handlers/ReviewStepRejectedNotifications.js +58 -0
  647. package/features/notifications/handlers/ReviewStepRejectedNotifications.js.map +1 -0
  648. package/features/notifications/handlers/ReviewStepRestartedChangeNotifications.d.ts +18 -0
  649. package/features/notifications/handlers/ReviewStepRestartedChangeNotifications.js +39 -0
  650. package/features/notifications/handlers/ReviewStepRestartedChangeNotifications.js.map +1 -0
  651. package/features/notifications/handlers/ReviewStepStartedChangeNotifications.d.ts +18 -0
  652. package/features/notifications/handlers/ReviewStepStartedChangeNotifications.js +39 -0
  653. package/features/notifications/handlers/ReviewStepStartedChangeNotifications.js.map +1 -0
  654. package/features/notifications/handlers/ReviewStepTakenOverNotifications.d.ts +18 -0
  655. package/features/notifications/handlers/ReviewStepTakenOverNotifications.js +58 -0
  656. package/features/notifications/handlers/ReviewStepTakenOverNotifications.js.map +1 -0
  657. package/features/notifications/shared/constants.d.ts +11 -0
  658. package/features/notifications/shared/constants.js +7 -0
  659. package/features/notifications/shared/constants.js.map +1 -0
  660. package/features/notifications/shared/escapeHtml.d.ts +5 -0
  661. package/features/notifications/shared/escapeHtml.js +4 -0
  662. package/features/notifications/shared/escapeHtml.js.map +1 -0
  663. package/features/notifications/shared/getErrorLogFields.d.ts +10 -0
  664. package/features/notifications/shared/getErrorLogFields.js +10 -0
  665. package/features/notifications/shared/getErrorLogFields.js.map +1 -0
  666. package/features/permissions/WorkflowEditorAccess/WorkflowEditorAccess.d.ts +13 -0
  667. package/features/permissions/WorkflowEditorAccess/WorkflowEditorAccess.js +37 -0
  668. package/features/permissions/WorkflowEditorAccess/WorkflowEditorAccess.js.map +1 -0
  669. package/features/permissions/WorkflowEditorAccess/abstractions.d.ts +28 -0
  670. package/features/permissions/WorkflowEditorAccess/abstractions.js +5 -0
  671. package/features/permissions/WorkflowEditorAccess/abstractions.js.map +1 -0
  672. package/features/permissions/WorkflowEditorAccess/feature.d.ts +4 -0
  673. package/features/permissions/WorkflowEditorAccess/feature.js +11 -0
  674. package/features/permissions/WorkflowEditorAccess/feature.js.map +1 -0
  675. package/features/permissions/WorkflowEditorAccess/index.d.ts +1 -0
  676. package/features/permissions/WorkflowEditorAccess/index.js +1 -0
  677. package/features/permissions/WorkflowsPermissions/WorkflowsPermissions.d.ts +20 -0
  678. package/features/permissions/WorkflowsPermissions/WorkflowsPermissions.js +44 -0
  679. package/features/permissions/WorkflowsPermissions/WorkflowsPermissions.js.map +1 -0
  680. package/features/permissions/WorkflowsPermissions/abstractions.d.ts +20 -0
  681. package/features/permissions/WorkflowsPermissions/abstractions.js +5 -0
  682. package/features/permissions/WorkflowsPermissions/abstractions.js.map +1 -0
  683. package/features/permissions/WorkflowsPermissions/feature.d.ts +4 -0
  684. package/features/permissions/WorkflowsPermissions/feature.js +11 -0
  685. package/features/permissions/WorkflowsPermissions/feature.js.map +1 -0
  686. package/features/permissions/WorkflowsPermissions/index.d.ts +1 -0
  687. package/features/permissions/WorkflowsPermissions/index.js +1 -0
  688. package/features/review/ApproveReviewStep/ApproveReviewStepUseCase.d.ts +15 -0
  689. package/features/review/ApproveReviewStep/ApproveReviewStepUseCase.js +46 -0
  690. package/features/review/ApproveReviewStep/ApproveReviewStepUseCase.js.map +1 -0
  691. package/features/review/ApproveReviewStep/abstractions.d.ts +25 -0
  692. package/features/review/ApproveReviewStep/abstractions.js +5 -0
  693. package/features/review/ApproveReviewStep/abstractions.js.map +1 -0
  694. package/features/review/ApproveReviewStep/events.d.ts +29 -0
  695. package/features/review/ApproveReviewStep/events.js +23 -0
  696. package/features/review/ApproveReviewStep/events.js.map +1 -0
  697. package/features/review/ApproveReviewStep/feature.d.ts +4 -0
  698. package/features/review/ApproveReviewStep/feature.js +11 -0
  699. package/features/review/ApproveReviewStep/feature.js.map +1 -0
  700. package/features/review/ApproveReviewStep/index.d.ts +4 -0
  701. package/features/review/ApproveReviewStep/index.js +2 -0
  702. package/features/review/CancelReview/CancelReviewUseCase.d.ts +15 -0
  703. package/features/review/CancelReview/CancelReviewUseCase.js +45 -0
  704. package/features/review/CancelReview/CancelReviewUseCase.js.map +1 -0
  705. package/features/review/CancelReview/abstractions.d.ts +23 -0
  706. package/features/review/CancelReview/abstractions.js +5 -0
  707. package/features/review/CancelReview/abstractions.js.map +1 -0
  708. package/features/review/CancelReview/events.d.ts +16 -0
  709. package/features/review/CancelReview/events.js +14 -0
  710. package/features/review/CancelReview/events.js.map +1 -0
  711. package/features/review/CancelReview/feature.d.ts +4 -0
  712. package/features/review/CancelReview/feature.js +11 -0
  713. package/features/review/CancelReview/feature.js.map +1 -0
  714. package/features/review/CancelReview/index.d.ts +3 -0
  715. package/features/review/CancelReview/index.js +2 -0
  716. package/features/review/CancelTargetReviews/CancelTargetReviewsUseCase.d.ts +16 -0
  717. package/features/review/CancelTargetReviews/CancelTargetReviewsUseCase.js +31 -0
  718. package/features/review/CancelTargetReviews/CancelTargetReviewsUseCase.js.map +1 -0
  719. package/features/review/CancelTargetReviews/abstractions.d.ts +34 -0
  720. package/features/review/CancelTargetReviews/abstractions.js +5 -0
  721. package/features/review/CancelTargetReviews/abstractions.js.map +1 -0
  722. package/features/review/CancelTargetReviews/feature.d.ts +4 -0
  723. package/features/review/CancelTargetReviews/feature.js +11 -0
  724. package/features/review/CancelTargetReviews/feature.js.map +1 -0
  725. package/features/review/CancelTargetReviews/index.d.ts +1 -0
  726. package/features/review/CancelTargetReviews/index.js +1 -0
  727. package/features/review/DeleteTargetReviews/AssignmentPageSize.d.ts +9 -0
  728. package/features/review/DeleteTargetReviews/AssignmentPageSize.js +5 -0
  729. package/features/review/DeleteTargetReviews/AssignmentPageSize.js.map +1 -0
  730. package/features/review/DeleteTargetReviews/DefaultAssignmentPageSize.d.ts +8 -0
  731. package/features/review/DeleteTargetReviews/DefaultAssignmentPageSize.js +14 -0
  732. package/features/review/DeleteTargetReviews/DefaultAssignmentPageSize.js.map +1 -0
  733. package/features/review/DeleteTargetReviews/DeleteTargetReviewsUseCase.d.ts +21 -0
  734. package/features/review/DeleteTargetReviews/DeleteTargetReviewsUseCase.js +98 -0
  735. package/features/review/DeleteTargetReviews/DeleteTargetReviewsUseCase.js.map +1 -0
  736. package/features/review/DeleteTargetReviews/abstractions.d.ts +44 -0
  737. package/features/review/DeleteTargetReviews/abstractions.js +5 -0
  738. package/features/review/DeleteTargetReviews/abstractions.js.map +1 -0
  739. package/features/review/DeleteTargetReviews/feature.d.ts +4 -0
  740. package/features/review/DeleteTargetReviews/feature.js +13 -0
  741. package/features/review/DeleteTargetReviews/feature.js.map +1 -0
  742. package/features/review/DeleteTargetReviews/index.d.ts +1 -0
  743. package/features/review/DeleteTargetReviews/index.js +1 -0
  744. package/features/review/GetActiveTargetReview/GetActiveTargetReviewUseCase.d.ts +11 -0
  745. package/features/review/GetActiveTargetReview/GetActiveTargetReviewUseCase.js +22 -0
  746. package/features/review/GetActiveTargetReview/GetActiveTargetReviewUseCase.js.map +1 -0
  747. package/features/review/GetActiveTargetReview/abstractions.d.ts +29 -0
  748. package/features/review/GetActiveTargetReview/abstractions.js +5 -0
  749. package/features/review/GetActiveTargetReview/abstractions.js.map +1 -0
  750. package/features/review/GetActiveTargetReview/feature.d.ts +4 -0
  751. package/features/review/GetActiveTargetReview/feature.js +11 -0
  752. package/features/review/GetActiveTargetReview/feature.js.map +1 -0
  753. package/features/review/GetActiveTargetReview/index.d.ts +1 -0
  754. package/features/review/GetActiveTargetReview/index.js +1 -0
  755. package/features/review/GetReview/GetReviewUseCase.d.ts +13 -0
  756. package/features/review/GetReview/GetReviewUseCase.js +25 -0
  757. package/features/review/GetReview/GetReviewUseCase.js.map +1 -0
  758. package/features/review/GetReview/abstractions.d.ts +26 -0
  759. package/features/review/GetReview/abstractions.js +5 -0
  760. package/features/review/GetReview/abstractions.js.map +1 -0
  761. package/features/review/GetReview/feature.d.ts +4 -0
  762. package/features/review/GetReview/feature.js +11 -0
  763. package/features/review/GetReview/feature.js.map +1 -0
  764. package/features/review/GetReview/index.d.ts +1 -0
  765. package/features/review/GetReview/index.js +1 -0
  766. package/features/review/GetTargetReview/GetTargetReviewUseCase.d.ts +13 -0
  767. package/features/review/GetTargetReview/GetTargetReviewUseCase.js +29 -0
  768. package/features/review/GetTargetReview/GetTargetReviewUseCase.js.map +1 -0
  769. package/features/review/GetTargetReview/abstractions.d.ts +30 -0
  770. package/features/review/GetTargetReview/abstractions.js +5 -0
  771. package/features/review/GetTargetReview/abstractions.js.map +1 -0
  772. package/features/review/GetTargetReview/feature.d.ts +4 -0
  773. package/features/review/GetTargetReview/feature.js +11 -0
  774. package/features/review/GetTargetReview/feature.js.map +1 -0
  775. package/features/review/GetTargetReview/index.d.ts +1 -0
  776. package/features/review/GetTargetReview/index.js +1 -0
  777. package/features/review/ListReviewCandidateTeams/ListReviewCandidateTeamsUseCase.d.ts +13 -0
  778. package/features/review/ListReviewCandidateTeams/ListReviewCandidateTeamsUseCase.js +52 -0
  779. package/features/review/ListReviewCandidateTeams/ListReviewCandidateTeamsUseCase.js.map +1 -0
  780. package/features/review/ListReviewCandidateTeams/abstractions.d.ts +24 -0
  781. package/features/review/ListReviewCandidateTeams/abstractions.js +5 -0
  782. package/features/review/ListReviewCandidateTeams/abstractions.js.map +1 -0
  783. package/features/review/ListReviewCandidateTeams/feature.d.ts +4 -0
  784. package/features/review/ListReviewCandidateTeams/feature.js +11 -0
  785. package/features/review/ListReviewCandidateTeams/feature.js.map +1 -0
  786. package/features/review/ListReviewCandidateTeams/index.d.ts +2 -0
  787. package/features/review/ListReviewCandidateTeams/index.js +1 -0
  788. package/features/review/ListReviewedModels/ListReviewedModelsUseCase.d.ts +16 -0
  789. package/features/review/ListReviewedModels/ListReviewedModelsUseCase.js +29 -0
  790. package/features/review/ListReviewedModels/ListReviewedModelsUseCase.js.map +1 -0
  791. package/features/review/ListReviewedModels/abstractions.d.ts +21 -0
  792. package/features/review/ListReviewedModels/abstractions.js +5 -0
  793. package/features/review/ListReviewedModels/abstractions.js.map +1 -0
  794. package/features/review/ListReviewedModels/feature.d.ts +4 -0
  795. package/features/review/ListReviewedModels/feature.js +11 -0
  796. package/features/review/ListReviewedModels/feature.js.map +1 -0
  797. package/features/review/ListReviewedModels/index.d.ts +1 -0
  798. package/features/review/ListReviewedModels/index.js +1 -0
  799. package/features/review/ListReviews/DefaultReviewListLimits.d.ts +9 -0
  800. package/features/review/ListReviews/DefaultReviewListLimits.js +15 -0
  801. package/features/review/ListReviews/DefaultReviewListLimits.js.map +1 -0
  802. package/features/review/ListReviews/ListReviewsUseCase.d.ts +13 -0
  803. package/features/review/ListReviews/ListReviewsUseCase.js +127 -0
  804. package/features/review/ListReviews/ListReviewsUseCase.js.map +1 -0
  805. package/features/review/ListReviews/ReviewListLimits.d.ts +14 -0
  806. package/features/review/ListReviews/ReviewListLimits.js +5 -0
  807. package/features/review/ListReviews/ReviewListLimits.js.map +1 -0
  808. package/features/review/ListReviews/abstractions.d.ts +51 -0
  809. package/features/review/ListReviews/abstractions.js +5 -0
  810. package/features/review/ListReviews/abstractions.js.map +1 -0
  811. package/features/review/ListReviews/createReviewListWhere.d.ts +9 -0
  812. package/features/review/ListReviews/createReviewListWhere.js +55 -0
  813. package/features/review/ListReviews/createReviewListWhere.js.map +1 -0
  814. package/features/review/ListReviews/feature.d.ts +4 -0
  815. package/features/review/ListReviews/feature.js +13 -0
  816. package/features/review/ListReviews/feature.js.map +1 -0
  817. package/features/review/ListReviews/index.d.ts +1 -0
  818. package/features/review/ListReviews/index.js +1 -0
  819. package/features/review/ListReviews/reviewListCursor.d.ts +14 -0
  820. package/features/review/ListReviews/reviewListCursor.js +29 -0
  821. package/features/review/ListReviews/reviewListCursor.js.map +1 -0
  822. package/features/review/ListReviewsByTargets/ListReviewsByTargetsUseCase.d.ts +11 -0
  823. package/features/review/ListReviewsByTargets/ListReviewsByTargetsUseCase.js +23 -0
  824. package/features/review/ListReviewsByTargets/ListReviewsByTargetsUseCase.js.map +1 -0
  825. package/features/review/ListReviewsByTargets/abstractions.d.ts +32 -0
  826. package/features/review/ListReviewsByTargets/abstractions.js +5 -0
  827. package/features/review/ListReviewsByTargets/abstractions.js.map +1 -0
  828. package/features/review/ListReviewsByTargets/feature.d.ts +4 -0
  829. package/features/review/ListReviewsByTargets/feature.js +11 -0
  830. package/features/review/ListReviewsByTargets/feature.js.map +1 -0
  831. package/features/review/ListReviewsByTargets/index.d.ts +1 -0
  832. package/features/review/ListReviewsByTargets/index.js +1 -0
  833. package/features/review/ListTargetReviews/ListTargetReviewsUseCase.d.ts +11 -0
  834. package/features/review/ListTargetReviews/ListTargetReviewsUseCase.js +24 -0
  835. package/features/review/ListTargetReviews/ListTargetReviewsUseCase.js.map +1 -0
  836. package/features/review/ListTargetReviews/abstractions.d.ts +33 -0
  837. package/features/review/ListTargetReviews/abstractions.js +5 -0
  838. package/features/review/ListTargetReviews/abstractions.js.map +1 -0
  839. package/features/review/ListTargetReviews/feature.d.ts +4 -0
  840. package/features/review/ListTargetReviews/feature.js +11 -0
  841. package/features/review/ListTargetReviews/feature.js.map +1 -0
  842. package/features/review/ListTargetReviews/index.d.ts +1 -0
  843. package/features/review/ListTargetReviews/index.js +1 -0
  844. package/features/review/ReassignReviewStep/ReassignReviewStepUseCase.d.ts +15 -0
  845. package/features/review/ReassignReviewStep/ReassignReviewStepUseCase.js +80 -0
  846. package/features/review/ReassignReviewStep/ReassignReviewStepUseCase.js.map +1 -0
  847. package/features/review/ReassignReviewStep/abstractions.d.ts +43 -0
  848. package/features/review/ReassignReviewStep/abstractions.js +5 -0
  849. package/features/review/ReassignReviewStep/abstractions.js.map +1 -0
  850. package/features/review/ReassignReviewStep/events.d.ts +16 -0
  851. package/features/review/ReassignReviewStep/events.js +14 -0
  852. package/features/review/ReassignReviewStep/events.js.map +1 -0
  853. package/features/review/ReassignReviewStep/feature.d.ts +4 -0
  854. package/features/review/ReassignReviewStep/feature.js +11 -0
  855. package/features/review/ReassignReviewStep/feature.js.map +1 -0
  856. package/features/review/ReassignReviewStep/index.d.ts +2 -0
  857. package/features/review/ReassignReviewStep/index.js +2 -0
  858. package/features/review/RejectReviewStep/RejectReviewStepUseCase.d.ts +13 -0
  859. package/features/review/RejectReviewStep/RejectReviewStepUseCase.js +36 -0
  860. package/features/review/RejectReviewStep/RejectReviewStepUseCase.js.map +1 -0
  861. package/features/review/RejectReviewStep/abstractions.d.ts +27 -0
  862. package/features/review/RejectReviewStep/abstractions.js +5 -0
  863. package/features/review/RejectReviewStep/abstractions.js.map +1 -0
  864. package/features/review/RejectReviewStep/events.d.ts +17 -0
  865. package/features/review/RejectReviewStep/events.js +14 -0
  866. package/features/review/RejectReviewStep/events.js.map +1 -0
  867. package/features/review/RejectReviewStep/feature.d.ts +4 -0
  868. package/features/review/RejectReviewStep/feature.js +11 -0
  869. package/features/review/RejectReviewStep/feature.js.map +1 -0
  870. package/features/review/RejectReviewStep/index.d.ts +3 -0
  871. package/features/review/RejectReviewStep/index.js +2 -0
  872. package/features/review/RequestReview/RequestReviewUseCase.d.ts +19 -0
  873. package/features/review/RequestReview/RequestReviewUseCase.js +96 -0
  874. package/features/review/RequestReview/RequestReviewUseCase.js.map +1 -0
  875. package/features/review/RequestReview/abstractions.d.ts +43 -0
  876. package/features/review/RequestReview/abstractions.js +5 -0
  877. package/features/review/RequestReview/abstractions.js.map +1 -0
  878. package/features/review/RequestReview/events.d.ts +16 -0
  879. package/features/review/RequestReview/events.js +14 -0
  880. package/features/review/RequestReview/events.js.map +1 -0
  881. package/features/review/RequestReview/feature.d.ts +4 -0
  882. package/features/review/RequestReview/feature.js +11 -0
  883. package/features/review/RequestReview/feature.js.map +1 -0
  884. package/features/review/RequestReview/index.d.ts +2 -0
  885. package/features/review/RequestReview/index.js +2 -0
  886. package/features/review/RestartReviewStep/RestartReviewStepUseCase.d.ts +15 -0
  887. package/features/review/RestartReviewStep/RestartReviewStepUseCase.js +43 -0
  888. package/features/review/RestartReviewStep/RestartReviewStepUseCase.js.map +1 -0
  889. package/features/review/RestartReviewStep/abstractions.d.ts +36 -0
  890. package/features/review/RestartReviewStep/abstractions.js +5 -0
  891. package/features/review/RestartReviewStep/abstractions.js.map +1 -0
  892. package/features/review/RestartReviewStep/events.d.ts +17 -0
  893. package/features/review/RestartReviewStep/events.js +14 -0
  894. package/features/review/RestartReviewStep/events.js.map +1 -0
  895. package/features/review/RestartReviewStep/feature.d.ts +4 -0
  896. package/features/review/RestartReviewStep/feature.js +11 -0
  897. package/features/review/RestartReviewStep/feature.js.map +1 -0
  898. package/features/review/RestartReviewStep/index.d.ts +2 -0
  899. package/features/review/RestartReviewStep/index.js +2 -0
  900. package/features/review/ReviewLifecycleFeature.d.ts +13 -0
  901. package/features/review/ReviewLifecycleFeature.js +21 -0
  902. package/features/review/ReviewLifecycleFeature.js.map +1 -0
  903. package/features/review/ReviewSaver/ReviewSaver.d.ts +23 -0
  904. package/features/review/ReviewSaver/ReviewSaver.js +170 -0
  905. package/features/review/ReviewSaver/ReviewSaver.js.map +1 -0
  906. package/features/review/ReviewSaver/abstractions.d.ts +21 -0
  907. package/features/review/ReviewSaver/abstractions.js +5 -0
  908. package/features/review/ReviewSaver/abstractions.js.map +1 -0
  909. package/features/review/ReviewStepReacher/ReviewStepReacher.d.ts +12 -0
  910. package/features/review/ReviewStepReacher/ReviewStepReacher.js +45 -0
  911. package/features/review/ReviewStepReacher/ReviewStepReacher.js.map +1 -0
  912. package/features/review/ReviewStepReacher/abstractions.d.ts +28 -0
  913. package/features/review/ReviewStepReacher/abstractions.js +5 -0
  914. package/features/review/ReviewStepReacher/abstractions.js.map +1 -0
  915. package/features/review/ReviewStepReacher/events.d.ts +16 -0
  916. package/features/review/ReviewStepReacher/events.js +14 -0
  917. package/features/review/ReviewStepReacher/events.js.map +1 -0
  918. package/features/review/ReviewTargetEditor/abstractions.d.ts +61 -0
  919. package/features/review/ReviewTargetEditor/abstractions.js +5 -0
  920. package/features/review/ReviewTargetEditor/abstractions.js.map +1 -0
  921. package/features/review/ReviewTargetEditor/index.d.ts +2 -0
  922. package/features/review/ReviewTargetEditor/index.js +1 -0
  923. package/features/review/ReviewTargetEditorService/ReviewTargetEditorService.d.ts +14 -0
  924. package/features/review/ReviewTargetEditorService/ReviewTargetEditorService.js +37 -0
  925. package/features/review/ReviewTargetEditorService/ReviewTargetEditorService.js.map +1 -0
  926. package/features/review/ReviewTargetEditorService/abstractions.d.ts +17 -0
  927. package/features/review/ReviewTargetEditorService/abstractions.js +5 -0
  928. package/features/review/ReviewTargetEditorService/abstractions.js.map +1 -0
  929. package/features/review/ReviewTargetEditorService/index.d.ts +1 -0
  930. package/features/review/ReviewTargetEditorService/index.js +1 -0
  931. package/features/review/ReviewTargetFolderChain/abstractions.d.ts +26 -0
  932. package/features/review/ReviewTargetFolderChain/abstractions.js +5 -0
  933. package/features/review/ReviewTargetFolderChain/abstractions.js.map +1 -0
  934. package/features/review/ReviewTargetFolderChain/index.d.ts +1 -0
  935. package/features/review/ReviewTargetFolderChain/index.js +1 -0
  936. package/features/review/ReviewTargetFolderChangeGuard/ReviewTargetFolderChangeGuard.d.ts +13 -0
  937. package/features/review/ReviewTargetFolderChangeGuard/ReviewTargetFolderChangeGuard.js +43 -0
  938. package/features/review/ReviewTargetFolderChangeGuard/ReviewTargetFolderChangeGuard.js.map +1 -0
  939. package/features/review/ReviewTargetFolderChangeGuard/abstractions.d.ts +35 -0
  940. package/features/review/ReviewTargetFolderChangeGuard/abstractions.js +5 -0
  941. package/features/review/ReviewTargetFolderChangeGuard/abstractions.js.map +1 -0
  942. package/features/review/ReviewTargetFolderChangeGuard/index.d.ts +1 -0
  943. package/features/review/ReviewTargetFolderChangeGuard/index.js +1 -0
  944. package/features/review/ReviewTargetLoader/abstractions.d.ts +26 -0
  945. package/features/review/ReviewTargetLoader/abstractions.js +5 -0
  946. package/features/review/ReviewTargetLoader/abstractions.js.map +1 -0
  947. package/features/review/ReviewTargetLoader/index.d.ts +2 -0
  948. package/features/review/ReviewTargetLoader/index.js +1 -0
  949. package/features/review/ReviewTargetReadAccess/abstractions.d.ts +56 -0
  950. package/features/review/ReviewTargetReadAccess/abstractions.js +5 -0
  951. package/features/review/ReviewTargetReadAccess/abstractions.js.map +1 -0
  952. package/features/review/ReviewTargetReadAccess/index.d.ts +1 -0
  953. package/features/review/ReviewTargetReadAccess/index.js +1 -0
  954. package/features/review/ReviewTargetSync/abstractions.d.ts +26 -0
  955. package/features/review/ReviewTargetSync/abstractions.js +5 -0
  956. package/features/review/ReviewTargetSync/abstractions.js.map +1 -0
  957. package/features/review/ReviewTargetSync/index.d.ts +1 -0
  958. package/features/review/ReviewTargetSync/index.js +1 -0
  959. package/features/review/ReviewTargetUpdateGuard/ReviewTargetUpdateGuard.d.ts +15 -0
  960. package/features/review/ReviewTargetUpdateGuard/ReviewTargetUpdateGuard.js +45 -0
  961. package/features/review/ReviewTargetUpdateGuard/ReviewTargetUpdateGuard.js.map +1 -0
  962. package/features/review/ReviewTargetUpdateGuard/abstractions.d.ts +34 -0
  963. package/features/review/ReviewTargetUpdateGuard/abstractions.js +5 -0
  964. package/features/review/ReviewTargetUpdateGuard/abstractions.js.map +1 -0
  965. package/features/review/ReviewTargetUpdateGuard/index.d.ts +1 -0
  966. package/features/review/ReviewTargetUpdateGuard/index.js +1 -0
  967. package/features/review/StartReviewStep/StartReviewStepUseCase.d.ts +13 -0
  968. package/features/review/StartReviewStep/StartReviewStepUseCase.js +34 -0
  969. package/features/review/StartReviewStep/StartReviewStepUseCase.js.map +1 -0
  970. package/features/review/StartReviewStep/abstractions.d.ts +27 -0
  971. package/features/review/StartReviewStep/abstractions.js +5 -0
  972. package/features/review/StartReviewStep/abstractions.js.map +1 -0
  973. package/features/review/StartReviewStep/events.d.ts +16 -0
  974. package/features/review/StartReviewStep/events.js +14 -0
  975. package/features/review/StartReviewStep/events.js.map +1 -0
  976. package/features/review/StartReviewStep/feature.d.ts +4 -0
  977. package/features/review/StartReviewStep/feature.js +11 -0
  978. package/features/review/StartReviewStep/feature.js.map +1 -0
  979. package/features/review/StartReviewStep/index.d.ts +3 -0
  980. package/features/review/StartReviewStep/index.js +2 -0
  981. package/features/review/StepAssignmentResolver/RoutingStepAssignmentResolver.d.ts +20 -0
  982. package/features/review/StepAssignmentResolver/RoutingStepAssignmentResolver.js +86 -0
  983. package/features/review/StepAssignmentResolver/RoutingStepAssignmentResolver.js.map +1 -0
  984. package/features/review/StepAssignmentResolver/abstractions.d.ts +30 -0
  985. package/features/review/StepAssignmentResolver/abstractions.js +5 -0
  986. package/features/review/StepAssignmentResolver/abstractions.js.map +1 -0
  987. package/features/review/StepAssignmentResolver/index.d.ts +1 -0
  988. package/features/review/StepAssignmentResolver/index.js +1 -0
  989. package/features/review/TakeOverReviewStep/TakeOverReviewStepUseCase.d.ts +13 -0
  990. package/features/review/TakeOverReviewStep/TakeOverReviewStepUseCase.js +35 -0
  991. package/features/review/TakeOverReviewStep/TakeOverReviewStepUseCase.js.map +1 -0
  992. package/features/review/TakeOverReviewStep/abstractions.d.ts +33 -0
  993. package/features/review/TakeOverReviewStep/abstractions.js +5 -0
  994. package/features/review/TakeOverReviewStep/abstractions.js.map +1 -0
  995. package/features/review/TakeOverReviewStep/events.d.ts +16 -0
  996. package/features/review/TakeOverReviewStep/events.js +14 -0
  997. package/features/review/TakeOverReviewStep/events.js.map +1 -0
  998. package/features/review/TakeOverReviewStep/feature.d.ts +4 -0
  999. package/features/review/TakeOverReviewStep/feature.js +11 -0
  1000. package/features/review/TakeOverReviewStep/feature.js.map +1 -0
  1001. package/features/review/TakeOverReviewStep/index.d.ts +3 -0
  1002. package/features/review/TakeOverReviewStep/index.js +2 -0
  1003. package/features/review/shared/ReviewEntryMapper.d.ts +83 -0
  1004. package/features/review/shared/ReviewEntryMapper.js +191 -0
  1005. package/features/review/shared/ReviewEntryMapper.js.map +1 -0
  1006. package/features/review/shared/ReviewModelProvider.d.ts +13 -0
  1007. package/features/review/shared/ReviewModelProvider.js +22 -0
  1008. package/features/review/shared/ReviewModelProvider.js.map +1 -0
  1009. package/features/review/shared/ReviewRepository.d.ts +52 -0
  1010. package/features/review/shared/ReviewRepository.js +344 -0
  1011. package/features/review/shared/ReviewRepository.js.map +1 -0
  1012. package/features/review/shared/events.d.ts +38 -0
  1013. package/features/review/shared/events.js +14 -0
  1014. package/features/review/shared/events.js.map +1 -0
  1015. package/features/review/shared/feature.d.ts +4 -0
  1016. package/features/review/shared/feature.js +13 -0
  1017. package/features/review/shared/feature.js.map +1 -0
  1018. package/features/review/shared/types.d.ts +36 -0
  1019. package/features/review/shared/types.js +0 -0
  1020. package/features/routing/InspectRouting/InspectRoutingUseCase.d.ts +11 -0
  1021. package/features/routing/InspectRouting/InspectRoutingUseCase.js +92 -0
  1022. package/features/routing/InspectRouting/InspectRoutingUseCase.js.map +1 -0
  1023. package/features/routing/InspectRouting/abstractions.d.ts +36 -0
  1024. package/features/routing/InspectRouting/abstractions.js +5 -0
  1025. package/features/routing/InspectRouting/abstractions.js.map +1 -0
  1026. package/features/routing/InspectRouting/feature.d.ts +4 -0
  1027. package/features/routing/InspectRouting/feature.js +11 -0
  1028. package/features/routing/InspectRouting/feature.js.map +1 -0
  1029. package/features/routing/InspectRouting/index.d.ts +3 -0
  1030. package/features/routing/InspectRouting/index.js +1 -0
  1031. package/features/routing/ListStepCandidates/ListStepCandidatesUseCase.d.ts +15 -0
  1032. package/features/routing/ListStepCandidates/ListStepCandidatesUseCase.js +99 -0
  1033. package/features/routing/ListStepCandidates/ListStepCandidatesUseCase.js.map +1 -0
  1034. package/features/routing/ListStepCandidates/abstractions.d.ts +50 -0
  1035. package/features/routing/ListStepCandidates/abstractions.js +5 -0
  1036. package/features/routing/ListStepCandidates/abstractions.js.map +1 -0
  1037. package/features/routing/ListStepCandidates/feature.d.ts +4 -0
  1038. package/features/routing/ListStepCandidates/feature.js +11 -0
  1039. package/features/routing/ListStepCandidates/feature.js.map +1 -0
  1040. package/features/routing/ListStepCandidates/index.d.ts +3 -0
  1041. package/features/routing/ListStepCandidates/index.js +1 -0
  1042. package/features/routing/RoutingEvaluatorService/RoutingEvaluatorService.d.ts +33 -0
  1043. package/features/routing/RoutingEvaluatorService/RoutingEvaluatorService.js +546 -0
  1044. package/features/routing/RoutingEvaluatorService/RoutingEvaluatorService.js.map +1 -0
  1045. package/features/routing/RoutingEvaluatorService/abstractions.d.ts +41 -0
  1046. package/features/routing/RoutingEvaluatorService/abstractions.js +5 -0
  1047. package/features/routing/RoutingEvaluatorService/abstractions.js.map +1 -0
  1048. package/features/routing/RoutingEvaluatorService/feature.d.ts +4 -0
  1049. package/features/routing/RoutingEvaluatorService/feature.js +11 -0
  1050. package/features/routing/RoutingEvaluatorService/feature.js.map +1 -0
  1051. package/features/routing/RoutingEvaluatorService/index.d.ts +1 -0
  1052. package/features/routing/RoutingEvaluatorService/index.js +1 -0
  1053. package/features/routing/RoutingStrategyService/RoutingStrategyService.d.ts +17 -0
  1054. package/features/routing/RoutingStrategyService/RoutingStrategyService.js +101 -0
  1055. package/features/routing/RoutingStrategyService/RoutingStrategyService.js.map +1 -0
  1056. package/features/routing/RoutingStrategyService/abstractions.d.ts +34 -0
  1057. package/features/routing/RoutingStrategyService/abstractions.js +5 -0
  1058. package/features/routing/RoutingStrategyService/abstractions.js.map +1 -0
  1059. package/features/routing/RoutingStrategyService/feature.d.ts +4 -0
  1060. package/features/routing/RoutingStrategyService/feature.js +11 -0
  1061. package/features/routing/RoutingStrategyService/feature.js.map +1 -0
  1062. package/features/routing/RoutingStrategyService/index.d.ts +1 -0
  1063. package/features/routing/RoutingStrategyService/index.js +1 -0
  1064. package/features/settings/GetWorkflowSettings/GetWorkflowSettingsUseCase.d.ts +11 -0
  1065. package/features/settings/GetWorkflowSettings/GetWorkflowSettingsUseCase.js +26 -0
  1066. package/features/settings/GetWorkflowSettings/GetWorkflowSettingsUseCase.js.map +1 -0
  1067. package/features/settings/GetWorkflowSettings/abstractions.d.ts +26 -0
  1068. package/features/settings/GetWorkflowSettings/abstractions.js +5 -0
  1069. package/features/settings/GetWorkflowSettings/abstractions.js.map +1 -0
  1070. package/features/settings/GetWorkflowSettings/feature.d.ts +4 -0
  1071. package/features/settings/GetWorkflowSettings/feature.js +11 -0
  1072. package/features/settings/GetWorkflowSettings/feature.js.map +1 -0
  1073. package/features/settings/GetWorkflowSettings/index.d.ts +3 -0
  1074. package/features/settings/GetWorkflowSettings/index.js +1 -0
  1075. package/features/settings/SaveWorkflowSettings/SaveWorkflowSettingsUseCase.d.ts +11 -0
  1076. package/features/settings/SaveWorkflowSettings/SaveWorkflowSettingsUseCase.js +23 -0
  1077. package/features/settings/SaveWorkflowSettings/SaveWorkflowSettingsUseCase.js.map +1 -0
  1078. package/features/settings/SaveWorkflowSettings/abstractions.d.ts +23 -0
  1079. package/features/settings/SaveWorkflowSettings/abstractions.js +5 -0
  1080. package/features/settings/SaveWorkflowSettings/abstractions.js.map +1 -0
  1081. package/features/settings/SaveWorkflowSettings/feature.d.ts +4 -0
  1082. package/features/settings/SaveWorkflowSettings/feature.js +11 -0
  1083. package/features/settings/SaveWorkflowSettings/feature.js.map +1 -0
  1084. package/features/settings/SaveWorkflowSettings/index.d.ts +2 -0
  1085. package/features/settings/SaveWorkflowSettings/index.js +1 -0
  1086. package/features/settings/shared/WorkflowSettingsEntryMapper.d.ts +15 -0
  1087. package/features/settings/shared/WorkflowSettingsEntryMapper.js +32 -0
  1088. package/features/settings/shared/WorkflowSettingsEntryMapper.js.map +1 -0
  1089. package/features/settings/shared/WorkflowSettingsModelProvider.d.ts +13 -0
  1090. package/features/settings/shared/WorkflowSettingsModelProvider.js +22 -0
  1091. package/features/settings/shared/WorkflowSettingsModelProvider.js.map +1 -0
  1092. package/features/settings/shared/WorkflowSettingsRepository.d.ts +21 -0
  1093. package/features/settings/shared/WorkflowSettingsRepository.js +65 -0
  1094. package/features/settings/shared/WorkflowSettingsRepository.js.map +1 -0
  1095. package/features/settings/shared/feature.d.ts +4 -0
  1096. package/features/settings/shared/feature.js +13 -0
  1097. package/features/settings/shared/feature.js.map +1 -0
  1098. package/features/shared/ActorEntryMapper.d.ts +13 -0
  1099. package/features/shared/ActorEntryMapper.js +24 -0
  1100. package/features/shared/ActorEntryMapper.js.map +1 -0
  1101. package/features/shared/toIsoString.d.ts +2 -0
  1102. package/features/shared/toIsoString.js +8 -0
  1103. package/features/shared/toIsoString.js.map +1 -0
  1104. package/features/stepRun/AutomationStepRunner/AutomationStepRunner.d.ts +27 -0
  1105. package/features/stepRun/AutomationStepRunner/AutomationStepRunner.js +96 -0
  1106. package/features/stepRun/AutomationStepRunner/AutomationStepRunner.js.map +1 -0
  1107. package/features/stepRun/AutomationStepRunner/feature.d.ts +4 -0
  1108. package/features/stepRun/AutomationStepRunner/feature.js +11 -0
  1109. package/features/stepRun/AutomationStepRunner/feature.js.map +1 -0
  1110. package/features/stepRun/GetReviewStepRun/GetReviewStepRunUseCase.d.ts +13 -0
  1111. package/features/stepRun/GetReviewStepRun/GetReviewStepRunUseCase.js +46 -0
  1112. package/features/stepRun/GetReviewStepRun/GetReviewStepRunUseCase.js.map +1 -0
  1113. package/features/stepRun/GetReviewStepRun/abstractions.d.ts +32 -0
  1114. package/features/stepRun/GetReviewStepRun/abstractions.js +5 -0
  1115. package/features/stepRun/GetReviewStepRun/abstractions.js.map +1 -0
  1116. package/features/stepRun/GetReviewStepRun/feature.d.ts +4 -0
  1117. package/features/stepRun/GetReviewStepRun/feature.js +11 -0
  1118. package/features/stepRun/GetReviewStepRun/feature.js.map +1 -0
  1119. package/features/stepRun/GetReviewStepRun/index.d.ts +1 -0
  1120. package/features/stepRun/GetReviewStepRun/index.js +1 -0
  1121. package/features/stepRun/GetReviewStepRun/toReviewStepRunInfo.d.ts +15 -0
  1122. package/features/stepRun/GetReviewStepRun/toReviewStepRunInfo.js +52 -0
  1123. package/features/stepRun/GetReviewStepRun/toReviewStepRunInfo.js.map +1 -0
  1124. package/features/stepRun/ReviewTaskAbortService/ReviewTaskAbortService.d.ts +13 -0
  1125. package/features/stepRun/ReviewTaskAbortService/ReviewTaskAbortService.js +41 -0
  1126. package/features/stepRun/ReviewTaskAbortService/ReviewTaskAbortService.js.map +1 -0
  1127. package/features/stepRun/ReviewTaskAbortService/abstractions.d.ts +20 -0
  1128. package/features/stepRun/ReviewTaskAbortService/abstractions.js +5 -0
  1129. package/features/stepRun/ReviewTaskAbortService/abstractions.js.map +1 -0
  1130. package/features/stepRun/ReviewTaskAbortService/feature.d.ts +4 -0
  1131. package/features/stepRun/ReviewTaskAbortService/feature.js +11 -0
  1132. package/features/stepRun/ReviewTaskAbortService/feature.js.map +1 -0
  1133. package/features/stepRun/ReviewTaskAbortService/index.d.ts +1 -0
  1134. package/features/stepRun/ReviewTaskAbortService/index.js +1 -0
  1135. package/features/stepRun/StepRunFailure.d.ts +8 -0
  1136. package/features/stepRun/StepRunFailure.js +9 -0
  1137. package/features/stepRun/StepRunFailure.js.map +1 -0
  1138. package/features/stepRun/StepRunReachService/StepRunReachService.d.ts +18 -0
  1139. package/features/stepRun/StepRunReachService/StepRunReachService.js +87 -0
  1140. package/features/stepRun/StepRunReachService/StepRunReachService.js.map +1 -0
  1141. package/features/stepRun/StepRunReachService/abstractions.d.ts +38 -0
  1142. package/features/stepRun/StepRunReachService/abstractions.js +5 -0
  1143. package/features/stepRun/StepRunReachService/abstractions.js.map +1 -0
  1144. package/features/stepRun/StepRunReachService/feature.d.ts +4 -0
  1145. package/features/stepRun/StepRunReachService/feature.js +11 -0
  1146. package/features/stepRun/StepRunReachService/feature.js.map +1 -0
  1147. package/features/stepRun/StepRunReachService/index.d.ts +1 -0
  1148. package/features/stepRun/StepRunReachService/index.js +1 -0
  1149. package/features/stepRun/StepRunStaleCheckService/StepRunStaleCheckService.d.ts +15 -0
  1150. package/features/stepRun/StepRunStaleCheckService/StepRunStaleCheckService.js +47 -0
  1151. package/features/stepRun/StepRunStaleCheckService/StepRunStaleCheckService.js.map +1 -0
  1152. package/features/stepRun/StepRunStaleCheckService/abstractions.d.ts +29 -0
  1153. package/features/stepRun/StepRunStaleCheckService/abstractions.js +5 -0
  1154. package/features/stepRun/StepRunStaleCheckService/abstractions.js.map +1 -0
  1155. package/features/stepRun/StepRunStaleCheckService/feature.d.ts +4 -0
  1156. package/features/stepRun/StepRunStaleCheckService/feature.js +11 -0
  1157. package/features/stepRun/StepRunStaleCheckService/feature.js.map +1 -0
  1158. package/features/stepRun/StepRunStaleCheckService/index.d.ts +1 -0
  1159. package/features/stepRun/StepRunStaleCheckService/index.js +1 -0
  1160. package/features/stepRun/StepRunner/abstractions.d.ts +72 -0
  1161. package/features/stepRun/StepRunner/abstractions.js +5 -0
  1162. package/features/stepRun/StepRunner/abstractions.js.map +1 -0
  1163. package/features/stepRun/StepRunner/index.d.ts +1 -0
  1164. package/features/stepRun/StepRunner/index.js +1 -0
  1165. package/features/stepRun/StepRunnerRegistryService/StepRunnerRegistryService.d.ts +11 -0
  1166. package/features/stepRun/StepRunnerRegistryService/StepRunnerRegistryService.js +25 -0
  1167. package/features/stepRun/StepRunnerRegistryService/StepRunnerRegistryService.js.map +1 -0
  1168. package/features/stepRun/StepRunnerRegistryService/abstractions.d.ts +13 -0
  1169. package/features/stepRun/StepRunnerRegistryService/abstractions.js +5 -0
  1170. package/features/stepRun/StepRunnerRegistryService/abstractions.js.map +1 -0
  1171. package/features/stepRun/StepRunnerRegistryService/feature.d.ts +4 -0
  1172. package/features/stepRun/StepRunnerRegistryService/feature.js +11 -0
  1173. package/features/stepRun/StepRunnerRegistryService/feature.js.map +1 -0
  1174. package/features/stepRun/StepRunnerRegistryService/index.d.ts +1 -0
  1175. package/features/stepRun/StepRunnerRegistryService/index.js +1 -0
  1176. package/features/stepRun/StuckStepService/StuckStepService.d.ts +20 -0
  1177. package/features/stepRun/StuckStepService/StuckStepService.js +142 -0
  1178. package/features/stepRun/StuckStepService/StuckStepService.js.map +1 -0
  1179. package/features/stepRun/StuckStepService/abstractions.d.ts +21 -0
  1180. package/features/stepRun/StuckStepService/abstractions.js +5 -0
  1181. package/features/stepRun/StuckStepService/abstractions.js.map +1 -0
  1182. package/features/stepRun/StuckStepService/feature.d.ts +4 -0
  1183. package/features/stepRun/StuckStepService/feature.js +11 -0
  1184. package/features/stepRun/StuckStepService/feature.js.map +1 -0
  1185. package/features/stepRun/StuckStepService/index.d.ts +1 -0
  1186. package/features/stepRun/StuckStepService/index.js +1 -0
  1187. package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskDefinition.d.ts +27 -0
  1188. package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskDefinition.js +20 -0
  1189. package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskDefinition.js.map +1 -0
  1190. package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskHandler.d.ts +43 -0
  1191. package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskHandler.js +452 -0
  1192. package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskHandler.js.map +1 -0
  1193. package/features/stepRun/WorkflowStepRunTask/feature.d.ts +4 -0
  1194. package/features/stepRun/WorkflowStepRunTask/feature.js +11 -0
  1195. package/features/stepRun/WorkflowStepRunTask/feature.js.map +1 -0
  1196. package/features/stepRun/WorkflowStepRunTask/index.d.ts +2 -0
  1197. package/features/stepRun/WorkflowStepRunTask/index.js +2 -0
  1198. package/features/stepRun/WorkflowStepRunTask/toStepRunTaskError.d.ts +10 -0
  1199. package/features/stepRun/WorkflowStepRunTask/toStepRunTaskError.js +7 -0
  1200. package/features/stepRun/WorkflowStepRunTask/toStepRunTaskError.js.map +1 -0
  1201. package/features/stepRun/constants.d.ts +47 -0
  1202. package/features/stepRun/constants.js +16 -0
  1203. package/features/stepRun/constants.js.map +1 -0
  1204. package/features/stepRun/types.d.ts +8 -0
  1205. package/features/stepRun/types.js +0 -0
  1206. package/features/stepTypes/AutomationStepType/AutomationStepType.d.ts +40 -0
  1207. package/features/stepTypes/AutomationStepType/AutomationStepType.js +89 -0
  1208. package/features/stepTypes/AutomationStepType/AutomationStepType.js.map +1 -0
  1209. package/features/stepTypes/ReviewStepType/ReviewStepType.d.ts +86 -0
  1210. package/features/stepTypes/ReviewStepType/ReviewStepType.js +78 -0
  1211. package/features/stepTypes/ReviewStepType/ReviewStepType.js.map +1 -0
  1212. package/features/stepTypes/StepType/abstractions.d.ts +67 -0
  1213. package/features/stepTypes/StepType/abstractions.js +5 -0
  1214. package/features/stepTypes/StepType/abstractions.js.map +1 -0
  1215. package/features/stepTypes/StepType/index.d.ts +1 -0
  1216. package/features/stepTypes/StepType/index.js +1 -0
  1217. package/features/stepTypes/StepTypeRegistryService/StepTypeRegistryService.d.ts +12 -0
  1218. package/features/stepTypes/StepTypeRegistryService/StepTypeRegistryService.js +30 -0
  1219. package/features/stepTypes/StepTypeRegistryService/StepTypeRegistryService.js.map +1 -0
  1220. package/features/stepTypes/StepTypeRegistryService/abstractions.d.ts +12 -0
  1221. package/features/stepTypes/StepTypeRegistryService/abstractions.js +5 -0
  1222. package/features/stepTypes/StepTypeRegistryService/abstractions.js.map +1 -0
  1223. package/features/stepTypes/StepTypeRegistryService/index.d.ts +1 -0
  1224. package/features/stepTypes/StepTypeRegistryService/index.js +1 -0
  1225. package/features/stepTypes/feature.d.ts +5 -0
  1226. package/features/stepTypes/feature.js +15 -0
  1227. package/features/stepTypes/feature.js.map +1 -0
  1228. package/features/workflow/DeleteWorkflow/DeleteWorkflowUseCase.d.ts +7 -9
  1229. package/features/workflow/DeleteWorkflow/DeleteWorkflowUseCase.js +26 -31
  1230. package/features/workflow/DeleteWorkflow/DeleteWorkflowUseCase.js.map +1 -1
  1231. package/features/workflow/DeleteWorkflow/abstractions.d.ts +17 -37
  1232. package/features/workflow/DeleteWorkflow/abstractions.js +1 -2
  1233. package/features/workflow/DeleteWorkflow/abstractions.js.map +1 -1
  1234. package/features/workflow/DeleteWorkflow/events.d.ts +27 -7
  1235. package/features/workflow/DeleteWorkflow/events.js +7 -7
  1236. package/features/workflow/DeleteWorkflow/events.js.map +1 -1
  1237. package/features/workflow/DeleteWorkflow/feature.js +0 -2
  1238. package/features/workflow/DeleteWorkflow/feature.js.map +1 -1
  1239. package/features/workflow/DeleteWorkflow/index.d.ts +4 -4
  1240. package/features/workflow/DeleteWorkflow/index.js +2 -3
  1241. package/features/workflow/GetBoundWorkflow/GetBoundWorkflowUseCase.d.ts +11 -0
  1242. package/features/workflow/GetBoundWorkflow/GetBoundWorkflowUseCase.js +29 -0
  1243. package/features/workflow/GetBoundWorkflow/GetBoundWorkflowUseCase.js.map +1 -0
  1244. package/features/workflow/GetBoundWorkflow/abstractions.d.ts +30 -0
  1245. package/features/workflow/GetBoundWorkflow/abstractions.js +5 -0
  1246. package/features/workflow/GetBoundWorkflow/abstractions.js.map +1 -0
  1247. package/features/workflow/GetBoundWorkflow/feature.d.ts +4 -0
  1248. package/features/workflow/GetBoundWorkflow/feature.js +11 -0
  1249. package/features/workflow/GetBoundWorkflow/feature.js.map +1 -0
  1250. package/features/workflow/GetBoundWorkflow/index.d.ts +2 -0
  1251. package/features/workflow/GetBoundWorkflow/index.js +1 -0
  1252. package/features/workflow/GetWorkflow/GetWorkflowUseCase.d.ts +5 -7
  1253. package/features/workflow/GetWorkflow/GetWorkflowUseCase.js +5 -18
  1254. package/features/workflow/GetWorkflow/GetWorkflowUseCase.js.map +1 -1
  1255. package/features/workflow/GetWorkflow/abstractions.d.ts +10 -32
  1256. package/features/workflow/GetWorkflow/abstractions.js +1 -2
  1257. package/features/workflow/GetWorkflow/abstractions.js.map +1 -1
  1258. package/features/workflow/GetWorkflow/feature.js +0 -2
  1259. package/features/workflow/GetWorkflow/feature.js.map +1 -1
  1260. package/features/workflow/GetWorkflow/index.d.ts +2 -1
  1261. package/features/workflow/GetWorkflow/index.js +1 -1
  1262. package/features/workflow/ListWorkflows/ListWorkflowsUseCase.d.ts +5 -4
  1263. package/features/workflow/ListWorkflows/ListWorkflowsUseCase.js +9 -7
  1264. package/features/workflow/ListWorkflows/ListWorkflowsUseCase.js.map +1 -1
  1265. package/features/workflow/ListWorkflows/abstractions.d.ts +18 -45
  1266. package/features/workflow/ListWorkflows/abstractions.js +1 -2
  1267. package/features/workflow/ListWorkflows/abstractions.js.map +1 -1
  1268. package/features/workflow/ListWorkflows/feature.js +0 -2
  1269. package/features/workflow/ListWorkflows/feature.js.map +1 -1
  1270. package/features/workflow/ListWorkflows/index.d.ts +2 -1
  1271. package/features/workflow/ListWorkflows/index.js +1 -1
  1272. package/features/workflow/ReadableBlockingReviews/ReadableBlockingReviewsService.d.ts +8 -0
  1273. package/features/workflow/ReadableBlockingReviews/ReadableBlockingReviewsService.js +23 -0
  1274. package/features/workflow/ReadableBlockingReviews/ReadableBlockingReviewsService.js.map +1 -0
  1275. package/features/workflow/ReadableBlockingReviews/abstractions.d.ts +26 -0
  1276. package/features/workflow/ReadableBlockingReviews/abstractions.js +7 -0
  1277. package/features/workflow/ReadableBlockingReviews/abstractions.js.map +1 -0
  1278. package/features/workflow/ReadableBlockingReviews/feature.d.ts +4 -0
  1279. package/features/workflow/ReadableBlockingReviews/feature.js +11 -0
  1280. package/features/workflow/ReadableBlockingReviews/feature.js.map +1 -0
  1281. package/features/workflow/ReadableBlockingReviews/index.d.ts +1 -0
  1282. package/features/workflow/ReadableBlockingReviews/index.js +1 -0
  1283. package/features/workflow/StoreWorkflow/StoreWorkflowUseCase.d.ts +17 -7
  1284. package/features/workflow/StoreWorkflow/StoreWorkflowUseCase.js +195 -18
  1285. package/features/workflow/StoreWorkflow/StoreWorkflowUseCase.js.map +1 -1
  1286. package/features/workflow/StoreWorkflow/abstractions.d.ts +24 -20
  1287. package/features/workflow/StoreWorkflow/abstractions.js.map +1 -1
  1288. package/features/workflow/StoreWorkflow/events.d.ts +75 -0
  1289. package/features/workflow/StoreWorkflow/events.js +41 -0
  1290. package/features/workflow/StoreWorkflow/events.js.map +1 -0
  1291. package/features/workflow/StoreWorkflow/feature.js +0 -4
  1292. package/features/workflow/StoreWorkflow/feature.js.map +1 -1
  1293. package/features/workflow/StoreWorkflow/index.d.ts +3 -2
  1294. package/features/workflow/StoreWorkflow/index.js +1 -1
  1295. package/features/workflow/shared/WorkflowEntryMapper.d.ts +22 -0
  1296. package/features/workflow/shared/WorkflowEntryMapper.js +58 -0
  1297. package/features/workflow/shared/WorkflowEntryMapper.js.map +1 -0
  1298. package/features/workflow/shared/WorkflowModelProvider.d.ts +17 -0
  1299. package/features/workflow/shared/WorkflowModelProvider.js +22 -0
  1300. package/features/workflow/shared/WorkflowModelProvider.js.map +1 -0
  1301. package/features/workflow/shared/WorkflowRepository.d.ts +28 -0
  1302. package/features/workflow/shared/WorkflowRepository.js +120 -0
  1303. package/features/workflow/shared/WorkflowRepository.js.map +1 -0
  1304. package/features/workflow/shared/feature.d.ts +4 -0
  1305. package/features/workflow/shared/feature.js +13 -0
  1306. package/features/workflow/shared/feature.js.map +1 -0
  1307. package/graphql/WorkflowsSchemaFactory.d.ts +15 -0
  1308. package/graphql/WorkflowsSchemaFactory.js +745 -0
  1309. package/graphql/WorkflowsSchemaFactory.js.map +1 -0
  1310. package/package.json +20 -16
  1311. package/types.d.ts +6 -17
  1312. package/WorkflowsSchemaFactory.d.ts +0 -9
  1313. package/WorkflowsSchemaFactory.js +0 -23
  1314. package/WorkflowsSchemaFactory.js.map +0 -1
  1315. package/domain/notifications/abstractions.d.ts +0 -64
  1316. package/domain/notifications/abstractions.js +0 -11
  1317. package/domain/notifications/abstractions.js.map +0 -1
  1318. package/domain/notifications/errors.d.ts +0 -5
  1319. package/domain/notifications/errors.js +0 -11
  1320. package/domain/notifications/errors.js.map +0 -1
  1321. package/domain/workflow/WorkflowMapper.d.ts +0 -12
  1322. package/domain/workflow/WorkflowMapper.js +0 -28
  1323. package/domain/workflow/WorkflowMapper.js.map +0 -1
  1324. package/domain/workflow/abstractions.d.ts +0 -47
  1325. package/domain/workflow/abstractions.js +0 -6
  1326. package/domain/workflow/abstractions.js.map +0 -1
  1327. package/domain/workflow/workflowModel.d.ts +0 -9
  1328. package/domain/workflow/workflowModel.js +0 -35
  1329. package/domain/workflow/workflowModel.js.map +0 -1
  1330. package/domain/workflowState/WorkflowState.d.ts +0 -56
  1331. package/domain/workflowState/WorkflowState.js +0 -227
  1332. package/domain/workflowState/WorkflowState.js.map +0 -1
  1333. package/domain/workflowState/WorkflowStateMapper.d.ts +0 -9
  1334. package/domain/workflowState/WorkflowStateMapper.js +0 -43
  1335. package/domain/workflowState/WorkflowStateMapper.js.map +0 -1
  1336. package/domain/workflowState/abstractions.d.ts +0 -88
  1337. package/domain/workflowState/abstractions.js +0 -13
  1338. package/domain/workflowState/abstractions.js.map +0 -1
  1339. package/domain/workflowState/errors.d.ts +0 -86
  1340. package/domain/workflowState/errors.js +0 -126
  1341. package/domain/workflowState/errors.js.map +0 -1
  1342. package/domain/workflowState/guards/canReview.d.ts +0 -2
  1343. package/domain/workflowState/guards/canReview.js +0 -4
  1344. package/domain/workflowState/guards/canReview.js.map +0 -1
  1345. package/domain/workflowState/guards/canTakeOver.d.ts +0 -2
  1346. package/domain/workflowState/guards/canTakeOver.js +0 -4
  1347. package/domain/workflowState/guards/canTakeOver.js.map +0 -1
  1348. package/domain/workflowState/guards/isInReview.d.ts +0 -2
  1349. package/domain/workflowState/guards/isInReview.js +0 -5
  1350. package/domain/workflowState/guards/isInReview.js.map +0 -1
  1351. package/domain/workflowState/guards/isRejected.d.ts +0 -2
  1352. package/domain/workflowState/guards/isRejected.js +0 -5
  1353. package/domain/workflowState/guards/isRejected.js.map +0 -1
  1354. package/domain/workflowState/guards/isStepOwner.d.ts +0 -2
  1355. package/domain/workflowState/guards/isStepOwner.js +0 -4
  1356. package/domain/workflowState/guards/isStepOwner.js.map +0 -1
  1357. package/domain/workflowState/stateModel.d.ts +0 -9
  1358. package/domain/workflowState/stateModel.js +0 -68
  1359. package/domain/workflowState/stateModel.js.map +0 -1
  1360. package/features/WorkflowModelProviders.d.ts +0 -34
  1361. package/features/WorkflowModelProviders.js +0 -40
  1362. package/features/WorkflowModelProviders.js.map +0 -1
  1363. package/features/internal/GetUserTeams/GetUserTeamsUseCase.d.ts +0 -12
  1364. package/features/internal/GetUserTeams/GetUserTeamsUseCase.js +0 -29
  1365. package/features/internal/GetUserTeams/GetUserTeamsUseCase.js.map +0 -1
  1366. package/features/internal/GetUserTeams/abstractions.d.ts +0 -10
  1367. package/features/internal/GetUserTeams/abstractions.js +0 -5
  1368. package/features/internal/GetUserTeams/abstractions.js.map +0 -1
  1369. package/features/internal/GetUserTeams/feature.d.ts +0 -4
  1370. package/features/internal/GetUserTeams/feature.js +0 -11
  1371. package/features/internal/GetUserTeams/feature.js.map +0 -1
  1372. package/features/internal/GetUserTeams/index.d.ts +0 -1
  1373. package/features/internal/GetUserTeams/index.js +0 -1
  1374. package/features/notifications/ListNotificationTypes/ListNotificationTypesRepository.d.ts +0 -11
  1375. package/features/notifications/ListNotificationTypes/ListNotificationTypesRepository.js +0 -28
  1376. package/features/notifications/ListNotificationTypes/ListNotificationTypesRepository.js.map +0 -1
  1377. package/features/notifications/ListNotificationTypes/ListNotificationTypesUseCase.d.ts +0 -13
  1378. package/features/notifications/ListNotificationTypes/ListNotificationTypesUseCase.js +0 -34
  1379. package/features/notifications/ListNotificationTypes/ListNotificationTypesUseCase.js.map +0 -1
  1380. package/features/notifications/ListNotificationTypes/abstractions.d.ts +0 -31
  1381. package/features/notifications/ListNotificationTypes/abstractions.js +0 -6
  1382. package/features/notifications/ListNotificationTypes/abstractions.js.map +0 -1
  1383. package/features/notifications/ListNotificationTypes/feature.d.ts +0 -4
  1384. package/features/notifications/ListNotificationTypes/feature.js +0 -13
  1385. package/features/notifications/ListNotificationTypes/feature.js.map +0 -1
  1386. package/features/notifications/ListNotificationTypes/index.d.ts +0 -3
  1387. package/features/notifications/ListNotificationTypes/index.js +0 -2
  1388. package/features/shared/abstractions.d.ts +0 -21
  1389. package/features/workflow/CreateWorkflow/CreateWorkflowRepository.d.ts +0 -14
  1390. package/features/workflow/CreateWorkflow/CreateWorkflowRepository.js +0 -47
  1391. package/features/workflow/CreateWorkflow/CreateWorkflowRepository.js.map +0 -1
  1392. package/features/workflow/CreateWorkflow/CreateWorkflowUseCase.d.ts +0 -15
  1393. package/features/workflow/CreateWorkflow/CreateWorkflowUseCase.js +0 -52
  1394. package/features/workflow/CreateWorkflow/CreateWorkflowUseCase.js.map +0 -1
  1395. package/features/workflow/CreateWorkflow/abstractions.d.ts +0 -56
  1396. package/features/workflow/CreateWorkflow/abstractions.js +0 -6
  1397. package/features/workflow/CreateWorkflow/abstractions.js.map +0 -1
  1398. package/features/workflow/CreateWorkflow/events.d.ts +0 -21
  1399. package/features/workflow/CreateWorkflow/events.js +0 -23
  1400. package/features/workflow/CreateWorkflow/events.js.map +0 -1
  1401. package/features/workflow/CreateWorkflow/feature.d.ts +0 -4
  1402. package/features/workflow/CreateWorkflow/feature.js +0 -13
  1403. package/features/workflow/CreateWorkflow/feature.js.map +0 -1
  1404. package/features/workflow/CreateWorkflow/index.d.ts +0 -4
  1405. package/features/workflow/CreateWorkflow/index.js +0 -3
  1406. package/features/workflow/DeleteWorkflow/DeleteWorkflowRepository.d.ts +0 -13
  1407. package/features/workflow/DeleteWorkflow/DeleteWorkflowRepository.js +0 -36
  1408. package/features/workflow/DeleteWorkflow/DeleteWorkflowRepository.js.map +0 -1
  1409. package/features/workflow/GetWorkflow/GetWorkflowRepository.d.ts +0 -14
  1410. package/features/workflow/GetWorkflow/GetWorkflowRepository.js +0 -46
  1411. package/features/workflow/GetWorkflow/GetWorkflowRepository.js.map +0 -1
  1412. package/features/workflow/ListWorkflows/ListWorkflowsRepository.d.ts +0 -18
  1413. package/features/workflow/ListWorkflows/ListWorkflowsRepository.js +0 -63
  1414. package/features/workflow/ListWorkflows/ListWorkflowsRepository.js.map +0 -1
  1415. package/features/workflow/UpdateWorkflow/UpdateWorkflowRepository.d.ts +0 -15
  1416. package/features/workflow/UpdateWorkflow/UpdateWorkflowRepository.js +0 -51
  1417. package/features/workflow/UpdateWorkflow/UpdateWorkflowRepository.js.map +0 -1
  1418. package/features/workflow/UpdateWorkflow/UpdateWorkflowUseCase.d.ts +0 -15
  1419. package/features/workflow/UpdateWorkflow/UpdateWorkflowUseCase.js +0 -54
  1420. package/features/workflow/UpdateWorkflow/UpdateWorkflowUseCase.js.map +0 -1
  1421. package/features/workflow/UpdateWorkflow/abstractions.d.ts +0 -57
  1422. package/features/workflow/UpdateWorkflow/abstractions.js +0 -6
  1423. package/features/workflow/UpdateWorkflow/abstractions.js.map +0 -1
  1424. package/features/workflow/UpdateWorkflow/events.d.ts +0 -21
  1425. package/features/workflow/UpdateWorkflow/events.js +0 -23
  1426. package/features/workflow/UpdateWorkflow/events.js.map +0 -1
  1427. package/features/workflow/UpdateWorkflow/feature.d.ts +0 -4
  1428. package/features/workflow/UpdateWorkflow/feature.js +0 -13
  1429. package/features/workflow/UpdateWorkflow/feature.js.map +0 -1
  1430. package/features/workflow/UpdateWorkflow/index.d.ts +0 -4
  1431. package/features/workflow/UpdateWorkflow/index.js +0 -3
  1432. package/features/workflowState/ApproveWorkflowStateStep/ApproveWorkflowStateStepUseCase.d.ts +0 -15
  1433. package/features/workflowState/ApproveWorkflowStateStep/ApproveWorkflowStateStepUseCase.js +0 -38
  1434. package/features/workflowState/ApproveWorkflowStateStep/ApproveWorkflowStateStepUseCase.js.map +0 -1
  1435. package/features/workflowState/ApproveWorkflowStateStep/abstractions.d.ts +0 -26
  1436. package/features/workflowState/ApproveWorkflowStateStep/abstractions.js +0 -5
  1437. package/features/workflowState/ApproveWorkflowStateStep/abstractions.js.map +0 -1
  1438. package/features/workflowState/ApproveWorkflowStateStep/events.d.ts +0 -12
  1439. package/features/workflowState/ApproveWorkflowStateStep/events.js +0 -14
  1440. package/features/workflowState/ApproveWorkflowStateStep/events.js.map +0 -1
  1441. package/features/workflowState/ApproveWorkflowStateStep/feature.d.ts +0 -4
  1442. package/features/workflowState/ApproveWorkflowStateStep/feature.js +0 -11
  1443. package/features/workflowState/ApproveWorkflowStateStep/feature.js.map +0 -1
  1444. package/features/workflowState/ApproveWorkflowStateStep/index.d.ts +0 -2
  1445. package/features/workflowState/ApproveWorkflowStateStep/index.js +0 -2
  1446. package/features/workflowState/CancelWorkflowState/CancelWorkflowStateUseCase.d.ts +0 -13
  1447. package/features/workflowState/CancelWorkflowState/CancelWorkflowStateUseCase.js +0 -31
  1448. package/features/workflowState/CancelWorkflowState/CancelWorkflowStateUseCase.js.map +0 -1
  1449. package/features/workflowState/CancelWorkflowState/abstractions.d.ts +0 -26
  1450. package/features/workflowState/CancelWorkflowState/abstractions.js +0 -5
  1451. package/features/workflowState/CancelWorkflowState/abstractions.js.map +0 -1
  1452. package/features/workflowState/CancelWorkflowState/events.d.ts +0 -12
  1453. package/features/workflowState/CancelWorkflowState/events.js +0 -14
  1454. package/features/workflowState/CancelWorkflowState/events.js.map +0 -1
  1455. package/features/workflowState/CancelWorkflowState/feature.d.ts +0 -4
  1456. package/features/workflowState/CancelWorkflowState/feature.js +0 -11
  1457. package/features/workflowState/CancelWorkflowState/feature.js.map +0 -1
  1458. package/features/workflowState/CancelWorkflowState/index.d.ts +0 -2
  1459. package/features/workflowState/CancelWorkflowState/index.js +0 -2
  1460. package/features/workflowState/CreateWorkflowState/CreateWorkflowStateRepository.d.ts +0 -14
  1461. package/features/workflowState/CreateWorkflowState/CreateWorkflowStateRepository.js +0 -36
  1462. package/features/workflowState/CreateWorkflowState/CreateWorkflowStateRepository.js.map +0 -1
  1463. package/features/workflowState/CreateWorkflowState/CreateWorkflowStateUseCase.d.ts +0 -22
  1464. package/features/workflowState/CreateWorkflowState/CreateWorkflowStateUseCase.js +0 -105
  1465. package/features/workflowState/CreateWorkflowState/CreateWorkflowStateUseCase.js.map +0 -1
  1466. package/features/workflowState/CreateWorkflowState/DefaultWorkflowStateContextProvider.d.ts +0 -9
  1467. package/features/workflowState/CreateWorkflowState/DefaultWorkflowStateContextProvider.js +0 -13
  1468. package/features/workflowState/CreateWorkflowState/DefaultWorkflowStateContextProvider.js.map +0 -1
  1469. package/features/workflowState/CreateWorkflowState/WorkflowStateContextProvider.d.ts +0 -13
  1470. package/features/workflowState/CreateWorkflowState/WorkflowStateContextProvider.js +0 -5
  1471. package/features/workflowState/CreateWorkflowState/WorkflowStateContextProvider.js.map +0 -1
  1472. package/features/workflowState/CreateWorkflowState/abstractions.d.ts +0 -54
  1473. package/features/workflowState/CreateWorkflowState/abstractions.js +0 -6
  1474. package/features/workflowState/CreateWorkflowState/abstractions.js.map +0 -1
  1475. package/features/workflowState/CreateWorkflowState/events.d.ts +0 -12
  1476. package/features/workflowState/CreateWorkflowState/events.js +0 -14
  1477. package/features/workflowState/CreateWorkflowState/events.js.map +0 -1
  1478. package/features/workflowState/CreateWorkflowState/feature.d.ts +0 -4
  1479. package/features/workflowState/CreateWorkflowState/feature.js +0 -15
  1480. package/features/workflowState/CreateWorkflowState/feature.js.map +0 -1
  1481. package/features/workflowState/CreateWorkflowState/index.d.ts +0 -3
  1482. package/features/workflowState/CreateWorkflowState/index.js +0 -3
  1483. package/features/workflowState/DeleteTargetWorkflowState/DeleteTargetWorkflowStateUseCase.d.ts +0 -21
  1484. package/features/workflowState/DeleteTargetWorkflowState/DeleteTargetWorkflowStateUseCase.js +0 -62
  1485. package/features/workflowState/DeleteTargetWorkflowState/DeleteTargetWorkflowStateUseCase.js.map +0 -1
  1486. package/features/workflowState/DeleteTargetWorkflowState/abstractions.d.ts +0 -23
  1487. package/features/workflowState/DeleteTargetWorkflowState/abstractions.js +0 -5
  1488. package/features/workflowState/DeleteTargetWorkflowState/abstractions.js.map +0 -1
  1489. package/features/workflowState/DeleteTargetWorkflowState/events.d.ts +0 -12
  1490. package/features/workflowState/DeleteTargetWorkflowState/events.js +0 -14
  1491. package/features/workflowState/DeleteTargetWorkflowState/events.js.map +0 -1
  1492. package/features/workflowState/DeleteTargetWorkflowState/feature.d.ts +0 -4
  1493. package/features/workflowState/DeleteTargetWorkflowState/feature.js +0 -11
  1494. package/features/workflowState/DeleteTargetWorkflowState/feature.js.map +0 -1
  1495. package/features/workflowState/DeleteTargetWorkflowState/index.d.ts +0 -2
  1496. package/features/workflowState/DeleteTargetWorkflowState/index.js +0 -2
  1497. package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateRepository.d.ts +0 -13
  1498. package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateRepository.js +0 -25
  1499. package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateRepository.js.map +0 -1
  1500. package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateUseCase.d.ts +0 -14
  1501. package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateUseCase.js +0 -33
  1502. package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateUseCase.js.map +0 -1
  1503. package/features/workflowState/DeleteWorkflowState/abstractions.d.ts +0 -25
  1504. package/features/workflowState/DeleteWorkflowState/abstractions.js +0 -6
  1505. package/features/workflowState/DeleteWorkflowState/abstractions.js.map +0 -1
  1506. package/features/workflowState/DeleteWorkflowState/feature.d.ts +0 -4
  1507. package/features/workflowState/DeleteWorkflowState/feature.js +0 -13
  1508. package/features/workflowState/DeleteWorkflowState/feature.js.map +0 -1
  1509. package/features/workflowState/DeleteWorkflowState/index.d.ts +0 -1
  1510. package/features/workflowState/DeleteWorkflowState/index.js +0 -1
  1511. package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateRepository.d.ts +0 -14
  1512. package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateRepository.js +0 -49
  1513. package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateRepository.js.map +0 -1
  1514. package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateUseCase.d.ts +0 -14
  1515. package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateUseCase.js +0 -38
  1516. package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateUseCase.js.map +0 -1
  1517. package/features/workflowState/GetTargetWorkflowState/abstractions.d.ts +0 -48
  1518. package/features/workflowState/GetTargetWorkflowState/abstractions.js +0 -6
  1519. package/features/workflowState/GetTargetWorkflowState/abstractions.js.map +0 -1
  1520. package/features/workflowState/GetTargetWorkflowState/feature.d.ts +0 -4
  1521. package/features/workflowState/GetTargetWorkflowState/feature.js +0 -13
  1522. package/features/workflowState/GetTargetWorkflowState/feature.js.map +0 -1
  1523. package/features/workflowState/GetTargetWorkflowState/index.d.ts +0 -1
  1524. package/features/workflowState/GetTargetWorkflowState/index.js +0 -1
  1525. package/features/workflowState/GetWorkflowState/GetWorkflowStateRepository.d.ts +0 -14
  1526. package/features/workflowState/GetWorkflowState/GetWorkflowStateRepository.js +0 -36
  1527. package/features/workflowState/GetWorkflowState/GetWorkflowStateRepository.js.map +0 -1
  1528. package/features/workflowState/GetWorkflowState/GetWorkflowStateUseCase.d.ts +0 -14
  1529. package/features/workflowState/GetWorkflowState/GetWorkflowStateUseCase.js +0 -34
  1530. package/features/workflowState/GetWorkflowState/GetWorkflowStateUseCase.js.map +0 -1
  1531. package/features/workflowState/GetWorkflowState/abstractions.d.ts +0 -39
  1532. package/features/workflowState/GetWorkflowState/abstractions.js +0 -6
  1533. package/features/workflowState/GetWorkflowState/abstractions.js.map +0 -1
  1534. package/features/workflowState/GetWorkflowState/feature.d.ts +0 -4
  1535. package/features/workflowState/GetWorkflowState/feature.js +0 -13
  1536. package/features/workflowState/GetWorkflowState/feature.js.map +0 -1
  1537. package/features/workflowState/GetWorkflowState/index.d.ts +0 -1
  1538. package/features/workflowState/GetWorkflowState/index.js +0 -1
  1539. package/features/workflowState/ListOwnWorkflowStates/ListOwnWorkflowStatesUseCase.d.ts +0 -13
  1540. package/features/workflowState/ListOwnWorkflowStates/ListOwnWorkflowStatesUseCase.js +0 -42
  1541. package/features/workflowState/ListOwnWorkflowStates/ListOwnWorkflowStatesUseCase.js.map +0 -1
  1542. package/features/workflowState/ListOwnWorkflowStates/abstractions.d.ts +0 -22
  1543. package/features/workflowState/ListOwnWorkflowStates/abstractions.js +0 -5
  1544. package/features/workflowState/ListOwnWorkflowStates/abstractions.js.map +0 -1
  1545. package/features/workflowState/ListOwnWorkflowStates/feature.d.ts +0 -4
  1546. package/features/workflowState/ListOwnWorkflowStates/feature.js +0 -11
  1547. package/features/workflowState/ListOwnWorkflowStates/feature.js.map +0 -1
  1548. package/features/workflowState/ListOwnWorkflowStates/index.d.ts +0 -1
  1549. package/features/workflowState/ListOwnWorkflowStates/index.js +0 -1
  1550. package/features/workflowState/ListRequestedWorkflowStates/ListRequestedWorkflowStatesUseCase.d.ts +0 -15
  1551. package/features/workflowState/ListRequestedWorkflowStates/ListRequestedWorkflowStatesUseCase.js +0 -52
  1552. package/features/workflowState/ListRequestedWorkflowStates/ListRequestedWorkflowStatesUseCase.js.map +0 -1
  1553. package/features/workflowState/ListRequestedWorkflowStates/abstractions.d.ts +0 -22
  1554. package/features/workflowState/ListRequestedWorkflowStates/abstractions.js +0 -5
  1555. package/features/workflowState/ListRequestedWorkflowStates/abstractions.js.map +0 -1
  1556. package/features/workflowState/ListRequestedWorkflowStates/feature.d.ts +0 -4
  1557. package/features/workflowState/ListRequestedWorkflowStates/feature.js +0 -11
  1558. package/features/workflowState/ListRequestedWorkflowStates/feature.js.map +0 -1
  1559. package/features/workflowState/ListRequestedWorkflowStates/index.d.ts +0 -1
  1560. package/features/workflowState/ListRequestedWorkflowStates/index.js +0 -1
  1561. package/features/workflowState/ListWorkflowStates/DefaultWorkflowStateFilter.d.ts +0 -9
  1562. package/features/workflowState/ListWorkflowStates/DefaultWorkflowStateFilter.js +0 -13
  1563. package/features/workflowState/ListWorkflowStates/DefaultWorkflowStateFilter.js.map +0 -1
  1564. package/features/workflowState/ListWorkflowStates/ListWorkflowStatesRepository.d.ts +0 -16
  1565. package/features/workflowState/ListWorkflowStates/ListWorkflowStatesRepository.js +0 -47
  1566. package/features/workflowState/ListWorkflowStates/ListWorkflowStatesRepository.js.map +0 -1
  1567. package/features/workflowState/ListWorkflowStates/ListWorkflowStatesUseCase.d.ts +0 -16
  1568. package/features/workflowState/ListWorkflowStates/ListWorkflowStatesUseCase.js +0 -68
  1569. package/features/workflowState/ListWorkflowStates/ListWorkflowStatesUseCase.js.map +0 -1
  1570. package/features/workflowState/ListWorkflowStates/WorkflowStateFilter.d.ts +0 -8
  1571. package/features/workflowState/ListWorkflowStates/WorkflowStateFilter.js +0 -5
  1572. package/features/workflowState/ListWorkflowStates/WorkflowStateFilter.js.map +0 -1
  1573. package/features/workflowState/ListWorkflowStates/abstractions.d.ts +0 -71
  1574. package/features/workflowState/ListWorkflowStates/abstractions.js +0 -6
  1575. package/features/workflowState/ListWorkflowStates/abstractions.js.map +0 -1
  1576. package/features/workflowState/ListWorkflowStates/feature.d.ts +0 -4
  1577. package/features/workflowState/ListWorkflowStates/feature.js +0 -15
  1578. package/features/workflowState/ListWorkflowStates/feature.js.map +0 -1
  1579. package/features/workflowState/ListWorkflowStates/index.d.ts +0 -2
  1580. package/features/workflowState/ListWorkflowStates/index.js +0 -2
  1581. package/features/workflowState/README.md +0 -8
  1582. package/features/workflowState/RejectWorkflowStateStep/RejectWorkflowStateStepUseCase.d.ts +0 -15
  1583. package/features/workflowState/RejectWorkflowStateStep/RejectWorkflowStateStepUseCase.js +0 -38
  1584. package/features/workflowState/RejectWorkflowStateStep/RejectWorkflowStateStepUseCase.js.map +0 -1
  1585. package/features/workflowState/RejectWorkflowStateStep/abstractions.d.ts +0 -26
  1586. package/features/workflowState/RejectWorkflowStateStep/abstractions.js +0 -5
  1587. package/features/workflowState/RejectWorkflowStateStep/abstractions.js.map +0 -1
  1588. package/features/workflowState/RejectWorkflowStateStep/events.d.ts +0 -12
  1589. package/features/workflowState/RejectWorkflowStateStep/events.js +0 -14
  1590. package/features/workflowState/RejectWorkflowStateStep/events.js.map +0 -1
  1591. package/features/workflowState/RejectWorkflowStateStep/feature.d.ts +0 -4
  1592. package/features/workflowState/RejectWorkflowStateStep/feature.js +0 -11
  1593. package/features/workflowState/RejectWorkflowStateStep/feature.js.map +0 -1
  1594. package/features/workflowState/RejectWorkflowStateStep/index.d.ts +0 -2
  1595. package/features/workflowState/RejectWorkflowStateStep/index.js +0 -2
  1596. package/features/workflowState/StartWorkflowStateStep/StartWorkflowStateStepUseCase.d.ts +0 -15
  1597. package/features/workflowState/StartWorkflowStateStep/StartWorkflowStateStepUseCase.js +0 -38
  1598. package/features/workflowState/StartWorkflowStateStep/StartWorkflowStateStepUseCase.js.map +0 -1
  1599. package/features/workflowState/StartWorkflowStateStep/abstractions.d.ts +0 -25
  1600. package/features/workflowState/StartWorkflowStateStep/abstractions.js +0 -5
  1601. package/features/workflowState/StartWorkflowStateStep/abstractions.js.map +0 -1
  1602. package/features/workflowState/StartWorkflowStateStep/events.d.ts +0 -12
  1603. package/features/workflowState/StartWorkflowStateStep/events.js +0 -14
  1604. package/features/workflowState/StartWorkflowStateStep/events.js.map +0 -1
  1605. package/features/workflowState/StartWorkflowStateStep/feature.d.ts +0 -4
  1606. package/features/workflowState/StartWorkflowStateStep/feature.js +0 -11
  1607. package/features/workflowState/StartWorkflowStateStep/feature.js.map +0 -1
  1608. package/features/workflowState/StartWorkflowStateStep/index.d.ts +0 -2
  1609. package/features/workflowState/StartWorkflowStateStep/index.js +0 -2
  1610. package/features/workflowState/TakeOverWorkflowStateStep/TakeOverWorkflowStateStepUseCase.d.ts +0 -15
  1611. package/features/workflowState/TakeOverWorkflowStateStep/TakeOverWorkflowStateStepUseCase.js +0 -38
  1612. package/features/workflowState/TakeOverWorkflowStateStep/TakeOverWorkflowStateStepUseCase.js.map +0 -1
  1613. package/features/workflowState/TakeOverWorkflowStateStep/abstractions.d.ts +0 -26
  1614. package/features/workflowState/TakeOverWorkflowStateStep/abstractions.js +0 -5
  1615. package/features/workflowState/TakeOverWorkflowStateStep/abstractions.js.map +0 -1
  1616. package/features/workflowState/TakeOverWorkflowStateStep/events.d.ts +0 -12
  1617. package/features/workflowState/TakeOverWorkflowStateStep/events.js +0 -14
  1618. package/features/workflowState/TakeOverWorkflowStateStep/events.js.map +0 -1
  1619. package/features/workflowState/TakeOverWorkflowStateStep/feature.d.ts +0 -4
  1620. package/features/workflowState/TakeOverWorkflowStateStep/feature.js +0 -11
  1621. package/features/workflowState/TakeOverWorkflowStateStep/feature.js.map +0 -1
  1622. package/features/workflowState/TakeOverWorkflowStateStep/index.d.ts +0 -2
  1623. package/features/workflowState/TakeOverWorkflowStateStep/index.js +0 -2
  1624. package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateRepository.d.ts +0 -17
  1625. package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateRepository.js +0 -51
  1626. package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateRepository.js.map +0 -1
  1627. package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateUseCase.d.ts +0 -20
  1628. package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateUseCase.js +0 -60
  1629. package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateUseCase.js.map +0 -1
  1630. package/features/workflowState/UpdateWorkflowState/abstractions.d.ts +0 -48
  1631. package/features/workflowState/UpdateWorkflowState/abstractions.js +0 -6
  1632. package/features/workflowState/UpdateWorkflowState/abstractions.js.map +0 -1
  1633. package/features/workflowState/UpdateWorkflowState/events.d.ts +0 -12
  1634. package/features/workflowState/UpdateWorkflowState/events.js +0 -14
  1635. package/features/workflowState/UpdateWorkflowState/events.js.map +0 -1
  1636. package/features/workflowState/UpdateWorkflowState/feature.d.ts +0 -4
  1637. package/features/workflowState/UpdateWorkflowState/feature.js +0 -13
  1638. package/features/workflowState/UpdateWorkflowState/feature.js.map +0 -1
  1639. package/features/workflowState/UpdateWorkflowState/index.d.ts +0 -2
  1640. package/features/workflowState/UpdateWorkflowState/index.js +0 -2
  1641. package/graphql/notifications.d.ts +0 -2
  1642. package/graphql/notifications.js +0 -49
  1643. package/graphql/notifications.js.map +0 -1
  1644. package/graphql/validation/approveWorkflowState.d.ts +0 -5
  1645. package/graphql/validation/approveWorkflowState.js +0 -8
  1646. package/graphql/validation/approveWorkflowState.js.map +0 -1
  1647. package/graphql/validation/cancelWorkflowState.d.ts +0 -4
  1648. package/graphql/validation/cancelWorkflowState.js +0 -7
  1649. package/graphql/validation/cancelWorkflowState.js.map +0 -1
  1650. package/graphql/validation/createWorkflowState.d.ts +0 -6
  1651. package/graphql/validation/createWorkflowState.js +0 -9
  1652. package/graphql/validation/createWorkflowState.js.map +0 -1
  1653. package/graphql/validation/deleteWorkflow.d.ts +0 -5
  1654. package/graphql/validation/deleteWorkflow.js +0 -8
  1655. package/graphql/validation/deleteWorkflow.js.map +0 -1
  1656. package/graphql/validation/getTargetWorkflowState.d.ts +0 -5
  1657. package/graphql/validation/getTargetWorkflowState.js +0 -8
  1658. package/graphql/validation/getTargetWorkflowState.js.map +0 -1
  1659. package/graphql/validation/getWorkflow.d.ts +0 -5
  1660. package/graphql/validation/getWorkflow.js +0 -8
  1661. package/graphql/validation/getWorkflow.js.map +0 -1
  1662. package/graphql/validation/getWorkflowState.d.ts +0 -4
  1663. package/graphql/validation/getWorkflowState.js +0 -7
  1664. package/graphql/validation/getWorkflowState.js.map +0 -1
  1665. package/graphql/validation/listWorkflowStates.d.ts +0 -26
  1666. package/graphql/validation/listWorkflowStates.js +0 -36
  1667. package/graphql/validation/listWorkflowStates.js.map +0 -1
  1668. package/graphql/validation/listWorkflows.d.ts +0 -12
  1669. package/graphql/validation/listWorkflows.js +0 -19
  1670. package/graphql/validation/listWorkflows.js.map +0 -1
  1671. package/graphql/validation/rejectWorkflowState.d.ts +0 -5
  1672. package/graphql/validation/rejectWorkflowState.js +0 -8
  1673. package/graphql/validation/rejectWorkflowState.js.map +0 -1
  1674. package/graphql/validation/startWorkflowState.d.ts +0 -4
  1675. package/graphql/validation/startWorkflowState.js +0 -7
  1676. package/graphql/validation/startWorkflowState.js.map +0 -1
  1677. package/graphql/validation/step.d.ts +0 -21
  1678. package/graphql/validation/step.js +0 -16
  1679. package/graphql/validation/step.js.map +0 -1
  1680. package/graphql/validation/storeWorkflow.d.ts +0 -35
  1681. package/graphql/validation/storeWorkflow.js +0 -10
  1682. package/graphql/validation/storeWorkflow.js.map +0 -1
  1683. package/graphql/validation/takeOverWorkflowStateStep.d.ts +0 -4
  1684. package/graphql/validation/takeOverWorkflowStateStep.js +0 -7
  1685. package/graphql/validation/takeOverWorkflowStateStep.js.map +0 -1
  1686. package/graphql/validation/workflow.d.ts +0 -33
  1687. package/graphql/validation/workflow.js +0 -9
  1688. package/graphql/validation/workflow.js.map +0 -1
  1689. package/graphql/workflowState.d.ts +0 -2
  1690. package/graphql/workflowState.js +0 -429
  1691. package/graphql/workflowState.js.map +0 -1
  1692. package/graphql/workflows.d.ts +0 -2
  1693. package/graphql/workflows.js +0 -213
  1694. package/graphql/workflows.js.map +0 -1
  1695. /package/{features/shared/abstractions.js → domain/PersistenceErrorSource.js} +0 -0
@@ -0,0 +1,8 @@
1
+ import type { ReviewData } from "../../domain/review/types.js";
2
+ import type { AssignmentEntry, ReviewWithAssignments } from "./types.js";
3
+ /**
4
+ * The review with each step's assignment-log entries (D127, R96). Pure. Records of other reviews
5
+ * or unknown steps are ignored; the order of `records` is kept per step (newest first when they
6
+ * come from `ListReviewAssignmentsUseCase`). Redact before attaching.
7
+ */
8
+ export declare const attachAssignmentRecords: (review: ReviewData, records: AssignmentEntry[]) => ReviewWithAssignments;
@@ -0,0 +1,13 @@
1
+ const attachAssignmentRecords = (review, records)=>{
2
+ const own = records.filter((record)=>record.reviewId === review.id);
3
+ return {
4
+ ...review,
5
+ steps: review.steps.map((step)=>({
6
+ ...step,
7
+ assignments: own.filter((record)=>record.stepId === step.id)
8
+ }))
9
+ };
10
+ };
11
+ export { attachAssignmentRecords };
12
+
13
+ //# sourceMappingURL=attachAssignmentRecords.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/assignment/attachAssignmentRecords.js","sources":["../../../src/domain/assignment/attachAssignmentRecords.ts"],"sourcesContent":["import type { ReviewData } from \"~/domain/review/types.js\";\nimport type { AssignmentEntry, ReviewWithAssignments } from \"./types.js\";\n\n/**\n * The review with each step's assignment-log entries (D127, R96). Pure. Records of other reviews\n * or unknown steps are ignored; the order of `records` is kept per step (newest first when they\n * come from `ListReviewAssignmentsUseCase`). Redact before attaching.\n */\nexport const attachAssignmentRecords = (\n review: ReviewData,\n records: AssignmentEntry[]\n): ReviewWithAssignments => {\n const own = records.filter(record => record.reviewId === review.id);\n return {\n ...review,\n steps: review.steps.map(step => ({\n ...step,\n assignments: own.filter(record => record.stepId === step.id)\n }))\n };\n};\n"],"names":["attachAssignmentRecords","review","records","own","record","step"],"mappings":"AAQO,MAAMA,0BAA0B,CACnCC,QACAC;IAEA,MAAMC,MAAMD,QAAQ,MAAM,CAACE,CAAAA,SAAUA,OAAO,QAAQ,KAAKH,OAAO,EAAE;IAClE,OAAO;QACH,GAAGA,MAAM;QACT,OAAOA,OAAO,KAAK,CAAC,GAAG,CAACI,CAAAA,OAAS;gBAC7B,GAAGA,IAAI;gBACP,aAAaF,IAAI,MAAM,CAACC,CAAAA,SAAUA,OAAO,MAAM,KAAKC,KAAK,EAAE;YAC/D;IACJ;AACJ"}
@@ -0,0 +1,6 @@
1
+ import type { PersistenceErrorSource } from "../../domain/PersistenceErrorSource.js";
2
+ import { PersistenceError } from "../../domain/PersistenceError.js";
3
+ export declare class AssignmentPersistenceError extends PersistenceError {
4
+ readonly code: "Workflows/Assignment/Persistence";
5
+ constructor(error: PersistenceErrorSource);
6
+ }
@@ -0,0 +1,9 @@
1
+ import { PersistenceError } from "../PersistenceError.js";
2
+ class AssignmentPersistenceError extends PersistenceError {
3
+ constructor(error){
4
+ super("The review assignments could not be read or saved.", error), this.code = "Workflows/Assignment/Persistence";
5
+ }
6
+ }
7
+ export { AssignmentPersistenceError };
8
+
9
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/assignment/errors.js","sources":["../../../src/domain/assignment/errors.ts"],"sourcesContent":["import type { PersistenceErrorSource } from \"~/domain/PersistenceErrorSource.js\";\nimport { PersistenceError } from \"~/domain/PersistenceError.js\";\n\nexport class AssignmentPersistenceError extends PersistenceError {\n override readonly code = \"Workflows/Assignment/Persistence\" as const;\n\n constructor(error: PersistenceErrorSource) {\n super(\"The review assignments could not be read or saved.\", error);\n }\n}\n"],"names":["AssignmentPersistenceError","PersistenceError","error"],"mappings":";AAGO,MAAMA,mCAAmCC;IAG5C,YAAYC,KAA6B,CAAE;QACvC,KAAK,CAAC,sDAAsDA,QAAAA,IAAAA,CAH9C,IAAI,GAAG;IAIzB;AACJ"}
@@ -0,0 +1,8 @@
1
+ import type { WorkflowsPermissionSet } from "../../domain/permissions/types.js";
2
+ import type { AssignmentRecord } from "./types.js";
3
+ /**
4
+ * The assignment entries one viewer may see (spec 8, D89, D127, R96). Pure. `editor` and
5
+ * `reassign` (full access sets both) see every record; everyone else sees only the outcomes,
6
+ * because a skip names a person and why they were passed over. Order is kept.
7
+ */
8
+ export declare const redactAssignmentRecords: <TRecord extends AssignmentRecord>(records: TRecord[], permissions: WorkflowsPermissionSet) => TRecord[];
@@ -0,0 +1,9 @@
1
+ const redactAssignmentRecords = (records, permissions)=>{
2
+ if (permissions.editor || permissions.reassign) return [
3
+ ...records
4
+ ];
5
+ return records.filter((record)=>"skip" !== record.kind);
6
+ };
7
+ export { redactAssignmentRecords };
8
+
9
+ //# sourceMappingURL=redactAssignmentRecords.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/assignment/redactAssignmentRecords.js","sources":["../../../src/domain/assignment/redactAssignmentRecords.ts"],"sourcesContent":["import type { WorkflowsPermissionSet } from \"~/domain/permissions/types.js\";\nimport type { AssignmentRecord } from \"./types.js\";\n\n/**\n * The assignment entries one viewer may see (spec 8, D89, D127, R96). Pure. `editor` and\n * `reassign` (full access sets both) see every record; everyone else sees only the outcomes,\n * because a skip names a person and why they were passed over. Order is kept.\n */\nexport const redactAssignmentRecords = <TRecord extends AssignmentRecord>(\n records: TRecord[],\n permissions: WorkflowsPermissionSet\n): TRecord[] => {\n if (permissions.editor || permissions.reassign) {\n return [...records];\n }\n return records.filter(record => record.kind !== \"skip\");\n};\n"],"names":["redactAssignmentRecords","records","permissions","record"],"mappings":"AAQO,MAAMA,0BAA0B,CACnCC,SACAC;IAEA,IAAIA,YAAY,MAAM,IAAIA,YAAY,QAAQ,EAC1C,OAAO;WAAID;KAAQ;IAEvB,OAAOA,QAAQ,MAAM,CAACE,CAAAA,SAAUA,AAAgB,WAAhBA,OAAO,IAAI;AAC/C"}
@@ -0,0 +1,10 @@
1
+ import type { ReviewFact } from "../../domain/review/facts.js";
2
+ import type { ReviewData } from "../../domain/review/types.js";
3
+ import type { AssignmentRecordValues } from "./types.js";
4
+ /**
5
+ * The assignment-log records one saved fact produces, in decision order (spec 4.3, 6, R117).
6
+ * Pure. Step reached carries the resolver's skips and outcome; start, take over and reassign carry one
7
+ * outcome. `assignedOn` is the fact's time, which is the reach `now`. Every fact type has a case,
8
+ * so a new fact does not compile until it says whether it writes records.
9
+ */
10
+ export declare const toAssignmentRecordValues: (review: ReviewData, fact: ReviewFact) => AssignmentRecordValues[];
@@ -0,0 +1,29 @@
1
+ const toAssignmentRecordValues = (review, fact)=>{
2
+ switch(fact.type){
3
+ case "stepReached":
4
+ case "stepStarted":
5
+ case "stepTakenOver":
6
+ case "stepReassigned":
7
+ return fact.records.map((record)=>({
8
+ ...record,
9
+ by: record.by ? {
10
+ ...record.by
11
+ } : null,
12
+ reviewId: review.id,
13
+ workflowId: review.workflowId,
14
+ stepId: fact.change.stepId,
15
+ assignedOn: fact.occurredOn
16
+ }));
17
+ case "requested":
18
+ case "stepApproved":
19
+ case "stepRejected":
20
+ case "stepFailed":
21
+ case "stepRestarted":
22
+ case "cancelled":
23
+ case "approved":
24
+ return [];
25
+ }
26
+ };
27
+ export { toAssignmentRecordValues };
28
+
29
+ //# sourceMappingURL=toAssignmentRecordValues.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/assignment/toAssignmentRecordValues.js","sources":["../../../src/domain/assignment/toAssignmentRecordValues.ts"],"sourcesContent":["import type { ReviewFact } from \"~/domain/review/facts.js\";\nimport type { ReviewData } from \"~/domain/review/types.js\";\nimport type { AssignmentRecordValues } from \"./types.js\";\n\n/**\n * The assignment-log records one saved fact produces, in decision order (spec 4.3, 6, R117).\n * Pure. Step reached carries the resolver's skips and outcome; start, take over and reassign carry one\n * outcome. `assignedOn` is the fact's time, which is the reach `now`. Every fact type has a case,\n * so a new fact does not compile until it says whether it writes records.\n */\nexport const toAssignmentRecordValues = (\n review: ReviewData,\n fact: ReviewFact\n): AssignmentRecordValues[] => {\n switch (fact.type) {\n case \"stepReached\":\n case \"stepStarted\":\n case \"stepTakenOver\":\n case \"stepReassigned\":\n return fact.records.map((record): AssignmentRecordValues => {\n return {\n ...record,\n by: record.by ? { ...record.by } : null,\n reviewId: review.id,\n workflowId: review.workflowId,\n stepId: fact.change.stepId,\n assignedOn: fact.occurredOn\n };\n });\n case \"requested\":\n case \"stepApproved\":\n case \"stepRejected\":\n case \"stepFailed\":\n case \"stepRestarted\":\n case \"cancelled\":\n case \"approved\":\n return [];\n }\n};\n"],"names":["toAssignmentRecordValues","review","fact","record"],"mappings":"AAUO,MAAMA,2BAA2B,CACpCC,QACAC;IAEA,OAAQA,KAAK,IAAI;QACb,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;YACD,OAAOA,KAAK,OAAO,CAAC,GAAG,CAAC,CAACC,SACd;oBACH,GAAGA,MAAM;oBACT,IAAIA,OAAO,EAAE,GAAG;wBAAE,GAAGA,OAAO,EAAE;oBAAC,IAAI;oBACnC,UAAUF,OAAO,EAAE;oBACnB,YAAYA,OAAO,UAAU;oBAC7B,QAAQC,KAAK,MAAM,CAAC,MAAM;oBAC1B,YAAYA,KAAK,UAAU;gBAC/B;QAER,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;YACD,OAAO,EAAE;IACjB;AACJ"}
@@ -0,0 +1,63 @@
1
+ import type { Actor, ReviewData, ReviewStep, ReviewViewerFlags } from "../../domain/review/types.js";
2
+ /**
3
+ * `outcome`: who got the step (pick, rule, strategy, pool, start, take over, reassign). `skip`: a
4
+ * person passed over, with the reason (requester, excluded, not a member, cannot read); only
5
+ * viewers with `editor` or `reassign` see these (D89, D127).
6
+ */
7
+ export type AssignmentRecordKind = "outcome" | "skip";
8
+ /**
9
+ * Why a step has its owner (R109). `rule`: a rule's user target; a rule's team target leaves the
10
+ * strategy name or `pool` with the rule in `ruleId`. `poolStart`, `takeOver` and `reassign` are
11
+ * the transitions that change the owner after the step was reached.
12
+ */
13
+ export type AssignmentSource = "picked" | "rule" | "roundRobin" | "leastLoaded" | "pool" | "poolStart" | "takeOver" | "reassign";
14
+ /**
15
+ * One assignment decision, before it is tied to a saved review (R117): the resolver and the
16
+ * transitions produce these, `ReviewSaver` writes them after the save.
17
+ */
18
+ export interface AssignmentDecision {
19
+ kind: AssignmentRecordKind;
20
+ /**
21
+ * The owner (outcome) or the person passed over (skip); `null` for the pool and for a skipped
22
+ * rule whose team target is not one of the step's teams.
23
+ */
24
+ userId: string | null;
25
+ source: AssignmentSource;
26
+ /** The rule that decided or was skipped; `null` otherwise. */
27
+ ruleId: string | null;
28
+ /** Who acted, for take over and reassign. */
29
+ by: Actor | null;
30
+ /**
31
+ * A fixed text for skips and pool fall-through (R112, R116). Never an exclusion's own reason
32
+ * (D89, D97).
33
+ */
34
+ reason: string | null;
35
+ }
36
+ /** One assignment-log record (spec 4.3, D20, D45, D127), written after the review save (R117). */
37
+ export interface AssignmentRecordValues extends AssignmentDecision {
38
+ reviewId: string;
39
+ workflowId: string;
40
+ stepId: string;
41
+ assignedOn: string;
42
+ }
43
+ export interface AssignmentRecord extends AssignmentRecordValues {
44
+ id: string;
45
+ }
46
+ /** A record as the review screens read it (D127, R251). */
47
+ export interface AssignmentEntry extends AssignmentRecord {
48
+ /** The user's display name; `null` without a user, for a deleted user or when it could not be read. */
49
+ userDisplayName: string | null;
50
+ }
51
+ /** A review step with its assignment-log entries, newest first (D127). */
52
+ export interface ReviewStepWithAssignments extends ReviewStep {
53
+ assignments: AssignmentEntry[];
54
+ }
55
+ /** A review as the get-review wrappers return it: each step carries its entries (R96). */
56
+ export interface ReviewWithAssignments extends Omit<ReviewData, "steps"> {
57
+ steps: ReviewStepWithAssignments[];
58
+ }
59
+ /** The get-review wrappers' value: the review with entries and the viewer's flags (spec 5.3). */
60
+ export interface ReviewWithAssignmentsAndViewerFlags {
61
+ review: ReviewWithAssignments;
62
+ flags: ReviewViewerFlags;
63
+ }
File without changes
@@ -0,0 +1,17 @@
1
+ import zod from "zod";
2
+ /** The stored config of an "automation" step (R133). */
3
+ export interface AutomationStepConfig {
4
+ automationId: string;
5
+ /** Validated against the definition's `settingsSchema`; stored as the author entered them and parsed again on every use. */
6
+ settings: Record<string, unknown>;
7
+ }
8
+ /**
9
+ * The shell of an automation step's config: which automation, and its settings. The settings
10
+ * themselves are validated against the chosen definition's `settingsSchema`, not here. This is
11
+ * the step type's `configSchema` (what `listStepTypes` returns); the editor gets the settings
12
+ * schema per automation from `listAutomationDefinitions`.
13
+ */
14
+ export declare const automationStepConfigSchema: zod.ZodObject<{
15
+ automationId: zod.ZodString;
16
+ settings: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
17
+ }, zod.core.$strip>;
@@ -0,0 +1,8 @@
1
+ import zod from "zod";
2
+ const automationStepConfigSchema = zod.object({
3
+ automationId: zod.string().min(1),
4
+ settings: zod.record(zod.string(), zod.unknown())
5
+ });
6
+ export { automationStepConfigSchema };
7
+
8
+ //# sourceMappingURL=automationStepConfigSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/automation/automationStepConfigSchema.js","sources":["../../../src/domain/automation/automationStepConfigSchema.ts"],"sourcesContent":["import zod from \"zod\";\n\n/** The stored config of an \"automation\" step (R133). */\nexport interface AutomationStepConfig {\n automationId: string;\n /** Validated against the definition's `settingsSchema`; stored as the author entered them and parsed again on every use. */\n settings: Record<string, unknown>;\n}\n\n/**\n * The shell of an automation step's config: which automation, and its settings. The settings\n * themselves are validated against the chosen definition's `settingsSchema`, not here. This is\n * the step type's `configSchema` (what `listStepTypes` returns); the editor gets the settings\n * schema per automation from `listAutomationDefinitions`.\n */\nexport const automationStepConfigSchema = zod.object({\n automationId: zod.string().min(1),\n settings: zod.record(zod.string(), zod.unknown())\n});\n"],"names":["automationStepConfigSchema","zod"],"mappings":";AAeO,MAAMA,6BAA6BC,IAAI,MAAM,CAAC;IACjD,cAAcA,IAAI,MAAM,GAAG,GAAG,CAAC;IAC/B,UAAUA,IAAI,MAAM,CAACA,IAAI,MAAM,IAAIA,IAAI,OAAO;AAClD"}
@@ -0,0 +1,8 @@
1
+ import type { Actor } from "../../domain/review/types.js";
2
+ /**
3
+ * The actor of an automation step (spec 5.2, D58, D107, R141): the requester's id and name with
4
+ * the `automation` type, so the step's owner, its approve and reject facts and its `fail` facts
5
+ * say who the automation acts for. `identityType` is omitted: an automation is not an identity.
6
+ * Pure.
7
+ */
8
+ export declare const getAutomationActor: (requester: Actor) => Actor;
@@ -0,0 +1,8 @@
1
+ const getAutomationActor = (requester)=>({
2
+ type: "automation",
3
+ id: requester.id,
4
+ displayName: requester.displayName
5
+ });
6
+ export { getAutomationActor };
7
+
8
+ //# sourceMappingURL=getAutomationActor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/automation/getAutomationActor.js","sources":["../../../src/domain/automation/getAutomationActor.ts"],"sourcesContent":["import type { Actor } from \"~/domain/review/types.js\";\n\n/**\n * The actor of an automation step (spec 5.2, D58, D107, R141): the requester's id and name with\n * the `automation` type, so the step's owner, its approve and reject facts and its `fail` facts\n * say who the automation acts for. `identityType` is omitted: an automation is not an identity.\n * Pure.\n */\nexport const getAutomationActor = (requester: Actor): Actor => {\n return {\n type: \"automation\",\n id: requester.id,\n displayName: requester.displayName\n };\n};\n"],"names":["getAutomationActor","requester"],"mappings":"AAQO,MAAMA,qBAAqB,CAACC,YACxB;QACH,MAAM;QACN,IAAIA,UAAU,EAAE;QAChB,aAAaA,UAAU,WAAW;IACtC"}
@@ -0,0 +1,9 @@
1
+ import { AuthenticatedIdentity } from "@webiny/api-core/features/security/IdentityContext/index.js";
2
+ import type { Actor } from "../../domain/review/types.js";
3
+ /**
4
+ * The identity an automation step runs as (D58, D87, R149, R161): the review's requester, with
5
+ * the requester's identity type (`admin` when it has none) and tenant access. The trigger and
6
+ * the run handler both use it, so the task's `createdBy` and the handler's identity match.
7
+ * Pure.
8
+ */
9
+ export declare const getRequesterIdentity: (requester: Actor) => AuthenticatedIdentity;
@@ -0,0 +1,12 @@
1
+ import { AuthenticatedIdentity } from "@webiny/api-core/features/security/IdentityContext/index.js";
2
+ const getRequesterIdentity = (requester)=>new AuthenticatedIdentity({
3
+ id: requester.id,
4
+ displayName: requester.displayName,
5
+ type: requester.identityType ?? "admin",
6
+ context: {
7
+ canAccessTenant: true
8
+ }
9
+ });
10
+ export { getRequesterIdentity };
11
+
12
+ //# sourceMappingURL=getRequesterIdentity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/automation/getRequesterIdentity.js","sources":["../../../src/domain/automation/getRequesterIdentity.ts"],"sourcesContent":["import { AuthenticatedIdentity } from \"@webiny/api-core/features/security/IdentityContext/index.js\";\nimport type { Actor } from \"~/domain/review/types.js\";\n\n/**\n * The identity an automation step runs as (D58, D87, R149, R161): the review's requester, with\n * the requester's identity type (`admin` when it has none) and tenant access. The trigger and\n * the run handler both use it, so the task's `createdBy` and the handler's identity match.\n * Pure.\n */\nexport const getRequesterIdentity = (requester: Actor): AuthenticatedIdentity => {\n return new AuthenticatedIdentity({\n id: requester.id,\n displayName: requester.displayName,\n type: requester.identityType ?? \"admin\",\n context: { canAccessTenant: true }\n });\n};\n"],"names":["getRequesterIdentity","requester","AuthenticatedIdentity"],"mappings":";AASO,MAAMA,uBAAuB,CAACC,YAC1B,IAAIC,sBAAsB;QAC7B,IAAID,UAAU,EAAE;QAChB,aAAaA,UAAU,WAAW;QAClC,MAAMA,UAAU,YAAY,IAAI;QAChC,SAAS;YAAE,iBAAiB;QAAK;IACrC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Whether an automation's `models` cover every model of a workflow (D35, R136): `"*"` covers all,
3
+ * `"<app>.*"` covers the namespace ids starting with `"<app>."`, anything else is an exact
4
+ * namespace id. A workflow without models is never covered.
5
+ */
6
+ export declare const matchesAutomationScope: (automationModels: string[], workflowModels: string[]) => boolean;
@@ -0,0 +1,16 @@
1
+ const WILDCARD_SUFFIX = ".*";
2
+ const coversModel = (automationModel, workflowModel)=>{
3
+ if ("*" === automationModel) return true;
4
+ if (automationModel.endsWith(WILDCARD_SUFFIX) && automationModel.length > WILDCARD_SUFFIX.length) {
5
+ const prefix = automationModel.slice(0, -1);
6
+ return workflowModel.startsWith(prefix) && workflowModel.length > prefix.length;
7
+ }
8
+ return automationModel === workflowModel;
9
+ };
10
+ const matchesAutomationScope = (automationModels, workflowModels)=>{
11
+ if (0 === workflowModels.length) return false;
12
+ return workflowModels.every((workflowModel)=>automationModels.some((automationModel)=>coversModel(automationModel, workflowModel)));
13
+ };
14
+ export { matchesAutomationScope };
15
+
16
+ //# sourceMappingURL=matchesAutomationScope.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/automation/matchesAutomationScope.js","sources":["../../../src/domain/automation/matchesAutomationScope.ts"],"sourcesContent":["const WILDCARD_SUFFIX = \".*\";\n\nconst coversModel = (automationModel: string, workflowModel: string): boolean => {\n if (automationModel === \"*\") {\n return true;\n }\n if (\n automationModel.endsWith(WILDCARD_SUFFIX) &&\n automationModel.length > WILDCARD_SUFFIX.length\n ) {\n // \"cms.*\" covers \"cms.article\": the namespace prefix up to and including the dot.\n const prefix = automationModel.slice(0, -1);\n return workflowModel.startsWith(prefix) && workflowModel.length > prefix.length;\n }\n return automationModel === workflowModel;\n};\n\n/**\n * Whether an automation's `models` cover every model of a workflow (D35, R136): `\"*\"` covers all,\n * `\"<app>.*\"` covers the namespace ids starting with `\"<app>.\"`, anything else is an exact\n * namespace id. A workflow without models is never covered.\n */\nexport const matchesAutomationScope = (\n automationModels: string[],\n workflowModels: string[]\n): boolean => {\n if (workflowModels.length === 0) {\n return false;\n }\n return workflowModels.every(workflowModel => {\n return automationModels.some(automationModel => {\n return coversModel(automationModel, workflowModel);\n });\n });\n};\n"],"names":["WILDCARD_SUFFIX","coversModel","automationModel","workflowModel","prefix","matchesAutomationScope","automationModels","workflowModels"],"mappings":"AAAA,MAAMA,kBAAkB;AAExB,MAAMC,cAAc,CAACC,iBAAyBC;IAC1C,IAAID,AAAoB,QAApBA,iBACA,OAAO;IAEX,IACIA,gBAAgB,QAAQ,CAACF,oBACzBE,gBAAgB,MAAM,GAAGF,gBAAgB,MAAM,EACjD;QAEE,MAAMI,SAASF,gBAAgB,KAAK,CAAC,GAAG;QACxC,OAAOC,cAAc,UAAU,CAACC,WAAWD,cAAc,MAAM,GAAGC,OAAO,MAAM;IACnF;IACA,OAAOF,oBAAoBC;AAC/B;AAOO,MAAME,yBAAyB,CAClCC,kBACAC;IAEA,IAAIA,AAA0B,MAA1BA,eAAe,MAAM,EACrB,OAAO;IAEX,OAAOA,eAAe,KAAK,CAACJ,CAAAA,gBACjBG,iBAAiB,IAAI,CAACJ,CAAAA,kBAClBD,YAAYC,iBAAiBC;AAGhD"}
@@ -0,0 +1,8 @@
1
+ import { Result } from "@webiny/feature/api";
2
+ import type { ZodType } from "zod";
3
+ /**
4
+ * Parses a step's settings with the definition's `settingsSchema` (R133, R137, R148). Ok is the
5
+ * parsed value (defaults applied); fail is the first issue as `"<path>: <message>"`, the path
6
+ * dot-joined and omitted when empty. Save, reach and restart word their own reasons around it.
7
+ */
8
+ export declare const parseAutomationSettings: (settingsSchema: ZodType, settings: unknown) => Result<unknown, string>;
@@ -0,0 +1,11 @@
1
+ import { Result } from "@webiny/feature/api";
2
+ import { parseAutomationSettingsIssue } from "./parseAutomationSettingsIssue.js";
3
+ const parseAutomationSettings = (settingsSchema, settings)=>{
4
+ const parsed = parseAutomationSettingsIssue(settingsSchema, settings);
5
+ if (parsed.isOk()) return Result.ok(parsed.value);
6
+ const { path, message } = parsed.error;
7
+ return Result.fail(path ? `${path}: ${message}` : message);
8
+ };
9
+ export { parseAutomationSettings };
10
+
11
+ //# sourceMappingURL=parseAutomationSettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/automation/parseAutomationSettings.js","sources":["../../../src/domain/automation/parseAutomationSettings.ts"],"sourcesContent":["import { Result } from \"@webiny/feature/api\";\nimport type { ZodType } from \"zod\";\nimport { parseAutomationSettingsIssue } from \"./parseAutomationSettingsIssue.js\";\n\n/**\n * Parses a step's settings with the definition's `settingsSchema` (R133, R137, R148). Ok is the\n * parsed value (defaults applied); fail is the first issue as `\"<path>: <message>\"`, the path\n * dot-joined and omitted when empty. Save, reach and restart word their own reasons around it.\n */\nexport const parseAutomationSettings = (\n settingsSchema: ZodType,\n settings: unknown\n): Result<unknown, string> => {\n const parsed = parseAutomationSettingsIssue(settingsSchema, settings);\n if (parsed.isOk()) {\n return Result.ok(parsed.value);\n }\n const { path, message } = parsed.error;\n return Result.fail(path ? `${path}: ${message}` : message);\n};\n"],"names":["parseAutomationSettings","settingsSchema","settings","parsed","parseAutomationSettingsIssue","Result","path","message"],"mappings":";;AASO,MAAMA,0BAA0B,CACnCC,gBACAC;IAEA,MAAMC,SAASC,6BAA6BH,gBAAgBC;IAC5D,IAAIC,OAAO,IAAI,IACX,OAAOE,OAAO,EAAE,CAACF,OAAO,KAAK;IAEjC,MAAM,EAAEG,IAAI,EAAEC,OAAO,EAAE,GAAGJ,OAAO,KAAK;IACtC,OAAOE,OAAO,IAAI,CAACC,OAAO,GAAGA,KAAK,EAAE,EAAEC,SAAS,GAAGA;AACtD"}
@@ -0,0 +1,14 @@
1
+ import { Result } from "@webiny/feature/api";
2
+ import type { ZodType } from "zod";
3
+ /** The first problem of a step's automation settings (R267): where it is and what is wrong. */
4
+ export interface AutomationSettingsIssue {
5
+ /** The zod issue path joined by dots; empty when the issue has no path. */
6
+ path: string;
7
+ message: string;
8
+ }
9
+ /**
10
+ * Parses a step's settings with the definition's `settingsSchema`, like `parseAutomationSettings`,
11
+ * but fails with the first issue split into its path and message, so the save-time validation can
12
+ * name the settings field (R267). Ok is the parsed value (defaults applied).
13
+ */
14
+ export declare const parseAutomationSettingsIssue: (schema: ZodType, settings: unknown) => Result<unknown, AutomationSettingsIssue>;
@@ -0,0 +1,15 @@
1
+ import { Result } from "@webiny/feature/api";
2
+ const parseAutomationSettingsIssue = (schema, settings)=>{
3
+ const parsed = schema.safeParse(settings);
4
+ if (parsed.success) return Result.ok(parsed.data);
5
+ const [issue] = parsed.error.issues;
6
+ const path = issue?.path.map(String).join(".") ?? "";
7
+ const message = issue?.message ?? "unknown error";
8
+ return Result.fail({
9
+ path,
10
+ message
11
+ });
12
+ };
13
+ export { parseAutomationSettingsIssue };
14
+
15
+ //# sourceMappingURL=parseAutomationSettingsIssue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/automation/parseAutomationSettingsIssue.js","sources":["../../../src/domain/automation/parseAutomationSettingsIssue.ts"],"sourcesContent":["import { Result } from \"@webiny/feature/api\";\nimport type { ZodType } from \"zod\";\n\n/** The first problem of a step's automation settings (R267): where it is and what is wrong. */\nexport interface AutomationSettingsIssue {\n /** The zod issue path joined by dots; empty when the issue has no path. */\n path: string;\n message: string;\n}\n\n/**\n * Parses a step's settings with the definition's `settingsSchema`, like `parseAutomationSettings`,\n * but fails with the first issue split into its path and message, so the save-time validation can\n * name the settings field (R267). Ok is the parsed value (defaults applied).\n */\nexport const parseAutomationSettingsIssue = (\n schema: ZodType,\n settings: unknown\n): Result<unknown, AutomationSettingsIssue> => {\n const parsed = schema.safeParse(settings);\n if (parsed.success) {\n return Result.ok(parsed.data);\n }\n const [issue] = parsed.error.issues;\n const path = issue?.path.map(String).join(\".\") ?? \"\";\n const message = issue?.message ?? \"unknown error\";\n return Result.fail({ path, message });\n};\n"],"names":["parseAutomationSettingsIssue","schema","settings","parsed","Result","issue","path","String","message"],"mappings":";AAeO,MAAMA,+BAA+B,CACxCC,QACAC;IAEA,MAAMC,SAASF,OAAO,SAAS,CAACC;IAChC,IAAIC,OAAO,OAAO,EACd,OAAOC,OAAO,EAAE,CAACD,OAAO,IAAI;IAEhC,MAAM,CAACE,MAAM,GAAGF,OAAO,KAAK,CAAC,MAAM;IACnC,MAAMG,OAAOD,OAAO,KAAK,IAAIE,QAAQ,KAAK,QAAQ;IAClD,MAAMC,UAAUH,OAAO,WAAW;IAClC,OAAOD,OAAO,IAAI,CAAC;QAAEE;QAAME;IAAQ;AACvC"}
@@ -0,0 +1,69 @@
1
+ /**
2
+ * A step type the workflow editor can offer (D130): a row of `listStepTypes`, built from the
3
+ * `StepType` registry (R138).
4
+ */
5
+ export interface WorkflowStepTypeInfo {
6
+ /** Stored on `WorkflowStep.type`, e.g. "review". */
7
+ type: string;
8
+ title: string;
9
+ /** Whether a step of this type may be added now. */
10
+ available: boolean;
11
+ /** Why it is unavailable; `null` when available. */
12
+ unavailableReason: string | null;
13
+ /** JSON schema of the step's `config`; `null` when the type has no editable config yet. */
14
+ configSchema: Record<string, unknown> | null;
15
+ }
16
+ /**
17
+ * An automation a workflow author can add as a step (R138): a row of `listAutomationDefinitions`.
18
+ * `models` is the scope (D35); `settingsSchema` is the JSON schema of what the author fills in.
19
+ */
20
+ export interface AutomationDefinitionInfo {
21
+ id: string;
22
+ name: string;
23
+ models: string[];
24
+ settingsSchema: Record<string, unknown>;
25
+ }
26
+ /**
27
+ * An AI tool a workflow author can allowlist on an AI step (R167): a row of `listAiTools`. No
28
+ * input schema: the editor shows what a tool is, the runner builds what the model sees.
29
+ */
30
+ export interface WorkflowAiToolInfo {
31
+ name: string;
32
+ title: string;
33
+ description: string;
34
+ /** The plain name the step editor shows. */
35
+ label: string;
36
+ /** The one sentence the step editor shows. */
37
+ summary: string;
38
+ /** True when the tool writes or updates the content under review (R283). */
39
+ changesContent: boolean;
40
+ }
41
+ /**
42
+ * A user as the workflows configuration screens list one (D48, D104, R286): no email or roles.
43
+ * `teamIds` are the ids of the user's teams, never their names; `[]` for a user with no teams and
44
+ * for every user while teams are off.
45
+ */
46
+ export interface WorkflowListedUser {
47
+ id: string;
48
+ displayName: string;
49
+ teamIds: string[];
50
+ }
51
+ /** The shared user list (R123). `missingIds`: requested ids with no user (D117); `[]` for a search. */
52
+ export interface WorkflowUserList {
53
+ users: WorkflowListedUser[];
54
+ missingIds: string[];
55
+ }
56
+ /**
57
+ * A team as the workflow editor lists one (R268): no slug, description or roles. `memberCount` is
58
+ * the number of admin users in the team, so the editor can warn about a team with no members.
59
+ */
60
+ export interface WorkflowTeamSummary {
61
+ id: string;
62
+ name: string;
63
+ memberCount: number;
64
+ }
65
+ /** The shared team list (R268). `missingIds`: requested ids with no team; `[]` for a search. */
66
+ export interface WorkflowTeamList {
67
+ teams: WorkflowTeamSummary[];
68
+ missingIds: string[];
69
+ }
File without changes
@@ -0,0 +1,15 @@
1
+ /** Runs on one item; must not throw (a throw rejects the whole run). */
2
+ export type ConcurrentItemTask<T> = (item: T) => Promise<void>;
3
+ /**
4
+ * Runs `task` on every item, at most `limit` at a time, in no particular order: a fixed number of
5
+ * workers each takes the next item.
6
+ *
7
+ * An accepted exception to "no storage I/O in loops", only for independent writes that have no
8
+ * batch API and stay few. Its two uses:
9
+ * - `ReviewSaver`: the assignment records of a save (the CMS has no create-multiple). Usually one
10
+ * to three; at most about the step's team size when nearly every candidate is skipped.
11
+ * - `DeleteTargetReviewsUseCase`: `CleanupTaskSubtreeUseCase` per run task of a deleted review
12
+ * (it takes one task id). One to four per review; run tasks have no subtasks.
13
+ * Anything with a batch API, or that can grow with stored data, must batch instead.
14
+ */
15
+ export declare const forEachWithConcurrency: <T>(items: T[], limit: number, task: ConcurrentItemTask<T>) => Promise<void>;
@@ -0,0 +1,17 @@
1
+ const forEachWithConcurrency = async (items, limit, task)=>{
2
+ let next = 0;
3
+ const worker = async ()=>{
4
+ while(next < items.length){
5
+ const item = items[next];
6
+ next++;
7
+ await task(item);
8
+ }
9
+ };
10
+ const workerCount = Math.min(limit, items.length);
11
+ const workers = [];
12
+ for(let index = 0; index < workerCount; index++)workers.push(worker());
13
+ await Promise.all(workers);
14
+ };
15
+ export { forEachWithConcurrency };
16
+
17
+ //# sourceMappingURL=forEachWithConcurrency.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/forEachWithConcurrency.js","sources":["../../src/domain/forEachWithConcurrency.ts"],"sourcesContent":["/** Runs on one item; must not throw (a throw rejects the whole run). */\nexport type ConcurrentItemTask<T> = (item: T) => Promise<void>;\n\n/**\n * Runs `task` on every item, at most `limit` at a time, in no particular order: a fixed number of\n * workers each takes the next item.\n *\n * An accepted exception to \"no storage I/O in loops\", only for independent writes that have no\n * batch API and stay few. Its two uses:\n * - `ReviewSaver`: the assignment records of a save (the CMS has no create-multiple). Usually one\n * to three; at most about the step's team size when nearly every candidate is skipped.\n * - `DeleteTargetReviewsUseCase`: `CleanupTaskSubtreeUseCase` per run task of a deleted review\n * (it takes one task id). One to four per review; run tasks have no subtasks.\n * Anything with a batch API, or that can grow with stored data, must batch instead.\n */\nexport const forEachWithConcurrency = async <T>(\n items: T[],\n limit: number,\n task: ConcurrentItemTask<T>\n): Promise<void> => {\n let next = 0;\n const worker = async (): Promise<void> => {\n while (next < items.length) {\n const item = items[next];\n next++;\n // oxlint-disable-next-line no-await-in-loop -- each worker runs its items one by one; the workers run in parallel.\n await task(item);\n }\n };\n const workerCount = Math.min(limit, items.length);\n const workers: Promise<void>[] = [];\n for (let index = 0; index < workerCount; index++) {\n workers.push(worker());\n }\n await Promise.all(workers);\n};\n"],"names":["forEachWithConcurrency","items","limit","task","next","worker","item","workerCount","Math","workers","index","Promise"],"mappings":"AAeO,MAAMA,yBAAyB,OAClCC,OACAC,OACAC;IAEA,IAAIC,OAAO;IACX,MAAMC,SAAS;QACX,MAAOD,OAAOH,MAAM,MAAM,CAAE;YACxB,MAAMK,OAAOL,KAAK,CAACG,KAAK;YACxBA;YAEA,MAAMD,KAAKG;QACf;IACJ;IACA,MAAMC,cAAcC,KAAK,GAAG,CAACN,OAAOD,MAAM,MAAM;IAChD,MAAMQ,UAA2B,EAAE;IACnC,IAAK,IAAIC,QAAQ,GAAGA,QAAQH,aAAaG,QACrCD,QAAQ,IAAI,CAACJ;IAEjB,MAAMM,QAAQ,GAAG,CAACF;AACtB"}
@@ -0,0 +1,10 @@
1
+ import type { PersistenceErrorSource } from "./PersistenceErrorSource.js";
2
+ /**
3
+ * An error that keeps the raw storage error off its message and payload (R146). Server code logs
4
+ * `source`; clients only get the fixed message.
5
+ */
6
+ export interface ErrorWithSource extends Error {
7
+ readonly source: PersistenceErrorSource;
8
+ }
9
+ /** Duck-typed so errors built in other packages are recognised. */
10
+ export declare const hasErrorSource: (error: unknown) => error is ErrorWithSource;
@@ -0,0 +1,4 @@
1
+ const hasErrorSource = (error)=>error instanceof Error && error.source instanceof Error;
2
+ export { hasErrorSource };
3
+
4
+ //# sourceMappingURL=hasErrorSource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/hasErrorSource.js","sources":["../../src/domain/hasErrorSource.ts"],"sourcesContent":["import type { PersistenceErrorSource } from \"./PersistenceErrorSource.js\";\n\n/**\n * An error that keeps the raw storage error off its message and payload (R146). Server code logs\n * `source`; clients only get the fixed message.\n */\nexport interface ErrorWithSource extends Error {\n readonly source: PersistenceErrorSource;\n}\n\n/** Duck-typed so errors built in other packages are recognised. */\nexport const hasErrorSource = (error: unknown): error is ErrorWithSource => {\n return error instanceof Error && (error as Partial<ErrorWithSource>).source instanceof Error;\n};\n"],"names":["hasErrorSource","error","Error"],"mappings":"AAWO,MAAMA,iBAAiB,CAACC,QACpBA,iBAAiBC,SAAUD,MAAmC,MAAM,YAAYC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The rejection comment as a message shows it (R189a): trimmed, and cut so that the result,
3
+ * including the appended `…`, is at most `NOTIFICATION_COMMENT_MAX_LENGTH` code points. Counted by
4
+ * code point, so an emoji is never split. Pure.
5
+ */
6
+ export declare const clampComment: (comment: string) => string;
@@ -0,0 +1,11 @@
1
+ import { NOTIFICATION_COMMENT_MAX_LENGTH } from "./constants.js";
2
+ const clampComment = (comment)=>{
3
+ const trimmed = comment.trim();
4
+ const characters = Array.from(trimmed);
5
+ if (characters.length <= NOTIFICATION_COMMENT_MAX_LENGTH) return trimmed;
6
+ const kept = characters.slice(0, NOTIFICATION_COMMENT_MAX_LENGTH - 1).join("");
7
+ return `${kept.trimEnd()}…`;
8
+ };
9
+ export { clampComment };
10
+
11
+ //# sourceMappingURL=clampComment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/notifications/clampComment.js","sources":["../../../src/domain/notifications/clampComment.ts"],"sourcesContent":["import { NOTIFICATION_COMMENT_MAX_LENGTH } from \"~/domain/notifications/constants.js\";\n\n/**\n * The rejection comment as a message shows it (R189a): trimmed, and cut so that the result,\n * including the appended `…`, is at most `NOTIFICATION_COMMENT_MAX_LENGTH` code points. Counted by\n * code point, so an emoji is never split. Pure.\n */\nexport const clampComment = (comment: string): string => {\n const trimmed = comment.trim();\n const characters = Array.from(trimmed);\n if (characters.length <= NOTIFICATION_COMMENT_MAX_LENGTH) {\n return trimmed;\n }\n const kept = characters.slice(0, NOTIFICATION_COMMENT_MAX_LENGTH - 1).join(\"\");\n return `${kept.trimEnd()}…`;\n};\n"],"names":["clampComment","comment","trimmed","characters","Array","NOTIFICATION_COMMENT_MAX_LENGTH","kept"],"mappings":";AAOO,MAAMA,eAAe,CAACC;IACzB,MAAMC,UAAUD,QAAQ,IAAI;IAC5B,MAAME,aAAaC,MAAM,IAAI,CAACF;IAC9B,IAAIC,WAAW,MAAM,IAAIE,iCACrB,OAAOH;IAEX,MAAMI,OAAOH,WAAW,KAAK,CAAC,GAAGE,kCAAkC,GAAG,IAAI,CAAC;IAC3E,OAAO,GAAGC,KAAK,OAAO,GAAG,CAAC,CAAC;AAC/B"}
@@ -0,0 +1,2 @@
1
+ /** The rejection comment in a message is cut to this many characters, `…` included (R189a). */
2
+ export declare const NOTIFICATION_COMMENT_MAX_LENGTH = 300;
@@ -0,0 +1,4 @@
1
+ const NOTIFICATION_COMMENT_MAX_LENGTH = 300;
2
+ export { NOTIFICATION_COMMENT_MAX_LENGTH };
3
+
4
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/notifications/constants.js","sources":["../../../src/domain/notifications/constants.ts"],"sourcesContent":["/** The rejection comment in a message is cut to this many characters, `…` included (R189a). */\nexport const NOTIFICATION_COMMENT_MAX_LENGTH = 300;\n"],"names":["NOTIFICATION_COMMENT_MAX_LENGTH"],"mappings":"AACO,MAAMA,kCAAkC"}
@@ -0,0 +1,11 @@
1
+ import type { Actor } from "../../domain/review/types.js";
2
+ /** A notification recipient, known by its id. */
3
+ export interface DropActorRecipient {
4
+ id: string;
5
+ }
6
+ /**
7
+ * Nobody is told about their own action (R184), but only a person's. An AI or an automation actor
8
+ * carries the requester's id (D58), so it never drops the requester: the requester still hears
9
+ * that the AI rejected the review. Returns a new array. Pure.
10
+ */
11
+ export declare const dropActor: <T extends DropActorRecipient>(recipients: T[], actor: Actor) => T[];
@@ -0,0 +1,9 @@
1
+ const dropActor = (recipients, actor)=>{
2
+ if ("user" !== actor.type) return [
3
+ ...recipients
4
+ ];
5
+ return recipients.filter((recipient)=>recipient.id !== actor.id);
6
+ };
7
+ export { dropActor };
8
+
9
+ //# sourceMappingURL=dropActor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/notifications/dropActor.js","sources":["../../../src/domain/notifications/dropActor.ts"],"sourcesContent":["import type { Actor } from \"~/domain/review/types.js\";\n\n/** A notification recipient, known by its id. */\nexport interface DropActorRecipient {\n id: string;\n}\n\n/**\n * Nobody is told about their own action (R184), but only a person's. An AI or an automation actor\n * carries the requester's id (D58), so it never drops the requester: the requester still hears\n * that the AI rejected the review. Returns a new array. Pure.\n */\nexport const dropActor = <T extends DropActorRecipient>(recipients: T[], actor: Actor): T[] => {\n if (actor.type !== \"user\") {\n return [...recipients];\n }\n return recipients.filter(recipient => recipient.id !== actor.id);\n};\n"],"names":["dropActor","recipients","actor","recipient"],"mappings":"AAYO,MAAMA,YAAY,CAA+BC,YAAiBC;IACrE,IAAIA,AAAe,WAAfA,MAAM,IAAI,EACV,OAAO;WAAID;KAAW;IAE1B,OAAOA,WAAW,MAAM,CAACE,CAAAA,YAAaA,UAAU,EAAE,KAAKD,MAAM,EAAE;AACnE"}
@@ -0,0 +1,7 @@
1
+ import type { Actor } from "../../domain/review/types.js";
2
+ /**
3
+ * How a message names an actor (D107, D126, R189a): a person by their display name (a blank name
4
+ * reads "A user"), an AI step or an automation by the step title, never by the model's or the
5
+ * automation's own name. Pure.
6
+ */
7
+ export declare const getActorName: (actor: Actor, stepTitle: string) => string;
@@ -0,0 +1,8 @@
1
+ const getActorName = (actor, stepTitle)=>{
2
+ if ("user" !== actor.type) return stepTitle;
3
+ const name = actor.displayName.trim();
4
+ return "" === name ? "A user" : name;
5
+ };
6
+ export { getActorName };
7
+
8
+ //# sourceMappingURL=getActorName.js.map