@webiny/api-workflows 0.0.0-unstable.81ae05e56b → 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 (1717) hide show
  1. package/WorkflowsFeature.d.ts +5 -0
  2. package/WorkflowsFeature.js +155 -0
  3. package/WorkflowsFeature.js.map +1 -0
  4. package/constants.d.ts +25 -1
  5. package/constants.js +17 -3
  6. package/constants.js.map +1 -1
  7. package/domain/PersistenceError.d.ts +21 -0
  8. package/domain/PersistenceError.js +22 -0
  9. package/domain/PersistenceError.js.map +1 -0
  10. package/domain/PersistenceErrorSource.d.ts +6 -0
  11. package/domain/PersistenceErrorSource.js +0 -0
  12. package/domain/ai/getAiActor.d.ts +7 -0
  13. package/domain/ai/getAiActor.js +8 -0
  14. package/domain/ai/getAiActor.js.map +1 -0
  15. package/domain/aiTools/isWorkflowAiToolName.d.ts +6 -0
  16. package/domain/aiTools/isWorkflowAiToolName.js +5 -0
  17. package/domain/aiTools/isWorkflowAiToolName.js.map +1 -0
  18. package/domain/assignment/abstractions/AssignmentModelProvider.d.ts +9 -0
  19. package/domain/assignment/abstractions/AssignmentModelProvider.js +5 -0
  20. package/domain/assignment/abstractions/AssignmentModelProvider.js.map +1 -0
  21. package/domain/assignment/abstractions/AssignmentRepository.d.ts +59 -0
  22. package/domain/assignment/abstractions/AssignmentRepository.js +5 -0
  23. package/domain/assignment/abstractions/AssignmentRepository.js.map +1 -0
  24. package/domain/assignment/assignment.model.d.ts +12 -0
  25. package/domain/assignment/assignment.model.js +36 -0
  26. package/domain/assignment/assignment.model.js.map +1 -0
  27. package/domain/assignment/attachAssignmentRecords.d.ts +8 -0
  28. package/domain/assignment/attachAssignmentRecords.js +13 -0
  29. package/domain/assignment/attachAssignmentRecords.js.map +1 -0
  30. package/domain/assignment/errors.d.ts +6 -0
  31. package/domain/assignment/errors.js +9 -0
  32. package/domain/assignment/errors.js.map +1 -0
  33. package/domain/assignment/redactAssignmentRecords.d.ts +8 -0
  34. package/domain/assignment/redactAssignmentRecords.js +9 -0
  35. package/domain/assignment/redactAssignmentRecords.js.map +1 -0
  36. package/domain/assignment/toAssignmentRecordValues.d.ts +10 -0
  37. package/domain/assignment/toAssignmentRecordValues.js +29 -0
  38. package/domain/assignment/toAssignmentRecordValues.js.map +1 -0
  39. package/domain/assignment/types.d.ts +63 -0
  40. package/domain/assignment/types.js +0 -0
  41. package/domain/automation/automationStepConfigSchema.d.ts +17 -0
  42. package/domain/automation/automationStepConfigSchema.js +8 -0
  43. package/domain/automation/automationStepConfigSchema.js.map +1 -0
  44. package/domain/automation/getAutomationActor.d.ts +8 -0
  45. package/domain/automation/getAutomationActor.js +8 -0
  46. package/domain/automation/getAutomationActor.js.map +1 -0
  47. package/domain/automation/getRequesterIdentity.d.ts +9 -0
  48. package/domain/automation/getRequesterIdentity.js +12 -0
  49. package/domain/automation/getRequesterIdentity.js.map +1 -0
  50. package/domain/automation/matchesAutomationScope.d.ts +6 -0
  51. package/domain/automation/matchesAutomationScope.js +16 -0
  52. package/domain/automation/matchesAutomationScope.js.map +1 -0
  53. package/domain/automation/parseAutomationSettings.d.ts +8 -0
  54. package/domain/automation/parseAutomationSettings.js +11 -0
  55. package/domain/automation/parseAutomationSettings.js.map +1 -0
  56. package/domain/automation/parseAutomationSettingsIssue.d.ts +14 -0
  57. package/domain/automation/parseAutomationSettingsIssue.js +15 -0
  58. package/domain/automation/parseAutomationSettingsIssue.js.map +1 -0
  59. package/domain/config/types.d.ts +69 -0
  60. package/domain/config/types.js +0 -0
  61. package/domain/forEachWithConcurrency.d.ts +15 -0
  62. package/domain/forEachWithConcurrency.js +17 -0
  63. package/domain/forEachWithConcurrency.js.map +1 -0
  64. package/domain/hasErrorSource.d.ts +10 -0
  65. package/domain/hasErrorSource.js +4 -0
  66. package/domain/hasErrorSource.js.map +1 -0
  67. package/domain/notifications/clampComment.d.ts +6 -0
  68. package/domain/notifications/clampComment.js +11 -0
  69. package/domain/notifications/clampComment.js.map +1 -0
  70. package/domain/notifications/constants.d.ts +2 -0
  71. package/domain/notifications/constants.js +4 -0
  72. package/domain/notifications/constants.js.map +1 -0
  73. package/domain/notifications/dropActor.d.ts +11 -0
  74. package/domain/notifications/dropActor.js +9 -0
  75. package/domain/notifications/dropActor.js.map +1 -0
  76. package/domain/notifications/getActorName.d.ts +7 -0
  77. package/domain/notifications/getActorName.js +8 -0
  78. package/domain/notifications/getActorName.js.map +1 -0
  79. package/domain/notifications/getReviewChangeRecipients.d.ts +8 -0
  80. package/domain/notifications/getReviewChangeRecipients.js +16 -0
  81. package/domain/notifications/getReviewChangeRecipients.js.map +1 -0
  82. package/domain/notifications/messages/buildApprovedMessage.d.ts +7 -0
  83. package/domain/notifications/messages/buildApprovedMessage.js +13 -0
  84. package/domain/notifications/messages/buildApprovedMessage.js.map +1 -0
  85. package/domain/notifications/messages/buildAssignedMessage.d.ts +18 -0
  86. package/domain/notifications/messages/buildAssignedMessage.js +14 -0
  87. package/domain/notifications/messages/buildAssignedMessage.js.map +1 -0
  88. package/domain/notifications/messages/buildCancelledMessage.d.ts +15 -0
  89. package/domain/notifications/messages/buildCancelledMessage.js +30 -0
  90. package/domain/notifications/messages/buildCancelledMessage.js.map +1 -0
  91. package/domain/notifications/messages/buildFailedMessage.d.ts +13 -0
  92. package/domain/notifications/messages/buildFailedMessage.js +13 -0
  93. package/domain/notifications/messages/buildFailedMessage.js.map +1 -0
  94. package/domain/notifications/messages/buildPoolReachedMessage.d.ts +10 -0
  95. package/domain/notifications/messages/buildPoolReachedMessage.js +13 -0
  96. package/domain/notifications/messages/buildPoolReachedMessage.js.map +1 -0
  97. package/domain/notifications/messages/buildReassignedMessage.d.ts +12 -0
  98. package/domain/notifications/messages/buildReassignedMessage.js +13 -0
  99. package/domain/notifications/messages/buildReassignedMessage.js.map +1 -0
  100. package/domain/notifications/messages/buildRejectedMessage.d.ts +12 -0
  101. package/domain/notifications/messages/buildRejectedMessage.js +25 -0
  102. package/domain/notifications/messages/buildRejectedMessage.js.map +1 -0
  103. package/domain/notifications/messages/buildTakenOverMessage.d.ts +10 -0
  104. package/domain/notifications/messages/buildTakenOverMessage.js +13 -0
  105. package/domain/notifications/messages/buildTakenOverMessage.js.map +1 -0
  106. package/domain/notifications/messages/getAssignmentReason.d.ts +7 -0
  107. package/domain/notifications/messages/getAssignmentReason.js +17 -0
  108. package/domain/notifications/messages/getAssignmentReason.js.map +1 -0
  109. package/domain/notifications/toSingleLine.d.ts +6 -0
  110. package/domain/notifications/toSingleLine.js +4 -0
  111. package/domain/notifications/toSingleLine.js.map +1 -0
  112. package/domain/notifications/types.d.ts +58 -0
  113. package/domain/notifications/types.js +0 -0
  114. package/domain/permissions/errors.d.ts +15 -0
  115. package/domain/permissions/errors.js +19 -0
  116. package/domain/permissions/errors.js.map +1 -0
  117. package/domain/permissions/types.d.ts +11 -0
  118. package/domain/permissions/types.js +0 -0
  119. package/domain/review/Review.d.ts +258 -0
  120. package/domain/review/Review.js +702 -0
  121. package/domain/review/Review.js.map +1 -0
  122. package/domain/review/ReviewStepRunInfo.d.ts +18 -0
  123. package/domain/review/ReviewStepRunInfo.js +0 -0
  124. package/domain/review/abstractions/ReviewModelProvider.d.ts +9 -0
  125. package/domain/review/abstractions/ReviewModelProvider.js +5 -0
  126. package/domain/review/abstractions/ReviewModelProvider.js.map +1 -0
  127. package/domain/review/abstractions/ReviewRepository.d.ts +122 -0
  128. package/domain/review/abstractions/ReviewRepository.js +5 -0
  129. package/domain/review/abstractions/ReviewRepository.js.map +1 -0
  130. package/domain/review/applyTargetAccess.d.ts +6 -0
  131. package/domain/review/applyTargetAccess.js +17 -0
  132. package/domain/review/applyTargetAccess.js.map +1 -0
  133. package/domain/review/canCancelByPermission.d.ts +9 -0
  134. package/domain/review/canCancelByPermission.js +8 -0
  135. package/domain/review/canCancelByPermission.js.map +1 -0
  136. package/domain/review/canReassignByPermission.d.ts +7 -0
  137. package/domain/review/canReassignByPermission.js +4 -0
  138. package/domain/review/canReassignByPermission.js.map +1 -0
  139. package/domain/review/canRestartByPermission.d.ts +9 -0
  140. package/domain/review/canRestartByPermission.js +8 -0
  141. package/domain/review/canRestartByPermission.js.map +1 -0
  142. package/domain/review/canViewStepRunByPermission.d.ts +7 -0
  143. package/domain/review/canViewStepRunByPermission.js +4 -0
  144. package/domain/review/canViewStepRunByPermission.js.map +1 -0
  145. package/domain/review/errors.d.ts +234 -0
  146. package/domain/review/errors.js +190 -0
  147. package/domain/review/errors.js.map +1 -0
  148. package/domain/review/facts.d.ts +111 -0
  149. package/domain/review/facts.js +0 -0
  150. package/domain/review/getDeleteCancelReason.d.ts +5 -0
  151. package/domain/review/getDeleteCancelReason.js +6 -0
  152. package/domain/review/getDeleteCancelReason.js.map +1 -0
  153. package/domain/review/getReviewViewerFlags.d.ts +14 -0
  154. package/domain/review/getReviewViewerFlags.js +39 -0
  155. package/domain/review/getReviewViewerFlags.js.map +1 -0
  156. package/domain/review/getStaleStepRunReason.d.ts +17 -0
  157. package/domain/review/getStaleStepRunReason.js +13 -0
  158. package/domain/review/getStaleStepRunReason.js.map +1 -0
  159. package/domain/review/matchesReviewList.d.ts +17 -0
  160. package/domain/review/matchesReviewList.js +27 -0
  161. package/domain/review/matchesReviewList.js.map +1 -0
  162. package/domain/review/matchesReviewReadFilter.d.ts +6 -0
  163. package/domain/review/matchesReviewReadFilter.js +9 -0
  164. package/domain/review/matchesReviewReadFilter.js.map +1 -0
  165. package/domain/review/review.model.d.ts +14 -0
  166. package/domain/review/review.model.js +112 -0
  167. package/domain/review/review.model.js.map +1 -0
  168. package/domain/review/toBlockingReview.d.ts +7 -0
  169. package/domain/review/toBlockingReview.js +18 -0
  170. package/domain/review/toBlockingReview.js.map +1 -0
  171. package/domain/review/types.d.ts +211 -0
  172. package/domain/review/types.js +0 -0
  173. package/domain/routing/createRoutingFailedResolution.d.ts +8 -0
  174. package/domain/routing/createRoutingFailedResolution.js +30 -0
  175. package/domain/routing/createRoutingFailedResolution.js.map +1 -0
  176. package/domain/routing/errors.d.ts +25 -0
  177. package/domain/routing/errors.js +18 -0
  178. package/domain/routing/errors.js.map +1 -0
  179. package/domain/routing/findNarrowedTeamId.d.ts +5 -0
  180. package/domain/routing/findNarrowedTeamId.js +8 -0
  181. package/domain/routing/findNarrowedTeamId.js.map +1 -0
  182. package/domain/routing/getFailedRoutingConditions.d.ts +10 -0
  183. package/domain/routing/getFailedRoutingConditions.js +13 -0
  184. package/domain/routing/getFailedRoutingConditions.js.map +1 -0
  185. package/domain/routing/getRoutingUserSkipReason.d.ts +16 -0
  186. package/domain/routing/getRoutingUserSkipReason.js +10 -0
  187. package/domain/routing/getRoutingUserSkipReason.js.map +1 -0
  188. package/domain/routing/listNotEvaluatedTrace.d.ts +7 -0
  189. package/domain/routing/listNotEvaluatedTrace.js +9 -0
  190. package/domain/routing/listNotEvaluatedTrace.js.map +1 -0
  191. package/domain/routing/listRoutingCandidates.d.ts +15 -0
  192. package/domain/routing/listRoutingCandidates.js +7 -0
  193. package/domain/routing/listRoutingCandidates.js.map +1 -0
  194. package/domain/routing/listStrategySkips.d.ts +22 -0
  195. package/domain/routing/listStrategySkips.js +28 -0
  196. package/domain/routing/listStrategySkips.js.map +1 -0
  197. package/domain/routing/matchRoutingRuleConditions.d.ts +9 -0
  198. package/domain/routing/matchRoutingRuleConditions.js +7 -0
  199. package/domain/routing/matchRoutingRuleConditions.js.map +1 -0
  200. package/domain/routing/matchRoutingRuleLocalConditions.d.ts +8 -0
  201. package/domain/routing/matchRoutingRuleLocalConditions.js +10 -0
  202. package/domain/routing/matchRoutingRuleLocalConditions.js.map +1 -0
  203. package/domain/routing/matchesFolderCondition.d.ts +8 -0
  204. package/domain/routing/matchesFolderCondition.js +11 -0
  205. package/domain/routing/matchesFolderCondition.js.map +1 -0
  206. package/domain/routing/matchesFolderTypeCondition.d.ts +8 -0
  207. package/domain/routing/matchesFolderTypeCondition.js +7 -0
  208. package/domain/routing/matchesFolderTypeCondition.js.map +1 -0
  209. package/domain/routing/matchesRequesterTeamCondition.d.ts +4 -0
  210. package/domain/routing/matchesRequesterTeamCondition.js +4 -0
  211. package/domain/routing/matchesRequesterTeamCondition.js.map +1 -0
  212. package/domain/routing/matchesRequesterUserCondition.d.ts +4 -0
  213. package/domain/routing/matchesRequesterUserCondition.js +4 -0
  214. package/domain/routing/matchesRequesterUserCondition.js.map +1 -0
  215. package/domain/routing/orderLeastLoaded.d.ts +7 -0
  216. package/domain/routing/orderLeastLoaded.js +18 -0
  217. package/domain/routing/orderLeastLoaded.js.map +1 -0
  218. package/domain/routing/orderRoundRobin.d.ts +7 -0
  219. package/domain/routing/orderRoundRobin.js +16 -0
  220. package/domain/routing/orderRoundRobin.js.map +1 -0
  221. package/domain/routing/reasons.d.ts +22 -0
  222. package/domain/routing/reasons.js +12 -0
  223. package/domain/routing/reasons.js.map +1 -0
  224. package/domain/routing/redactStepCandidates.d.ts +8 -0
  225. package/domain/routing/redactStepCandidates.js +12 -0
  226. package/domain/routing/redactStepCandidates.js.map +1 -0
  227. package/domain/routing/toInspectionTrace.d.ts +6 -0
  228. package/domain/routing/toInspectionTrace.js +11 -0
  229. package/domain/routing/toInspectionTrace.js.map +1 -0
  230. package/domain/routing/toRoutingEvaluation.d.ts +20 -0
  231. package/domain/routing/toRoutingEvaluation.js +40 -0
  232. package/domain/routing/toRoutingEvaluation.js.map +1 -0
  233. package/domain/routing/toStepAssignmentResolution.d.ts +7 -0
  234. package/domain/routing/toStepAssignmentResolution.js +24 -0
  235. package/domain/routing/toStepAssignmentResolution.js.map +1 -0
  236. package/domain/routing/toStepMembersParams.d.ts +15 -0
  237. package/domain/routing/toStepMembersParams.js +19 -0
  238. package/domain/routing/toStepMembersParams.js.map +1 -0
  239. package/domain/routing/types.d.ts +198 -0
  240. package/domain/routing/types.js +0 -0
  241. package/domain/settings/WorkflowSettingsValidator.d.ts +7 -0
  242. package/domain/settings/WorkflowSettingsValidator.js +39 -0
  243. package/domain/settings/WorkflowSettingsValidator.js.map +1 -0
  244. package/domain/settings/abstractions/WorkflowSettingsModelProvider.d.ts +9 -0
  245. package/domain/settings/abstractions/WorkflowSettingsModelProvider.js +5 -0
  246. package/domain/settings/abstractions/WorkflowSettingsModelProvider.js.map +1 -0
  247. package/domain/settings/abstractions/WorkflowSettingsRepository.d.ts +13 -0
  248. package/domain/settings/abstractions/WorkflowSettingsRepository.js +5 -0
  249. package/domain/settings/abstractions/WorkflowSettingsRepository.js.map +1 -0
  250. package/domain/settings/errors.d.ts +14 -0
  251. package/domain/settings/errors.js +18 -0
  252. package/domain/settings/errors.js.map +1 -0
  253. package/domain/settings/filterActiveExclusions.d.ts +3 -0
  254. package/domain/settings/filterActiveExclusions.js +4 -0
  255. package/domain/settings/filterActiveExclusions.js.map +1 -0
  256. package/domain/settings/settings.model.d.ts +9 -0
  257. package/domain/settings/settings.model.js +26 -0
  258. package/domain/settings/settings.model.js.map +1 -0
  259. package/domain/settings/types.d.ts +10 -0
  260. package/domain/settings/types.js +0 -0
  261. package/domain/toChunks.d.ts +2 -0
  262. package/domain/toChunks.js +8 -0
  263. package/domain/toChunks.js.map +1 -0
  264. package/domain/workflow/WorkflowValidator.d.ts +26 -0
  265. package/domain/workflow/WorkflowValidator.js +65 -0
  266. package/domain/workflow/WorkflowValidator.js.map +1 -0
  267. package/domain/workflow/abstractions/WorkflowModelProvider.d.ts +12 -0
  268. package/domain/workflow/abstractions/WorkflowModelProvider.js +5 -0
  269. package/domain/workflow/abstractions/WorkflowModelProvider.js.map +1 -0
  270. package/domain/workflow/abstractions/WorkflowRepository.d.ts +32 -0
  271. package/domain/workflow/abstractions/WorkflowRepository.js +5 -0
  272. package/domain/workflow/abstractions/WorkflowRepository.js.map +1 -0
  273. package/domain/workflow/canPickReviewer.d.ts +8 -0
  274. package/domain/workflow/canPickReviewer.js +10 -0
  275. package/domain/workflow/canPickReviewer.js.map +1 -0
  276. package/domain/workflow/errors.d.ts +53 -15
  277. package/domain/workflow/errors.js +46 -29
  278. package/domain/workflow/errors.js.map +1 -1
  279. package/domain/workflow/findReviewStepConfigProblem.d.ts +8 -0
  280. package/domain/workflow/findReviewStepConfigProblem.js +21 -0
  281. package/domain/workflow/findReviewStepConfigProblem.js.map +1 -0
  282. package/domain/workflow/findRuleWithoutTarget.d.ts +10 -0
  283. package/domain/workflow/findRuleWithoutTarget.js +15 -0
  284. package/domain/workflow/findRuleWithoutTarget.js.map +1 -0
  285. package/domain/workflow/getConfigIssueField.d.ts +6 -0
  286. package/domain/workflow/getConfigIssueField.js +7 -0
  287. package/domain/workflow/getConfigIssueField.js.map +1 -0
  288. package/domain/workflow/isAppWorkflow.d.ts +7 -0
  289. package/domain/workflow/isAppWorkflow.js +5 -0
  290. package/domain/workflow/isAppWorkflow.js.map +1 -0
  291. package/domain/workflow/reviewStepConfigSchema.d.ts +39 -0
  292. package/domain/workflow/reviewStepConfigSchema.js +41 -0
  293. package/domain/workflow/reviewStepConfigSchema.js.map +1 -0
  294. package/domain/workflow/ruleErrorMessages.d.ts +26 -0
  295. package/domain/workflow/ruleErrorMessages.js +16 -0
  296. package/domain/workflow/ruleErrorMessages.js.map +1 -0
  297. package/domain/workflow/stepTypes.d.ts +7 -0
  298. package/domain/workflow/stepTypes.js +6 -0
  299. package/domain/workflow/stepTypes.js.map +1 -0
  300. package/domain/workflow/types.d.ts +102 -0
  301. package/domain/workflow/types.js +0 -0
  302. package/domain/workflow/workflow.model.d.ts +12 -0
  303. package/domain/workflow/workflow.model.js +34 -0
  304. package/domain/workflow/workflow.model.js.map +1 -0
  305. package/features/aiTools/BuiltInAiToolsFeature.d.ts +5 -0
  306. package/features/aiTools/BuiltInAiToolsFeature.js +13 -0
  307. package/features/aiTools/BuiltInAiToolsFeature.js.map +1 -0
  308. package/features/aiTools/ReadTargetTool/ReadTargetTool.d.ts +29 -0
  309. package/features/aiTools/ReadTargetTool/ReadTargetTool.js +61 -0
  310. package/features/aiTools/ReadTargetTool/ReadTargetTool.js.map +1 -0
  311. package/features/aiTools/UpdateTargetFieldsTool/UpdateTargetFieldsTool.d.ts +43 -0
  312. package/features/aiTools/UpdateTargetFieldsTool/UpdateTargetFieldsTool.js +85 -0
  313. package/features/aiTools/UpdateTargetFieldsTool/UpdateTargetFieldsTool.js.map +1 -0
  314. package/features/aiTools/WorkflowAiTool/abstractions.d.ts +60 -0
  315. package/features/aiTools/WorkflowAiTool/abstractions.js +5 -0
  316. package/features/aiTools/WorkflowAiTool/abstractions.js.map +1 -0
  317. package/features/aiTools/WorkflowAiTool/index.d.ts +1 -0
  318. package/features/aiTools/WorkflowAiTool/index.js +1 -0
  319. package/features/aiTools/WorkflowAiToolRegistryService/WorkflowAiToolRegistryService.d.ts +13 -0
  320. package/features/aiTools/WorkflowAiToolRegistryService/WorkflowAiToolRegistryService.js +42 -0
  321. package/features/aiTools/WorkflowAiToolRegistryService/WorkflowAiToolRegistryService.js.map +1 -0
  322. package/features/aiTools/WorkflowAiToolRegistryService/abstractions.d.ts +12 -0
  323. package/features/aiTools/WorkflowAiToolRegistryService/abstractions.js +5 -0
  324. package/features/aiTools/WorkflowAiToolRegistryService/abstractions.js.map +1 -0
  325. package/features/aiTools/WorkflowAiToolRegistryService/feature.d.ts +4 -0
  326. package/features/aiTools/WorkflowAiToolRegistryService/feature.js +11 -0
  327. package/features/aiTools/WorkflowAiToolRegistryService/feature.js.map +1 -0
  328. package/features/aiTools/WorkflowAiToolRegistryService/index.d.ts +1 -0
  329. package/features/aiTools/WorkflowAiToolRegistryService/index.js +1 -0
  330. package/features/aiTools/constants.d.ts +18 -0
  331. package/features/aiTools/constants.js +10 -0
  332. package/features/aiTools/constants.js.map +1 -0
  333. package/features/assignment/ListReviewAssignments/ListReviewAssignmentsUseCase.d.ts +17 -0
  334. package/features/assignment/ListReviewAssignments/ListReviewAssignmentsUseCase.js +69 -0
  335. package/features/assignment/ListReviewAssignments/ListReviewAssignmentsUseCase.js.map +1 -0
  336. package/features/assignment/ListReviewAssignments/abstractions.d.ts +28 -0
  337. package/features/assignment/ListReviewAssignments/abstractions.js +5 -0
  338. package/features/assignment/ListReviewAssignments/abstractions.js.map +1 -0
  339. package/features/assignment/ListReviewAssignments/feature.d.ts +4 -0
  340. package/features/assignment/ListReviewAssignments/feature.js +11 -0
  341. package/features/assignment/ListReviewAssignments/feature.js.map +1 -0
  342. package/features/assignment/ListReviewAssignments/index.d.ts +2 -0
  343. package/features/assignment/ListReviewAssignments/index.js +1 -0
  344. package/features/assignment/shared/AssignmentEntryMapper.d.ts +19 -0
  345. package/features/assignment/shared/AssignmentEntryMapper.js +38 -0
  346. package/features/assignment/shared/AssignmentEntryMapper.js.map +1 -0
  347. package/features/assignment/shared/AssignmentModelProvider.d.ts +13 -0
  348. package/features/assignment/shared/AssignmentModelProvider.js +22 -0
  349. package/features/assignment/shared/AssignmentModelProvider.js.map +1 -0
  350. package/features/assignment/shared/AssignmentRepository.d.ts +22 -0
  351. package/features/assignment/shared/AssignmentRepository.js +97 -0
  352. package/features/assignment/shared/AssignmentRepository.js.map +1 -0
  353. package/features/assignment/shared/feature.d.ts +4 -0
  354. package/features/assignment/shared/feature.js +13 -0
  355. package/features/assignment/shared/feature.js.map +1 -0
  356. package/features/automation/AutomationDefinition/abstractions.d.ts +66 -0
  357. package/features/automation/AutomationDefinition/abstractions.js +5 -0
  358. package/features/automation/AutomationDefinition/abstractions.js.map +1 -0
  359. package/features/automation/AutomationDefinition/index.d.ts +2 -0
  360. package/features/automation/AutomationDefinition/index.js +1 -0
  361. package/features/automation/AutomationDefinitionRegistryService/AutomationDefinitionRegistryService.d.ts +12 -0
  362. package/features/automation/AutomationDefinitionRegistryService/AutomationDefinitionRegistryService.js +30 -0
  363. package/features/automation/AutomationDefinitionRegistryService/AutomationDefinitionRegistryService.js.map +1 -0
  364. package/features/automation/AutomationDefinitionRegistryService/abstractions.d.ts +12 -0
  365. package/features/automation/AutomationDefinitionRegistryService/abstractions.js +5 -0
  366. package/features/automation/AutomationDefinitionRegistryService/abstractions.js.map +1 -0
  367. package/features/automation/AutomationDefinitionRegistryService/feature.d.ts +4 -0
  368. package/features/automation/AutomationDefinitionRegistryService/feature.js +11 -0
  369. package/features/automation/AutomationDefinitionRegistryService/feature.js.map +1 -0
  370. package/features/automation/AutomationDefinitionRegistryService/index.d.ts +1 -0
  371. package/features/automation/AutomationDefinitionRegistryService/index.js +1 -0
  372. package/features/bypass/WorkflowBypassService/WorkflowBypassService.d.ts +11 -0
  373. package/features/bypass/WorkflowBypassService/WorkflowBypassService.js +20 -0
  374. package/features/bypass/WorkflowBypassService/WorkflowBypassService.js.map +1 -0
  375. package/features/bypass/WorkflowBypassService/abstractions.d.ts +19 -0
  376. package/features/bypass/WorkflowBypassService/abstractions.js +5 -0
  377. package/features/bypass/WorkflowBypassService/abstractions.js.map +1 -0
  378. package/features/bypass/WorkflowBypassService/feature.d.ts +4 -0
  379. package/features/bypass/WorkflowBypassService/feature.js +11 -0
  380. package/features/bypass/WorkflowBypassService/feature.js.map +1 -0
  381. package/features/bypass/WorkflowBypassService/index.d.ts +1 -0
  382. package/features/bypass/WorkflowBypassService/index.js +1 -0
  383. package/features/config/GetWorkflowSettingsForEditor/GetWorkflowSettingsForEditorUseCase.d.ts +13 -0
  384. package/features/config/GetWorkflowSettingsForEditor/GetWorkflowSettingsForEditorUseCase.js +27 -0
  385. package/features/config/GetWorkflowSettingsForEditor/GetWorkflowSettingsForEditorUseCase.js.map +1 -0
  386. package/features/config/GetWorkflowSettingsForEditor/abstractions.d.ts +31 -0
  387. package/features/config/GetWorkflowSettingsForEditor/abstractions.js +5 -0
  388. package/features/config/GetWorkflowSettingsForEditor/abstractions.js.map +1 -0
  389. package/features/config/GetWorkflowSettingsForEditor/feature.d.ts +4 -0
  390. package/features/config/GetWorkflowSettingsForEditor/feature.js +11 -0
  391. package/features/config/GetWorkflowSettingsForEditor/feature.js.map +1 -0
  392. package/features/config/GetWorkflowSettingsForEditor/index.d.ts +2 -0
  393. package/features/config/GetWorkflowSettingsForEditor/index.js +1 -0
  394. package/features/config/ListAutomationDefinitions/ListAutomationDefinitionsUseCase.d.ts +13 -0
  395. package/features/config/ListAutomationDefinitions/ListAutomationDefinitionsUseCase.js +45 -0
  396. package/features/config/ListAutomationDefinitions/ListAutomationDefinitionsUseCase.js.map +1 -0
  397. package/features/config/ListAutomationDefinitions/abstractions.d.ts +27 -0
  398. package/features/config/ListAutomationDefinitions/abstractions.js +5 -0
  399. package/features/config/ListAutomationDefinitions/abstractions.js.map +1 -0
  400. package/features/config/ListAutomationDefinitions/feature.d.ts +4 -0
  401. package/features/config/ListAutomationDefinitions/feature.js +11 -0
  402. package/features/config/ListAutomationDefinitions/feature.js.map +1 -0
  403. package/features/config/ListAutomationDefinitions/index.d.ts +2 -0
  404. package/features/config/ListAutomationDefinitions/index.js +1 -0
  405. package/features/config/ListWorkflowAiTools/ListWorkflowAiToolsUseCase.d.ts +13 -0
  406. package/features/config/ListWorkflowAiTools/ListWorkflowAiToolsUseCase.js +41 -0
  407. package/features/config/ListWorkflowAiTools/ListWorkflowAiToolsUseCase.js.map +1 -0
  408. package/features/config/ListWorkflowAiTools/abstractions.d.ts +26 -0
  409. package/features/config/ListWorkflowAiTools/abstractions.js +5 -0
  410. package/features/config/ListWorkflowAiTools/abstractions.js.map +1 -0
  411. package/features/config/ListWorkflowAiTools/feature.d.ts +4 -0
  412. package/features/config/ListWorkflowAiTools/feature.js +11 -0
  413. package/features/config/ListWorkflowAiTools/feature.js.map +1 -0
  414. package/features/config/ListWorkflowAiTools/index.d.ts +2 -0
  415. package/features/config/ListWorkflowAiTools/index.js +1 -0
  416. package/features/config/ListWorkflowNotificationTransports/ListWorkflowNotificationTransportsUseCase.d.ts +13 -0
  417. package/features/config/ListWorkflowNotificationTransports/ListWorkflowNotificationTransportsUseCase.js +38 -0
  418. package/features/config/ListWorkflowNotificationTransports/ListWorkflowNotificationTransportsUseCase.js.map +1 -0
  419. package/features/config/ListWorkflowNotificationTransports/abstractions.d.ts +25 -0
  420. package/features/config/ListWorkflowNotificationTransports/abstractions.js +5 -0
  421. package/features/config/ListWorkflowNotificationTransports/abstractions.js.map +1 -0
  422. package/features/config/ListWorkflowNotificationTransports/feature.d.ts +4 -0
  423. package/features/config/ListWorkflowNotificationTransports/feature.js +11 -0
  424. package/features/config/ListWorkflowNotificationTransports/feature.js.map +1 -0
  425. package/features/config/ListWorkflowNotificationTransports/index.d.ts +2 -0
  426. package/features/config/ListWorkflowNotificationTransports/index.js +1 -0
  427. package/features/config/ListWorkflowStepTypes/ListWorkflowStepTypesUseCase.d.ts +15 -0
  428. package/features/config/ListWorkflowStepTypes/ListWorkflowStepTypesUseCase.js +77 -0
  429. package/features/config/ListWorkflowStepTypes/ListWorkflowStepTypesUseCase.js.map +1 -0
  430. package/features/config/ListWorkflowStepTypes/abstractions.d.ts +27 -0
  431. package/features/config/ListWorkflowStepTypes/abstractions.js +5 -0
  432. package/features/config/ListWorkflowStepTypes/abstractions.js.map +1 -0
  433. package/features/config/ListWorkflowStepTypes/feature.d.ts +4 -0
  434. package/features/config/ListWorkflowStepTypes/feature.js +11 -0
  435. package/features/config/ListWorkflowStepTypes/feature.js.map +1 -0
  436. package/features/config/ListWorkflowStepTypes/index.d.ts +2 -0
  437. package/features/config/ListWorkflowStepTypes/index.js +1 -0
  438. package/features/config/ListWorkflowTeams/ListWorkflowTeamsUseCase.d.ts +19 -0
  439. package/features/config/ListWorkflowTeams/ListWorkflowTeamsUseCase.js +120 -0
  440. package/features/config/ListWorkflowTeams/ListWorkflowTeamsUseCase.js.map +1 -0
  441. package/features/config/ListWorkflowTeams/abstractions.d.ts +36 -0
  442. package/features/config/ListWorkflowTeams/abstractions.js +5 -0
  443. package/features/config/ListWorkflowTeams/abstractions.js.map +1 -0
  444. package/features/config/ListWorkflowTeams/feature.d.ts +4 -0
  445. package/features/config/ListWorkflowTeams/feature.js +11 -0
  446. package/features/config/ListWorkflowTeams/feature.js.map +1 -0
  447. package/features/config/ListWorkflowTeams/index.d.ts +3 -0
  448. package/features/config/ListWorkflowTeams/index.js +1 -0
  449. package/features/config/ListWorkflowUsers/ListWorkflowUsersUseCase.d.ts +17 -0
  450. package/features/config/ListWorkflowUsers/ListWorkflowUsersUseCase.js +105 -0
  451. package/features/config/ListWorkflowUsers/ListWorkflowUsersUseCase.js.map +1 -0
  452. package/features/config/ListWorkflowUsers/abstractions.d.ts +44 -0
  453. package/features/config/ListWorkflowUsers/abstractions.js +5 -0
  454. package/features/config/ListWorkflowUsers/abstractions.js.map +1 -0
  455. package/features/config/ListWorkflowUsers/feature.d.ts +4 -0
  456. package/features/config/ListWorkflowUsers/feature.js +11 -0
  457. package/features/config/ListWorkflowUsers/feature.js.map +1 -0
  458. package/features/config/ListWorkflowUsers/index.d.ts +3 -0
  459. package/features/config/ListWorkflowUsers/index.js +1 -0
  460. package/features/config/SaveWorkflowSettingsForEditor/SaveWorkflowSettingsForEditorUseCase.d.ts +13 -0
  461. package/features/config/SaveWorkflowSettingsForEditor/SaveWorkflowSettingsForEditorUseCase.js +25 -0
  462. package/features/config/SaveWorkflowSettingsForEditor/SaveWorkflowSettingsForEditorUseCase.js.map +1 -0
  463. package/features/config/SaveWorkflowSettingsForEditor/abstractions.d.ts +27 -0
  464. package/features/config/SaveWorkflowSettingsForEditor/abstractions.js +5 -0
  465. package/features/config/SaveWorkflowSettingsForEditor/abstractions.js.map +1 -0
  466. package/features/config/SaveWorkflowSettingsForEditor/feature.d.ts +4 -0
  467. package/features/config/SaveWorkflowSettingsForEditor/feature.js +11 -0
  468. package/features/config/SaveWorkflowSettingsForEditor/feature.js.map +1 -0
  469. package/features/config/SaveWorkflowSettingsForEditor/index.d.ts +1 -0
  470. package/features/config/SaveWorkflowSettingsForEditor/index.js +1 -0
  471. package/features/identity/CandidateReadAccess/CandidateReadAccess.d.ts +28 -0
  472. package/features/identity/CandidateReadAccess/CandidateReadAccess.js +40 -0
  473. package/features/identity/CandidateReadAccess/CandidateReadAccess.js.map +1 -0
  474. package/features/identity/CandidateReadAccess/abstractions.d.ts +25 -0
  475. package/features/identity/CandidateReadAccess/abstractions.js +5 -0
  476. package/features/identity/CandidateReadAccess/abstractions.js.map +1 -0
  477. package/features/identity/CandidateReadAccess/feature.d.ts +4 -0
  478. package/features/identity/CandidateReadAccess/feature.js +11 -0
  479. package/features/identity/CandidateReadAccess/feature.js.map +1 -0
  480. package/features/identity/CandidateReadAccess/index.d.ts +1 -0
  481. package/features/identity/CandidateReadAccess/index.js +1 -0
  482. package/features/identity/CurrentReviewViewer/CurrentReviewViewer.d.ts +21 -0
  483. package/features/identity/CurrentReviewViewer/CurrentReviewViewer.js +48 -0
  484. package/features/identity/CurrentReviewViewer/CurrentReviewViewer.js.map +1 -0
  485. package/features/identity/CurrentReviewViewer/abstractions.d.ts +23 -0
  486. package/features/identity/CurrentReviewViewer/abstractions.js +5 -0
  487. package/features/identity/CurrentReviewViewer/abstractions.js.map +1 -0
  488. package/features/identity/CurrentReviewViewer/feature.d.ts +4 -0
  489. package/features/identity/CurrentReviewViewer/feature.js +11 -0
  490. package/features/identity/CurrentReviewViewer/feature.js.map +1 -0
  491. package/features/identity/CurrentReviewViewer/index.d.ts +1 -0
  492. package/features/identity/CurrentReviewViewer/index.js +1 -0
  493. package/features/identity/CurrentUserTeams/CurrentUserTeams.d.ts +22 -0
  494. package/features/identity/CurrentUserTeams/CurrentUserTeams.js +39 -0
  495. package/features/identity/CurrentUserTeams/CurrentUserTeams.js.map +1 -0
  496. package/features/identity/CurrentUserTeams/abstractions.d.ts +15 -0
  497. package/features/identity/CurrentUserTeams/abstractions.js +5 -0
  498. package/features/identity/CurrentUserTeams/abstractions.js.map +1 -0
  499. package/features/identity/CurrentUserTeams/feature.d.ts +4 -0
  500. package/features/identity/CurrentUserTeams/feature.js +11 -0
  501. package/features/identity/CurrentUserTeams/feature.js.map +1 -0
  502. package/features/identity/CurrentUserTeams/index.d.ts +1 -0
  503. package/features/identity/CurrentUserTeams/index.js +1 -0
  504. package/features/identity/ReviewTeamLoader/ReviewTeamLoader.d.ts +24 -0
  505. package/features/identity/ReviewTeamLoader/ReviewTeamLoader.js +63 -0
  506. package/features/identity/ReviewTeamLoader/ReviewTeamLoader.js.map +1 -0
  507. package/features/identity/ReviewTeamLoader/abstractions.d.ts +21 -0
  508. package/features/identity/ReviewTeamLoader/abstractions.js +5 -0
  509. package/features/identity/ReviewTeamLoader/abstractions.js.map +1 -0
  510. package/features/identity/ReviewTeamLoader/feature.d.ts +4 -0
  511. package/features/identity/ReviewTeamLoader/feature.js +11 -0
  512. package/features/identity/ReviewTeamLoader/feature.js.map +1 -0
  513. package/features/identity/ReviewTeamLoader/index.d.ts +1 -0
  514. package/features/identity/ReviewTeamLoader/index.js +1 -0
  515. package/features/model/WorkflowModelParser/abstractions.d.ts +21 -0
  516. package/features/model/WorkflowModelParser/abstractions.js +5 -0
  517. package/features/model/WorkflowModelParser/abstractions.js.map +1 -0
  518. package/features/model/WorkflowModelParser/index.d.ts +1 -0
  519. package/features/model/WorkflowModelParser/index.js +1 -0
  520. package/features/model/WorkflowModelParserService/WorkflowModelParserService.d.ts +11 -0
  521. package/features/model/WorkflowModelParserService/WorkflowModelParserService.js +28 -0
  522. package/features/model/WorkflowModelParserService/WorkflowModelParserService.js.map +1 -0
  523. package/features/model/WorkflowModelParserService/abstractions.d.ts +10 -0
  524. package/features/model/WorkflowModelParserService/abstractions.js +5 -0
  525. package/features/model/WorkflowModelParserService/abstractions.js.map +1 -0
  526. package/features/model/WorkflowModelParserService/index.d.ts +1 -0
  527. package/features/model/WorkflowModelParserService/index.js +1 -0
  528. package/features/model/feature.d.ts +5 -0
  529. package/features/model/feature.js +11 -0
  530. package/features/model/feature.js.map +1 -0
  531. package/features/notifications/ListNotificationTransports/ListNotificationTransportsRepository.d.ts +11 -0
  532. package/features/notifications/ListNotificationTransports/ListNotificationTransportsRepository.js +33 -0
  533. package/features/notifications/ListNotificationTransports/ListNotificationTransportsRepository.js.map +1 -0
  534. package/features/notifications/ListNotificationTransports/ListNotificationTransportsUseCase.d.ts +14 -0
  535. package/features/notifications/ListNotificationTransports/ListNotificationTransportsUseCase.js +18 -0
  536. package/features/notifications/ListNotificationTransports/ListNotificationTransportsUseCase.js.map +1 -0
  537. package/features/notifications/ListNotificationTransports/abstractions.d.ts +25 -0
  538. package/features/notifications/ListNotificationTransports/abstractions.js +6 -0
  539. package/features/notifications/ListNotificationTransports/abstractions.js.map +1 -0
  540. package/features/notifications/ListNotificationTransports/feature.d.ts +4 -0
  541. package/features/notifications/ListNotificationTransports/feature.js +13 -0
  542. package/features/notifications/ListNotificationTransports/feature.js.map +1 -0
  543. package/features/notifications/ListNotificationTransports/index.d.ts +1 -0
  544. package/features/notifications/ListNotificationTransports/index.js +1 -0
  545. package/features/notifications/NotificationRecipientService/NotificationRecipientService.d.ts +16 -0
  546. package/features/notifications/NotificationRecipientService/NotificationRecipientService.js +77 -0
  547. package/features/notifications/NotificationRecipientService/NotificationRecipientService.js.map +1 -0
  548. package/features/notifications/NotificationRecipientService/abstractions.d.ts +47 -0
  549. package/features/notifications/NotificationRecipientService/abstractions.js +5 -0
  550. package/features/notifications/NotificationRecipientService/abstractions.js.map +1 -0
  551. package/features/notifications/NotificationRecipientService/feature.d.ts +4 -0
  552. package/features/notifications/NotificationRecipientService/feature.js +11 -0
  553. package/features/notifications/NotificationRecipientService/feature.js.map +1 -0
  554. package/features/notifications/NotificationRecipientService/index.d.ts +1 -0
  555. package/features/notifications/NotificationRecipientService/index.js +1 -0
  556. package/features/notifications/NotificationTransport/MailNotificationTransport.d.ts +7 -4
  557. package/features/notifications/NotificationTransport/MailNotificationTransport.js +60 -39
  558. package/features/notifications/NotificationTransport/MailNotificationTransport.js.map +1 -1
  559. package/features/notifications/NotificationTransport/abstractions.d.ts +23 -4
  560. package/features/notifications/NotificationTransport/abstractions.js +2 -1
  561. package/features/notifications/NotificationTransport/abstractions.js.map +1 -1
  562. package/features/notifications/NotificationTransport/feature.d.ts +4 -1
  563. package/features/notifications/NotificationTransport/feature.js +6 -5
  564. package/features/notifications/NotificationTransport/feature.js.map +1 -1
  565. package/features/notifications/NotificationTransport/index.d.ts +0 -2
  566. package/features/notifications/NotificationTransport/index.js +0 -3
  567. package/features/notifications/ReviewChangeNotifierService/ReviewChangeNotifierService.d.ts +13 -0
  568. package/features/notifications/ReviewChangeNotifierService/ReviewChangeNotifierService.js +49 -0
  569. package/features/notifications/ReviewChangeNotifierService/ReviewChangeNotifierService.js.map +1 -0
  570. package/features/notifications/ReviewChangeNotifierService/abstractions.d.ts +25 -0
  571. package/features/notifications/ReviewChangeNotifierService/abstractions.js +5 -0
  572. package/features/notifications/ReviewChangeNotifierService/abstractions.js.map +1 -0
  573. package/features/notifications/ReviewChangeNotifierService/feature.d.ts +4 -0
  574. package/features/notifications/ReviewChangeNotifierService/feature.js +11 -0
  575. package/features/notifications/ReviewChangeNotifierService/feature.js.map +1 -0
  576. package/features/notifications/ReviewChangeNotifierService/index.d.ts +1 -0
  577. package/features/notifications/ReviewChangeNotifierService/index.js +1 -0
  578. package/features/notifications/ReviewNotifierService/ReviewNotifierService.d.ts +19 -0
  579. package/features/notifications/ReviewNotifierService/ReviewNotifierService.js +149 -0
  580. package/features/notifications/ReviewNotifierService/ReviewNotifierService.js.map +1 -0
  581. package/features/notifications/ReviewNotifierService/abstractions.d.ts +27 -0
  582. package/features/notifications/ReviewNotifierService/abstractions.js +5 -0
  583. package/features/notifications/ReviewNotifierService/abstractions.js.map +1 -0
  584. package/features/notifications/ReviewNotifierService/feature.d.ts +4 -0
  585. package/features/notifications/ReviewNotifierService/feature.js +11 -0
  586. package/features/notifications/ReviewNotifierService/feature.js.map +1 -0
  587. package/features/notifications/ReviewNotifierService/index.d.ts +1 -0
  588. package/features/notifications/ReviewNotifierService/index.js +1 -0
  589. package/features/notifications/ReviewTargetLink/abstractions.d.ts +26 -0
  590. package/features/notifications/ReviewTargetLink/abstractions.js +5 -0
  591. package/features/notifications/ReviewTargetLink/abstractions.js.map +1 -0
  592. package/features/notifications/ReviewTargetLink/index.d.ts +1 -0
  593. package/features/notifications/ReviewTargetLink/index.js +1 -0
  594. package/features/notifications/ReviewTargetLinkService/ReviewTargetLinkService.d.ts +17 -0
  595. package/features/notifications/ReviewTargetLinkService/ReviewTargetLinkService.js +54 -0
  596. package/features/notifications/ReviewTargetLinkService/ReviewTargetLinkService.js.map +1 -0
  597. package/features/notifications/ReviewTargetLinkService/abstractions.d.ts +17 -0
  598. package/features/notifications/ReviewTargetLinkService/abstractions.js +5 -0
  599. package/features/notifications/ReviewTargetLinkService/abstractions.js.map +1 -0
  600. package/features/notifications/ReviewTargetLinkService/feature.d.ts +4 -0
  601. package/features/notifications/ReviewTargetLinkService/feature.js +11 -0
  602. package/features/notifications/ReviewTargetLinkService/feature.js.map +1 -0
  603. package/features/notifications/ReviewTargetLinkService/index.d.ts +1 -0
  604. package/features/notifications/ReviewTargetLinkService/index.js +1 -0
  605. package/features/notifications/ReviewWebsocketSender/ReviewWebsocketSender.d.ts +16 -0
  606. package/features/notifications/ReviewWebsocketSender/ReviewWebsocketSender.js +91 -0
  607. package/features/notifications/ReviewWebsocketSender/ReviewWebsocketSender.js.map +1 -0
  608. package/features/notifications/ReviewWebsocketSender/abstractions.d.ts +27 -0
  609. package/features/notifications/ReviewWebsocketSender/abstractions.js +5 -0
  610. package/features/notifications/ReviewWebsocketSender/abstractions.js.map +1 -0
  611. package/features/notifications/ReviewWebsocketSender/feature.d.ts +4 -0
  612. package/features/notifications/ReviewWebsocketSender/feature.js +11 -0
  613. package/features/notifications/ReviewWebsocketSender/feature.js.map +1 -0
  614. package/features/notifications/ReviewWebsocketSender/index.d.ts +1 -0
  615. package/features/notifications/ReviewWebsocketSender/index.js +1 -0
  616. package/features/notifications/WorkflowsAdminUrlService/WorkflowsAdminUrlService.d.ts +8 -0
  617. package/features/notifications/WorkflowsAdminUrlService/WorkflowsAdminUrlService.js +22 -0
  618. package/features/notifications/WorkflowsAdminUrlService/WorkflowsAdminUrlService.js.map +1 -0
  619. package/features/notifications/WorkflowsAdminUrlService/abstractions.d.ts +16 -0
  620. package/features/notifications/WorkflowsAdminUrlService/abstractions.js +5 -0
  621. package/features/notifications/WorkflowsAdminUrlService/abstractions.js.map +1 -0
  622. package/features/notifications/WorkflowsAdminUrlService/feature.d.ts +4 -0
  623. package/features/notifications/WorkflowsAdminUrlService/feature.js +11 -0
  624. package/features/notifications/WorkflowsAdminUrlService/feature.js.map +1 -0
  625. package/features/notifications/WorkflowsAdminUrlService/index.d.ts +1 -0
  626. package/features/notifications/WorkflowsAdminUrlService/index.js +1 -0
  627. package/features/notifications/feature.d.ts +13 -0
  628. package/features/notifications/feature.js +43 -0
  629. package/features/notifications/feature.js.map +1 -0
  630. package/features/notifications/handlers/ReviewApprovedNotifications.d.ts +17 -0
  631. package/features/notifications/handlers/ReviewApprovedNotifications.js +54 -0
  632. package/features/notifications/handlers/ReviewApprovedNotifications.js.map +1 -0
  633. package/features/notifications/handlers/ReviewCancelledNotifications.d.ts +19 -0
  634. package/features/notifications/handlers/ReviewCancelledNotifications.js +60 -0
  635. package/features/notifications/handlers/ReviewCancelledNotifications.js.map +1 -0
  636. package/features/notifications/handlers/ReviewRequestedChangeNotifications.d.ts +18 -0
  637. package/features/notifications/handlers/ReviewRequestedChangeNotifications.js +39 -0
  638. package/features/notifications/handlers/ReviewRequestedChangeNotifications.js.map +1 -0
  639. package/features/notifications/handlers/ReviewStepApprovedChangeNotifications.d.ts +19 -0
  640. package/features/notifications/handlers/ReviewStepApprovedChangeNotifications.js +40 -0
  641. package/features/notifications/handlers/ReviewStepApprovedChangeNotifications.js.map +1 -0
  642. package/features/notifications/handlers/ReviewStepFailedNotifications.d.ts +18 -0
  643. package/features/notifications/handlers/ReviewStepFailedNotifications.js +53 -0
  644. package/features/notifications/handlers/ReviewStepFailedNotifications.js.map +1 -0
  645. package/features/notifications/handlers/ReviewStepReachedNotifications.d.ts +19 -0
  646. package/features/notifications/handlers/ReviewStepReachedNotifications.js +90 -0
  647. package/features/notifications/handlers/ReviewStepReachedNotifications.js.map +1 -0
  648. package/features/notifications/handlers/ReviewStepReassignedNotifications.d.ts +17 -0
  649. package/features/notifications/handlers/ReviewStepReassignedNotifications.js +80 -0
  650. package/features/notifications/handlers/ReviewStepReassignedNotifications.js.map +1 -0
  651. package/features/notifications/handlers/ReviewStepRejectedNotifications.d.ts +18 -0
  652. package/features/notifications/handlers/ReviewStepRejectedNotifications.js +58 -0
  653. package/features/notifications/handlers/ReviewStepRejectedNotifications.js.map +1 -0
  654. package/features/notifications/handlers/ReviewStepRestartedChangeNotifications.d.ts +18 -0
  655. package/features/notifications/handlers/ReviewStepRestartedChangeNotifications.js +39 -0
  656. package/features/notifications/handlers/ReviewStepRestartedChangeNotifications.js.map +1 -0
  657. package/features/notifications/handlers/ReviewStepStartedChangeNotifications.d.ts +18 -0
  658. package/features/notifications/handlers/ReviewStepStartedChangeNotifications.js +39 -0
  659. package/features/notifications/handlers/ReviewStepStartedChangeNotifications.js.map +1 -0
  660. package/features/notifications/handlers/ReviewStepTakenOverNotifications.d.ts +18 -0
  661. package/features/notifications/handlers/ReviewStepTakenOverNotifications.js +58 -0
  662. package/features/notifications/handlers/ReviewStepTakenOverNotifications.js.map +1 -0
  663. package/features/notifications/shared/constants.d.ts +11 -0
  664. package/features/notifications/shared/constants.js +7 -0
  665. package/features/notifications/shared/constants.js.map +1 -0
  666. package/features/notifications/shared/escapeHtml.d.ts +5 -0
  667. package/features/notifications/shared/escapeHtml.js +4 -0
  668. package/features/notifications/shared/escapeHtml.js.map +1 -0
  669. package/features/notifications/shared/getErrorLogFields.d.ts +10 -0
  670. package/features/notifications/shared/getErrorLogFields.js +10 -0
  671. package/features/notifications/shared/getErrorLogFields.js.map +1 -0
  672. package/features/permissions/WorkflowEditorAccess/WorkflowEditorAccess.d.ts +13 -0
  673. package/features/permissions/WorkflowEditorAccess/WorkflowEditorAccess.js +37 -0
  674. package/features/permissions/WorkflowEditorAccess/WorkflowEditorAccess.js.map +1 -0
  675. package/features/permissions/WorkflowEditorAccess/abstractions.d.ts +28 -0
  676. package/features/permissions/WorkflowEditorAccess/abstractions.js +5 -0
  677. package/features/permissions/WorkflowEditorAccess/abstractions.js.map +1 -0
  678. package/features/permissions/WorkflowEditorAccess/feature.d.ts +4 -0
  679. package/features/permissions/WorkflowEditorAccess/feature.js +11 -0
  680. package/features/permissions/WorkflowEditorAccess/feature.js.map +1 -0
  681. package/features/permissions/WorkflowEditorAccess/index.d.ts +1 -0
  682. package/features/permissions/WorkflowEditorAccess/index.js +1 -0
  683. package/features/permissions/WorkflowsPermissions/WorkflowsPermissions.d.ts +20 -0
  684. package/features/permissions/WorkflowsPermissions/WorkflowsPermissions.js +44 -0
  685. package/features/permissions/WorkflowsPermissions/WorkflowsPermissions.js.map +1 -0
  686. package/features/permissions/WorkflowsPermissions/abstractions.d.ts +20 -0
  687. package/features/permissions/WorkflowsPermissions/abstractions.js +5 -0
  688. package/features/permissions/WorkflowsPermissions/abstractions.js.map +1 -0
  689. package/features/permissions/WorkflowsPermissions/feature.d.ts +4 -0
  690. package/features/permissions/WorkflowsPermissions/feature.js +11 -0
  691. package/features/permissions/WorkflowsPermissions/feature.js.map +1 -0
  692. package/features/permissions/WorkflowsPermissions/index.d.ts +1 -0
  693. package/features/permissions/WorkflowsPermissions/index.js +1 -0
  694. package/features/review/ApproveReviewStep/ApproveReviewStepUseCase.d.ts +15 -0
  695. package/features/review/ApproveReviewStep/ApproveReviewStepUseCase.js +46 -0
  696. package/features/review/ApproveReviewStep/ApproveReviewStepUseCase.js.map +1 -0
  697. package/features/review/ApproveReviewStep/abstractions.d.ts +25 -0
  698. package/features/review/ApproveReviewStep/abstractions.js +5 -0
  699. package/features/review/ApproveReviewStep/abstractions.js.map +1 -0
  700. package/features/review/ApproveReviewStep/events.d.ts +29 -0
  701. package/features/review/ApproveReviewStep/events.js +23 -0
  702. package/features/review/ApproveReviewStep/events.js.map +1 -0
  703. package/features/review/ApproveReviewStep/feature.d.ts +4 -0
  704. package/features/review/ApproveReviewStep/feature.js +11 -0
  705. package/features/review/ApproveReviewStep/feature.js.map +1 -0
  706. package/features/review/ApproveReviewStep/index.d.ts +4 -0
  707. package/features/review/ApproveReviewStep/index.js +2 -0
  708. package/features/review/CancelReview/CancelReviewUseCase.d.ts +15 -0
  709. package/features/review/CancelReview/CancelReviewUseCase.js +45 -0
  710. package/features/review/CancelReview/CancelReviewUseCase.js.map +1 -0
  711. package/features/review/CancelReview/abstractions.d.ts +23 -0
  712. package/features/review/CancelReview/abstractions.js +5 -0
  713. package/features/review/CancelReview/abstractions.js.map +1 -0
  714. package/features/review/CancelReview/events.d.ts +16 -0
  715. package/features/review/CancelReview/events.js +14 -0
  716. package/features/review/CancelReview/events.js.map +1 -0
  717. package/features/review/CancelReview/feature.d.ts +4 -0
  718. package/features/review/CancelReview/feature.js +11 -0
  719. package/features/review/CancelReview/feature.js.map +1 -0
  720. package/features/review/CancelReview/index.d.ts +3 -0
  721. package/features/review/CancelReview/index.js +2 -0
  722. package/features/review/CancelTargetReviews/CancelTargetReviewsUseCase.d.ts +16 -0
  723. package/features/review/CancelTargetReviews/CancelTargetReviewsUseCase.js +31 -0
  724. package/features/review/CancelTargetReviews/CancelTargetReviewsUseCase.js.map +1 -0
  725. package/features/review/CancelTargetReviews/abstractions.d.ts +34 -0
  726. package/features/review/CancelTargetReviews/abstractions.js +5 -0
  727. package/features/review/CancelTargetReviews/abstractions.js.map +1 -0
  728. package/features/review/CancelTargetReviews/feature.d.ts +4 -0
  729. package/features/review/CancelTargetReviews/feature.js +11 -0
  730. package/features/review/CancelTargetReviews/feature.js.map +1 -0
  731. package/features/review/CancelTargetReviews/index.d.ts +1 -0
  732. package/features/review/CancelTargetReviews/index.js +1 -0
  733. package/features/review/DeleteTargetReviews/AssignmentPageSize.d.ts +9 -0
  734. package/features/review/DeleteTargetReviews/AssignmentPageSize.js +5 -0
  735. package/features/review/DeleteTargetReviews/AssignmentPageSize.js.map +1 -0
  736. package/features/review/DeleteTargetReviews/DefaultAssignmentPageSize.d.ts +8 -0
  737. package/features/review/DeleteTargetReviews/DefaultAssignmentPageSize.js +14 -0
  738. package/features/review/DeleteTargetReviews/DefaultAssignmentPageSize.js.map +1 -0
  739. package/features/review/DeleteTargetReviews/DeleteTargetReviewsUseCase.d.ts +21 -0
  740. package/features/review/DeleteTargetReviews/DeleteTargetReviewsUseCase.js +98 -0
  741. package/features/review/DeleteTargetReviews/DeleteTargetReviewsUseCase.js.map +1 -0
  742. package/features/review/DeleteTargetReviews/abstractions.d.ts +44 -0
  743. package/features/review/DeleteTargetReviews/abstractions.js +5 -0
  744. package/features/review/DeleteTargetReviews/abstractions.js.map +1 -0
  745. package/features/review/DeleteTargetReviews/feature.d.ts +4 -0
  746. package/features/review/DeleteTargetReviews/feature.js +13 -0
  747. package/features/review/DeleteTargetReviews/feature.js.map +1 -0
  748. package/features/review/DeleteTargetReviews/index.d.ts +1 -0
  749. package/features/review/DeleteTargetReviews/index.js +1 -0
  750. package/features/review/GetActiveTargetReview/GetActiveTargetReviewUseCase.d.ts +11 -0
  751. package/features/review/GetActiveTargetReview/GetActiveTargetReviewUseCase.js +22 -0
  752. package/features/review/GetActiveTargetReview/GetActiveTargetReviewUseCase.js.map +1 -0
  753. package/features/review/GetActiveTargetReview/abstractions.d.ts +29 -0
  754. package/features/review/GetActiveTargetReview/abstractions.js +5 -0
  755. package/features/review/GetActiveTargetReview/abstractions.js.map +1 -0
  756. package/features/review/GetActiveTargetReview/feature.d.ts +4 -0
  757. package/features/review/GetActiveTargetReview/feature.js +11 -0
  758. package/features/review/GetActiveTargetReview/feature.js.map +1 -0
  759. package/features/review/GetActiveTargetReview/index.d.ts +1 -0
  760. package/features/review/GetActiveTargetReview/index.js +1 -0
  761. package/features/review/GetReview/GetReviewUseCase.d.ts +13 -0
  762. package/features/review/GetReview/GetReviewUseCase.js +25 -0
  763. package/features/review/GetReview/GetReviewUseCase.js.map +1 -0
  764. package/features/review/GetReview/abstractions.d.ts +26 -0
  765. package/features/review/GetReview/abstractions.js +5 -0
  766. package/features/review/GetReview/abstractions.js.map +1 -0
  767. package/features/review/GetReview/feature.d.ts +4 -0
  768. package/features/review/GetReview/feature.js +11 -0
  769. package/features/review/GetReview/feature.js.map +1 -0
  770. package/features/review/GetReview/index.d.ts +1 -0
  771. package/features/review/GetReview/index.js +1 -0
  772. package/features/review/GetTargetReview/GetTargetReviewUseCase.d.ts +13 -0
  773. package/features/review/GetTargetReview/GetTargetReviewUseCase.js +29 -0
  774. package/features/review/GetTargetReview/GetTargetReviewUseCase.js.map +1 -0
  775. package/features/review/GetTargetReview/abstractions.d.ts +30 -0
  776. package/features/review/GetTargetReview/abstractions.js +5 -0
  777. package/features/review/GetTargetReview/abstractions.js.map +1 -0
  778. package/features/review/GetTargetReview/feature.d.ts +4 -0
  779. package/features/review/GetTargetReview/feature.js +11 -0
  780. package/features/review/GetTargetReview/feature.js.map +1 -0
  781. package/features/review/GetTargetReview/index.d.ts +1 -0
  782. package/features/review/GetTargetReview/index.js +1 -0
  783. package/features/review/ListReviewCandidateTeams/ListReviewCandidateTeamsUseCase.d.ts +13 -0
  784. package/features/review/ListReviewCandidateTeams/ListReviewCandidateTeamsUseCase.js +52 -0
  785. package/features/review/ListReviewCandidateTeams/ListReviewCandidateTeamsUseCase.js.map +1 -0
  786. package/features/review/ListReviewCandidateTeams/abstractions.d.ts +24 -0
  787. package/features/review/ListReviewCandidateTeams/abstractions.js +5 -0
  788. package/features/review/ListReviewCandidateTeams/abstractions.js.map +1 -0
  789. package/features/review/ListReviewCandidateTeams/feature.d.ts +4 -0
  790. package/features/review/ListReviewCandidateTeams/feature.js +11 -0
  791. package/features/review/ListReviewCandidateTeams/feature.js.map +1 -0
  792. package/features/review/ListReviewCandidateTeams/index.d.ts +2 -0
  793. package/features/review/ListReviewCandidateTeams/index.js +1 -0
  794. package/features/review/ListReviewedModels/ListReviewedModelsUseCase.d.ts +16 -0
  795. package/features/review/ListReviewedModels/ListReviewedModelsUseCase.js +29 -0
  796. package/features/review/ListReviewedModels/ListReviewedModelsUseCase.js.map +1 -0
  797. package/features/review/ListReviewedModels/abstractions.d.ts +21 -0
  798. package/features/review/ListReviewedModels/abstractions.js +5 -0
  799. package/features/review/ListReviewedModels/abstractions.js.map +1 -0
  800. package/features/review/ListReviewedModels/feature.d.ts +4 -0
  801. package/features/review/ListReviewedModels/feature.js +11 -0
  802. package/features/review/ListReviewedModels/feature.js.map +1 -0
  803. package/features/review/ListReviewedModels/index.d.ts +1 -0
  804. package/features/review/ListReviewedModels/index.js +1 -0
  805. package/features/review/ListReviews/DefaultReviewListLimits.d.ts +9 -0
  806. package/features/review/ListReviews/DefaultReviewListLimits.js +15 -0
  807. package/features/review/ListReviews/DefaultReviewListLimits.js.map +1 -0
  808. package/features/review/ListReviews/ListReviewsUseCase.d.ts +13 -0
  809. package/features/review/ListReviews/ListReviewsUseCase.js +127 -0
  810. package/features/review/ListReviews/ListReviewsUseCase.js.map +1 -0
  811. package/features/review/ListReviews/ReviewListLimits.d.ts +14 -0
  812. package/features/review/ListReviews/ReviewListLimits.js +5 -0
  813. package/features/review/ListReviews/ReviewListLimits.js.map +1 -0
  814. package/features/review/ListReviews/abstractions.d.ts +51 -0
  815. package/features/review/ListReviews/abstractions.js +5 -0
  816. package/features/review/ListReviews/abstractions.js.map +1 -0
  817. package/features/review/ListReviews/createReviewListWhere.d.ts +9 -0
  818. package/features/review/ListReviews/createReviewListWhere.js +55 -0
  819. package/features/review/ListReviews/createReviewListWhere.js.map +1 -0
  820. package/features/review/ListReviews/feature.d.ts +4 -0
  821. package/features/review/ListReviews/feature.js +13 -0
  822. package/features/review/ListReviews/feature.js.map +1 -0
  823. package/features/review/ListReviews/index.d.ts +1 -0
  824. package/features/review/ListReviews/index.js +1 -0
  825. package/features/review/ListReviews/reviewListCursor.d.ts +14 -0
  826. package/features/review/ListReviews/reviewListCursor.js +29 -0
  827. package/features/review/ListReviews/reviewListCursor.js.map +1 -0
  828. package/features/review/ListReviewsByTargets/ListReviewsByTargetsUseCase.d.ts +11 -0
  829. package/features/review/ListReviewsByTargets/ListReviewsByTargetsUseCase.js +23 -0
  830. package/features/review/ListReviewsByTargets/ListReviewsByTargetsUseCase.js.map +1 -0
  831. package/features/review/ListReviewsByTargets/abstractions.d.ts +32 -0
  832. package/features/review/ListReviewsByTargets/abstractions.js +5 -0
  833. package/features/review/ListReviewsByTargets/abstractions.js.map +1 -0
  834. package/features/review/ListReviewsByTargets/feature.d.ts +4 -0
  835. package/features/review/ListReviewsByTargets/feature.js +11 -0
  836. package/features/review/ListReviewsByTargets/feature.js.map +1 -0
  837. package/features/review/ListReviewsByTargets/index.d.ts +1 -0
  838. package/features/review/ListReviewsByTargets/index.js +1 -0
  839. package/features/review/ListTargetReviews/ListTargetReviewsUseCase.d.ts +11 -0
  840. package/features/review/ListTargetReviews/ListTargetReviewsUseCase.js +24 -0
  841. package/features/review/ListTargetReviews/ListTargetReviewsUseCase.js.map +1 -0
  842. package/features/review/ListTargetReviews/abstractions.d.ts +33 -0
  843. package/features/review/ListTargetReviews/abstractions.js +5 -0
  844. package/features/review/ListTargetReviews/abstractions.js.map +1 -0
  845. package/features/review/ListTargetReviews/feature.d.ts +4 -0
  846. package/features/review/ListTargetReviews/feature.js +11 -0
  847. package/features/review/ListTargetReviews/feature.js.map +1 -0
  848. package/features/review/ListTargetReviews/index.d.ts +1 -0
  849. package/features/review/ListTargetReviews/index.js +1 -0
  850. package/features/review/ReassignReviewStep/ReassignReviewStepUseCase.d.ts +15 -0
  851. package/features/review/ReassignReviewStep/ReassignReviewStepUseCase.js +80 -0
  852. package/features/review/ReassignReviewStep/ReassignReviewStepUseCase.js.map +1 -0
  853. package/features/review/ReassignReviewStep/abstractions.d.ts +43 -0
  854. package/features/review/ReassignReviewStep/abstractions.js +5 -0
  855. package/features/review/ReassignReviewStep/abstractions.js.map +1 -0
  856. package/features/review/ReassignReviewStep/events.d.ts +16 -0
  857. package/features/review/ReassignReviewStep/events.js +14 -0
  858. package/features/review/ReassignReviewStep/events.js.map +1 -0
  859. package/features/review/ReassignReviewStep/feature.d.ts +4 -0
  860. package/features/review/ReassignReviewStep/feature.js +11 -0
  861. package/features/review/ReassignReviewStep/feature.js.map +1 -0
  862. package/features/review/ReassignReviewStep/index.d.ts +2 -0
  863. package/features/review/ReassignReviewStep/index.js +2 -0
  864. package/features/review/RejectReviewStep/RejectReviewStepUseCase.d.ts +13 -0
  865. package/features/review/RejectReviewStep/RejectReviewStepUseCase.js +36 -0
  866. package/features/review/RejectReviewStep/RejectReviewStepUseCase.js.map +1 -0
  867. package/features/review/RejectReviewStep/abstractions.d.ts +27 -0
  868. package/features/review/RejectReviewStep/abstractions.js +5 -0
  869. package/features/review/RejectReviewStep/abstractions.js.map +1 -0
  870. package/features/review/RejectReviewStep/events.d.ts +17 -0
  871. package/features/review/RejectReviewStep/events.js +14 -0
  872. package/features/review/RejectReviewStep/events.js.map +1 -0
  873. package/features/review/RejectReviewStep/feature.d.ts +4 -0
  874. package/features/review/RejectReviewStep/feature.js +11 -0
  875. package/features/review/RejectReviewStep/feature.js.map +1 -0
  876. package/features/review/RejectReviewStep/index.d.ts +3 -0
  877. package/features/review/RejectReviewStep/index.js +2 -0
  878. package/features/review/RequestReview/RequestReviewUseCase.d.ts +19 -0
  879. package/features/review/RequestReview/RequestReviewUseCase.js +96 -0
  880. package/features/review/RequestReview/RequestReviewUseCase.js.map +1 -0
  881. package/features/review/RequestReview/abstractions.d.ts +43 -0
  882. package/features/review/RequestReview/abstractions.js +5 -0
  883. package/features/review/RequestReview/abstractions.js.map +1 -0
  884. package/features/review/RequestReview/events.d.ts +16 -0
  885. package/features/review/RequestReview/events.js +14 -0
  886. package/features/review/RequestReview/events.js.map +1 -0
  887. package/features/review/RequestReview/feature.d.ts +4 -0
  888. package/features/review/RequestReview/feature.js +11 -0
  889. package/features/review/RequestReview/feature.js.map +1 -0
  890. package/features/review/RequestReview/index.d.ts +2 -0
  891. package/features/review/RequestReview/index.js +2 -0
  892. package/features/review/RestartReviewStep/RestartReviewStepUseCase.d.ts +15 -0
  893. package/features/review/RestartReviewStep/RestartReviewStepUseCase.js +43 -0
  894. package/features/review/RestartReviewStep/RestartReviewStepUseCase.js.map +1 -0
  895. package/features/review/RestartReviewStep/abstractions.d.ts +36 -0
  896. package/features/review/RestartReviewStep/abstractions.js +5 -0
  897. package/features/review/RestartReviewStep/abstractions.js.map +1 -0
  898. package/features/review/RestartReviewStep/events.d.ts +17 -0
  899. package/features/review/RestartReviewStep/events.js +14 -0
  900. package/features/review/RestartReviewStep/events.js.map +1 -0
  901. package/features/review/RestartReviewStep/feature.d.ts +4 -0
  902. package/features/review/RestartReviewStep/feature.js +11 -0
  903. package/features/review/RestartReviewStep/feature.js.map +1 -0
  904. package/features/review/RestartReviewStep/index.d.ts +2 -0
  905. package/features/review/RestartReviewStep/index.js +2 -0
  906. package/features/review/ReviewLifecycleFeature.d.ts +13 -0
  907. package/features/review/ReviewLifecycleFeature.js +21 -0
  908. package/features/review/ReviewLifecycleFeature.js.map +1 -0
  909. package/features/review/ReviewSaver/ReviewSaver.d.ts +23 -0
  910. package/features/review/ReviewSaver/ReviewSaver.js +170 -0
  911. package/features/review/ReviewSaver/ReviewSaver.js.map +1 -0
  912. package/features/review/ReviewSaver/abstractions.d.ts +21 -0
  913. package/features/review/ReviewSaver/abstractions.js +5 -0
  914. package/features/review/ReviewSaver/abstractions.js.map +1 -0
  915. package/features/review/ReviewStepReacher/ReviewStepReacher.d.ts +12 -0
  916. package/features/review/ReviewStepReacher/ReviewStepReacher.js +45 -0
  917. package/features/review/ReviewStepReacher/ReviewStepReacher.js.map +1 -0
  918. package/features/review/ReviewStepReacher/abstractions.d.ts +28 -0
  919. package/features/review/ReviewStepReacher/abstractions.js +5 -0
  920. package/features/review/ReviewStepReacher/abstractions.js.map +1 -0
  921. package/features/review/ReviewStepReacher/events.d.ts +16 -0
  922. package/features/review/ReviewStepReacher/events.js +14 -0
  923. package/features/review/ReviewStepReacher/events.js.map +1 -0
  924. package/features/review/ReviewTargetEditor/abstractions.d.ts +61 -0
  925. package/features/review/ReviewTargetEditor/abstractions.js +5 -0
  926. package/features/review/ReviewTargetEditor/abstractions.js.map +1 -0
  927. package/features/review/ReviewTargetEditor/index.d.ts +2 -0
  928. package/features/review/ReviewTargetEditor/index.js +1 -0
  929. package/features/review/ReviewTargetEditorService/ReviewTargetEditorService.d.ts +14 -0
  930. package/features/review/ReviewTargetEditorService/ReviewTargetEditorService.js +37 -0
  931. package/features/review/ReviewTargetEditorService/ReviewTargetEditorService.js.map +1 -0
  932. package/features/review/ReviewTargetEditorService/abstractions.d.ts +17 -0
  933. package/features/review/ReviewTargetEditorService/abstractions.js +5 -0
  934. package/features/review/ReviewTargetEditorService/abstractions.js.map +1 -0
  935. package/features/review/ReviewTargetEditorService/index.d.ts +1 -0
  936. package/features/review/ReviewTargetEditorService/index.js +1 -0
  937. package/features/review/ReviewTargetFolderChain/abstractions.d.ts +26 -0
  938. package/features/review/ReviewTargetFolderChain/abstractions.js +5 -0
  939. package/features/review/ReviewTargetFolderChain/abstractions.js.map +1 -0
  940. package/features/review/ReviewTargetFolderChain/index.d.ts +1 -0
  941. package/features/review/ReviewTargetFolderChain/index.js +1 -0
  942. package/features/review/ReviewTargetFolderChangeGuard/ReviewTargetFolderChangeGuard.d.ts +13 -0
  943. package/features/review/ReviewTargetFolderChangeGuard/ReviewTargetFolderChangeGuard.js +43 -0
  944. package/features/review/ReviewTargetFolderChangeGuard/ReviewTargetFolderChangeGuard.js.map +1 -0
  945. package/features/review/ReviewTargetFolderChangeGuard/abstractions.d.ts +35 -0
  946. package/features/review/ReviewTargetFolderChangeGuard/abstractions.js +5 -0
  947. package/features/review/ReviewTargetFolderChangeGuard/abstractions.js.map +1 -0
  948. package/features/review/ReviewTargetFolderChangeGuard/index.d.ts +1 -0
  949. package/features/review/ReviewTargetFolderChangeGuard/index.js +1 -0
  950. package/features/review/ReviewTargetLoader/abstractions.d.ts +26 -0
  951. package/features/review/ReviewTargetLoader/abstractions.js +5 -0
  952. package/features/review/ReviewTargetLoader/abstractions.js.map +1 -0
  953. package/features/review/ReviewTargetLoader/index.d.ts +2 -0
  954. package/features/review/ReviewTargetLoader/index.js +1 -0
  955. package/features/review/ReviewTargetReadAccess/abstractions.d.ts +56 -0
  956. package/features/review/ReviewTargetReadAccess/abstractions.js +5 -0
  957. package/features/review/ReviewTargetReadAccess/abstractions.js.map +1 -0
  958. package/features/review/ReviewTargetReadAccess/index.d.ts +1 -0
  959. package/features/review/ReviewTargetReadAccess/index.js +1 -0
  960. package/features/review/ReviewTargetSync/abstractions.d.ts +26 -0
  961. package/features/review/ReviewTargetSync/abstractions.js +5 -0
  962. package/features/review/ReviewTargetSync/abstractions.js.map +1 -0
  963. package/features/review/ReviewTargetSync/index.d.ts +1 -0
  964. package/features/review/ReviewTargetSync/index.js +1 -0
  965. package/features/review/ReviewTargetUpdateGuard/ReviewTargetUpdateGuard.d.ts +15 -0
  966. package/features/review/ReviewTargetUpdateGuard/ReviewTargetUpdateGuard.js +45 -0
  967. package/features/review/ReviewTargetUpdateGuard/ReviewTargetUpdateGuard.js.map +1 -0
  968. package/features/review/ReviewTargetUpdateGuard/abstractions.d.ts +34 -0
  969. package/features/review/ReviewTargetUpdateGuard/abstractions.js +5 -0
  970. package/features/review/ReviewTargetUpdateGuard/abstractions.js.map +1 -0
  971. package/features/review/ReviewTargetUpdateGuard/index.d.ts +1 -0
  972. package/features/review/ReviewTargetUpdateGuard/index.js +1 -0
  973. package/features/review/StartReviewStep/StartReviewStepUseCase.d.ts +13 -0
  974. package/features/review/StartReviewStep/StartReviewStepUseCase.js +34 -0
  975. package/features/review/StartReviewStep/StartReviewStepUseCase.js.map +1 -0
  976. package/features/review/StartReviewStep/abstractions.d.ts +27 -0
  977. package/features/review/StartReviewStep/abstractions.js +5 -0
  978. package/features/review/StartReviewStep/abstractions.js.map +1 -0
  979. package/features/review/StartReviewStep/events.d.ts +16 -0
  980. package/features/review/StartReviewStep/events.js +14 -0
  981. package/features/review/StartReviewStep/events.js.map +1 -0
  982. package/features/review/StartReviewStep/feature.d.ts +4 -0
  983. package/features/review/StartReviewStep/feature.js +11 -0
  984. package/features/review/StartReviewStep/feature.js.map +1 -0
  985. package/features/review/StartReviewStep/index.d.ts +3 -0
  986. package/features/review/StartReviewStep/index.js +2 -0
  987. package/features/review/StepAssignmentResolver/RoutingStepAssignmentResolver.d.ts +20 -0
  988. package/features/review/StepAssignmentResolver/RoutingStepAssignmentResolver.js +86 -0
  989. package/features/review/StepAssignmentResolver/RoutingStepAssignmentResolver.js.map +1 -0
  990. package/features/review/StepAssignmentResolver/abstractions.d.ts +30 -0
  991. package/features/review/StepAssignmentResolver/abstractions.js +5 -0
  992. package/features/review/StepAssignmentResolver/abstractions.js.map +1 -0
  993. package/features/review/StepAssignmentResolver/index.d.ts +1 -0
  994. package/features/review/StepAssignmentResolver/index.js +1 -0
  995. package/features/review/TakeOverReviewStep/TakeOverReviewStepUseCase.d.ts +13 -0
  996. package/features/review/TakeOverReviewStep/TakeOverReviewStepUseCase.js +35 -0
  997. package/features/review/TakeOverReviewStep/TakeOverReviewStepUseCase.js.map +1 -0
  998. package/features/review/TakeOverReviewStep/abstractions.d.ts +33 -0
  999. package/features/review/TakeOverReviewStep/abstractions.js +5 -0
  1000. package/features/review/TakeOverReviewStep/abstractions.js.map +1 -0
  1001. package/features/review/TakeOverReviewStep/events.d.ts +16 -0
  1002. package/features/review/TakeOverReviewStep/events.js +14 -0
  1003. package/features/review/TakeOverReviewStep/events.js.map +1 -0
  1004. package/features/review/TakeOverReviewStep/feature.d.ts +4 -0
  1005. package/features/review/TakeOverReviewStep/feature.js +11 -0
  1006. package/features/review/TakeOverReviewStep/feature.js.map +1 -0
  1007. package/features/review/TakeOverReviewStep/index.d.ts +3 -0
  1008. package/features/review/TakeOverReviewStep/index.js +2 -0
  1009. package/features/review/shared/ReviewEntryMapper.d.ts +83 -0
  1010. package/features/review/shared/ReviewEntryMapper.js +191 -0
  1011. package/features/review/shared/ReviewEntryMapper.js.map +1 -0
  1012. package/features/review/shared/ReviewModelProvider.d.ts +13 -0
  1013. package/features/review/shared/ReviewModelProvider.js +22 -0
  1014. package/features/review/shared/ReviewModelProvider.js.map +1 -0
  1015. package/features/review/shared/ReviewRepository.d.ts +52 -0
  1016. package/features/review/shared/ReviewRepository.js +344 -0
  1017. package/features/review/shared/ReviewRepository.js.map +1 -0
  1018. package/features/review/shared/events.d.ts +38 -0
  1019. package/features/review/shared/events.js +14 -0
  1020. package/features/review/shared/events.js.map +1 -0
  1021. package/features/review/shared/feature.d.ts +4 -0
  1022. package/features/review/shared/feature.js +13 -0
  1023. package/features/review/shared/feature.js.map +1 -0
  1024. package/features/review/shared/types.d.ts +36 -0
  1025. package/features/review/shared/types.js +0 -0
  1026. package/features/routing/InspectRouting/InspectRoutingUseCase.d.ts +11 -0
  1027. package/features/routing/InspectRouting/InspectRoutingUseCase.js +92 -0
  1028. package/features/routing/InspectRouting/InspectRoutingUseCase.js.map +1 -0
  1029. package/features/routing/InspectRouting/abstractions.d.ts +36 -0
  1030. package/features/routing/InspectRouting/abstractions.js +5 -0
  1031. package/features/routing/InspectRouting/abstractions.js.map +1 -0
  1032. package/features/routing/InspectRouting/feature.d.ts +4 -0
  1033. package/features/routing/InspectRouting/feature.js +11 -0
  1034. package/features/routing/InspectRouting/feature.js.map +1 -0
  1035. package/features/routing/InspectRouting/index.d.ts +3 -0
  1036. package/features/routing/InspectRouting/index.js +1 -0
  1037. package/features/routing/ListStepCandidates/ListStepCandidatesUseCase.d.ts +15 -0
  1038. package/features/routing/ListStepCandidates/ListStepCandidatesUseCase.js +99 -0
  1039. package/features/routing/ListStepCandidates/ListStepCandidatesUseCase.js.map +1 -0
  1040. package/features/routing/ListStepCandidates/abstractions.d.ts +50 -0
  1041. package/features/routing/ListStepCandidates/abstractions.js +5 -0
  1042. package/features/routing/ListStepCandidates/abstractions.js.map +1 -0
  1043. package/features/routing/ListStepCandidates/feature.d.ts +4 -0
  1044. package/features/routing/ListStepCandidates/feature.js +11 -0
  1045. package/features/routing/ListStepCandidates/feature.js.map +1 -0
  1046. package/features/routing/ListStepCandidates/index.d.ts +3 -0
  1047. package/features/routing/ListStepCandidates/index.js +1 -0
  1048. package/features/routing/RoutingEvaluatorService/RoutingEvaluatorService.d.ts +33 -0
  1049. package/features/routing/RoutingEvaluatorService/RoutingEvaluatorService.js +546 -0
  1050. package/features/routing/RoutingEvaluatorService/RoutingEvaluatorService.js.map +1 -0
  1051. package/features/routing/RoutingEvaluatorService/abstractions.d.ts +41 -0
  1052. package/features/routing/RoutingEvaluatorService/abstractions.js +5 -0
  1053. package/features/routing/RoutingEvaluatorService/abstractions.js.map +1 -0
  1054. package/features/routing/RoutingEvaluatorService/feature.d.ts +4 -0
  1055. package/features/routing/RoutingEvaluatorService/feature.js +11 -0
  1056. package/features/routing/RoutingEvaluatorService/feature.js.map +1 -0
  1057. package/features/routing/RoutingEvaluatorService/index.d.ts +1 -0
  1058. package/features/routing/RoutingEvaluatorService/index.js +1 -0
  1059. package/features/routing/RoutingStrategyService/RoutingStrategyService.d.ts +17 -0
  1060. package/features/routing/RoutingStrategyService/RoutingStrategyService.js +101 -0
  1061. package/features/routing/RoutingStrategyService/RoutingStrategyService.js.map +1 -0
  1062. package/features/routing/RoutingStrategyService/abstractions.d.ts +34 -0
  1063. package/features/routing/RoutingStrategyService/abstractions.js +5 -0
  1064. package/features/routing/RoutingStrategyService/abstractions.js.map +1 -0
  1065. package/features/routing/RoutingStrategyService/feature.d.ts +4 -0
  1066. package/features/routing/RoutingStrategyService/feature.js +11 -0
  1067. package/features/routing/RoutingStrategyService/feature.js.map +1 -0
  1068. package/features/routing/RoutingStrategyService/index.d.ts +1 -0
  1069. package/features/routing/RoutingStrategyService/index.js +1 -0
  1070. package/features/settings/GetWorkflowSettings/GetWorkflowSettingsUseCase.d.ts +11 -0
  1071. package/features/settings/GetWorkflowSettings/GetWorkflowSettingsUseCase.js +26 -0
  1072. package/features/settings/GetWorkflowSettings/GetWorkflowSettingsUseCase.js.map +1 -0
  1073. package/features/settings/GetWorkflowSettings/abstractions.d.ts +26 -0
  1074. package/features/settings/GetWorkflowSettings/abstractions.js +5 -0
  1075. package/features/settings/GetWorkflowSettings/abstractions.js.map +1 -0
  1076. package/features/settings/GetWorkflowSettings/feature.d.ts +4 -0
  1077. package/features/settings/GetWorkflowSettings/feature.js +11 -0
  1078. package/features/settings/GetWorkflowSettings/feature.js.map +1 -0
  1079. package/features/settings/GetWorkflowSettings/index.d.ts +3 -0
  1080. package/features/settings/GetWorkflowSettings/index.js +1 -0
  1081. package/features/settings/SaveWorkflowSettings/SaveWorkflowSettingsUseCase.d.ts +11 -0
  1082. package/features/settings/SaveWorkflowSettings/SaveWorkflowSettingsUseCase.js +23 -0
  1083. package/features/settings/SaveWorkflowSettings/SaveWorkflowSettingsUseCase.js.map +1 -0
  1084. package/features/settings/SaveWorkflowSettings/abstractions.d.ts +23 -0
  1085. package/features/settings/SaveWorkflowSettings/abstractions.js +5 -0
  1086. package/features/settings/SaveWorkflowSettings/abstractions.js.map +1 -0
  1087. package/features/settings/SaveWorkflowSettings/feature.d.ts +4 -0
  1088. package/features/settings/SaveWorkflowSettings/feature.js +11 -0
  1089. package/features/settings/SaveWorkflowSettings/feature.js.map +1 -0
  1090. package/features/settings/SaveWorkflowSettings/index.d.ts +2 -0
  1091. package/features/settings/SaveWorkflowSettings/index.js +1 -0
  1092. package/features/settings/shared/WorkflowSettingsEntryMapper.d.ts +15 -0
  1093. package/features/settings/shared/WorkflowSettingsEntryMapper.js +32 -0
  1094. package/features/settings/shared/WorkflowSettingsEntryMapper.js.map +1 -0
  1095. package/features/settings/shared/WorkflowSettingsModelProvider.d.ts +13 -0
  1096. package/features/settings/shared/WorkflowSettingsModelProvider.js +22 -0
  1097. package/features/settings/shared/WorkflowSettingsModelProvider.js.map +1 -0
  1098. package/features/settings/shared/WorkflowSettingsRepository.d.ts +21 -0
  1099. package/features/settings/shared/WorkflowSettingsRepository.js +65 -0
  1100. package/features/settings/shared/WorkflowSettingsRepository.js.map +1 -0
  1101. package/features/settings/shared/feature.d.ts +4 -0
  1102. package/features/settings/shared/feature.js +13 -0
  1103. package/features/settings/shared/feature.js.map +1 -0
  1104. package/features/shared/ActorEntryMapper.d.ts +13 -0
  1105. package/features/shared/ActorEntryMapper.js +24 -0
  1106. package/features/shared/ActorEntryMapper.js.map +1 -0
  1107. package/features/shared/toIsoString.d.ts +2 -0
  1108. package/features/shared/toIsoString.js +8 -0
  1109. package/features/shared/toIsoString.js.map +1 -0
  1110. package/features/stepRun/AutomationStepRunner/AutomationStepRunner.d.ts +27 -0
  1111. package/features/stepRun/AutomationStepRunner/AutomationStepRunner.js +96 -0
  1112. package/features/stepRun/AutomationStepRunner/AutomationStepRunner.js.map +1 -0
  1113. package/features/stepRun/AutomationStepRunner/feature.d.ts +4 -0
  1114. package/features/stepRun/AutomationStepRunner/feature.js +11 -0
  1115. package/features/stepRun/AutomationStepRunner/feature.js.map +1 -0
  1116. package/features/stepRun/GetReviewStepRun/GetReviewStepRunUseCase.d.ts +13 -0
  1117. package/features/stepRun/GetReviewStepRun/GetReviewStepRunUseCase.js +46 -0
  1118. package/features/stepRun/GetReviewStepRun/GetReviewStepRunUseCase.js.map +1 -0
  1119. package/features/stepRun/GetReviewStepRun/abstractions.d.ts +32 -0
  1120. package/features/stepRun/GetReviewStepRun/abstractions.js +5 -0
  1121. package/features/stepRun/GetReviewStepRun/abstractions.js.map +1 -0
  1122. package/features/stepRun/GetReviewStepRun/feature.d.ts +4 -0
  1123. package/features/stepRun/GetReviewStepRun/feature.js +11 -0
  1124. package/features/stepRun/GetReviewStepRun/feature.js.map +1 -0
  1125. package/features/stepRun/GetReviewStepRun/index.d.ts +1 -0
  1126. package/features/stepRun/GetReviewStepRun/index.js +1 -0
  1127. package/features/stepRun/GetReviewStepRun/toReviewStepRunInfo.d.ts +15 -0
  1128. package/features/stepRun/GetReviewStepRun/toReviewStepRunInfo.js +52 -0
  1129. package/features/stepRun/GetReviewStepRun/toReviewStepRunInfo.js.map +1 -0
  1130. package/features/stepRun/ReviewTaskAbortService/ReviewTaskAbortService.d.ts +13 -0
  1131. package/features/stepRun/ReviewTaskAbortService/ReviewTaskAbortService.js +41 -0
  1132. package/features/stepRun/ReviewTaskAbortService/ReviewTaskAbortService.js.map +1 -0
  1133. package/features/stepRun/ReviewTaskAbortService/abstractions.d.ts +20 -0
  1134. package/features/stepRun/ReviewTaskAbortService/abstractions.js +5 -0
  1135. package/features/stepRun/ReviewTaskAbortService/abstractions.js.map +1 -0
  1136. package/features/stepRun/ReviewTaskAbortService/feature.d.ts +4 -0
  1137. package/features/stepRun/ReviewTaskAbortService/feature.js +11 -0
  1138. package/features/stepRun/ReviewTaskAbortService/feature.js.map +1 -0
  1139. package/features/stepRun/ReviewTaskAbortService/index.d.ts +1 -0
  1140. package/features/stepRun/ReviewTaskAbortService/index.js +1 -0
  1141. package/features/stepRun/StepRunFailure.d.ts +8 -0
  1142. package/features/stepRun/StepRunFailure.js +9 -0
  1143. package/features/stepRun/StepRunFailure.js.map +1 -0
  1144. package/features/stepRun/StepRunReachService/StepRunReachService.d.ts +18 -0
  1145. package/features/stepRun/StepRunReachService/StepRunReachService.js +87 -0
  1146. package/features/stepRun/StepRunReachService/StepRunReachService.js.map +1 -0
  1147. package/features/stepRun/StepRunReachService/abstractions.d.ts +38 -0
  1148. package/features/stepRun/StepRunReachService/abstractions.js +5 -0
  1149. package/features/stepRun/StepRunReachService/abstractions.js.map +1 -0
  1150. package/features/stepRun/StepRunReachService/feature.d.ts +4 -0
  1151. package/features/stepRun/StepRunReachService/feature.js +11 -0
  1152. package/features/stepRun/StepRunReachService/feature.js.map +1 -0
  1153. package/features/stepRun/StepRunReachService/index.d.ts +1 -0
  1154. package/features/stepRun/StepRunReachService/index.js +1 -0
  1155. package/features/stepRun/StepRunStaleCheckService/StepRunStaleCheckService.d.ts +15 -0
  1156. package/features/stepRun/StepRunStaleCheckService/StepRunStaleCheckService.js +47 -0
  1157. package/features/stepRun/StepRunStaleCheckService/StepRunStaleCheckService.js.map +1 -0
  1158. package/features/stepRun/StepRunStaleCheckService/abstractions.d.ts +29 -0
  1159. package/features/stepRun/StepRunStaleCheckService/abstractions.js +5 -0
  1160. package/features/stepRun/StepRunStaleCheckService/abstractions.js.map +1 -0
  1161. package/features/stepRun/StepRunStaleCheckService/feature.d.ts +4 -0
  1162. package/features/stepRun/StepRunStaleCheckService/feature.js +11 -0
  1163. package/features/stepRun/StepRunStaleCheckService/feature.js.map +1 -0
  1164. package/features/stepRun/StepRunStaleCheckService/index.d.ts +1 -0
  1165. package/features/stepRun/StepRunStaleCheckService/index.js +1 -0
  1166. package/features/stepRun/StepRunner/abstractions.d.ts +72 -0
  1167. package/features/stepRun/StepRunner/abstractions.js +5 -0
  1168. package/features/stepRun/StepRunner/abstractions.js.map +1 -0
  1169. package/features/stepRun/StepRunner/index.d.ts +1 -0
  1170. package/features/stepRun/StepRunner/index.js +1 -0
  1171. package/features/stepRun/StepRunnerRegistryService/StepRunnerRegistryService.d.ts +11 -0
  1172. package/features/stepRun/StepRunnerRegistryService/StepRunnerRegistryService.js +25 -0
  1173. package/features/stepRun/StepRunnerRegistryService/StepRunnerRegistryService.js.map +1 -0
  1174. package/features/stepRun/StepRunnerRegistryService/abstractions.d.ts +13 -0
  1175. package/features/stepRun/StepRunnerRegistryService/abstractions.js +5 -0
  1176. package/features/stepRun/StepRunnerRegistryService/abstractions.js.map +1 -0
  1177. package/features/stepRun/StepRunnerRegistryService/feature.d.ts +4 -0
  1178. package/features/stepRun/StepRunnerRegistryService/feature.js +11 -0
  1179. package/features/stepRun/StepRunnerRegistryService/feature.js.map +1 -0
  1180. package/features/stepRun/StepRunnerRegistryService/index.d.ts +1 -0
  1181. package/features/stepRun/StepRunnerRegistryService/index.js +1 -0
  1182. package/features/stepRun/StuckStepService/StuckStepService.d.ts +20 -0
  1183. package/features/stepRun/StuckStepService/StuckStepService.js +142 -0
  1184. package/features/stepRun/StuckStepService/StuckStepService.js.map +1 -0
  1185. package/features/stepRun/StuckStepService/abstractions.d.ts +21 -0
  1186. package/features/stepRun/StuckStepService/abstractions.js +5 -0
  1187. package/features/stepRun/StuckStepService/abstractions.js.map +1 -0
  1188. package/features/stepRun/StuckStepService/feature.d.ts +4 -0
  1189. package/features/stepRun/StuckStepService/feature.js +11 -0
  1190. package/features/stepRun/StuckStepService/feature.js.map +1 -0
  1191. package/features/stepRun/StuckStepService/index.d.ts +1 -0
  1192. package/features/stepRun/StuckStepService/index.js +1 -0
  1193. package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskDefinition.d.ts +27 -0
  1194. package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskDefinition.js +20 -0
  1195. package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskDefinition.js.map +1 -0
  1196. package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskHandler.d.ts +43 -0
  1197. package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskHandler.js +452 -0
  1198. package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskHandler.js.map +1 -0
  1199. package/features/stepRun/WorkflowStepRunTask/feature.d.ts +4 -0
  1200. package/features/stepRun/WorkflowStepRunTask/feature.js +11 -0
  1201. package/features/stepRun/WorkflowStepRunTask/feature.js.map +1 -0
  1202. package/features/stepRun/WorkflowStepRunTask/index.d.ts +2 -0
  1203. package/features/stepRun/WorkflowStepRunTask/index.js +2 -0
  1204. package/features/stepRun/WorkflowStepRunTask/toStepRunTaskError.d.ts +10 -0
  1205. package/features/stepRun/WorkflowStepRunTask/toStepRunTaskError.js +7 -0
  1206. package/features/stepRun/WorkflowStepRunTask/toStepRunTaskError.js.map +1 -0
  1207. package/features/stepRun/constants.d.ts +47 -0
  1208. package/features/stepRun/constants.js +16 -0
  1209. package/features/stepRun/constants.js.map +1 -0
  1210. package/features/stepRun/types.d.ts +8 -0
  1211. package/features/stepRun/types.js +0 -0
  1212. package/features/stepTypes/AutomationStepType/AutomationStepType.d.ts +40 -0
  1213. package/features/stepTypes/AutomationStepType/AutomationStepType.js +89 -0
  1214. package/features/stepTypes/AutomationStepType/AutomationStepType.js.map +1 -0
  1215. package/features/stepTypes/ReviewStepType/ReviewStepType.d.ts +86 -0
  1216. package/features/stepTypes/ReviewStepType/ReviewStepType.js +78 -0
  1217. package/features/stepTypes/ReviewStepType/ReviewStepType.js.map +1 -0
  1218. package/features/stepTypes/StepType/abstractions.d.ts +67 -0
  1219. package/features/stepTypes/StepType/abstractions.js +5 -0
  1220. package/features/stepTypes/StepType/abstractions.js.map +1 -0
  1221. package/features/stepTypes/StepType/index.d.ts +1 -0
  1222. package/features/stepTypes/StepType/index.js +1 -0
  1223. package/features/stepTypes/StepTypeRegistryService/StepTypeRegistryService.d.ts +12 -0
  1224. package/features/stepTypes/StepTypeRegistryService/StepTypeRegistryService.js +30 -0
  1225. package/features/stepTypes/StepTypeRegistryService/StepTypeRegistryService.js.map +1 -0
  1226. package/features/stepTypes/StepTypeRegistryService/abstractions.d.ts +12 -0
  1227. package/features/stepTypes/StepTypeRegistryService/abstractions.js +5 -0
  1228. package/features/stepTypes/StepTypeRegistryService/abstractions.js.map +1 -0
  1229. package/features/stepTypes/StepTypeRegistryService/index.d.ts +1 -0
  1230. package/features/stepTypes/StepTypeRegistryService/index.js +1 -0
  1231. package/features/stepTypes/feature.d.ts +5 -0
  1232. package/features/stepTypes/feature.js +15 -0
  1233. package/features/stepTypes/feature.js.map +1 -0
  1234. package/features/workflow/DeleteWorkflow/DeleteWorkflowUseCase.d.ts +8 -10
  1235. package/features/workflow/DeleteWorkflow/DeleteWorkflowUseCase.js +39 -49
  1236. package/features/workflow/DeleteWorkflow/DeleteWorkflowUseCase.js.map +1 -1
  1237. package/features/workflow/DeleteWorkflow/abstractions.d.ts +17 -37
  1238. package/features/workflow/DeleteWorkflow/abstractions.js +2 -16
  1239. package/features/workflow/DeleteWorkflow/abstractions.js.map +1 -1
  1240. package/features/workflow/DeleteWorkflow/events.d.ts +29 -9
  1241. package/features/workflow/DeleteWorkflow/events.js +18 -15
  1242. package/features/workflow/DeleteWorkflow/events.js.map +1 -1
  1243. package/features/workflow/DeleteWorkflow/feature.d.ts +4 -1
  1244. package/features/workflow/DeleteWorkflow/feature.js +6 -7
  1245. package/features/workflow/DeleteWorkflow/feature.js.map +1 -1
  1246. package/features/workflow/DeleteWorkflow/index.d.ts +4 -4
  1247. package/features/workflow/DeleteWorkflow/index.js +2 -5
  1248. package/features/workflow/GetBoundWorkflow/GetBoundWorkflowUseCase.d.ts +11 -0
  1249. package/features/workflow/GetBoundWorkflow/GetBoundWorkflowUseCase.js +29 -0
  1250. package/features/workflow/GetBoundWorkflow/GetBoundWorkflowUseCase.js.map +1 -0
  1251. package/features/workflow/GetBoundWorkflow/abstractions.d.ts +30 -0
  1252. package/features/workflow/GetBoundWorkflow/abstractions.js +5 -0
  1253. package/features/workflow/GetBoundWorkflow/abstractions.js.map +1 -0
  1254. package/features/workflow/GetBoundWorkflow/feature.d.ts +4 -0
  1255. package/features/workflow/GetBoundWorkflow/feature.js +11 -0
  1256. package/features/workflow/GetBoundWorkflow/feature.js.map +1 -0
  1257. package/features/workflow/GetBoundWorkflow/index.d.ts +2 -0
  1258. package/features/workflow/GetBoundWorkflow/index.js +1 -0
  1259. package/features/workflow/GetWorkflow/GetWorkflowUseCase.d.ts +5 -7
  1260. package/features/workflow/GetWorkflow/GetWorkflowUseCase.js +12 -27
  1261. package/features/workflow/GetWorkflow/GetWorkflowUseCase.js.map +1 -1
  1262. package/features/workflow/GetWorkflow/abstractions.d.ts +10 -32
  1263. package/features/workflow/GetWorkflow/abstractions.js +2 -12
  1264. package/features/workflow/GetWorkflow/abstractions.js.map +1 -1
  1265. package/features/workflow/GetWorkflow/feature.d.ts +4 -1
  1266. package/features/workflow/GetWorkflow/feature.js +6 -7
  1267. package/features/workflow/GetWorkflow/feature.js.map +1 -1
  1268. package/features/workflow/GetWorkflow/index.d.ts +2 -1
  1269. package/features/workflow/GetWorkflow/index.js +1 -3
  1270. package/features/workflow/ListWorkflows/ListWorkflowsUseCase.d.ts +5 -4
  1271. package/features/workflow/ListWorkflows/ListWorkflowsUseCase.js +17 -14
  1272. package/features/workflow/ListWorkflows/ListWorkflowsUseCase.js.map +1 -1
  1273. package/features/workflow/ListWorkflows/abstractions.d.ts +18 -45
  1274. package/features/workflow/ListWorkflows/abstractions.js +2 -12
  1275. package/features/workflow/ListWorkflows/abstractions.js.map +1 -1
  1276. package/features/workflow/ListWorkflows/feature.d.ts +4 -1
  1277. package/features/workflow/ListWorkflows/feature.js +6 -7
  1278. package/features/workflow/ListWorkflows/feature.js.map +1 -1
  1279. package/features/workflow/ListWorkflows/index.d.ts +2 -1
  1280. package/features/workflow/ListWorkflows/index.js +1 -3
  1281. package/features/workflow/ReadableBlockingReviews/ReadableBlockingReviewsService.d.ts +8 -0
  1282. package/features/workflow/ReadableBlockingReviews/ReadableBlockingReviewsService.js +23 -0
  1283. package/features/workflow/ReadableBlockingReviews/ReadableBlockingReviewsService.js.map +1 -0
  1284. package/features/workflow/ReadableBlockingReviews/abstractions.d.ts +26 -0
  1285. package/features/workflow/ReadableBlockingReviews/abstractions.js +7 -0
  1286. package/features/workflow/ReadableBlockingReviews/abstractions.js.map +1 -0
  1287. package/features/workflow/ReadableBlockingReviews/feature.d.ts +4 -0
  1288. package/features/workflow/ReadableBlockingReviews/feature.js +11 -0
  1289. package/features/workflow/ReadableBlockingReviews/feature.js.map +1 -0
  1290. package/features/workflow/ReadableBlockingReviews/index.d.ts +1 -0
  1291. package/features/workflow/ReadableBlockingReviews/index.js +1 -0
  1292. package/features/workflow/StoreWorkflow/StoreWorkflowUseCase.d.ts +17 -7
  1293. package/features/workflow/StoreWorkflow/StoreWorkflowUseCase.js +204 -29
  1294. package/features/workflow/StoreWorkflow/StoreWorkflowUseCase.js.map +1 -1
  1295. package/features/workflow/StoreWorkflow/abstractions.d.ts +24 -20
  1296. package/features/workflow/StoreWorkflow/abstractions.js +2 -8
  1297. package/features/workflow/StoreWorkflow/abstractions.js.map +1 -1
  1298. package/features/workflow/StoreWorkflow/events.d.ts +75 -0
  1299. package/features/workflow/StoreWorkflow/events.js +41 -0
  1300. package/features/workflow/StoreWorkflow/events.js.map +1 -0
  1301. package/features/workflow/StoreWorkflow/feature.d.ts +4 -1
  1302. package/features/workflow/StoreWorkflow/feature.js +6 -12
  1303. package/features/workflow/StoreWorkflow/feature.js.map +1 -1
  1304. package/features/workflow/StoreWorkflow/index.d.ts +3 -2
  1305. package/features/workflow/StoreWorkflow/index.js +1 -3
  1306. package/features/workflow/shared/WorkflowEntryMapper.d.ts +22 -0
  1307. package/features/workflow/shared/WorkflowEntryMapper.js +58 -0
  1308. package/features/workflow/shared/WorkflowEntryMapper.js.map +1 -0
  1309. package/features/workflow/shared/WorkflowModelProvider.d.ts +17 -0
  1310. package/features/workflow/shared/WorkflowModelProvider.js +22 -0
  1311. package/features/workflow/shared/WorkflowModelProvider.js.map +1 -0
  1312. package/features/workflow/shared/WorkflowRepository.d.ts +28 -0
  1313. package/features/workflow/shared/WorkflowRepository.js +120 -0
  1314. package/features/workflow/shared/WorkflowRepository.js.map +1 -0
  1315. package/features/workflow/shared/feature.d.ts +4 -0
  1316. package/features/workflow/shared/feature.js +13 -0
  1317. package/features/workflow/shared/feature.js.map +1 -0
  1318. package/graphql/WorkflowsSchemaFactory.d.ts +15 -0
  1319. package/graphql/WorkflowsSchemaFactory.js +745 -0
  1320. package/graphql/WorkflowsSchemaFactory.js.map +1 -0
  1321. package/index.d.ts +1 -2
  1322. package/index.js +1 -104
  1323. package/package.json +29 -21
  1324. package/types.d.ts +6 -17
  1325. package/types.js +0 -3
  1326. package/domain/notifications/abstractions.d.ts +0 -64
  1327. package/domain/notifications/abstractions.js +0 -10
  1328. package/domain/notifications/abstractions.js.map +0 -1
  1329. package/domain/notifications/errors.d.ts +0 -5
  1330. package/domain/notifications/errors.js +0 -11
  1331. package/domain/notifications/errors.js.map +0 -1
  1332. package/domain/workflow/WorkflowMapper.d.ts +0 -12
  1333. package/domain/workflow/WorkflowMapper.js +0 -29
  1334. package/domain/workflow/WorkflowMapper.js.map +0 -1
  1335. package/domain/workflow/abstractions.d.ts +0 -37
  1336. package/domain/workflow/abstractions.js +0 -6
  1337. package/domain/workflow/abstractions.js.map +0 -1
  1338. package/domain/workflow/workflowModel.d.ts +0 -9
  1339. package/domain/workflow/workflowModel.js +0 -32
  1340. package/domain/workflow/workflowModel.js.map +0 -1
  1341. package/domain/workflowState/WorkflowState.d.ts +0 -55
  1342. package/domain/workflowState/WorkflowState.js +0 -327
  1343. package/domain/workflowState/WorkflowState.js.map +0 -1
  1344. package/domain/workflowState/WorkflowStateMapper.d.ts +0 -9
  1345. package/domain/workflowState/WorkflowStateMapper.js +0 -40
  1346. package/domain/workflowState/WorkflowStateMapper.js.map +0 -1
  1347. package/domain/workflowState/abstractions.d.ts +0 -75
  1348. package/domain/workflowState/abstractions.js +0 -13
  1349. package/domain/workflowState/abstractions.js.map +0 -1
  1350. package/domain/workflowState/errors.d.ts +0 -86
  1351. package/domain/workflowState/errors.js +0 -139
  1352. package/domain/workflowState/errors.js.map +0 -1
  1353. package/domain/workflowState/guards/canReview.d.ts +0 -2
  1354. package/domain/workflowState/guards/canReview.js +0 -5
  1355. package/domain/workflowState/guards/canReview.js.map +0 -1
  1356. package/domain/workflowState/guards/canTakeOver.d.ts +0 -2
  1357. package/domain/workflowState/guards/canTakeOver.js +0 -5
  1358. package/domain/workflowState/guards/canTakeOver.js.map +0 -1
  1359. package/domain/workflowState/guards/isInReview.d.ts +0 -2
  1360. package/domain/workflowState/guards/isInReview.js +0 -6
  1361. package/domain/workflowState/guards/isInReview.js.map +0 -1
  1362. package/domain/workflowState/guards/isRejected.d.ts +0 -2
  1363. package/domain/workflowState/guards/isRejected.js +0 -6
  1364. package/domain/workflowState/guards/isRejected.js.map +0 -1
  1365. package/domain/workflowState/guards/isStepOwner.d.ts +0 -2
  1366. package/domain/workflowState/guards/isStepOwner.js +0 -5
  1367. package/domain/workflowState/guards/isStepOwner.js.map +0 -1
  1368. package/domain/workflowState/stateModel.d.ts +0 -9
  1369. package/domain/workflowState/stateModel.js +0 -58
  1370. package/domain/workflowState/stateModel.js.map +0 -1
  1371. package/features/internal/GetUserTeams/GetUserTeamsUseCase.d.ts +0 -12
  1372. package/features/internal/GetUserTeams/GetUserTeamsUseCase.js +0 -36
  1373. package/features/internal/GetUserTeams/GetUserTeamsUseCase.js.map +0 -1
  1374. package/features/internal/GetUserTeams/abstractions.d.ts +0 -10
  1375. package/features/internal/GetUserTeams/abstractions.js +0 -4
  1376. package/features/internal/GetUserTeams/abstractions.js.map +0 -1
  1377. package/features/internal/GetUserTeams/feature.d.ts +0 -1
  1378. package/features/internal/GetUserTeams/feature.js +0 -10
  1379. package/features/internal/GetUserTeams/feature.js.map +0 -1
  1380. package/features/internal/GetUserTeams/index.d.ts +0 -1
  1381. package/features/internal/GetUserTeams/index.js +0 -3
  1382. package/features/internal/GetUserTeams/index.js.map +0 -1
  1383. package/features/notifications/ListNotificationTypes/ListNotificationTypesRepository.d.ts +0 -11
  1384. package/features/notifications/ListNotificationTypes/ListNotificationTypesRepository.js +0 -24
  1385. package/features/notifications/ListNotificationTypes/ListNotificationTypesRepository.js.map +0 -1
  1386. package/features/notifications/ListNotificationTypes/ListNotificationTypesUseCase.d.ts +0 -13
  1387. package/features/notifications/ListNotificationTypes/ListNotificationTypesUseCase.js +0 -39
  1388. package/features/notifications/ListNotificationTypes/ListNotificationTypesUseCase.js.map +0 -1
  1389. package/features/notifications/ListNotificationTypes/abstractions.d.ts +0 -31
  1390. package/features/notifications/ListNotificationTypes/abstractions.js +0 -15
  1391. package/features/notifications/ListNotificationTypes/abstractions.js.map +0 -1
  1392. package/features/notifications/ListNotificationTypes/feature.d.ts +0 -1
  1393. package/features/notifications/ListNotificationTypes/feature.js +0 -12
  1394. package/features/notifications/ListNotificationTypes/feature.js.map +0 -1
  1395. package/features/notifications/ListNotificationTypes/index.d.ts +0 -3
  1396. package/features/notifications/ListNotificationTypes/index.js +0 -4
  1397. package/features/notifications/ListNotificationTypes/index.js.map +0 -1
  1398. package/features/notifications/NotificationTransport/index.js.map +0 -1
  1399. package/features/shared/abstractions.d.ts +0 -21
  1400. package/features/shared/abstractions.js +0 -3
  1401. package/features/shared/abstractions.js.map +0 -1
  1402. package/features/workflow/CreateWorkflow/CreateWorkflowRepository.d.ts +0 -14
  1403. package/features/workflow/CreateWorkflow/CreateWorkflowRepository.js +0 -45
  1404. package/features/workflow/CreateWorkflow/CreateWorkflowRepository.js.map +0 -1
  1405. package/features/workflow/CreateWorkflow/CreateWorkflowUseCase.d.ts +0 -15
  1406. package/features/workflow/CreateWorkflow/CreateWorkflowUseCase.js +0 -56
  1407. package/features/workflow/CreateWorkflow/CreateWorkflowUseCase.js.map +0 -1
  1408. package/features/workflow/CreateWorkflow/abstractions.d.ts +0 -56
  1409. package/features/workflow/CreateWorkflow/abstractions.js +0 -19
  1410. package/features/workflow/CreateWorkflow/abstractions.js.map +0 -1
  1411. package/features/workflow/CreateWorkflow/events.d.ts +0 -21
  1412. package/features/workflow/CreateWorkflow/events.js +0 -20
  1413. package/features/workflow/CreateWorkflow/events.js.map +0 -1
  1414. package/features/workflow/CreateWorkflow/feature.d.ts +0 -1
  1415. package/features/workflow/CreateWorkflow/feature.js +0 -12
  1416. package/features/workflow/CreateWorkflow/feature.js.map +0 -1
  1417. package/features/workflow/CreateWorkflow/index.d.ts +0 -4
  1418. package/features/workflow/CreateWorkflow/index.js +0 -5
  1419. package/features/workflow/CreateWorkflow/index.js.map +0 -1
  1420. package/features/workflow/DeleteWorkflow/DeleteWorkflowRepository.d.ts +0 -13
  1421. package/features/workflow/DeleteWorkflow/DeleteWorkflowRepository.js +0 -33
  1422. package/features/workflow/DeleteWorkflow/DeleteWorkflowRepository.js.map +0 -1
  1423. package/features/workflow/DeleteWorkflow/index.js.map +0 -1
  1424. package/features/workflow/GetWorkflow/GetWorkflowRepository.d.ts +0 -14
  1425. package/features/workflow/GetWorkflow/GetWorkflowRepository.js +0 -46
  1426. package/features/workflow/GetWorkflow/GetWorkflowRepository.js.map +0 -1
  1427. package/features/workflow/GetWorkflow/index.js.map +0 -1
  1428. package/features/workflow/ListWorkflows/ListWorkflowsRepository.d.ts +0 -18
  1429. package/features/workflow/ListWorkflows/ListWorkflowsRepository.js +0 -67
  1430. package/features/workflow/ListWorkflows/ListWorkflowsRepository.js.map +0 -1
  1431. package/features/workflow/ListWorkflows/index.js.map +0 -1
  1432. package/features/workflow/StoreWorkflow/index.js.map +0 -1
  1433. package/features/workflow/UpdateWorkflow/UpdateWorkflowRepository.d.ts +0 -15
  1434. package/features/workflow/UpdateWorkflow/UpdateWorkflowRepository.js +0 -49
  1435. package/features/workflow/UpdateWorkflow/UpdateWorkflowRepository.js.map +0 -1
  1436. package/features/workflow/UpdateWorkflow/UpdateWorkflowUseCase.d.ts +0 -15
  1437. package/features/workflow/UpdateWorkflow/UpdateWorkflowUseCase.js +0 -58
  1438. package/features/workflow/UpdateWorkflow/UpdateWorkflowUseCase.js.map +0 -1
  1439. package/features/workflow/UpdateWorkflow/abstractions.d.ts +0 -57
  1440. package/features/workflow/UpdateWorkflow/abstractions.js +0 -19
  1441. package/features/workflow/UpdateWorkflow/abstractions.js.map +0 -1
  1442. package/features/workflow/UpdateWorkflow/events.d.ts +0 -21
  1443. package/features/workflow/UpdateWorkflow/events.js +0 -20
  1444. package/features/workflow/UpdateWorkflow/events.js.map +0 -1
  1445. package/features/workflow/UpdateWorkflow/feature.d.ts +0 -1
  1446. package/features/workflow/UpdateWorkflow/feature.js +0 -12
  1447. package/features/workflow/UpdateWorkflow/feature.js.map +0 -1
  1448. package/features/workflow/UpdateWorkflow/index.d.ts +0 -4
  1449. package/features/workflow/UpdateWorkflow/index.js +0 -5
  1450. package/features/workflow/UpdateWorkflow/index.js.map +0 -1
  1451. package/features/workflowState/ApproveWorkflowStateStep/ApproveWorkflowStateStepUseCase.d.ts +0 -15
  1452. package/features/workflowState/ApproveWorkflowStateStep/ApproveWorkflowStateStepUseCase.js +0 -39
  1453. package/features/workflowState/ApproveWorkflowStateStep/ApproveWorkflowStateStepUseCase.js.map +0 -1
  1454. package/features/workflowState/ApproveWorkflowStateStep/abstractions.d.ts +0 -26
  1455. package/features/workflowState/ApproveWorkflowStateStep/abstractions.js +0 -4
  1456. package/features/workflowState/ApproveWorkflowStateStep/abstractions.js.map +0 -1
  1457. package/features/workflowState/ApproveWorkflowStateStep/events.d.ts +0 -12
  1458. package/features/workflowState/ApproveWorkflowStateStep/events.js +0 -11
  1459. package/features/workflowState/ApproveWorkflowStateStep/events.js.map +0 -1
  1460. package/features/workflowState/ApproveWorkflowStateStep/feature.d.ts +0 -1
  1461. package/features/workflowState/ApproveWorkflowStateStep/feature.js +0 -10
  1462. package/features/workflowState/ApproveWorkflowStateStep/feature.js.map +0 -1
  1463. package/features/workflowState/ApproveWorkflowStateStep/index.d.ts +0 -2
  1464. package/features/workflowState/ApproveWorkflowStateStep/index.js +0 -4
  1465. package/features/workflowState/ApproveWorkflowStateStep/index.js.map +0 -1
  1466. package/features/workflowState/CancelWorkflowState/CancelWorkflowStateUseCase.d.ts +0 -13
  1467. package/features/workflowState/CancelWorkflowState/CancelWorkflowStateUseCase.js +0 -29
  1468. package/features/workflowState/CancelWorkflowState/CancelWorkflowStateUseCase.js.map +0 -1
  1469. package/features/workflowState/CancelWorkflowState/abstractions.d.ts +0 -26
  1470. package/features/workflowState/CancelWorkflowState/abstractions.js +0 -9
  1471. package/features/workflowState/CancelWorkflowState/abstractions.js.map +0 -1
  1472. package/features/workflowState/CancelWorkflowState/events.d.ts +0 -12
  1473. package/features/workflowState/CancelWorkflowState/events.js +0 -11
  1474. package/features/workflowState/CancelWorkflowState/events.js.map +0 -1
  1475. package/features/workflowState/CancelWorkflowState/feature.d.ts +0 -1
  1476. package/features/workflowState/CancelWorkflowState/feature.js +0 -10
  1477. package/features/workflowState/CancelWorkflowState/feature.js.map +0 -1
  1478. package/features/workflowState/CancelWorkflowState/index.d.ts +0 -2
  1479. package/features/workflowState/CancelWorkflowState/index.js +0 -4
  1480. package/features/workflowState/CancelWorkflowState/index.js.map +0 -1
  1481. package/features/workflowState/CreateWorkflowState/CreateWorkflowStateRepository.d.ts +0 -14
  1482. package/features/workflowState/CreateWorkflowState/CreateWorkflowStateRepository.js +0 -32
  1483. package/features/workflowState/CreateWorkflowState/CreateWorkflowStateRepository.js.map +0 -1
  1484. package/features/workflowState/CreateWorkflowState/CreateWorkflowStateUseCase.d.ts +0 -20
  1485. package/features/workflowState/CreateWorkflowState/CreateWorkflowStateUseCase.js +0 -108
  1486. package/features/workflowState/CreateWorkflowState/CreateWorkflowStateUseCase.js.map +0 -1
  1487. package/features/workflowState/CreateWorkflowState/abstractions.d.ts +0 -54
  1488. package/features/workflowState/CreateWorkflowState/abstractions.js +0 -15
  1489. package/features/workflowState/CreateWorkflowState/abstractions.js.map +0 -1
  1490. package/features/workflowState/CreateWorkflowState/events.d.ts +0 -12
  1491. package/features/workflowState/CreateWorkflowState/events.js +0 -11
  1492. package/features/workflowState/CreateWorkflowState/events.js.map +0 -1
  1493. package/features/workflowState/CreateWorkflowState/feature.d.ts +0 -1
  1494. package/features/workflowState/CreateWorkflowState/feature.js +0 -12
  1495. package/features/workflowState/CreateWorkflowState/feature.js.map +0 -1
  1496. package/features/workflowState/CreateWorkflowState/index.d.ts +0 -2
  1497. package/features/workflowState/CreateWorkflowState/index.js +0 -4
  1498. package/features/workflowState/CreateWorkflowState/index.js.map +0 -1
  1499. package/features/workflowState/DeleteTargetWorkflowState/DeleteTargetWorkflowStateUseCase.d.ts +0 -21
  1500. package/features/workflowState/DeleteTargetWorkflowState/DeleteTargetWorkflowStateUseCase.js +0 -59
  1501. package/features/workflowState/DeleteTargetWorkflowState/DeleteTargetWorkflowStateUseCase.js.map +0 -1
  1502. package/features/workflowState/DeleteTargetWorkflowState/abstractions.d.ts +0 -23
  1503. package/features/workflowState/DeleteTargetWorkflowState/abstractions.js +0 -4
  1504. package/features/workflowState/DeleteTargetWorkflowState/abstractions.js.map +0 -1
  1505. package/features/workflowState/DeleteTargetWorkflowState/events.d.ts +0 -12
  1506. package/features/workflowState/DeleteTargetWorkflowState/events.js +0 -11
  1507. package/features/workflowState/DeleteTargetWorkflowState/events.js.map +0 -1
  1508. package/features/workflowState/DeleteTargetWorkflowState/feature.d.ts +0 -1
  1509. package/features/workflowState/DeleteTargetWorkflowState/feature.js +0 -10
  1510. package/features/workflowState/DeleteTargetWorkflowState/feature.js.map +0 -1
  1511. package/features/workflowState/DeleteTargetWorkflowState/index.d.ts +0 -2
  1512. package/features/workflowState/DeleteTargetWorkflowState/index.js +0 -4
  1513. package/features/workflowState/DeleteTargetWorkflowState/index.js.map +0 -1
  1514. package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateRepository.d.ts +0 -13
  1515. package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateRepository.js +0 -20
  1516. package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateRepository.js.map +0 -1
  1517. package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateUseCase.d.ts +0 -14
  1518. package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateUseCase.js +0 -32
  1519. package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateUseCase.js.map +0 -1
  1520. package/features/workflowState/DeleteWorkflowState/abstractions.d.ts +0 -25
  1521. package/features/workflowState/DeleteWorkflowState/abstractions.js +0 -5
  1522. package/features/workflowState/DeleteWorkflowState/abstractions.js.map +0 -1
  1523. package/features/workflowState/DeleteWorkflowState/feature.d.ts +0 -1
  1524. package/features/workflowState/DeleteWorkflowState/feature.js +0 -12
  1525. package/features/workflowState/DeleteWorkflowState/feature.js.map +0 -1
  1526. package/features/workflowState/DeleteWorkflowState/index.d.ts +0 -1
  1527. package/features/workflowState/DeleteWorkflowState/index.js +0 -3
  1528. package/features/workflowState/DeleteWorkflowState/index.js.map +0 -1
  1529. package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateRepository.d.ts +0 -14
  1530. package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateRepository.js +0 -52
  1531. package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateRepository.js.map +0 -1
  1532. package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateUseCase.d.ts +0 -14
  1533. package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateUseCase.js +0 -38
  1534. package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateUseCase.js.map +0 -1
  1535. package/features/workflowState/GetTargetWorkflowState/abstractions.d.ts +0 -48
  1536. package/features/workflowState/GetTargetWorkflowState/abstractions.js +0 -15
  1537. package/features/workflowState/GetTargetWorkflowState/abstractions.js.map +0 -1
  1538. package/features/workflowState/GetTargetWorkflowState/feature.d.ts +0 -1
  1539. package/features/workflowState/GetTargetWorkflowState/feature.js +0 -12
  1540. package/features/workflowState/GetTargetWorkflowState/feature.js.map +0 -1
  1541. package/features/workflowState/GetTargetWorkflowState/index.d.ts +0 -1
  1542. package/features/workflowState/GetTargetWorkflowState/index.js +0 -3
  1543. package/features/workflowState/GetTargetWorkflowState/index.js.map +0 -1
  1544. package/features/workflowState/GetWorkflowState/GetWorkflowStateRepository.d.ts +0 -14
  1545. package/features/workflowState/GetWorkflowState/GetWorkflowStateRepository.js +0 -32
  1546. package/features/workflowState/GetWorkflowState/GetWorkflowStateRepository.js.map +0 -1
  1547. package/features/workflowState/GetWorkflowState/GetWorkflowStateUseCase.d.ts +0 -14
  1548. package/features/workflowState/GetWorkflowState/GetWorkflowStateUseCase.js +0 -30
  1549. package/features/workflowState/GetWorkflowState/GetWorkflowStateUseCase.js.map +0 -1
  1550. package/features/workflowState/GetWorkflowState/abstractions.d.ts +0 -39
  1551. package/features/workflowState/GetWorkflowState/abstractions.js +0 -15
  1552. package/features/workflowState/GetWorkflowState/abstractions.js.map +0 -1
  1553. package/features/workflowState/GetWorkflowState/feature.d.ts +0 -1
  1554. package/features/workflowState/GetWorkflowState/feature.js +0 -12
  1555. package/features/workflowState/GetWorkflowState/feature.js.map +0 -1
  1556. package/features/workflowState/GetWorkflowState/index.d.ts +0 -1
  1557. package/features/workflowState/GetWorkflowState/index.js +0 -3
  1558. package/features/workflowState/GetWorkflowState/index.js.map +0 -1
  1559. package/features/workflowState/ListOwnWorkflowStates/ListOwnWorkflowStatesUseCase.d.ts +0 -13
  1560. package/features/workflowState/ListOwnWorkflowStates/ListOwnWorkflowStatesUseCase.js +0 -41
  1561. package/features/workflowState/ListOwnWorkflowStates/ListOwnWorkflowStatesUseCase.js.map +0 -1
  1562. package/features/workflowState/ListOwnWorkflowStates/abstractions.d.ts +0 -22
  1563. package/features/workflowState/ListOwnWorkflowStates/abstractions.js +0 -9
  1564. package/features/workflowState/ListOwnWorkflowStates/abstractions.js.map +0 -1
  1565. package/features/workflowState/ListOwnWorkflowStates/feature.d.ts +0 -1
  1566. package/features/workflowState/ListOwnWorkflowStates/feature.js +0 -10
  1567. package/features/workflowState/ListOwnWorkflowStates/feature.js.map +0 -1
  1568. package/features/workflowState/ListOwnWorkflowStates/index.d.ts +0 -1
  1569. package/features/workflowState/ListOwnWorkflowStates/index.js +0 -3
  1570. package/features/workflowState/ListOwnWorkflowStates/index.js.map +0 -1
  1571. package/features/workflowState/ListRequestedWorkflowStates/ListRequestedWorkflowStatesUseCase.d.ts +0 -15
  1572. package/features/workflowState/ListRequestedWorkflowStates/ListRequestedWorkflowStatesUseCase.js +0 -49
  1573. package/features/workflowState/ListRequestedWorkflowStates/ListRequestedWorkflowStatesUseCase.js.map +0 -1
  1574. package/features/workflowState/ListRequestedWorkflowStates/abstractions.d.ts +0 -22
  1575. package/features/workflowState/ListRequestedWorkflowStates/abstractions.js +0 -9
  1576. package/features/workflowState/ListRequestedWorkflowStates/abstractions.js.map +0 -1
  1577. package/features/workflowState/ListRequestedWorkflowStates/feature.d.ts +0 -1
  1578. package/features/workflowState/ListRequestedWorkflowStates/feature.js +0 -10
  1579. package/features/workflowState/ListRequestedWorkflowStates/feature.js.map +0 -1
  1580. package/features/workflowState/ListRequestedWorkflowStates/index.d.ts +0 -1
  1581. package/features/workflowState/ListRequestedWorkflowStates/index.js +0 -3
  1582. package/features/workflowState/ListRequestedWorkflowStates/index.js.map +0 -1
  1583. package/features/workflowState/ListWorkflowStates/ListWorkflowStatesRepository.d.ts +0 -16
  1584. package/features/workflowState/ListWorkflowStates/ListWorkflowStatesRepository.js +0 -43
  1585. package/features/workflowState/ListWorkflowStates/ListWorkflowStatesRepository.js.map +0 -1
  1586. package/features/workflowState/ListWorkflowStates/ListWorkflowStatesUseCase.d.ts +0 -14
  1587. package/features/workflowState/ListWorkflowStates/ListWorkflowStatesUseCase.js +0 -36
  1588. package/features/workflowState/ListWorkflowStates/ListWorkflowStatesUseCase.js.map +0 -1
  1589. package/features/workflowState/ListWorkflowStates/abstractions.d.ts +0 -71
  1590. package/features/workflowState/ListWorkflowStates/abstractions.js +0 -15
  1591. package/features/workflowState/ListWorkflowStates/abstractions.js.map +0 -1
  1592. package/features/workflowState/ListWorkflowStates/feature.d.ts +0 -1
  1593. package/features/workflowState/ListWorkflowStates/feature.js +0 -12
  1594. package/features/workflowState/ListWorkflowStates/feature.js.map +0 -1
  1595. package/features/workflowState/ListWorkflowStates/index.d.ts +0 -1
  1596. package/features/workflowState/ListWorkflowStates/index.js +0 -3
  1597. package/features/workflowState/ListWorkflowStates/index.js.map +0 -1
  1598. package/features/workflowState/README.md +0 -8
  1599. package/features/workflowState/RejectWorkflowStateStep/RejectWorkflowStateStepUseCase.d.ts +0 -15
  1600. package/features/workflowState/RejectWorkflowStateStep/RejectWorkflowStateStepUseCase.js +0 -39
  1601. package/features/workflowState/RejectWorkflowStateStep/RejectWorkflowStateStepUseCase.js.map +0 -1
  1602. package/features/workflowState/RejectWorkflowStateStep/abstractions.d.ts +0 -26
  1603. package/features/workflowState/RejectWorkflowStateStep/abstractions.js +0 -4
  1604. package/features/workflowState/RejectWorkflowStateStep/abstractions.js.map +0 -1
  1605. package/features/workflowState/RejectWorkflowStateStep/events.d.ts +0 -12
  1606. package/features/workflowState/RejectWorkflowStateStep/events.js +0 -11
  1607. package/features/workflowState/RejectWorkflowStateStep/events.js.map +0 -1
  1608. package/features/workflowState/RejectWorkflowStateStep/feature.d.ts +0 -1
  1609. package/features/workflowState/RejectWorkflowStateStep/feature.js +0 -10
  1610. package/features/workflowState/RejectWorkflowStateStep/feature.js.map +0 -1
  1611. package/features/workflowState/RejectWorkflowStateStep/index.d.ts +0 -2
  1612. package/features/workflowState/RejectWorkflowStateStep/index.js +0 -4
  1613. package/features/workflowState/RejectWorkflowStateStep/index.js.map +0 -1
  1614. package/features/workflowState/StartWorkflowStateStep/StartWorkflowStateStepUseCase.d.ts +0 -15
  1615. package/features/workflowState/StartWorkflowStateStep/StartWorkflowStateStepUseCase.js +0 -39
  1616. package/features/workflowState/StartWorkflowStateStep/StartWorkflowStateStepUseCase.js.map +0 -1
  1617. package/features/workflowState/StartWorkflowStateStep/abstractions.d.ts +0 -25
  1618. package/features/workflowState/StartWorkflowStateStep/abstractions.js +0 -4
  1619. package/features/workflowState/StartWorkflowStateStep/abstractions.js.map +0 -1
  1620. package/features/workflowState/StartWorkflowStateStep/events.d.ts +0 -12
  1621. package/features/workflowState/StartWorkflowStateStep/events.js +0 -11
  1622. package/features/workflowState/StartWorkflowStateStep/events.js.map +0 -1
  1623. package/features/workflowState/StartWorkflowStateStep/feature.d.ts +0 -1
  1624. package/features/workflowState/StartWorkflowStateStep/feature.js +0 -10
  1625. package/features/workflowState/StartWorkflowStateStep/feature.js.map +0 -1
  1626. package/features/workflowState/StartWorkflowStateStep/index.d.ts +0 -2
  1627. package/features/workflowState/StartWorkflowStateStep/index.js +0 -4
  1628. package/features/workflowState/StartWorkflowStateStep/index.js.map +0 -1
  1629. package/features/workflowState/TakeOverWorkflowStateStep/TakeOverWorkflowStateStepUseCase.d.ts +0 -15
  1630. package/features/workflowState/TakeOverWorkflowStateStep/TakeOverWorkflowStateStepUseCase.js +0 -39
  1631. package/features/workflowState/TakeOverWorkflowStateStep/TakeOverWorkflowStateStepUseCase.js.map +0 -1
  1632. package/features/workflowState/TakeOverWorkflowStateStep/abstractions.d.ts +0 -26
  1633. package/features/workflowState/TakeOverWorkflowStateStep/abstractions.js +0 -4
  1634. package/features/workflowState/TakeOverWorkflowStateStep/abstractions.js.map +0 -1
  1635. package/features/workflowState/TakeOverWorkflowStateStep/events.d.ts +0 -12
  1636. package/features/workflowState/TakeOverWorkflowStateStep/events.js +0 -11
  1637. package/features/workflowState/TakeOverWorkflowStateStep/events.js.map +0 -1
  1638. package/features/workflowState/TakeOverWorkflowStateStep/feature.d.ts +0 -1
  1639. package/features/workflowState/TakeOverWorkflowStateStep/feature.js +0 -10
  1640. package/features/workflowState/TakeOverWorkflowStateStep/feature.js.map +0 -1
  1641. package/features/workflowState/TakeOverWorkflowStateStep/index.d.ts +0 -2
  1642. package/features/workflowState/TakeOverWorkflowStateStep/index.js +0 -4
  1643. package/features/workflowState/TakeOverWorkflowStateStep/index.js.map +0 -1
  1644. package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateRepository.d.ts +0 -17
  1645. package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateRepository.js +0 -48
  1646. package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateRepository.js.map +0 -1
  1647. package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateUseCase.d.ts +0 -20
  1648. package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateUseCase.js +0 -57
  1649. package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateUseCase.js.map +0 -1
  1650. package/features/workflowState/UpdateWorkflowState/abstractions.d.ts +0 -48
  1651. package/features/workflowState/UpdateWorkflowState/abstractions.js +0 -15
  1652. package/features/workflowState/UpdateWorkflowState/abstractions.js.map +0 -1
  1653. package/features/workflowState/UpdateWorkflowState/events.d.ts +0 -12
  1654. package/features/workflowState/UpdateWorkflowState/events.js +0 -11
  1655. package/features/workflowState/UpdateWorkflowState/events.js.map +0 -1
  1656. package/features/workflowState/UpdateWorkflowState/feature.d.ts +0 -1
  1657. package/features/workflowState/UpdateWorkflowState/feature.js +0 -12
  1658. package/features/workflowState/UpdateWorkflowState/feature.js.map +0 -1
  1659. package/features/workflowState/UpdateWorkflowState/index.d.ts +0 -2
  1660. package/features/workflowState/UpdateWorkflowState/index.js +0 -4
  1661. package/features/workflowState/UpdateWorkflowState/index.js.map +0 -1
  1662. package/graphql/notifications.d.ts +0 -2
  1663. package/graphql/notifications.js +0 -51
  1664. package/graphql/notifications.js.map +0 -1
  1665. package/graphql/validation/approveWorkflowState.d.ts +0 -5
  1666. package/graphql/validation/approveWorkflowState.js +0 -7
  1667. package/graphql/validation/approveWorkflowState.js.map +0 -1
  1668. package/graphql/validation/cancelWorkflowState.d.ts +0 -4
  1669. package/graphql/validation/cancelWorkflowState.js +0 -6
  1670. package/graphql/validation/cancelWorkflowState.js.map +0 -1
  1671. package/graphql/validation/createWorkflowState.d.ts +0 -6
  1672. package/graphql/validation/createWorkflowState.js +0 -8
  1673. package/graphql/validation/createWorkflowState.js.map +0 -1
  1674. package/graphql/validation/deleteWorkflow.d.ts +0 -5
  1675. package/graphql/validation/deleteWorkflow.js +0 -7
  1676. package/graphql/validation/deleteWorkflow.js.map +0 -1
  1677. package/graphql/validation/getTargetWorkflowState.d.ts +0 -5
  1678. package/graphql/validation/getTargetWorkflowState.js +0 -7
  1679. package/graphql/validation/getTargetWorkflowState.js.map +0 -1
  1680. package/graphql/validation/getWorkflow.d.ts +0 -5
  1681. package/graphql/validation/getWorkflow.js +0 -7
  1682. package/graphql/validation/getWorkflow.js.map +0 -1
  1683. package/graphql/validation/getWorkflowState.d.ts +0 -4
  1684. package/graphql/validation/getWorkflowState.js +0 -6
  1685. package/graphql/validation/getWorkflowState.js.map +0 -1
  1686. package/graphql/validation/listWorkflowStates.d.ts +0 -26
  1687. package/graphql/validation/listWorkflowStates.js +0 -42
  1688. package/graphql/validation/listWorkflowStates.js.map +0 -1
  1689. package/graphql/validation/listWorkflows.d.ts +0 -12
  1690. package/graphql/validation/listWorkflows.js +0 -22
  1691. package/graphql/validation/listWorkflows.js.map +0 -1
  1692. package/graphql/validation/rejectWorkflowState.d.ts +0 -5
  1693. package/graphql/validation/rejectWorkflowState.js +0 -7
  1694. package/graphql/validation/rejectWorkflowState.js.map +0 -1
  1695. package/graphql/validation/startWorkflowState.d.ts +0 -4
  1696. package/graphql/validation/startWorkflowState.js +0 -6
  1697. package/graphql/validation/startWorkflowState.js.map +0 -1
  1698. package/graphql/validation/step.d.ts +0 -21
  1699. package/graphql/validation/step.js +0 -21
  1700. package/graphql/validation/step.js.map +0 -1
  1701. package/graphql/validation/storeWorkflow.d.ts +0 -35
  1702. package/graphql/validation/storeWorkflow.js +0 -9
  1703. package/graphql/validation/storeWorkflow.js.map +0 -1
  1704. package/graphql/validation/takeOverWorkflowStateStep.d.ts +0 -4
  1705. package/graphql/validation/takeOverWorkflowStateStep.js +0 -6
  1706. package/graphql/validation/takeOverWorkflowStateStep.js.map +0 -1
  1707. package/graphql/validation/workflow.d.ts +0 -33
  1708. package/graphql/validation/workflow.js +0 -10
  1709. package/graphql/validation/workflow.js.map +0 -1
  1710. package/graphql/workflowState.d.ts +0 -2
  1711. package/graphql/workflowState.js +0 -427
  1712. package/graphql/workflowState.js.map +0 -1
  1713. package/graphql/workflows.d.ts +0 -2
  1714. package/graphql/workflows.js +0 -216
  1715. package/graphql/workflows.js.map +0 -1
  1716. package/index.js.map +0 -1
  1717. package/types.js.map +0 -1
@@ -0,0 +1,18 @@
1
+ import { PersistenceError } from "../PersistenceError.js";
2
+ class RoutingDependencyError extends PersistenceError {
3
+ constructor(error, decided = null){
4
+ super("A lookup needed for routing failed.", error, error instanceof RoutingDependencyError ? error.data.cause.code : error.code), this.code = "Workflows/Routing/Dependency";
5
+ this.decided = decided ? {
6
+ candidateTeamIds: [
7
+ ...decided.candidateTeamIds
8
+ ],
9
+ ruleId: decided.ruleId,
10
+ skips: decided.skips.map((skip)=>({
11
+ ...skip
12
+ }))
13
+ } : null;
14
+ }
15
+ }
16
+ export { RoutingDependencyError };
17
+
18
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/errors.js","sources":["../../../src/domain/routing/errors.ts"],"sourcesContent":["import type { AssignmentDecision } from \"~/domain/assignment/types.js\";\nimport type { PersistenceErrorSource } from \"~/domain/PersistenceErrorSource.js\";\nimport { PersistenceError } from \"~/domain/PersistenceError.js\";\n\n/**\n * What step-reach evaluation had decided when a lookup failed (R116 refined): the candidate\n * teams (narrowed when a team-target rule matched, else the step's teams), that rule, and the\n * skip records gathered so far, in decision order. The resolver's pool keeps them.\n */\nexport interface RoutingDecidedSoFar {\n candidateTeamIds: string[];\n ruleId: string | null;\n skips: AssignmentDecision[];\n}\n\n/**\n * A lookup routing needs failed: users, settings, the folder chain or a strategy's history\n * (R116). The resolver turns it into the pool; the inspector and candidate lists report it.\n * `decided` is set by step-reach evaluation and is not part of `data`: skip records never travel\n * on an error payload.\n */\nexport class RoutingDependencyError extends PersistenceError {\n override readonly code = \"Workflows/Routing/Dependency\" as const;\n public readonly decided: RoutingDecidedSoFar | null;\n\n /** Pass another `RoutingDependencyError` to keep its cause and add what was decided. */\n constructor(\n error: PersistenceErrorSource | RoutingDependencyError,\n decided: RoutingDecidedSoFar | null = null\n ) {\n // Another routing error passes on the cause it reports, other persistence errors their own\n // code.\n super(\n \"A lookup needed for routing failed.\",\n error,\n error instanceof RoutingDependencyError ? error.data.cause.code : error.code\n );\n this.decided = decided\n ? {\n candidateTeamIds: [...decided.candidateTeamIds],\n ruleId: decided.ruleId,\n skips: decided.skips.map(skip => ({ ...skip }))\n }\n : null;\n }\n}\n"],"names":["RoutingDependencyError","PersistenceError","error","decided","skip"],"mappings":";AAqBO,MAAMA,+BAA+BC;IAKxC,YACIC,KAAsD,EACtDC,UAAsC,IAAI,CAC5C;QAGE,KAAK,CACD,uCACAD,OACAA,iBAAiBF,yBAAyBE,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,GAAGA,MAAM,IAAI,QAblE,IAAI,GAAG;QAerB,IAAI,CAAC,OAAO,GAAGC,UACT;YACI,kBAAkB;mBAAIA,QAAQ,gBAAgB;aAAC;YAC/C,QAAQA,QAAQ,MAAM;YACtB,OAAOA,QAAQ,KAAK,CAAC,GAAG,CAACC,CAAAA,OAAS;oBAAE,GAAGA,IAAI;gBAAC;QAChD,IACA;IACV;AACJ"}
@@ -0,0 +1,5 @@
1
+ import type { RoutingRule } from "../../domain/workflow/types.js";
2
+ /**
3
+ * The team a matched team-target rule narrowed the candidates to; null for any other rule. Pure.
4
+ */
5
+ export declare const findNarrowedTeamId: (rules: RoutingRule[], ruleId: string | null) => string | null;
@@ -0,0 +1,8 @@
1
+ const findNarrowedTeamId = (rules, ruleId)=>{
2
+ const rule = rules.find((item)=>item.id === ruleId);
3
+ if (rule && "team" === rule.target.type) return rule.target.id;
4
+ return null;
5
+ };
6
+ export { findNarrowedTeamId };
7
+
8
+ //# sourceMappingURL=findNarrowedTeamId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/findNarrowedTeamId.js","sources":["../../../src/domain/routing/findNarrowedTeamId.ts"],"sourcesContent":["import type { RoutingRule } from \"~/domain/workflow/types.js\";\n\n/**\n * The team a matched team-target rule narrowed the candidates to; null for any other rule. Pure.\n */\nexport const findNarrowedTeamId = (rules: RoutingRule[], ruleId: string | null): string | null => {\n const rule = rules.find(item => item.id === ruleId);\n if (rule && rule.target.type === \"team\") {\n return rule.target.id;\n }\n return null;\n};\n"],"names":["findNarrowedTeamId","rules","ruleId","rule","item"],"mappings":"AAKO,MAAMA,qBAAqB,CAACC,OAAsBC;IACrD,MAAMC,OAAOF,MAAM,IAAI,CAACG,CAAAA,OAAQA,KAAK,EAAE,KAAKF;IAC5C,IAAIC,QAAQA,AAAqB,WAArBA,KAAK,MAAM,CAAC,IAAI,EACxB,OAAOA,KAAK,MAAM,CAAC,EAAE;IAEzB,OAAO;AACX"}
@@ -0,0 +1,10 @@
1
+ import type { RoutingRuleConditions } from "../../domain/workflow/types.js";
2
+ import type { RoutingCondition, RoutingRuleFacts } from "./types.js";
3
+ /**
4
+ * The conditions of a rule that do not hold, in the order requester, requester's team, folder
5
+ * (R289). Pure; the facts must carry the requester's teams and the folder chain, so the inspector
6
+ * reads them for every rule it explains. A failed `modelId` condition names nothing here: it
7
+ * fails the rule (`matchRoutingRuleConditions`) but the editor has no such condition. Uses the
8
+ * same per-condition predicates as `matchRoutingRuleConditions`.
9
+ */
10
+ export declare const getFailedRoutingConditions: (conditions: RoutingRuleConditions, facts: RoutingRuleFacts) => RoutingCondition[];
@@ -0,0 +1,13 @@
1
+ import { matchesRequesterUserCondition } from "./matchesRequesterUserCondition.js";
2
+ import { matchesRequesterTeamCondition } from "./matchesRequesterTeamCondition.js";
3
+ import { matchesFolderCondition } from "./matchesFolderCondition.js";
4
+ const getFailedRoutingConditions = (conditions, facts)=>{
5
+ const failed = [];
6
+ if (!matchesRequesterUserCondition(conditions, facts)) failed.push("requesterUser");
7
+ if (!matchesRequesterTeamCondition(conditions, facts)) failed.push("requesterTeam");
8
+ if (!matchesFolderCondition(conditions, facts)) failed.push("folder");
9
+ return failed;
10
+ };
11
+ export { getFailedRoutingConditions };
12
+
13
+ //# sourceMappingURL=getFailedRoutingConditions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/getFailedRoutingConditions.js","sources":["../../../src/domain/routing/getFailedRoutingConditions.ts"],"sourcesContent":["import type { RoutingRuleConditions } from \"~/domain/workflow/types.js\";\nimport type { RoutingCondition, RoutingRuleFacts } from \"./types.js\";\nimport { matchesRequesterUserCondition } from \"./matchesRequesterUserCondition.js\";\nimport { matchesRequesterTeamCondition } from \"./matchesRequesterTeamCondition.js\";\nimport { matchesFolderCondition } from \"./matchesFolderCondition.js\";\n\n/**\n * The conditions of a rule that do not hold, in the order requester, requester's team, folder\n * (R289). Pure; the facts must carry the requester's teams and the folder chain, so the inspector\n * reads them for every rule it explains. A failed `modelId` condition names nothing here: it\n * fails the rule (`matchRoutingRuleConditions`) but the editor has no such condition. Uses the\n * same per-condition predicates as `matchRoutingRuleConditions`.\n */\nexport const getFailedRoutingConditions = (\n conditions: RoutingRuleConditions,\n facts: RoutingRuleFacts\n): RoutingCondition[] => {\n const failed: RoutingCondition[] = [];\n if (!matchesRequesterUserCondition(conditions, facts)) {\n failed.push(\"requesterUser\");\n }\n if (!matchesRequesterTeamCondition(conditions, facts)) {\n failed.push(\"requesterTeam\");\n }\n if (!matchesFolderCondition(conditions, facts)) {\n failed.push(\"folder\");\n }\n return failed;\n};\n"],"names":["getFailedRoutingConditions","conditions","facts","failed","matchesRequesterUserCondition","matchesRequesterTeamCondition","matchesFolderCondition"],"mappings":";;;AAaO,MAAMA,6BAA6B,CACtCC,YACAC;IAEA,MAAMC,SAA6B,EAAE;IACrC,IAAI,CAACC,8BAA8BH,YAAYC,QAC3CC,OAAO,IAAI,CAAC;IAEhB,IAAI,CAACE,8BAA8BJ,YAAYC,QAC3CC,OAAO,IAAI,CAAC;IAEhB,IAAI,CAACG,uBAAuBL,YAAYC,QACpCC,OAAO,IAAI,CAAC;IAEhB,OAAOA;AACX"}
@@ -0,0 +1,16 @@
1
+ import type { WorkflowExclusion } from "../../domain/settings/types.js";
2
+ import { type RoutingSkipReason } from "./reasons.js";
3
+ export interface RoutingUserEligibilityParams {
4
+ userId: string;
5
+ requesterId: string;
6
+ /** Members of the candidate teams. */
7
+ memberIds: string[];
8
+ /** Active exclusions only (`filterActiveExclusions`). */
9
+ exclusions: WorkflowExclusion[];
10
+ }
11
+ /**
12
+ * Why a person target cannot get the step, before the read check (R112): the requester, then
13
+ * membership, then exclusion. The requester comes first, so a requester outside the step's teams
14
+ * gets the requester reason. `null` when they pass; the caller checks read access next. Pure.
15
+ */
16
+ export declare const getRoutingUserSkipReason: (params: RoutingUserEligibilityParams) => RoutingSkipReason | null;
@@ -0,0 +1,10 @@
1
+ import { ROUTING_SKIP_REASONS } from "./reasons.js";
2
+ const getRoutingUserSkipReason = (params)=>{
3
+ if (params.userId === params.requesterId) return ROUTING_SKIP_REASONS.requester;
4
+ if (!params.memberIds.includes(params.userId)) return ROUTING_SKIP_REASONS.notMember;
5
+ if (params.exclusions.some((exclusion)=>exclusion.userId === params.userId)) return ROUTING_SKIP_REASONS.excluded;
6
+ return null;
7
+ };
8
+ export { getRoutingUserSkipReason };
9
+
10
+ //# sourceMappingURL=getRoutingUserSkipReason.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/getRoutingUserSkipReason.js","sources":["../../../src/domain/routing/getRoutingUserSkipReason.ts"],"sourcesContent":["import type { WorkflowExclusion } from \"~/domain/settings/types.js\";\nimport { ROUTING_SKIP_REASONS, type RoutingSkipReason } from \"./reasons.js\";\n\nexport interface RoutingUserEligibilityParams {\n userId: string;\n requesterId: string;\n /** Members of the candidate teams. */\n memberIds: string[];\n /** Active exclusions only (`filterActiveExclusions`). */\n exclusions: WorkflowExclusion[];\n}\n\n/**\n * Why a person target cannot get the step, before the read check (R112): the requester, then\n * membership, then exclusion. The requester comes first, so a requester outside the step's teams\n * gets the requester reason. `null` when they pass; the caller checks read access next. Pure.\n */\nexport const getRoutingUserSkipReason = (\n params: RoutingUserEligibilityParams\n): RoutingSkipReason | null => {\n if (params.userId === params.requesterId) {\n return ROUTING_SKIP_REASONS.requester;\n }\n if (!params.memberIds.includes(params.userId)) {\n return ROUTING_SKIP_REASONS.notMember;\n }\n if (params.exclusions.some(exclusion => exclusion.userId === params.userId)) {\n return ROUTING_SKIP_REASONS.excluded;\n }\n return null;\n};\n"],"names":["getRoutingUserSkipReason","params","ROUTING_SKIP_REASONS","exclusion"],"mappings":";AAiBO,MAAMA,2BAA2B,CACpCC;IAEA,IAAIA,OAAO,MAAM,KAAKA,OAAO,WAAW,EACpC,OAAOC,qBAAqB,SAAS;IAEzC,IAAI,CAACD,OAAO,SAAS,CAAC,QAAQ,CAACA,OAAO,MAAM,GACxC,OAAOC,qBAAqB,SAAS;IAEzC,IAAID,OAAO,UAAU,CAAC,IAAI,CAACE,CAAAA,YAAaA,UAAU,MAAM,KAAKF,OAAO,MAAM,GACtE,OAAOC,qBAAqB,QAAQ;IAExC,OAAO;AACX"}
@@ -0,0 +1,7 @@
1
+ import type { RoutingRule } from "../../domain/workflow/types.js";
2
+ import type { RoutingTraceEntry } from "./types.js";
3
+ /**
4
+ * The trace entries of the rules from `fromIndex` on, after the rule that decided (R289): outcome
5
+ * `notEvaluated`, no reason, no failed conditions. Pure.
6
+ */
7
+ export declare const listNotEvaluatedTrace: (rules: RoutingRule[], fromIndex: number) => RoutingTraceEntry[];
@@ -0,0 +1,9 @@
1
+ const listNotEvaluatedTrace = (rules, fromIndex)=>rules.slice(fromIndex).map((rule)=>({
2
+ ruleId: rule.id,
3
+ outcome: "notEvaluated",
4
+ reason: null,
5
+ failedConditions: []
6
+ }));
7
+ export { listNotEvaluatedTrace };
8
+
9
+ //# sourceMappingURL=listNotEvaluatedTrace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/listNotEvaluatedTrace.js","sources":["../../../src/domain/routing/listNotEvaluatedTrace.ts"],"sourcesContent":["import type { RoutingRule } from \"~/domain/workflow/types.js\";\nimport type { RoutingTraceEntry } from \"./types.js\";\n\n/**\n * The trace entries of the rules from `fromIndex` on, after the rule that decided (R289): outcome\n * `notEvaluated`, no reason, no failed conditions. Pure.\n */\nexport const listNotEvaluatedTrace = (\n rules: RoutingRule[],\n fromIndex: number\n): RoutingTraceEntry[] => {\n return rules.slice(fromIndex).map((rule): RoutingTraceEntry => {\n return { ruleId: rule.id, outcome: \"notEvaluated\", reason: null, failedConditions: [] };\n });\n};\n"],"names":["listNotEvaluatedTrace","rules","fromIndex","rule"],"mappings":"AAOO,MAAMA,wBAAwB,CACjCC,OACAC,YAEOD,MAAM,KAAK,CAACC,WAAW,GAAG,CAAC,CAACC,OACxB;YAAE,QAAQA,KAAK,EAAE;YAAE,SAAS;YAAgB,QAAQ;YAAM,kBAAkB,EAAE;QAAC"}
@@ -0,0 +1,15 @@
1
+ import type { WorkflowExclusion } from "../../domain/settings/types.js";
2
+ import type { RoutingDirectoryUser, RoutingUser } from "./types.js";
3
+ export interface RoutingCandidatesInput {
4
+ members: RoutingDirectoryUser[];
5
+ candidateTeamIds: string[];
6
+ requesterId: string;
7
+ /** Active exclusions only (`filterActiveExclusions`). */
8
+ exclusions: WorkflowExclusion[];
9
+ }
10
+ /**
11
+ * The strategy candidates in their stable order (R111): members of the candidate teams, minus
12
+ * the requester and active exclusions, sorted by user id. Read access is checked later, lazily.
13
+ * Pure.
14
+ */
15
+ export declare const listRoutingCandidates: (input: RoutingCandidatesInput) => RoutingUser[];
@@ -0,0 +1,7 @@
1
+ const listRoutingCandidates = (input)=>input.members.filter((member)=>member.id !== input.requesterId && input.candidateTeamIds.some((teamId)=>member.teams?.includes(teamId)) && !input.exclusions.some((exclusion)=>exclusion.userId === member.id)).map((member)=>({
2
+ id: member.id,
3
+ displayName: member.displayName
4
+ })).sort((a, b)=>a.id < b.id ? -1 : a.id > b.id ? 1 : 0);
5
+ export { listRoutingCandidates };
6
+
7
+ //# sourceMappingURL=listRoutingCandidates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/listRoutingCandidates.js","sources":["../../../src/domain/routing/listRoutingCandidates.ts"],"sourcesContent":["import type { WorkflowExclusion } from \"~/domain/settings/types.js\";\nimport type { RoutingDirectoryUser, RoutingUser } from \"./types.js\";\n\nexport interface RoutingCandidatesInput {\n members: RoutingDirectoryUser[];\n candidateTeamIds: string[];\n requesterId: string;\n /** Active exclusions only (`filterActiveExclusions`). */\n exclusions: WorkflowExclusion[];\n}\n\n/**\n * The strategy candidates in their stable order (R111): members of the candidate teams, minus\n * the requester and active exclusions, sorted by user id. Read access is checked later, lazily.\n * Pure.\n */\nexport const listRoutingCandidates = (input: RoutingCandidatesInput): RoutingUser[] => {\n return input.members\n .filter(member => {\n return (\n member.id !== input.requesterId &&\n input.candidateTeamIds.some(teamId => member.teams?.includes(teamId)) &&\n !input.exclusions.some(exclusion => exclusion.userId === member.id)\n );\n })\n .map(member => ({ id: member.id, displayName: member.displayName }))\n .sort((a, b) => (a.id < b.id ? -1 : a.id > b.id ? 1 : 0));\n};\n"],"names":["listRoutingCandidates","input","member","teamId","exclusion","a","b"],"mappings":"AAgBO,MAAMA,wBAAwB,CAACC,QAC3BA,MAAM,OAAO,CACf,MAAM,CAACC,CAAAA,SAEAA,OAAO,EAAE,KAAKD,MAAM,WAAW,IAC/BA,MAAM,gBAAgB,CAAC,IAAI,CAACE,CAAAA,SAAUD,OAAO,KAAK,EAAE,SAASC,YAC7D,CAACF,MAAM,UAAU,CAAC,IAAI,CAACG,CAAAA,YAAaA,UAAU,MAAM,KAAKF,OAAO,EAAE,GAGzE,GAAG,CAACA,CAAAA,SAAW;YAAE,IAAIA,OAAO,EAAE;YAAE,aAAaA,OAAO,WAAW;QAAC,IAChE,IAAI,CAAC,CAACG,GAAGC,IAAOD,EAAE,EAAE,GAAGC,EAAE,EAAE,GAAG,KAAKD,EAAE,EAAE,GAAGC,EAAE,EAAE,GAAG,IAAI"}
@@ -0,0 +1,22 @@
1
+ import type { RoutingSkipReason } from "./reasons.js";
2
+ import type { RoutingCandidatesInput } from "./listRoutingCandidates.js";
3
+ export interface StrategySkipsInput extends RoutingCandidatesInput {
4
+ /** The requester's pick, which the pick branch already records. */
5
+ pickedUserId: string | null;
6
+ /** The users a rule already skipped, which the rule branch records. */
7
+ ruleSkippedUserIds: string[];
8
+ }
9
+ export interface StrategySkip {
10
+ userId: string;
11
+ displayName: string;
12
+ /** The fixed reason for the record (D89, D97). */
13
+ reason: RoutingSkipReason;
14
+ /** The reason the inspector shows: an exclusion's own text when it has one (R129). */
15
+ shownReason: string;
16
+ }
17
+ /**
18
+ * The members of the candidate teams that `listRoutingCandidates` drops: the requester and the
19
+ * actively excluded, sorted by user id. The requester wins when both apply, and the picked user
20
+ * is left out because the pick branch records them, as are the users a rule already skipped. Pure.
21
+ */
22
+ export declare const listStrategySkips: (input: StrategySkipsInput) => StrategySkip[];
@@ -0,0 +1,28 @@
1
+ import { ROUTING_SKIP_REASONS } from "./reasons.js";
2
+ const listStrategySkips = (input)=>{
3
+ const skips = [];
4
+ for (const member of input.members){
5
+ if (!input.candidateTeamIds.some((id)=>member.teams?.includes(id))) continue;
6
+ if (member.id === input.pickedUserId || input.ruleSkippedUserIds.includes(member.id)) continue;
7
+ if (member.id === input.requesterId) {
8
+ skips.push({
9
+ userId: member.id,
10
+ displayName: member.displayName,
11
+ reason: ROUTING_SKIP_REASONS.requester,
12
+ shownReason: ROUTING_SKIP_REASONS.requester
13
+ });
14
+ continue;
15
+ }
16
+ const exclusion = input.exclusions.find((item)=>item.userId === member.id);
17
+ if (exclusion) skips.push({
18
+ userId: member.id,
19
+ displayName: member.displayName,
20
+ reason: ROUTING_SKIP_REASONS.excluded,
21
+ shownReason: exclusion.reason || ROUTING_SKIP_REASONS.excluded
22
+ });
23
+ }
24
+ return skips.sort((a, b)=>a.userId < b.userId ? -1 : a.userId > b.userId ? 1 : 0);
25
+ };
26
+ export { listStrategySkips };
27
+
28
+ //# sourceMappingURL=listStrategySkips.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/listStrategySkips.js","sources":["../../../src/domain/routing/listStrategySkips.ts"],"sourcesContent":["import { ROUTING_SKIP_REASONS } from \"./reasons.js\";\nimport type { RoutingSkipReason } from \"./reasons.js\";\nimport type { RoutingCandidatesInput } from \"./listRoutingCandidates.js\";\n\nexport interface StrategySkipsInput extends RoutingCandidatesInput {\n /** The requester's pick, which the pick branch already records. */\n pickedUserId: string | null;\n /** The users a rule already skipped, which the rule branch records. */\n ruleSkippedUserIds: string[];\n}\n\nexport interface StrategySkip {\n userId: string;\n displayName: string;\n /** The fixed reason for the record (D89, D97). */\n reason: RoutingSkipReason;\n /** The reason the inspector shows: an exclusion's own text when it has one (R129). */\n shownReason: string;\n}\n\n/**\n * The members of the candidate teams that `listRoutingCandidates` drops: the requester and the\n * actively excluded, sorted by user id. The requester wins when both apply, and the picked user\n * is left out because the pick branch records them, as are the users a rule already skipped. Pure.\n */\nexport const listStrategySkips = (input: StrategySkipsInput): StrategySkip[] => {\n const skips: StrategySkip[] = [];\n for (const member of input.members) {\n if (!input.candidateTeamIds.some(id => member.teams?.includes(id))) {\n continue;\n }\n if (member.id === input.pickedUserId || input.ruleSkippedUserIds.includes(member.id)) {\n continue;\n }\n if (member.id === input.requesterId) {\n skips.push({\n userId: member.id,\n displayName: member.displayName,\n reason: ROUTING_SKIP_REASONS.requester,\n shownReason: ROUTING_SKIP_REASONS.requester\n });\n continue;\n }\n const exclusion = input.exclusions.find(item => item.userId === member.id);\n if (exclusion) {\n skips.push({\n userId: member.id,\n displayName: member.displayName,\n reason: ROUTING_SKIP_REASONS.excluded,\n shownReason: exclusion.reason || ROUTING_SKIP_REASONS.excluded\n });\n }\n }\n return skips.sort((a, b) => (a.userId < b.userId ? -1 : a.userId > b.userId ? 1 : 0));\n};\n"],"names":["listStrategySkips","input","skips","member","id","ROUTING_SKIP_REASONS","exclusion","item","a","b"],"mappings":";AAyBO,MAAMA,oBAAoB,CAACC;IAC9B,MAAMC,QAAwB,EAAE;IAChC,KAAK,MAAMC,UAAUF,MAAM,OAAO,CAAE;QAChC,IAAI,CAACA,MAAM,gBAAgB,CAAC,IAAI,CAACG,CAAAA,KAAMD,OAAO,KAAK,EAAE,SAASC,MAC1D;QAEJ,IAAID,OAAO,EAAE,KAAKF,MAAM,YAAY,IAAIA,MAAM,kBAAkB,CAAC,QAAQ,CAACE,OAAO,EAAE,GAC/E;QAEJ,IAAIA,OAAO,EAAE,KAAKF,MAAM,WAAW,EAAE;YACjCC,MAAM,IAAI,CAAC;gBACP,QAAQC,OAAO,EAAE;gBACjB,aAAaA,OAAO,WAAW;gBAC/B,QAAQE,qBAAqB,SAAS;gBACtC,aAAaA,qBAAqB,SAAS;YAC/C;YACA;QACJ;QACA,MAAMC,YAAYL,MAAM,UAAU,CAAC,IAAI,CAACM,CAAAA,OAAQA,KAAK,MAAM,KAAKJ,OAAO,EAAE;QACzE,IAAIG,WACAJ,MAAM,IAAI,CAAC;YACP,QAAQC,OAAO,EAAE;YACjB,aAAaA,OAAO,WAAW;YAC/B,QAAQE,qBAAqB,QAAQ;YACrC,aAAaC,UAAU,MAAM,IAAID,qBAAqB,QAAQ;QAClE;IAER;IACA,OAAOH,MAAM,IAAI,CAAC,CAACM,GAAGC,IAAOD,EAAE,MAAM,GAAGC,EAAE,MAAM,GAAG,KAAKD,EAAE,MAAM,GAAGC,EAAE,MAAM,GAAG,IAAI;AACtF"}
@@ -0,0 +1,9 @@
1
+ import type { RoutingRuleConditions } from "../../domain/workflow/types.js";
2
+ import type { RoutingRuleFacts } from "./types.js";
3
+ /**
4
+ * Whether every condition of a rule holds (spec 6, R113). Pure. A rule without conditions
5
+ * matches. The checks that need no lookup run first (`matchRoutingRuleLocalConditions`). Each
6
+ * condition is decided by its own predicate, which the rule inspector shares
7
+ * (`getFailedRoutingConditions`), so both always agree.
8
+ */
9
+ export declare const matchRoutingRuleConditions: (conditions: RoutingRuleConditions, facts: RoutingRuleFacts) => boolean;
@@ -0,0 +1,7 @@
1
+ import { matchRoutingRuleLocalConditions } from "./matchRoutingRuleLocalConditions.js";
2
+ import { matchesRequesterTeamCondition } from "./matchesRequesterTeamCondition.js";
3
+ import { matchesFolderCondition } from "./matchesFolderCondition.js";
4
+ const matchRoutingRuleConditions = (conditions, facts)=>matchRoutingRuleLocalConditions(conditions, facts) && matchesRequesterTeamCondition(conditions, facts) && matchesFolderCondition(conditions, facts);
5
+ export { matchRoutingRuleConditions };
6
+
7
+ //# sourceMappingURL=matchRoutingRuleConditions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/matchRoutingRuleConditions.js","sources":["../../../src/domain/routing/matchRoutingRuleConditions.ts"],"sourcesContent":["import type { RoutingRuleConditions } from \"~/domain/workflow/types.js\";\nimport type { RoutingRuleFacts } from \"./types.js\";\nimport { matchRoutingRuleLocalConditions } from \"./matchRoutingRuleLocalConditions.js\";\nimport { matchesRequesterTeamCondition } from \"./matchesRequesterTeamCondition.js\";\nimport { matchesFolderCondition } from \"./matchesFolderCondition.js\";\n\n/**\n * Whether every condition of a rule holds (spec 6, R113). Pure. A rule without conditions\n * matches. The checks that need no lookup run first (`matchRoutingRuleLocalConditions`). Each\n * condition is decided by its own predicate, which the rule inspector shares\n * (`getFailedRoutingConditions`), so both always agree.\n */\nexport const matchRoutingRuleConditions = (\n conditions: RoutingRuleConditions,\n facts: RoutingRuleFacts\n): boolean => {\n return (\n matchRoutingRuleLocalConditions(conditions, facts) &&\n matchesRequesterTeamCondition(conditions, facts) &&\n matchesFolderCondition(conditions, facts)\n );\n};\n"],"names":["matchRoutingRuleConditions","conditions","facts","matchRoutingRuleLocalConditions","matchesRequesterTeamCondition","matchesFolderCondition"],"mappings":";;;AAYO,MAAMA,6BAA6B,CACtCC,YACAC,QAGIC,gCAAgCF,YAAYC,UAC5CE,8BAA8BH,YAAYC,UAC1CG,uBAAuBJ,YAAYC"}
@@ -0,0 +1,8 @@
1
+ import type { RoutingRuleConditions } from "../../domain/workflow/types.js";
2
+ import type { RoutingRuleLocalFacts } from "./types.js";
3
+ /**
4
+ * Whether the conditions that need no lookup hold (spec 6, R113): the requester, the model and
5
+ * the folder type (a folder condition needs a target folder of the same type). Pure. Checked
6
+ * first, so a rule that fails here never reads the requester's teams or the folder chain.
7
+ */
8
+ export declare const matchRoutingRuleLocalConditions: (conditions: RoutingRuleConditions, facts: RoutingRuleLocalFacts) => boolean;
@@ -0,0 +1,10 @@
1
+ import { matchesRequesterUserCondition } from "./matchesRequesterUserCondition.js";
2
+ import { matchesFolderTypeCondition } from "./matchesFolderTypeCondition.js";
3
+ const matchRoutingRuleLocalConditions = (conditions, facts)=>{
4
+ if (!matchesRequesterUserCondition(conditions, facts)) return false;
5
+ if (conditions.modelId && conditions.modelId !== facts.modelId) return false;
6
+ return matchesFolderTypeCondition(conditions, facts);
7
+ };
8
+ export { matchRoutingRuleLocalConditions };
9
+
10
+ //# sourceMappingURL=matchRoutingRuleLocalConditions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/matchRoutingRuleLocalConditions.js","sources":["../../../src/domain/routing/matchRoutingRuleLocalConditions.ts"],"sourcesContent":["import type { RoutingRuleConditions } from \"~/domain/workflow/types.js\";\nimport type { RoutingRuleLocalFacts } from \"./types.js\";\nimport { matchesRequesterUserCondition } from \"./matchesRequesterUserCondition.js\";\nimport { matchesFolderTypeCondition } from \"./matchesFolderTypeCondition.js\";\n\n/**\n * Whether the conditions that need no lookup hold (spec 6, R113): the requester, the model and\n * the folder type (a folder condition needs a target folder of the same type). Pure. Checked\n * first, so a rule that fails here never reads the requester's teams or the folder chain.\n */\nexport const matchRoutingRuleLocalConditions = (\n conditions: RoutingRuleConditions,\n facts: RoutingRuleLocalFacts\n): boolean => {\n if (!matchesRequesterUserCondition(conditions, facts)) {\n return false;\n }\n if (conditions.modelId && conditions.modelId !== facts.modelId) {\n return false;\n }\n return matchesFolderTypeCondition(conditions, facts);\n};\n"],"names":["matchRoutingRuleLocalConditions","conditions","facts","matchesRequesterUserCondition","matchesFolderTypeCondition"],"mappings":";;AAUO,MAAMA,kCAAkC,CAC3CC,YACAC;IAEA,IAAI,CAACC,8BAA8BF,YAAYC,QAC3C,OAAO;IAEX,IAAID,WAAW,OAAO,IAAIA,WAAW,OAAO,KAAKC,MAAM,OAAO,EAC1D,OAAO;IAEX,OAAOE,2BAA2BH,YAAYC;AAClD"}
@@ -0,0 +1,8 @@
1
+ import type { RoutingRuleConditions } from "../../domain/workflow/types.js";
2
+ import type { RoutingRuleFacts } from "./types.js";
3
+ /**
4
+ * Whether a rule's folder condition holds. The target folder must be of the rule folder's type
5
+ * (`matchesFolderTypeCondition`); then the rule folder must be the target folder or, with
6
+ * `includeDescendants`, one of its ancestors. A rule without one matches. Pure.
7
+ */
8
+ export declare const matchesFolderCondition: (conditions: RoutingRuleConditions, facts: RoutingRuleFacts) => boolean;
@@ -0,0 +1,11 @@
1
+ import { matchesFolderTypeCondition } from "./matchesFolderTypeCondition.js";
2
+ const matchesFolderCondition = (conditions, facts)=>{
3
+ const folder = conditions.folder;
4
+ if (!folder) return true;
5
+ if (!matchesFolderTypeCondition(conditions, facts) || !facts.folder) return false;
6
+ if (folder.id === facts.folder.id) return true;
7
+ return !!folder.includeDescendants && facts.folderChainIds.includes(folder.id);
8
+ };
9
+ export { matchesFolderCondition };
10
+
11
+ //# sourceMappingURL=matchesFolderCondition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/matchesFolderCondition.js","sources":["../../../src/domain/routing/matchesFolderCondition.ts"],"sourcesContent":["import type { RoutingRuleConditions } from \"~/domain/workflow/types.js\";\nimport type { RoutingRuleFacts } from \"./types.js\";\nimport { matchesFolderTypeCondition } from \"./matchesFolderTypeCondition.js\";\n\n/**\n * Whether a rule's folder condition holds. The target folder must be of the rule folder's type\n * (`matchesFolderTypeCondition`); then the rule folder must be the target folder or, with\n * `includeDescendants`, one of its ancestors. A rule without one matches. Pure.\n */\nexport const matchesFolderCondition = (\n conditions: RoutingRuleConditions,\n facts: RoutingRuleFacts\n): boolean => {\n const folder = conditions.folder;\n if (!folder) {\n return true;\n }\n if (!matchesFolderTypeCondition(conditions, facts) || !facts.folder) {\n return false;\n }\n if (folder.id === facts.folder.id) {\n return true;\n }\n return !!folder.includeDescendants && facts.folderChainIds.includes(folder.id);\n};\n"],"names":["matchesFolderCondition","conditions","facts","folder","matchesFolderTypeCondition"],"mappings":";AASO,MAAMA,yBAAyB,CAClCC,YACAC;IAEA,MAAMC,SAASF,WAAW,MAAM;IAChC,IAAI,CAACE,QACD,OAAO;IAEX,IAAI,CAACC,2BAA2BH,YAAYC,UAAU,CAACA,MAAM,MAAM,EAC/D,OAAO;IAEX,IAAIC,OAAO,EAAE,KAAKD,MAAM,MAAM,CAAC,EAAE,EAC7B,OAAO;IAEX,OAAO,CAAC,CAACC,OAAO,kBAAkB,IAAID,MAAM,cAAc,CAAC,QAAQ,CAACC,OAAO,EAAE;AACjF"}
@@ -0,0 +1,8 @@
1
+ import type { RoutingRuleConditions } from "../../domain/workflow/types.js";
2
+ import type { RoutingRuleLocalFacts } from "./types.js";
3
+ /**
4
+ * Whether the target can match a rule's folder condition at all: it needs a target folder of the
5
+ * same type, so a target in the root matches no folder condition. A rule without one matches.
6
+ * Pure; needs no lookup.
7
+ */
8
+ export declare const matchesFolderTypeCondition: (conditions: RoutingRuleConditions, facts: RoutingRuleLocalFacts) => boolean;
@@ -0,0 +1,7 @@
1
+ const matchesFolderTypeCondition = (conditions, facts)=>{
2
+ if (!conditions.folder) return true;
3
+ return !!facts.folder && conditions.folder.type === facts.folder.type;
4
+ };
5
+ export { matchesFolderTypeCondition };
6
+
7
+ //# sourceMappingURL=matchesFolderTypeCondition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/matchesFolderTypeCondition.js","sources":["../../../src/domain/routing/matchesFolderTypeCondition.ts"],"sourcesContent":["import type { RoutingRuleConditions } from \"~/domain/workflow/types.js\";\nimport type { RoutingRuleLocalFacts } from \"./types.js\";\n\n/**\n * Whether the target can match a rule's folder condition at all: it needs a target folder of the\n * same type, so a target in the root matches no folder condition. A rule without one matches.\n * Pure; needs no lookup.\n */\nexport const matchesFolderTypeCondition = (\n conditions: RoutingRuleConditions,\n facts: RoutingRuleLocalFacts\n): boolean => {\n if (!conditions.folder) {\n return true;\n }\n return !!facts.folder && conditions.folder.type === facts.folder.type;\n};\n"],"names":["matchesFolderTypeCondition","conditions","facts"],"mappings":"AAQO,MAAMA,6BAA6B,CACtCC,YACAC;IAEA,IAAI,CAACD,WAAW,MAAM,EAClB,OAAO;IAEX,OAAO,CAAC,CAACC,MAAM,MAAM,IAAID,WAAW,MAAM,CAAC,IAAI,KAAKC,MAAM,MAAM,CAAC,IAAI;AACzE"}
@@ -0,0 +1,4 @@
1
+ import type { RoutingRuleConditions } from "../../domain/workflow/types.js";
2
+ import type { RoutingRuleFacts } from "./types.js";
3
+ /** Whether a rule's requester team condition holds. A rule without one matches. Pure. */
4
+ export declare const matchesRequesterTeamCondition: (conditions: RoutingRuleConditions, facts: RoutingRuleFacts) => boolean;
@@ -0,0 +1,4 @@
1
+ const matchesRequesterTeamCondition = (conditions, facts)=>!conditions.requesterTeamId || facts.requesterTeamIds.includes(conditions.requesterTeamId);
2
+ export { matchesRequesterTeamCondition };
3
+
4
+ //# sourceMappingURL=matchesRequesterTeamCondition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/matchesRequesterTeamCondition.js","sources":["../../../src/domain/routing/matchesRequesterTeamCondition.ts"],"sourcesContent":["import type { RoutingRuleConditions } from \"~/domain/workflow/types.js\";\nimport type { RoutingRuleFacts } from \"./types.js\";\n\n/** Whether a rule's requester team condition holds. A rule without one matches. Pure. */\nexport const matchesRequesterTeamCondition = (\n conditions: RoutingRuleConditions,\n facts: RoutingRuleFacts\n): boolean => {\n return (\n !conditions.requesterTeamId || facts.requesterTeamIds.includes(conditions.requesterTeamId)\n );\n};\n"],"names":["matchesRequesterTeamCondition","conditions","facts"],"mappings":"AAIO,MAAMA,gCAAgC,CACzCC,YACAC,QAGI,CAACD,WAAW,eAAe,IAAIC,MAAM,gBAAgB,CAAC,QAAQ,CAACD,WAAW,eAAe"}
@@ -0,0 +1,4 @@
1
+ import type { RoutingRuleConditions } from "../../domain/workflow/types.js";
2
+ import type { RoutingRuleLocalFacts } from "./types.js";
3
+ /** Whether a rule's requester condition holds. A rule without one matches. Pure. */
4
+ export declare const matchesRequesterUserCondition: (conditions: RoutingRuleConditions, facts: RoutingRuleLocalFacts) => boolean;
@@ -0,0 +1,4 @@
1
+ const matchesRequesterUserCondition = (conditions, facts)=>!conditions.requesterUserId || conditions.requesterUserId === facts.requesterId;
2
+ export { matchesRequesterUserCondition };
3
+
4
+ //# sourceMappingURL=matchesRequesterUserCondition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/matchesRequesterUserCondition.js","sources":["../../../src/domain/routing/matchesRequesterUserCondition.ts"],"sourcesContent":["import type { RoutingRuleConditions } from \"~/domain/workflow/types.js\";\nimport type { RoutingRuleLocalFacts } from \"./types.js\";\n\n/** Whether a rule's requester condition holds. A rule without one matches. Pure. */\nexport const matchesRequesterUserCondition = (\n conditions: RoutingRuleConditions,\n facts: RoutingRuleLocalFacts\n): boolean => {\n return !conditions.requesterUserId || conditions.requesterUserId === facts.requesterId;\n};\n"],"names":["matchesRequesterUserCondition","conditions","facts"],"mappings":"AAIO,MAAMA,gCAAgC,CACzCC,YACAC,QAEO,CAACD,WAAW,eAAe,IAAIA,WAAW,eAAe,KAAKC,MAAM,WAAW"}
@@ -0,0 +1,7 @@
1
+ import type { RoutingUser } from "./types.js";
2
+ /**
3
+ * Least loaded (R115, D137): fewest in-review reviews first; ties go to the least recently
4
+ * assigned (no entry = never assigned = least recent), then to user id order. `loads` and
5
+ * `lastAssignedOn` are keyed by user id; a missing load is 0. Pure.
6
+ */
7
+ export declare const orderLeastLoaded: (candidates: RoutingUser[], loads: ReadonlyMap<string, number>, lastAssignedOn: ReadonlyMap<string, string>) => RoutingUser[];
@@ -0,0 +1,18 @@
1
+ const orderLeastLoaded = (candidates, loads, lastAssignedOn)=>[
2
+ ...candidates
3
+ ].sort((a, b)=>{
4
+ const load = (loads.get(a.id) ?? 0) - (loads.get(b.id) ?? 0);
5
+ if (0 !== load) return load;
6
+ const aOn = lastAssignedOn.get(a.id);
7
+ const bOn = lastAssignedOn.get(b.id);
8
+ if (aOn !== bOn) {
9
+ if (!aOn) return -1;
10
+ if (!bOn) return 1;
11
+ const time = Date.parse(aOn) - Date.parse(bOn);
12
+ if (0 !== time) return time;
13
+ }
14
+ return a.id < b.id ? -1 : a.id > b.id ? 1 : 0;
15
+ });
16
+ export { orderLeastLoaded };
17
+
18
+ //# sourceMappingURL=orderLeastLoaded.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/orderLeastLoaded.js","sources":["../../../src/domain/routing/orderLeastLoaded.ts"],"sourcesContent":["import type { RoutingUser } from \"./types.js\";\n\n/**\n * Least loaded (R115, D137): fewest in-review reviews first; ties go to the least recently\n * assigned (no entry = never assigned = least recent), then to user id order. `loads` and\n * `lastAssignedOn` are keyed by user id; a missing load is 0. Pure.\n */\nexport const orderLeastLoaded = (\n candidates: RoutingUser[],\n loads: ReadonlyMap<string, number>,\n lastAssignedOn: ReadonlyMap<string, string>\n): RoutingUser[] => {\n return [...candidates].sort((a, b) => {\n const load = (loads.get(a.id) ?? 0) - (loads.get(b.id) ?? 0);\n if (load !== 0) {\n return load;\n }\n const aOn = lastAssignedOn.get(a.id);\n const bOn = lastAssignedOn.get(b.id);\n if (aOn !== bOn) {\n if (!aOn) {\n return -1;\n }\n if (!bOn) {\n return 1;\n }\n const time = Date.parse(aOn) - Date.parse(bOn);\n if (time !== 0) {\n return time;\n }\n }\n return a.id < b.id ? -1 : a.id > b.id ? 1 : 0;\n });\n};\n"],"names":["orderLeastLoaded","candidates","loads","lastAssignedOn","a","b","load","aOn","bOn","time","Date"],"mappings":"AAOO,MAAMA,mBAAmB,CAC5BC,YACAC,OACAC,iBAEO;WAAIF;KAAW,CAAC,IAAI,CAAC,CAACG,GAAGC;QAC5B,MAAMC,OAAQJ,AAAAA,CAAAA,MAAM,GAAG,CAACE,EAAE,EAAE,KAAK,KAAMF,CAAAA,MAAM,GAAG,CAACG,EAAE,EAAE,KAAK;QAC1D,IAAIC,AAAS,MAATA,MACA,OAAOA;QAEX,MAAMC,MAAMJ,eAAe,GAAG,CAACC,EAAE,EAAE;QACnC,MAAMI,MAAML,eAAe,GAAG,CAACE,EAAE,EAAE;QACnC,IAAIE,QAAQC,KAAK;YACb,IAAI,CAACD,KACD,OAAO;YAEX,IAAI,CAACC,KACD,OAAO;YAEX,MAAMC,OAAOC,KAAK,KAAK,CAACH,OAAOG,KAAK,KAAK,CAACF;YAC1C,IAAIC,AAAS,MAATA,MACA,OAAOA;QAEf;QACA,OAAOL,EAAE,EAAE,GAAGC,EAAE,EAAE,GAAG,KAAKD,EAAE,EAAE,GAAGC,EAAE,EAAE,GAAG,IAAI;IAChD"}
@@ -0,0 +1,7 @@
1
+ import type { RoutingUser } from "./types.js";
2
+ /**
3
+ * Round robin (R115): the candidates (sorted by user id) starting with the first id after the
4
+ * last assignee, wrapping around. A last assignee who is no longer a candidate still marks the
5
+ * position; without one the order is unchanged. Pure.
6
+ */
7
+ export declare const orderRoundRobin: (candidates: RoutingUser[], lastAssigneeId: string | null) => RoutingUser[];
@@ -0,0 +1,16 @@
1
+ const orderRoundRobin = (candidates, lastAssigneeId)=>{
2
+ if (!lastAssigneeId) return [
3
+ ...candidates
4
+ ];
5
+ const index = candidates.findIndex((candidate)=>candidate.id > lastAssigneeId);
6
+ if (-1 === index) return [
7
+ ...candidates
8
+ ];
9
+ return [
10
+ ...candidates.slice(index),
11
+ ...candidates.slice(0, index)
12
+ ];
13
+ };
14
+ export { orderRoundRobin };
15
+
16
+ //# sourceMappingURL=orderRoundRobin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/orderRoundRobin.js","sources":["../../../src/domain/routing/orderRoundRobin.ts"],"sourcesContent":["import type { RoutingUser } from \"./types.js\";\n\n/**\n * Round robin (R115): the candidates (sorted by user id) starting with the first id after the\n * last assignee, wrapping around. A last assignee who is no longer a candidate still marks the\n * position; without one the order is unchanged. Pure.\n */\nexport const orderRoundRobin = (\n candidates: RoutingUser[],\n lastAssigneeId: string | null\n): RoutingUser[] => {\n if (!lastAssigneeId) {\n return [...candidates];\n }\n const index = candidates.findIndex(candidate => candidate.id > lastAssigneeId);\n if (index === -1) {\n return [...candidates];\n }\n return [...candidates.slice(index), ...candidates.slice(0, index)];\n};\n"],"names":["orderRoundRobin","candidates","lastAssigneeId","index","candidate"],"mappings":"AAOO,MAAMA,kBAAkB,CAC3BC,YACAC;IAEA,IAAI,CAACA,gBACD,OAAO;WAAID;KAAW;IAE1B,MAAME,QAAQF,WAAW,SAAS,CAACG,CAAAA,YAAaA,UAAU,EAAE,GAAGF;IAC/D,IAAIC,AAAU,OAAVA,OACA,OAAO;WAAIF;KAAW;IAE1B,OAAO;WAAIA,WAAW,KAAK,CAACE;WAAWF,WAAW,KAAK,CAAC,GAAGE;KAAO;AACtE"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Fixed reasons on skip records and trace entries (R112). An exclusion's own text never goes
3
+ * into a record (D89, D97); only the inspector's trace and skipped list show it (R129).
4
+ */
5
+ export declare const ROUTING_SKIP_REASONS: {
6
+ readonly requester: "The requester cannot review.";
7
+ readonly notMember: "Not a member of the step's teams.";
8
+ readonly excluded: "Excluded from reviews.";
9
+ readonly cannotRead: "Cannot read this content.";
10
+ };
11
+ export type RoutingSkipReason = (typeof ROUTING_SKIP_REASONS)[keyof typeof ROUTING_SKIP_REASONS];
12
+ /**
13
+ * The fixed reason for a rule whose team target is not one of the step's teams (spec 6): the rule
14
+ * is skipped with a skip record without a user, and evaluation continues. Save-time validation and
15
+ * the inspector refuse such a rule, so it appears only for a stored workflow whose teams changed or
16
+ * that was written without validation.
17
+ */
18
+ export declare const ROUTING_TEAM_TARGET_SKIP_REASON = "Not one of the step's teams.";
19
+ /** The pool reason when anything in resolution failed (R116). */
20
+ export declare const ROUTING_FAILED_REASON = "Routing failed; the step went to the pool.";
21
+ /** The pool reason when a strategy found nobody who can review (R111). */
22
+ export declare const ROUTING_NO_CANDIDATE_REASON = "No eligible candidate; the step went to the pool.";
@@ -0,0 +1,12 @@
1
+ const ROUTING_SKIP_REASONS = {
2
+ requester: "The requester cannot review.",
3
+ notMember: "Not a member of the step's teams.",
4
+ excluded: "Excluded from reviews.",
5
+ cannotRead: "Cannot read this content."
6
+ };
7
+ const ROUTING_TEAM_TARGET_SKIP_REASON = "Not one of the step's teams.";
8
+ const ROUTING_FAILED_REASON = "Routing failed; the step went to the pool.";
9
+ const ROUTING_NO_CANDIDATE_REASON = "No eligible candidate; the step went to the pool.";
10
+ export { ROUTING_FAILED_REASON, ROUTING_NO_CANDIDATE_REASON, ROUTING_SKIP_REASONS, ROUTING_TEAM_TARGET_SKIP_REASON };
11
+
12
+ //# sourceMappingURL=reasons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/reasons.js","sources":["../../../src/domain/routing/reasons.ts"],"sourcesContent":["/**\n * Fixed reasons on skip records and trace entries (R112). An exclusion's own text never goes\n * into a record (D89, D97); only the inspector's trace and skipped list show it (R129).\n */\nexport const ROUTING_SKIP_REASONS = {\n requester: \"The requester cannot review.\",\n notMember: \"Not a member of the step's teams.\",\n excluded: \"Excluded from reviews.\",\n cannotRead: \"Cannot read this content.\"\n} as const;\n\nexport type RoutingSkipReason = (typeof ROUTING_SKIP_REASONS)[keyof typeof ROUTING_SKIP_REASONS];\n\n/**\n * The fixed reason for a rule whose team target is not one of the step's teams (spec 6): the rule\n * is skipped with a skip record without a user, and evaluation continues. Save-time validation and\n * the inspector refuse such a rule, so it appears only for a stored workflow whose teams changed or\n * that was written without validation.\n */\nexport const ROUTING_TEAM_TARGET_SKIP_REASON = \"Not one of the step's teams.\";\n\n/** The pool reason when anything in resolution failed (R116). */\nexport const ROUTING_FAILED_REASON = \"Routing failed; the step went to the pool.\";\n\n/** The pool reason when a strategy found nobody who can review (R111). */\nexport const ROUTING_NO_CANDIDATE_REASON = \"No eligible candidate; the step went to the pool.\";\n"],"names":["ROUTING_SKIP_REASONS","ROUTING_TEAM_TARGET_SKIP_REASON","ROUTING_FAILED_REASON","ROUTING_NO_CANDIDATE_REASON"],"mappings":"AAIO,MAAMA,uBAAuB;IAChC,WAAW;IACX,WAAW;IACX,UAAU;IACV,YAAY;AAChB;AAUO,MAAMC,kCAAkC;AAGxC,MAAMC,wBAAwB;AAG9B,MAAMC,8BAA8B"}
@@ -0,0 +1,8 @@
1
+ import type { WorkflowsPermissionSet } from "../../domain/permissions/types.js";
2
+ import type { StepCandidate } from "./types.js";
3
+ /**
4
+ * The step candidates one viewer may see (D89, D97, R120). Pure. `editor` and `reassign` (full
5
+ * access sets both) see why a person is excluded; everyone else sees only that they are, because an
6
+ * exclusion's reason is personal. Order is kept.
7
+ */
8
+ export declare const redactStepCandidates: (candidates: StepCandidate[], permissions: WorkflowsPermissionSet) => StepCandidate[];
@@ -0,0 +1,12 @@
1
+ const redactStepCandidates = (candidates, permissions)=>{
2
+ if (permissions.editor || permissions.reassign) return candidates.map((candidate)=>({
3
+ ...candidate
4
+ }));
5
+ return candidates.map((candidate)=>({
6
+ ...candidate,
7
+ excludedReason: null
8
+ }));
9
+ };
10
+ export { redactStepCandidates };
11
+
12
+ //# sourceMappingURL=redactStepCandidates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/redactStepCandidates.js","sources":["../../../src/domain/routing/redactStepCandidates.ts"],"sourcesContent":["import type { WorkflowsPermissionSet } from \"~/domain/permissions/types.js\";\nimport type { StepCandidate } from \"./types.js\";\n\n/**\n * The step candidates one viewer may see (D89, D97, R120). Pure. `editor` and `reassign` (full\n * access sets both) see why a person is excluded; everyone else sees only that they are, because an\n * exclusion's reason is personal. Order is kept.\n */\nexport const redactStepCandidates = (\n candidates: StepCandidate[],\n permissions: WorkflowsPermissionSet\n): StepCandidate[] => {\n if (permissions.editor || permissions.reassign) {\n return candidates.map(candidate => ({ ...candidate }));\n }\n return candidates.map(candidate => ({ ...candidate, excludedReason: null }));\n};\n"],"names":["redactStepCandidates","candidates","permissions","candidate"],"mappings":"AAQO,MAAMA,uBAAuB,CAChCC,YACAC;IAEA,IAAIA,YAAY,MAAM,IAAIA,YAAY,QAAQ,EAC1C,OAAOD,WAAW,GAAG,CAACE,CAAAA,YAAc;YAAE,GAAGA,SAAS;QAAC;IAEvD,OAAOF,WAAW,GAAG,CAACE,CAAAA,YAAc;YAAE,GAAGA,SAAS;YAAE,gBAAgB;QAAK;AAC7E"}
@@ -0,0 +1,6 @@
1
+ import type { RoutingInspectionTraceEntry } from "../../domain/routing/types.js";
2
+ import type { RoutingTraceEntry } from "../../domain/routing/types.js";
3
+ /**
4
+ * Every entry carries its failed conditions, empty unless a rule did not match (R289). Pure.
5
+ */
6
+ export declare const toInspectionTrace: (trace: RoutingTraceEntry[]) => RoutingInspectionTraceEntry[];
@@ -0,0 +1,11 @@
1
+ const toInspectionTrace = (trace)=>trace.map((entry)=>({
2
+ ruleId: entry.ruleId,
3
+ outcome: entry.outcome,
4
+ reason: entry.reason,
5
+ failedConditions: [
6
+ ...entry.failedConditions ?? []
7
+ ]
8
+ }));
9
+ export { toInspectionTrace };
10
+
11
+ //# sourceMappingURL=toInspectionTrace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain/routing/toInspectionTrace.js","sources":["../../../src/domain/routing/toInspectionTrace.ts"],"sourcesContent":["import type { RoutingInspectionTraceEntry } from \"~/domain/routing/types.js\";\nimport type { RoutingTraceEntry } from \"~/domain/routing/types.js\";\n\n/**\n * Every entry carries its failed conditions, empty unless a rule did not match (R289). Pure.\n */\nexport const toInspectionTrace = (trace: RoutingTraceEntry[]): RoutingInspectionTraceEntry[] => {\n return trace.map(entry => {\n return {\n ruleId: entry.ruleId,\n outcome: entry.outcome,\n reason: entry.reason,\n failedConditions: [...(entry.failedConditions ?? [])]\n };\n });\n};\n"],"names":["toInspectionTrace","trace","entry"],"mappings":"AAMO,MAAMA,oBAAoB,CAACC,QACvBA,MAAM,GAAG,CAACC,CAAAA,QACN;YACH,QAAQA,MAAM,MAAM;YACpB,SAASA,MAAM,OAAO;YACtB,QAAQA,MAAM,MAAM;YACpB,kBAAkB;mBAAKA,MAAM,gBAAgB,IAAI,EAAE;aAAE;QACzD"}
@@ -0,0 +1,20 @@
1
+ import type { AssignmentDecision } from "../../domain/assignment/types.js";
2
+ import type { RoutingStrategy } from "../../domain/workflow/types.js";
3
+ import type { RoutingEvaluation, RoutingSkippedUser, RoutingSource, RoutingTraceEntry, RoutingUser } from "./types.js";
4
+ export interface RoutingDecisionInput {
5
+ owner: RoutingUser | null;
6
+ source: RoutingSource;
7
+ ruleId: string | null;
8
+ strategy: RoutingStrategy;
9
+ candidateTeamIds: string[];
10
+ reason: string | null;
11
+ /** The skips so far, in decision order. */
12
+ skips: AssignmentDecision[];
13
+ trace: RoutingTraceEntry[];
14
+ /** The skipped people so far, in decision order (R129). */
15
+ skipped: RoutingSkippedUser[];
16
+ /** The strategy's candidate order; given only in inspector mode when a strategy ran (R289). */
17
+ strategyOrder?: RoutingUser[];
18
+ }
19
+ /** The evaluation with its outcome record appended after the skips (R117). Pure. */
20
+ export declare const toRoutingEvaluation: (input: RoutingDecisionInput) => RoutingEvaluation;