@webiny/api-workflows 0.0.0-unstable.7c2def32a7 → 0.0.0-unstable.9609e4e0c9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/WorkflowsFeature.js +136 -51
- package/WorkflowsFeature.js.map +1 -1
- package/constants.d.ts +25 -1
- package/constants.js +15 -2
- package/constants.js.map +1 -1
- package/domain/PersistenceError.d.ts +21 -0
- package/domain/PersistenceError.js +22 -0
- package/domain/PersistenceError.js.map +1 -0
- package/domain/PersistenceErrorSource.d.ts +6 -0
- package/domain/ai/getAiActor.d.ts +7 -0
- package/domain/ai/getAiActor.js +8 -0
- package/domain/ai/getAiActor.js.map +1 -0
- package/domain/aiTools/isWorkflowAiToolName.d.ts +6 -0
- package/domain/aiTools/isWorkflowAiToolName.js +5 -0
- package/domain/aiTools/isWorkflowAiToolName.js.map +1 -0
- package/domain/assignment/abstractions/AssignmentModelProvider.d.ts +9 -0
- package/domain/assignment/abstractions/AssignmentModelProvider.js +5 -0
- package/domain/assignment/abstractions/AssignmentModelProvider.js.map +1 -0
- package/domain/assignment/abstractions/AssignmentRepository.d.ts +59 -0
- package/domain/assignment/abstractions/AssignmentRepository.js +5 -0
- package/domain/assignment/abstractions/AssignmentRepository.js.map +1 -0
- package/domain/assignment/assignment.model.d.ts +12 -0
- package/domain/assignment/assignment.model.js +36 -0
- package/domain/assignment/assignment.model.js.map +1 -0
- package/domain/assignment/attachAssignmentRecords.d.ts +8 -0
- package/domain/assignment/attachAssignmentRecords.js +13 -0
- package/domain/assignment/attachAssignmentRecords.js.map +1 -0
- package/domain/assignment/errors.d.ts +6 -0
- package/domain/assignment/errors.js +9 -0
- package/domain/assignment/errors.js.map +1 -0
- package/domain/assignment/redactAssignmentRecords.d.ts +8 -0
- package/domain/assignment/redactAssignmentRecords.js +9 -0
- package/domain/assignment/redactAssignmentRecords.js.map +1 -0
- package/domain/assignment/toAssignmentRecordValues.d.ts +10 -0
- package/domain/assignment/toAssignmentRecordValues.js +29 -0
- package/domain/assignment/toAssignmentRecordValues.js.map +1 -0
- package/domain/assignment/types.d.ts +63 -0
- package/domain/assignment/types.js +0 -0
- package/domain/automation/automationStepConfigSchema.d.ts +17 -0
- package/domain/automation/automationStepConfigSchema.js +8 -0
- package/domain/automation/automationStepConfigSchema.js.map +1 -0
- package/domain/automation/getAutomationActor.d.ts +8 -0
- package/domain/automation/getAutomationActor.js +8 -0
- package/domain/automation/getAutomationActor.js.map +1 -0
- package/domain/automation/getRequesterIdentity.d.ts +9 -0
- package/domain/automation/getRequesterIdentity.js +12 -0
- package/domain/automation/getRequesterIdentity.js.map +1 -0
- package/domain/automation/matchesAutomationScope.d.ts +6 -0
- package/domain/automation/matchesAutomationScope.js +16 -0
- package/domain/automation/matchesAutomationScope.js.map +1 -0
- package/domain/automation/parseAutomationSettings.d.ts +8 -0
- package/domain/automation/parseAutomationSettings.js +11 -0
- package/domain/automation/parseAutomationSettings.js.map +1 -0
- package/domain/automation/parseAutomationSettingsIssue.d.ts +14 -0
- package/domain/automation/parseAutomationSettingsIssue.js +15 -0
- package/domain/automation/parseAutomationSettingsIssue.js.map +1 -0
- package/domain/config/types.d.ts +69 -0
- package/domain/config/types.js +0 -0
- package/domain/forEachWithConcurrency.d.ts +15 -0
- package/domain/forEachWithConcurrency.js +17 -0
- package/domain/forEachWithConcurrency.js.map +1 -0
- package/domain/hasErrorSource.d.ts +10 -0
- package/domain/hasErrorSource.js +4 -0
- package/domain/hasErrorSource.js.map +1 -0
- package/domain/notifications/clampComment.d.ts +6 -0
- package/domain/notifications/clampComment.js +11 -0
- package/domain/notifications/clampComment.js.map +1 -0
- package/domain/notifications/constants.d.ts +2 -0
- package/domain/notifications/constants.js +4 -0
- package/domain/notifications/constants.js.map +1 -0
- package/domain/notifications/dropActor.d.ts +11 -0
- package/domain/notifications/dropActor.js +9 -0
- package/domain/notifications/dropActor.js.map +1 -0
- package/domain/notifications/getActorName.d.ts +7 -0
- package/domain/notifications/getActorName.js +8 -0
- package/domain/notifications/getActorName.js.map +1 -0
- package/domain/notifications/getReviewChangeRecipients.d.ts +8 -0
- package/domain/notifications/getReviewChangeRecipients.js +16 -0
- package/domain/notifications/getReviewChangeRecipients.js.map +1 -0
- package/domain/notifications/messages/buildApprovedMessage.d.ts +7 -0
- package/domain/notifications/messages/buildApprovedMessage.js +13 -0
- package/domain/notifications/messages/buildApprovedMessage.js.map +1 -0
- package/domain/notifications/messages/buildAssignedMessage.d.ts +18 -0
- package/domain/notifications/messages/buildAssignedMessage.js +14 -0
- package/domain/notifications/messages/buildAssignedMessage.js.map +1 -0
- package/domain/notifications/messages/buildCancelledMessage.d.ts +15 -0
- package/domain/notifications/messages/buildCancelledMessage.js +30 -0
- package/domain/notifications/messages/buildCancelledMessage.js.map +1 -0
- package/domain/notifications/messages/buildFailedMessage.d.ts +13 -0
- package/domain/notifications/messages/buildFailedMessage.js +13 -0
- package/domain/notifications/messages/buildFailedMessage.js.map +1 -0
- package/domain/notifications/messages/buildPoolReachedMessage.d.ts +10 -0
- package/domain/notifications/messages/buildPoolReachedMessage.js +13 -0
- package/domain/notifications/messages/buildPoolReachedMessage.js.map +1 -0
- package/domain/notifications/messages/buildReassignedMessage.d.ts +12 -0
- package/domain/notifications/messages/buildReassignedMessage.js +13 -0
- package/domain/notifications/messages/buildReassignedMessage.js.map +1 -0
- package/domain/notifications/messages/buildRejectedMessage.d.ts +12 -0
- package/domain/notifications/messages/buildRejectedMessage.js +25 -0
- package/domain/notifications/messages/buildRejectedMessage.js.map +1 -0
- package/domain/notifications/messages/buildTakenOverMessage.d.ts +10 -0
- package/domain/notifications/messages/buildTakenOverMessage.js +13 -0
- package/domain/notifications/messages/buildTakenOverMessage.js.map +1 -0
- package/domain/notifications/messages/getAssignmentReason.d.ts +7 -0
- package/domain/notifications/messages/getAssignmentReason.js +17 -0
- package/domain/notifications/messages/getAssignmentReason.js.map +1 -0
- package/domain/notifications/toSingleLine.d.ts +6 -0
- package/domain/notifications/toSingleLine.js +4 -0
- package/domain/notifications/toSingleLine.js.map +1 -0
- package/domain/notifications/types.d.ts +58 -0
- package/domain/notifications/types.js +0 -0
- package/domain/permissions/errors.d.ts +15 -0
- package/domain/permissions/errors.js +19 -0
- package/domain/permissions/errors.js.map +1 -0
- package/domain/permissions/types.d.ts +11 -0
- package/domain/permissions/types.js +0 -0
- package/domain/review/Review.d.ts +258 -0
- package/domain/review/Review.js +702 -0
- package/domain/review/Review.js.map +1 -0
- package/domain/review/ReviewStepRunInfo.d.ts +18 -0
- package/domain/review/ReviewStepRunInfo.js +0 -0
- package/domain/review/abstractions/ReviewModelProvider.d.ts +9 -0
- package/domain/review/abstractions/ReviewModelProvider.js +5 -0
- package/domain/review/abstractions/ReviewModelProvider.js.map +1 -0
- package/domain/review/abstractions/ReviewRepository.d.ts +122 -0
- package/domain/review/abstractions/ReviewRepository.js +5 -0
- package/domain/review/abstractions/ReviewRepository.js.map +1 -0
- package/domain/review/applyTargetAccess.d.ts +6 -0
- package/domain/review/applyTargetAccess.js +17 -0
- package/domain/review/applyTargetAccess.js.map +1 -0
- package/domain/review/canCancelByPermission.d.ts +9 -0
- package/domain/review/canCancelByPermission.js +8 -0
- package/domain/review/canCancelByPermission.js.map +1 -0
- package/domain/review/canReassignByPermission.d.ts +7 -0
- package/domain/review/canReassignByPermission.js +4 -0
- package/domain/review/canReassignByPermission.js.map +1 -0
- package/domain/review/canRestartByPermission.d.ts +9 -0
- package/domain/review/canRestartByPermission.js +8 -0
- package/domain/review/canRestartByPermission.js.map +1 -0
- package/domain/review/canViewStepRunByPermission.d.ts +7 -0
- package/domain/review/canViewStepRunByPermission.js +4 -0
- package/domain/review/canViewStepRunByPermission.js.map +1 -0
- package/domain/review/errors.d.ts +234 -0
- package/domain/review/errors.js +190 -0
- package/domain/review/errors.js.map +1 -0
- package/domain/review/facts.d.ts +111 -0
- package/domain/review/facts.js +0 -0
- package/domain/review/getDeleteCancelReason.d.ts +5 -0
- package/domain/review/getDeleteCancelReason.js +6 -0
- package/domain/review/getDeleteCancelReason.js.map +1 -0
- package/domain/review/getReviewViewerFlags.d.ts +14 -0
- package/domain/review/getReviewViewerFlags.js +39 -0
- package/domain/review/getReviewViewerFlags.js.map +1 -0
- package/domain/review/getStaleStepRunReason.d.ts +17 -0
- package/domain/review/getStaleStepRunReason.js +13 -0
- package/domain/review/getStaleStepRunReason.js.map +1 -0
- package/domain/review/matchesReviewList.d.ts +17 -0
- package/domain/review/matchesReviewList.js +27 -0
- package/domain/review/matchesReviewList.js.map +1 -0
- package/domain/review/matchesReviewReadFilter.d.ts +6 -0
- package/domain/review/matchesReviewReadFilter.js +9 -0
- package/domain/review/matchesReviewReadFilter.js.map +1 -0
- package/domain/review/review.model.d.ts +14 -0
- package/domain/review/review.model.js +112 -0
- package/domain/review/review.model.js.map +1 -0
- package/domain/review/toBlockingReview.d.ts +7 -0
- package/domain/review/toBlockingReview.js +18 -0
- package/domain/review/toBlockingReview.js.map +1 -0
- package/domain/review/types.d.ts +211 -0
- package/domain/review/types.js +0 -0
- package/domain/routing/createRoutingFailedResolution.d.ts +8 -0
- package/domain/routing/createRoutingFailedResolution.js +30 -0
- package/domain/routing/createRoutingFailedResolution.js.map +1 -0
- package/domain/routing/errors.d.ts +25 -0
- package/domain/routing/errors.js +18 -0
- package/domain/routing/errors.js.map +1 -0
- package/domain/routing/findNarrowedTeamId.d.ts +5 -0
- package/domain/routing/findNarrowedTeamId.js +8 -0
- package/domain/routing/findNarrowedTeamId.js.map +1 -0
- package/domain/routing/getFailedRoutingConditions.d.ts +10 -0
- package/domain/routing/getFailedRoutingConditions.js +13 -0
- package/domain/routing/getFailedRoutingConditions.js.map +1 -0
- package/domain/routing/getRoutingUserSkipReason.d.ts +16 -0
- package/domain/routing/getRoutingUserSkipReason.js +10 -0
- package/domain/routing/getRoutingUserSkipReason.js.map +1 -0
- package/domain/routing/listNotEvaluatedTrace.d.ts +7 -0
- package/domain/routing/listNotEvaluatedTrace.js +9 -0
- package/domain/routing/listNotEvaluatedTrace.js.map +1 -0
- package/domain/routing/listRoutingCandidates.d.ts +15 -0
- package/domain/routing/listRoutingCandidates.js +7 -0
- package/domain/routing/listRoutingCandidates.js.map +1 -0
- package/domain/routing/listStrategySkips.d.ts +22 -0
- package/domain/routing/listStrategySkips.js +28 -0
- package/domain/routing/listStrategySkips.js.map +1 -0
- package/domain/routing/matchRoutingRuleConditions.d.ts +9 -0
- package/domain/routing/matchRoutingRuleConditions.js +7 -0
- package/domain/routing/matchRoutingRuleConditions.js.map +1 -0
- package/domain/routing/matchRoutingRuleLocalConditions.d.ts +8 -0
- package/domain/routing/matchRoutingRuleLocalConditions.js +10 -0
- package/domain/routing/matchRoutingRuleLocalConditions.js.map +1 -0
- package/domain/routing/matchesFolderCondition.d.ts +8 -0
- package/domain/routing/matchesFolderCondition.js +11 -0
- package/domain/routing/matchesFolderCondition.js.map +1 -0
- package/domain/routing/matchesFolderTypeCondition.d.ts +8 -0
- package/domain/routing/matchesFolderTypeCondition.js +7 -0
- package/domain/routing/matchesFolderTypeCondition.js.map +1 -0
- package/domain/routing/matchesRequesterTeamCondition.d.ts +4 -0
- package/domain/routing/matchesRequesterTeamCondition.js +4 -0
- package/domain/routing/matchesRequesterTeamCondition.js.map +1 -0
- package/domain/routing/matchesRequesterUserCondition.d.ts +4 -0
- package/domain/routing/matchesRequesterUserCondition.js +4 -0
- package/domain/routing/matchesRequesterUserCondition.js.map +1 -0
- package/domain/routing/orderLeastLoaded.d.ts +7 -0
- package/domain/routing/orderLeastLoaded.js +18 -0
- package/domain/routing/orderLeastLoaded.js.map +1 -0
- package/domain/routing/orderRoundRobin.d.ts +7 -0
- package/domain/routing/orderRoundRobin.js +16 -0
- package/domain/routing/orderRoundRobin.js.map +1 -0
- package/domain/routing/reasons.d.ts +22 -0
- package/domain/routing/reasons.js +12 -0
- package/domain/routing/reasons.js.map +1 -0
- package/domain/routing/redactStepCandidates.d.ts +8 -0
- package/domain/routing/redactStepCandidates.js +12 -0
- package/domain/routing/redactStepCandidates.js.map +1 -0
- package/domain/routing/toInspectionTrace.d.ts +6 -0
- package/domain/routing/toInspectionTrace.js +11 -0
- package/domain/routing/toInspectionTrace.js.map +1 -0
- package/domain/routing/toRoutingEvaluation.d.ts +20 -0
- package/domain/routing/toRoutingEvaluation.js +40 -0
- package/domain/routing/toRoutingEvaluation.js.map +1 -0
- package/domain/routing/toStepAssignmentResolution.d.ts +7 -0
- package/domain/routing/toStepAssignmentResolution.js +24 -0
- package/domain/routing/toStepAssignmentResolution.js.map +1 -0
- package/domain/routing/toStepMembersParams.d.ts +15 -0
- package/domain/routing/toStepMembersParams.js +19 -0
- package/domain/routing/toStepMembersParams.js.map +1 -0
- package/domain/routing/types.d.ts +198 -0
- package/domain/routing/types.js +0 -0
- package/domain/settings/WorkflowSettingsValidator.d.ts +7 -0
- package/domain/settings/WorkflowSettingsValidator.js +39 -0
- package/domain/settings/WorkflowSettingsValidator.js.map +1 -0
- package/domain/settings/abstractions/WorkflowSettingsModelProvider.d.ts +9 -0
- package/domain/settings/abstractions/WorkflowSettingsModelProvider.js +5 -0
- package/domain/settings/abstractions/WorkflowSettingsModelProvider.js.map +1 -0
- package/domain/settings/abstractions/WorkflowSettingsRepository.d.ts +13 -0
- package/domain/settings/abstractions/WorkflowSettingsRepository.js +5 -0
- package/domain/settings/abstractions/WorkflowSettingsRepository.js.map +1 -0
- package/domain/settings/errors.d.ts +14 -0
- package/domain/settings/errors.js +18 -0
- package/domain/settings/errors.js.map +1 -0
- package/domain/settings/filterActiveExclusions.d.ts +3 -0
- package/domain/settings/filterActiveExclusions.js +4 -0
- package/domain/settings/filterActiveExclusions.js.map +1 -0
- package/domain/settings/settings.model.d.ts +9 -0
- package/domain/settings/settings.model.js +26 -0
- package/domain/settings/settings.model.js.map +1 -0
- package/domain/settings/types.d.ts +10 -0
- package/domain/settings/types.js +0 -0
- package/domain/toChunks.d.ts +2 -0
- package/domain/toChunks.js +8 -0
- package/domain/toChunks.js.map +1 -0
- package/domain/workflow/WorkflowValidator.d.ts +26 -0
- package/domain/workflow/WorkflowValidator.js +65 -0
- package/domain/workflow/WorkflowValidator.js.map +1 -0
- package/domain/workflow/abstractions/WorkflowModelProvider.d.ts +12 -0
- package/domain/workflow/abstractions/WorkflowModelProvider.js +5 -0
- package/domain/workflow/abstractions/WorkflowModelProvider.js.map +1 -0
- package/domain/workflow/abstractions/WorkflowRepository.d.ts +32 -0
- package/domain/workflow/abstractions/WorkflowRepository.js +5 -0
- package/domain/workflow/abstractions/WorkflowRepository.js.map +1 -0
- package/domain/workflow/canPickReviewer.d.ts +8 -0
- package/domain/workflow/canPickReviewer.js +10 -0
- package/domain/workflow/canPickReviewer.js.map +1 -0
- package/domain/workflow/errors.d.ts +53 -15
- package/domain/workflow/errors.js +34 -14
- package/domain/workflow/errors.js.map +1 -1
- package/domain/workflow/findReviewStepConfigProblem.d.ts +8 -0
- package/domain/workflow/findReviewStepConfigProblem.js +21 -0
- package/domain/workflow/findReviewStepConfigProblem.js.map +1 -0
- package/domain/workflow/findRuleWithoutTarget.d.ts +10 -0
- package/domain/workflow/findRuleWithoutTarget.js +15 -0
- package/domain/workflow/findRuleWithoutTarget.js.map +1 -0
- package/domain/workflow/getConfigIssueField.d.ts +6 -0
- package/domain/workflow/getConfigIssueField.js +7 -0
- package/domain/workflow/getConfigIssueField.js.map +1 -0
- package/domain/workflow/isAppWorkflow.d.ts +7 -0
- package/domain/workflow/isAppWorkflow.js +5 -0
- package/domain/workflow/isAppWorkflow.js.map +1 -0
- package/domain/workflow/reviewStepConfigSchema.d.ts +39 -0
- package/domain/workflow/reviewStepConfigSchema.js +41 -0
- package/domain/workflow/reviewStepConfigSchema.js.map +1 -0
- package/domain/workflow/ruleErrorMessages.d.ts +26 -0
- package/domain/workflow/ruleErrorMessages.js +16 -0
- package/domain/workflow/ruleErrorMessages.js.map +1 -0
- package/domain/workflow/stepTypes.d.ts +7 -0
- package/domain/workflow/stepTypes.js +6 -0
- package/domain/workflow/stepTypes.js.map +1 -0
- package/domain/workflow/types.d.ts +102 -0
- package/domain/workflow/types.js +0 -0
- package/domain/workflow/workflow.model.d.ts +12 -0
- package/domain/workflow/workflow.model.js +34 -0
- package/domain/workflow/workflow.model.js.map +1 -0
- package/features/aiTools/BuiltInAiToolsFeature.d.ts +5 -0
- package/features/aiTools/BuiltInAiToolsFeature.js +13 -0
- package/features/aiTools/BuiltInAiToolsFeature.js.map +1 -0
- package/features/aiTools/ReadTargetTool/ReadTargetTool.d.ts +29 -0
- package/features/aiTools/ReadTargetTool/ReadTargetTool.js +61 -0
- package/features/aiTools/ReadTargetTool/ReadTargetTool.js.map +1 -0
- package/features/aiTools/UpdateTargetFieldsTool/UpdateTargetFieldsTool.d.ts +43 -0
- package/features/aiTools/UpdateTargetFieldsTool/UpdateTargetFieldsTool.js +85 -0
- package/features/aiTools/UpdateTargetFieldsTool/UpdateTargetFieldsTool.js.map +1 -0
- package/features/aiTools/WorkflowAiTool/abstractions.d.ts +60 -0
- package/features/aiTools/WorkflowAiTool/abstractions.js +5 -0
- package/features/aiTools/WorkflowAiTool/abstractions.js.map +1 -0
- package/features/aiTools/WorkflowAiTool/index.d.ts +1 -0
- package/features/aiTools/WorkflowAiTool/index.js +1 -0
- package/features/aiTools/WorkflowAiToolRegistryService/WorkflowAiToolRegistryService.d.ts +13 -0
- package/features/aiTools/WorkflowAiToolRegistryService/WorkflowAiToolRegistryService.js +42 -0
- package/features/aiTools/WorkflowAiToolRegistryService/WorkflowAiToolRegistryService.js.map +1 -0
- package/features/aiTools/WorkflowAiToolRegistryService/abstractions.d.ts +12 -0
- package/features/aiTools/WorkflowAiToolRegistryService/abstractions.js +5 -0
- package/features/aiTools/WorkflowAiToolRegistryService/abstractions.js.map +1 -0
- package/features/aiTools/WorkflowAiToolRegistryService/feature.d.ts +4 -0
- package/features/aiTools/WorkflowAiToolRegistryService/feature.js +11 -0
- package/features/aiTools/WorkflowAiToolRegistryService/feature.js.map +1 -0
- package/features/aiTools/WorkflowAiToolRegistryService/index.d.ts +1 -0
- package/features/aiTools/WorkflowAiToolRegistryService/index.js +1 -0
- package/features/aiTools/constants.d.ts +18 -0
- package/features/aiTools/constants.js +10 -0
- package/features/aiTools/constants.js.map +1 -0
- package/features/assignment/ListReviewAssignments/ListReviewAssignmentsUseCase.d.ts +17 -0
- package/features/assignment/ListReviewAssignments/ListReviewAssignmentsUseCase.js +69 -0
- package/features/assignment/ListReviewAssignments/ListReviewAssignmentsUseCase.js.map +1 -0
- package/features/assignment/ListReviewAssignments/abstractions.d.ts +28 -0
- package/features/assignment/ListReviewAssignments/abstractions.js +5 -0
- package/features/assignment/ListReviewAssignments/abstractions.js.map +1 -0
- package/features/assignment/ListReviewAssignments/feature.d.ts +4 -0
- package/features/assignment/ListReviewAssignments/feature.js +11 -0
- package/features/assignment/ListReviewAssignments/feature.js.map +1 -0
- package/features/assignment/ListReviewAssignments/index.d.ts +2 -0
- package/features/assignment/ListReviewAssignments/index.js +1 -0
- package/features/assignment/shared/AssignmentEntryMapper.d.ts +19 -0
- package/features/assignment/shared/AssignmentEntryMapper.js +38 -0
- package/features/assignment/shared/AssignmentEntryMapper.js.map +1 -0
- package/features/assignment/shared/AssignmentModelProvider.d.ts +13 -0
- package/features/assignment/shared/AssignmentModelProvider.js +22 -0
- package/features/assignment/shared/AssignmentModelProvider.js.map +1 -0
- package/features/assignment/shared/AssignmentRepository.d.ts +22 -0
- package/features/assignment/shared/AssignmentRepository.js +97 -0
- package/features/assignment/shared/AssignmentRepository.js.map +1 -0
- package/features/assignment/shared/feature.d.ts +4 -0
- package/features/assignment/shared/feature.js +13 -0
- package/features/assignment/shared/feature.js.map +1 -0
- package/features/automation/AutomationDefinition/abstractions.d.ts +66 -0
- package/features/automation/AutomationDefinition/abstractions.js +5 -0
- package/features/automation/AutomationDefinition/abstractions.js.map +1 -0
- package/features/automation/AutomationDefinition/index.d.ts +2 -0
- package/features/automation/AutomationDefinition/index.js +1 -0
- package/features/automation/AutomationDefinitionRegistryService/AutomationDefinitionRegistryService.d.ts +12 -0
- package/features/automation/AutomationDefinitionRegistryService/AutomationDefinitionRegistryService.js +30 -0
- package/features/automation/AutomationDefinitionRegistryService/AutomationDefinitionRegistryService.js.map +1 -0
- package/features/automation/AutomationDefinitionRegistryService/abstractions.d.ts +12 -0
- package/features/automation/AutomationDefinitionRegistryService/abstractions.js +5 -0
- package/features/automation/AutomationDefinitionRegistryService/abstractions.js.map +1 -0
- package/features/automation/AutomationDefinitionRegistryService/feature.d.ts +4 -0
- package/features/automation/AutomationDefinitionRegistryService/feature.js +11 -0
- package/features/automation/AutomationDefinitionRegistryService/feature.js.map +1 -0
- package/features/automation/AutomationDefinitionRegistryService/index.d.ts +1 -0
- package/features/automation/AutomationDefinitionRegistryService/index.js +1 -0
- package/features/bypass/WorkflowBypassService/WorkflowBypassService.d.ts +11 -0
- package/features/bypass/WorkflowBypassService/WorkflowBypassService.js +20 -0
- package/features/bypass/WorkflowBypassService/WorkflowBypassService.js.map +1 -0
- package/features/bypass/WorkflowBypassService/abstractions.d.ts +19 -0
- package/features/bypass/WorkflowBypassService/abstractions.js +5 -0
- package/features/bypass/WorkflowBypassService/abstractions.js.map +1 -0
- package/features/bypass/WorkflowBypassService/feature.d.ts +4 -0
- package/features/bypass/WorkflowBypassService/feature.js +11 -0
- package/features/bypass/WorkflowBypassService/feature.js.map +1 -0
- package/features/bypass/WorkflowBypassService/index.d.ts +1 -0
- package/features/bypass/WorkflowBypassService/index.js +1 -0
- package/features/config/GetWorkflowSettingsForEditor/GetWorkflowSettingsForEditorUseCase.d.ts +13 -0
- package/features/config/GetWorkflowSettingsForEditor/GetWorkflowSettingsForEditorUseCase.js +27 -0
- package/features/config/GetWorkflowSettingsForEditor/GetWorkflowSettingsForEditorUseCase.js.map +1 -0
- package/features/config/GetWorkflowSettingsForEditor/abstractions.d.ts +31 -0
- package/features/config/GetWorkflowSettingsForEditor/abstractions.js +5 -0
- package/features/config/GetWorkflowSettingsForEditor/abstractions.js.map +1 -0
- package/features/config/GetWorkflowSettingsForEditor/feature.d.ts +4 -0
- package/features/config/GetWorkflowSettingsForEditor/feature.js +11 -0
- package/features/config/GetWorkflowSettingsForEditor/feature.js.map +1 -0
- package/features/config/GetWorkflowSettingsForEditor/index.d.ts +2 -0
- package/features/config/GetWorkflowSettingsForEditor/index.js +1 -0
- package/features/config/ListAutomationDefinitions/ListAutomationDefinitionsUseCase.d.ts +13 -0
- package/features/config/ListAutomationDefinitions/ListAutomationDefinitionsUseCase.js +45 -0
- package/features/config/ListAutomationDefinitions/ListAutomationDefinitionsUseCase.js.map +1 -0
- package/features/config/ListAutomationDefinitions/abstractions.d.ts +27 -0
- package/features/config/ListAutomationDefinitions/abstractions.js +5 -0
- package/features/config/ListAutomationDefinitions/abstractions.js.map +1 -0
- package/features/config/ListAutomationDefinitions/feature.d.ts +4 -0
- package/features/config/ListAutomationDefinitions/feature.js +11 -0
- package/features/config/ListAutomationDefinitions/feature.js.map +1 -0
- package/features/config/ListAutomationDefinitions/index.d.ts +2 -0
- package/features/config/ListAutomationDefinitions/index.js +1 -0
- package/features/config/ListWorkflowAiTools/ListWorkflowAiToolsUseCase.d.ts +13 -0
- package/features/config/ListWorkflowAiTools/ListWorkflowAiToolsUseCase.js +41 -0
- package/features/config/ListWorkflowAiTools/ListWorkflowAiToolsUseCase.js.map +1 -0
- package/features/config/ListWorkflowAiTools/abstractions.d.ts +26 -0
- package/features/config/ListWorkflowAiTools/abstractions.js +5 -0
- package/features/config/ListWorkflowAiTools/abstractions.js.map +1 -0
- package/features/config/ListWorkflowAiTools/feature.d.ts +4 -0
- package/features/config/ListWorkflowAiTools/feature.js +11 -0
- package/features/config/ListWorkflowAiTools/feature.js.map +1 -0
- package/features/config/ListWorkflowAiTools/index.d.ts +2 -0
- package/features/config/ListWorkflowAiTools/index.js +1 -0
- package/features/config/ListWorkflowNotificationTransports/ListWorkflowNotificationTransportsUseCase.d.ts +13 -0
- package/features/config/ListWorkflowNotificationTransports/ListWorkflowNotificationTransportsUseCase.js +38 -0
- package/features/config/ListWorkflowNotificationTransports/ListWorkflowNotificationTransportsUseCase.js.map +1 -0
- package/features/config/ListWorkflowNotificationTransports/abstractions.d.ts +25 -0
- package/features/config/ListWorkflowNotificationTransports/abstractions.js +5 -0
- package/features/config/ListWorkflowNotificationTransports/abstractions.js.map +1 -0
- package/features/config/ListWorkflowNotificationTransports/feature.d.ts +4 -0
- package/features/config/ListWorkflowNotificationTransports/feature.js +11 -0
- package/features/config/ListWorkflowNotificationTransports/feature.js.map +1 -0
- package/features/config/ListWorkflowNotificationTransports/index.d.ts +2 -0
- package/features/config/ListWorkflowNotificationTransports/index.js +1 -0
- package/features/config/ListWorkflowStepTypes/ListWorkflowStepTypesUseCase.d.ts +15 -0
- package/features/config/ListWorkflowStepTypes/ListWorkflowStepTypesUseCase.js +77 -0
- package/features/config/ListWorkflowStepTypes/ListWorkflowStepTypesUseCase.js.map +1 -0
- package/features/config/ListWorkflowStepTypes/abstractions.d.ts +27 -0
- package/features/config/ListWorkflowStepTypes/abstractions.js +5 -0
- package/features/config/ListWorkflowStepTypes/abstractions.js.map +1 -0
- package/features/config/ListWorkflowStepTypes/feature.d.ts +4 -0
- package/features/config/ListWorkflowStepTypes/feature.js +11 -0
- package/features/config/ListWorkflowStepTypes/feature.js.map +1 -0
- package/features/config/ListWorkflowStepTypes/index.d.ts +2 -0
- package/features/config/ListWorkflowStepTypes/index.js +1 -0
- package/features/config/ListWorkflowTeams/ListWorkflowTeamsUseCase.d.ts +19 -0
- package/features/config/ListWorkflowTeams/ListWorkflowTeamsUseCase.js +120 -0
- package/features/config/ListWorkflowTeams/ListWorkflowTeamsUseCase.js.map +1 -0
- package/features/config/ListWorkflowTeams/abstractions.d.ts +36 -0
- package/features/config/ListWorkflowTeams/abstractions.js +5 -0
- package/features/config/ListWorkflowTeams/abstractions.js.map +1 -0
- package/features/config/ListWorkflowTeams/feature.d.ts +4 -0
- package/features/config/ListWorkflowTeams/feature.js +11 -0
- package/features/config/ListWorkflowTeams/feature.js.map +1 -0
- package/features/config/ListWorkflowTeams/index.d.ts +3 -0
- package/features/config/ListWorkflowTeams/index.js +1 -0
- package/features/config/ListWorkflowUsers/ListWorkflowUsersUseCase.d.ts +17 -0
- package/features/config/ListWorkflowUsers/ListWorkflowUsersUseCase.js +105 -0
- package/features/config/ListWorkflowUsers/ListWorkflowUsersUseCase.js.map +1 -0
- package/features/config/ListWorkflowUsers/abstractions.d.ts +44 -0
- package/features/config/ListWorkflowUsers/abstractions.js +5 -0
- package/features/config/ListWorkflowUsers/abstractions.js.map +1 -0
- package/features/config/ListWorkflowUsers/feature.d.ts +4 -0
- package/features/config/ListWorkflowUsers/feature.js +11 -0
- package/features/config/ListWorkflowUsers/feature.js.map +1 -0
- package/features/config/ListWorkflowUsers/index.d.ts +3 -0
- package/features/config/ListWorkflowUsers/index.js +1 -0
- package/features/config/SaveWorkflowSettingsForEditor/SaveWorkflowSettingsForEditorUseCase.d.ts +13 -0
- package/features/config/SaveWorkflowSettingsForEditor/SaveWorkflowSettingsForEditorUseCase.js +25 -0
- package/features/config/SaveWorkflowSettingsForEditor/SaveWorkflowSettingsForEditorUseCase.js.map +1 -0
- package/features/config/SaveWorkflowSettingsForEditor/abstractions.d.ts +27 -0
- package/features/config/SaveWorkflowSettingsForEditor/abstractions.js +5 -0
- package/features/config/SaveWorkflowSettingsForEditor/abstractions.js.map +1 -0
- package/features/config/SaveWorkflowSettingsForEditor/feature.d.ts +4 -0
- package/features/config/SaveWorkflowSettingsForEditor/feature.js +11 -0
- package/features/config/SaveWorkflowSettingsForEditor/feature.js.map +1 -0
- package/features/config/SaveWorkflowSettingsForEditor/index.d.ts +1 -0
- package/features/config/SaveWorkflowSettingsForEditor/index.js +1 -0
- package/features/identity/CandidateReadAccess/CandidateReadAccess.d.ts +28 -0
- package/features/identity/CandidateReadAccess/CandidateReadAccess.js +40 -0
- package/features/identity/CandidateReadAccess/CandidateReadAccess.js.map +1 -0
- package/features/identity/CandidateReadAccess/abstractions.d.ts +25 -0
- package/features/identity/CandidateReadAccess/abstractions.js +5 -0
- package/features/identity/CandidateReadAccess/abstractions.js.map +1 -0
- package/features/identity/CandidateReadAccess/feature.d.ts +4 -0
- package/features/identity/CandidateReadAccess/feature.js +11 -0
- package/features/identity/CandidateReadAccess/feature.js.map +1 -0
- package/features/identity/CandidateReadAccess/index.d.ts +1 -0
- package/features/identity/CandidateReadAccess/index.js +1 -0
- package/features/identity/CurrentReviewViewer/CurrentReviewViewer.d.ts +21 -0
- package/features/identity/CurrentReviewViewer/CurrentReviewViewer.js +48 -0
- package/features/identity/CurrentReviewViewer/CurrentReviewViewer.js.map +1 -0
- package/features/identity/CurrentReviewViewer/abstractions.d.ts +23 -0
- package/features/identity/CurrentReviewViewer/abstractions.js +5 -0
- package/features/identity/CurrentReviewViewer/abstractions.js.map +1 -0
- package/features/identity/CurrentReviewViewer/feature.d.ts +4 -0
- package/features/identity/CurrentReviewViewer/feature.js +11 -0
- package/features/identity/CurrentReviewViewer/feature.js.map +1 -0
- package/features/identity/CurrentReviewViewer/index.d.ts +1 -0
- package/features/identity/CurrentReviewViewer/index.js +1 -0
- package/features/identity/CurrentUserTeams/CurrentUserTeams.d.ts +22 -0
- package/features/identity/CurrentUserTeams/CurrentUserTeams.js +39 -0
- package/features/identity/CurrentUserTeams/CurrentUserTeams.js.map +1 -0
- package/features/identity/CurrentUserTeams/abstractions.d.ts +15 -0
- package/features/identity/CurrentUserTeams/abstractions.js +5 -0
- package/features/identity/CurrentUserTeams/abstractions.js.map +1 -0
- package/features/identity/CurrentUserTeams/feature.d.ts +4 -0
- package/features/identity/CurrentUserTeams/feature.js +11 -0
- package/features/identity/CurrentUserTeams/feature.js.map +1 -0
- package/features/identity/CurrentUserTeams/index.d.ts +1 -0
- package/features/identity/CurrentUserTeams/index.js +1 -0
- package/features/identity/ReviewTeamLoader/ReviewTeamLoader.d.ts +24 -0
- package/features/identity/ReviewTeamLoader/ReviewTeamLoader.js +63 -0
- package/features/identity/ReviewTeamLoader/ReviewTeamLoader.js.map +1 -0
- package/features/identity/ReviewTeamLoader/abstractions.d.ts +21 -0
- package/features/identity/ReviewTeamLoader/abstractions.js +5 -0
- package/features/identity/ReviewTeamLoader/abstractions.js.map +1 -0
- package/features/identity/ReviewTeamLoader/feature.d.ts +4 -0
- package/features/identity/ReviewTeamLoader/feature.js +11 -0
- package/features/identity/ReviewTeamLoader/feature.js.map +1 -0
- package/features/identity/ReviewTeamLoader/index.d.ts +1 -0
- package/features/identity/ReviewTeamLoader/index.js +1 -0
- package/features/model/WorkflowModelParser/abstractions.d.ts +21 -0
- package/features/model/WorkflowModelParser/abstractions.js +5 -0
- package/features/model/WorkflowModelParser/abstractions.js.map +1 -0
- package/features/model/WorkflowModelParser/index.d.ts +1 -0
- package/features/model/WorkflowModelParser/index.js +1 -0
- package/features/model/WorkflowModelParserService/WorkflowModelParserService.d.ts +11 -0
- package/features/model/WorkflowModelParserService/WorkflowModelParserService.js +28 -0
- package/features/model/WorkflowModelParserService/WorkflowModelParserService.js.map +1 -0
- package/features/model/WorkflowModelParserService/abstractions.d.ts +10 -0
- package/features/model/WorkflowModelParserService/abstractions.js +5 -0
- package/features/model/WorkflowModelParserService/abstractions.js.map +1 -0
- package/features/model/WorkflowModelParserService/index.d.ts +1 -0
- package/features/model/WorkflowModelParserService/index.js +1 -0
- package/features/model/feature.d.ts +5 -0
- package/features/model/feature.js +11 -0
- package/features/model/feature.js.map +1 -0
- package/features/notifications/ListNotificationTransports/ListNotificationTransportsRepository.d.ts +11 -0
- package/features/notifications/ListNotificationTransports/ListNotificationTransportsRepository.js +33 -0
- package/features/notifications/ListNotificationTransports/ListNotificationTransportsRepository.js.map +1 -0
- package/features/notifications/ListNotificationTransports/ListNotificationTransportsUseCase.d.ts +14 -0
- package/features/notifications/ListNotificationTransports/ListNotificationTransportsUseCase.js +18 -0
- package/features/notifications/ListNotificationTransports/ListNotificationTransportsUseCase.js.map +1 -0
- package/features/notifications/ListNotificationTransports/abstractions.d.ts +25 -0
- package/features/notifications/ListNotificationTransports/abstractions.js +6 -0
- package/features/notifications/ListNotificationTransports/abstractions.js.map +1 -0
- package/features/notifications/ListNotificationTransports/feature.d.ts +4 -0
- package/features/notifications/ListNotificationTransports/feature.js +13 -0
- package/features/notifications/ListNotificationTransports/feature.js.map +1 -0
- package/features/notifications/ListNotificationTransports/index.d.ts +1 -0
- package/features/notifications/ListNotificationTransports/index.js +1 -0
- package/features/notifications/NotificationRecipientService/NotificationRecipientService.d.ts +16 -0
- package/features/notifications/NotificationRecipientService/NotificationRecipientService.js +77 -0
- package/features/notifications/NotificationRecipientService/NotificationRecipientService.js.map +1 -0
- package/features/notifications/NotificationRecipientService/abstractions.d.ts +47 -0
- package/features/notifications/NotificationRecipientService/abstractions.js +5 -0
- package/features/notifications/NotificationRecipientService/abstractions.js.map +1 -0
- package/features/notifications/NotificationRecipientService/feature.d.ts +4 -0
- package/features/notifications/NotificationRecipientService/feature.js +11 -0
- package/features/notifications/NotificationRecipientService/feature.js.map +1 -0
- package/features/notifications/NotificationRecipientService/index.d.ts +1 -0
- package/features/notifications/NotificationRecipientService/index.js +1 -0
- package/features/notifications/NotificationTransport/MailNotificationTransport.d.ts +7 -4
- package/features/notifications/NotificationTransport/MailNotificationTransport.js +51 -21
- package/features/notifications/NotificationTransport/MailNotificationTransport.js.map +1 -1
- package/features/notifications/NotificationTransport/abstractions.d.ts +23 -4
- package/features/notifications/NotificationTransport/abstractions.js.map +1 -1
- package/features/notifications/NotificationTransport/index.d.ts +0 -2
- package/features/notifications/NotificationTransport/index.js +0 -1
- package/features/notifications/ReviewChangeNotifierService/ReviewChangeNotifierService.d.ts +13 -0
- package/features/notifications/ReviewChangeNotifierService/ReviewChangeNotifierService.js +49 -0
- package/features/notifications/ReviewChangeNotifierService/ReviewChangeNotifierService.js.map +1 -0
- package/features/notifications/ReviewChangeNotifierService/abstractions.d.ts +25 -0
- package/features/notifications/ReviewChangeNotifierService/abstractions.js +5 -0
- package/features/notifications/ReviewChangeNotifierService/abstractions.js.map +1 -0
- package/features/notifications/ReviewChangeNotifierService/feature.d.ts +4 -0
- package/features/notifications/ReviewChangeNotifierService/feature.js +11 -0
- package/features/notifications/ReviewChangeNotifierService/feature.js.map +1 -0
- package/features/notifications/ReviewChangeNotifierService/index.d.ts +1 -0
- package/features/notifications/ReviewChangeNotifierService/index.js +1 -0
- package/features/notifications/ReviewNotifierService/ReviewNotifierService.d.ts +19 -0
- package/features/notifications/ReviewNotifierService/ReviewNotifierService.js +149 -0
- package/features/notifications/ReviewNotifierService/ReviewNotifierService.js.map +1 -0
- package/features/notifications/ReviewNotifierService/abstractions.d.ts +27 -0
- package/features/notifications/ReviewNotifierService/abstractions.js +5 -0
- package/features/notifications/ReviewNotifierService/abstractions.js.map +1 -0
- package/features/notifications/ReviewNotifierService/feature.d.ts +4 -0
- package/features/notifications/ReviewNotifierService/feature.js +11 -0
- package/features/notifications/ReviewNotifierService/feature.js.map +1 -0
- package/features/notifications/ReviewNotifierService/index.d.ts +1 -0
- package/features/notifications/ReviewNotifierService/index.js +1 -0
- package/features/notifications/ReviewTargetLink/abstractions.d.ts +26 -0
- package/features/notifications/ReviewTargetLink/abstractions.js +5 -0
- package/features/notifications/ReviewTargetLink/abstractions.js.map +1 -0
- package/features/notifications/ReviewTargetLink/index.d.ts +1 -0
- package/features/notifications/ReviewTargetLink/index.js +1 -0
- package/features/notifications/ReviewTargetLinkService/ReviewTargetLinkService.d.ts +17 -0
- package/features/notifications/ReviewTargetLinkService/ReviewTargetLinkService.js +54 -0
- package/features/notifications/ReviewTargetLinkService/ReviewTargetLinkService.js.map +1 -0
- package/features/notifications/ReviewTargetLinkService/abstractions.d.ts +17 -0
- package/features/notifications/ReviewTargetLinkService/abstractions.js +5 -0
- package/features/notifications/ReviewTargetLinkService/abstractions.js.map +1 -0
- package/features/notifications/ReviewTargetLinkService/feature.d.ts +4 -0
- package/features/notifications/ReviewTargetLinkService/feature.js +11 -0
- package/features/notifications/ReviewTargetLinkService/feature.js.map +1 -0
- package/features/notifications/ReviewTargetLinkService/index.d.ts +1 -0
- package/features/notifications/ReviewTargetLinkService/index.js +1 -0
- package/features/notifications/ReviewWebsocketSender/ReviewWebsocketSender.d.ts +16 -0
- package/features/notifications/ReviewWebsocketSender/ReviewWebsocketSender.js +91 -0
- package/features/notifications/ReviewWebsocketSender/ReviewWebsocketSender.js.map +1 -0
- package/features/notifications/ReviewWebsocketSender/abstractions.d.ts +27 -0
- package/features/notifications/ReviewWebsocketSender/abstractions.js +5 -0
- package/features/notifications/ReviewWebsocketSender/abstractions.js.map +1 -0
- package/features/notifications/ReviewWebsocketSender/feature.d.ts +4 -0
- package/features/notifications/ReviewWebsocketSender/feature.js +11 -0
- package/features/notifications/ReviewWebsocketSender/feature.js.map +1 -0
- package/features/notifications/ReviewWebsocketSender/index.d.ts +1 -0
- package/features/notifications/ReviewWebsocketSender/index.js +1 -0
- package/features/notifications/WorkflowsAdminUrlService/WorkflowsAdminUrlService.d.ts +8 -0
- package/features/notifications/WorkflowsAdminUrlService/WorkflowsAdminUrlService.js +22 -0
- package/features/notifications/WorkflowsAdminUrlService/WorkflowsAdminUrlService.js.map +1 -0
- package/features/notifications/WorkflowsAdminUrlService/abstractions.d.ts +16 -0
- package/features/notifications/WorkflowsAdminUrlService/abstractions.js +5 -0
- package/features/notifications/WorkflowsAdminUrlService/abstractions.js.map +1 -0
- package/features/notifications/WorkflowsAdminUrlService/feature.d.ts +4 -0
- package/features/notifications/WorkflowsAdminUrlService/feature.js +11 -0
- package/features/notifications/WorkflowsAdminUrlService/feature.js.map +1 -0
- package/features/notifications/WorkflowsAdminUrlService/index.d.ts +1 -0
- package/features/notifications/WorkflowsAdminUrlService/index.js +1 -0
- package/features/notifications/feature.d.ts +13 -0
- package/features/notifications/feature.js +43 -0
- package/features/notifications/feature.js.map +1 -0
- package/features/notifications/handlers/ReviewApprovedNotifications.d.ts +17 -0
- package/features/notifications/handlers/ReviewApprovedNotifications.js +54 -0
- package/features/notifications/handlers/ReviewApprovedNotifications.js.map +1 -0
- package/features/notifications/handlers/ReviewCancelledNotifications.d.ts +19 -0
- package/features/notifications/handlers/ReviewCancelledNotifications.js +60 -0
- package/features/notifications/handlers/ReviewCancelledNotifications.js.map +1 -0
- package/features/notifications/handlers/ReviewRequestedChangeNotifications.d.ts +18 -0
- package/features/notifications/handlers/ReviewRequestedChangeNotifications.js +39 -0
- package/features/notifications/handlers/ReviewRequestedChangeNotifications.js.map +1 -0
- package/features/notifications/handlers/ReviewStepApprovedChangeNotifications.d.ts +19 -0
- package/features/notifications/handlers/ReviewStepApprovedChangeNotifications.js +40 -0
- package/features/notifications/handlers/ReviewStepApprovedChangeNotifications.js.map +1 -0
- package/features/notifications/handlers/ReviewStepFailedNotifications.d.ts +18 -0
- package/features/notifications/handlers/ReviewStepFailedNotifications.js +53 -0
- package/features/notifications/handlers/ReviewStepFailedNotifications.js.map +1 -0
- package/features/notifications/handlers/ReviewStepReachedNotifications.d.ts +19 -0
- package/features/notifications/handlers/ReviewStepReachedNotifications.js +90 -0
- package/features/notifications/handlers/ReviewStepReachedNotifications.js.map +1 -0
- package/features/notifications/handlers/ReviewStepReassignedNotifications.d.ts +17 -0
- package/features/notifications/handlers/ReviewStepReassignedNotifications.js +80 -0
- package/features/notifications/handlers/ReviewStepReassignedNotifications.js.map +1 -0
- package/features/notifications/handlers/ReviewStepRejectedNotifications.d.ts +18 -0
- package/features/notifications/handlers/ReviewStepRejectedNotifications.js +58 -0
- package/features/notifications/handlers/ReviewStepRejectedNotifications.js.map +1 -0
- package/features/notifications/handlers/ReviewStepRestartedChangeNotifications.d.ts +18 -0
- package/features/notifications/handlers/ReviewStepRestartedChangeNotifications.js +39 -0
- package/features/notifications/handlers/ReviewStepRestartedChangeNotifications.js.map +1 -0
- package/features/notifications/handlers/ReviewStepStartedChangeNotifications.d.ts +18 -0
- package/features/notifications/handlers/ReviewStepStartedChangeNotifications.js +39 -0
- package/features/notifications/handlers/ReviewStepStartedChangeNotifications.js.map +1 -0
- package/features/notifications/handlers/ReviewStepTakenOverNotifications.d.ts +18 -0
- package/features/notifications/handlers/ReviewStepTakenOverNotifications.js +58 -0
- package/features/notifications/handlers/ReviewStepTakenOverNotifications.js.map +1 -0
- package/features/notifications/shared/constants.d.ts +11 -0
- package/features/notifications/shared/constants.js +7 -0
- package/features/notifications/shared/constants.js.map +1 -0
- package/features/notifications/shared/escapeHtml.d.ts +5 -0
- package/features/notifications/shared/escapeHtml.js +4 -0
- package/features/notifications/shared/escapeHtml.js.map +1 -0
- package/features/notifications/shared/getErrorLogFields.d.ts +10 -0
- package/features/notifications/shared/getErrorLogFields.js +10 -0
- package/features/notifications/shared/getErrorLogFields.js.map +1 -0
- package/features/permissions/WorkflowEditorAccess/WorkflowEditorAccess.d.ts +13 -0
- package/features/permissions/WorkflowEditorAccess/WorkflowEditorAccess.js +37 -0
- package/features/permissions/WorkflowEditorAccess/WorkflowEditorAccess.js.map +1 -0
- package/features/permissions/WorkflowEditorAccess/abstractions.d.ts +28 -0
- package/features/permissions/WorkflowEditorAccess/abstractions.js +5 -0
- package/features/permissions/WorkflowEditorAccess/abstractions.js.map +1 -0
- package/features/permissions/WorkflowEditorAccess/feature.d.ts +4 -0
- package/features/permissions/WorkflowEditorAccess/feature.js +11 -0
- package/features/permissions/WorkflowEditorAccess/feature.js.map +1 -0
- package/features/permissions/WorkflowEditorAccess/index.d.ts +1 -0
- package/features/permissions/WorkflowEditorAccess/index.js +1 -0
- package/features/permissions/WorkflowsPermissions/WorkflowsPermissions.d.ts +20 -0
- package/features/permissions/WorkflowsPermissions/WorkflowsPermissions.js +44 -0
- package/features/permissions/WorkflowsPermissions/WorkflowsPermissions.js.map +1 -0
- package/features/permissions/WorkflowsPermissions/abstractions.d.ts +20 -0
- package/features/permissions/WorkflowsPermissions/abstractions.js +5 -0
- package/features/permissions/WorkflowsPermissions/abstractions.js.map +1 -0
- package/features/permissions/WorkflowsPermissions/feature.d.ts +4 -0
- package/features/permissions/WorkflowsPermissions/feature.js +11 -0
- package/features/permissions/WorkflowsPermissions/feature.js.map +1 -0
- package/features/permissions/WorkflowsPermissions/index.d.ts +1 -0
- package/features/permissions/WorkflowsPermissions/index.js +1 -0
- package/features/review/ApproveReviewStep/ApproveReviewStepUseCase.d.ts +15 -0
- package/features/review/ApproveReviewStep/ApproveReviewStepUseCase.js +46 -0
- package/features/review/ApproveReviewStep/ApproveReviewStepUseCase.js.map +1 -0
- package/features/review/ApproveReviewStep/abstractions.d.ts +25 -0
- package/features/review/ApproveReviewStep/abstractions.js +5 -0
- package/features/review/ApproveReviewStep/abstractions.js.map +1 -0
- package/features/review/ApproveReviewStep/events.d.ts +29 -0
- package/features/review/ApproveReviewStep/events.js +23 -0
- package/features/review/ApproveReviewStep/events.js.map +1 -0
- package/features/review/ApproveReviewStep/feature.d.ts +4 -0
- package/features/review/ApproveReviewStep/feature.js +11 -0
- package/features/review/ApproveReviewStep/feature.js.map +1 -0
- package/features/review/ApproveReviewStep/index.d.ts +4 -0
- package/features/review/ApproveReviewStep/index.js +2 -0
- package/features/review/CancelReview/CancelReviewUseCase.d.ts +15 -0
- package/features/review/CancelReview/CancelReviewUseCase.js +45 -0
- package/features/review/CancelReview/CancelReviewUseCase.js.map +1 -0
- package/features/review/CancelReview/abstractions.d.ts +23 -0
- package/features/review/CancelReview/abstractions.js +5 -0
- package/features/review/CancelReview/abstractions.js.map +1 -0
- package/features/review/CancelReview/events.d.ts +16 -0
- package/features/review/CancelReview/events.js +14 -0
- package/features/review/CancelReview/events.js.map +1 -0
- package/features/review/CancelReview/feature.d.ts +4 -0
- package/features/review/CancelReview/feature.js +11 -0
- package/features/review/CancelReview/feature.js.map +1 -0
- package/features/review/CancelReview/index.d.ts +3 -0
- package/features/review/CancelReview/index.js +2 -0
- package/features/review/CancelTargetReviews/CancelTargetReviewsUseCase.d.ts +16 -0
- package/features/review/CancelTargetReviews/CancelTargetReviewsUseCase.js +31 -0
- package/features/review/CancelTargetReviews/CancelTargetReviewsUseCase.js.map +1 -0
- package/features/review/CancelTargetReviews/abstractions.d.ts +34 -0
- package/features/review/CancelTargetReviews/abstractions.js +5 -0
- package/features/review/CancelTargetReviews/abstractions.js.map +1 -0
- package/features/review/CancelTargetReviews/feature.d.ts +4 -0
- package/features/review/CancelTargetReviews/feature.js +11 -0
- package/features/review/CancelTargetReviews/feature.js.map +1 -0
- package/features/review/CancelTargetReviews/index.d.ts +1 -0
- package/features/review/CancelTargetReviews/index.js +1 -0
- package/features/review/DeleteTargetReviews/AssignmentPageSize.d.ts +9 -0
- package/features/review/DeleteTargetReviews/AssignmentPageSize.js +5 -0
- package/features/review/DeleteTargetReviews/AssignmentPageSize.js.map +1 -0
- package/features/review/DeleteTargetReviews/DefaultAssignmentPageSize.d.ts +8 -0
- package/features/review/DeleteTargetReviews/DefaultAssignmentPageSize.js +14 -0
- package/features/review/DeleteTargetReviews/DefaultAssignmentPageSize.js.map +1 -0
- package/features/review/DeleteTargetReviews/DeleteTargetReviewsUseCase.d.ts +21 -0
- package/features/review/DeleteTargetReviews/DeleteTargetReviewsUseCase.js +98 -0
- package/features/review/DeleteTargetReviews/DeleteTargetReviewsUseCase.js.map +1 -0
- package/features/review/DeleteTargetReviews/abstractions.d.ts +44 -0
- package/features/review/DeleteTargetReviews/abstractions.js +5 -0
- package/features/review/DeleteTargetReviews/abstractions.js.map +1 -0
- package/features/review/DeleteTargetReviews/feature.d.ts +4 -0
- package/features/review/DeleteTargetReviews/feature.js +13 -0
- package/features/review/DeleteTargetReviews/feature.js.map +1 -0
- package/features/review/DeleteTargetReviews/index.d.ts +1 -0
- package/features/review/DeleteTargetReviews/index.js +1 -0
- package/features/review/GetActiveTargetReview/GetActiveTargetReviewUseCase.d.ts +11 -0
- package/features/review/GetActiveTargetReview/GetActiveTargetReviewUseCase.js +22 -0
- package/features/review/GetActiveTargetReview/GetActiveTargetReviewUseCase.js.map +1 -0
- package/features/review/GetActiveTargetReview/abstractions.d.ts +29 -0
- package/features/review/GetActiveTargetReview/abstractions.js +5 -0
- package/features/review/GetActiveTargetReview/abstractions.js.map +1 -0
- package/features/review/GetActiveTargetReview/feature.d.ts +4 -0
- package/features/review/GetActiveTargetReview/feature.js +11 -0
- package/features/review/GetActiveTargetReview/feature.js.map +1 -0
- package/features/review/GetActiveTargetReview/index.d.ts +1 -0
- package/features/review/GetActiveTargetReview/index.js +1 -0
- package/features/review/GetReview/GetReviewUseCase.d.ts +13 -0
- package/features/review/GetReview/GetReviewUseCase.js +25 -0
- package/features/review/GetReview/GetReviewUseCase.js.map +1 -0
- package/features/review/GetReview/abstractions.d.ts +26 -0
- package/features/review/GetReview/abstractions.js +5 -0
- package/features/review/GetReview/abstractions.js.map +1 -0
- package/features/review/GetReview/feature.d.ts +4 -0
- package/features/review/GetReview/feature.js +11 -0
- package/features/review/GetReview/feature.js.map +1 -0
- package/features/review/GetReview/index.d.ts +1 -0
- package/features/review/GetReview/index.js +1 -0
- package/features/review/GetTargetReview/GetTargetReviewUseCase.d.ts +13 -0
- package/features/review/GetTargetReview/GetTargetReviewUseCase.js +29 -0
- package/features/review/GetTargetReview/GetTargetReviewUseCase.js.map +1 -0
- package/features/review/GetTargetReview/abstractions.d.ts +30 -0
- package/features/review/GetTargetReview/abstractions.js +5 -0
- package/features/review/GetTargetReview/abstractions.js.map +1 -0
- package/features/review/GetTargetReview/feature.d.ts +4 -0
- package/features/review/GetTargetReview/feature.js +11 -0
- package/features/review/GetTargetReview/feature.js.map +1 -0
- package/features/review/GetTargetReview/index.d.ts +1 -0
- package/features/review/GetTargetReview/index.js +1 -0
- package/features/review/ListReviewCandidateTeams/ListReviewCandidateTeamsUseCase.d.ts +13 -0
- package/features/review/ListReviewCandidateTeams/ListReviewCandidateTeamsUseCase.js +52 -0
- package/features/review/ListReviewCandidateTeams/ListReviewCandidateTeamsUseCase.js.map +1 -0
- package/features/review/ListReviewCandidateTeams/abstractions.d.ts +24 -0
- package/features/review/ListReviewCandidateTeams/abstractions.js +5 -0
- package/features/review/ListReviewCandidateTeams/abstractions.js.map +1 -0
- package/features/review/ListReviewCandidateTeams/feature.d.ts +4 -0
- package/features/review/ListReviewCandidateTeams/feature.js +11 -0
- package/features/review/ListReviewCandidateTeams/feature.js.map +1 -0
- package/features/review/ListReviewCandidateTeams/index.d.ts +2 -0
- package/features/review/ListReviewCandidateTeams/index.js +1 -0
- package/features/review/ListReviewedModels/ListReviewedModelsUseCase.d.ts +16 -0
- package/features/review/ListReviewedModels/ListReviewedModelsUseCase.js +29 -0
- package/features/review/ListReviewedModels/ListReviewedModelsUseCase.js.map +1 -0
- package/features/review/ListReviewedModels/abstractions.d.ts +21 -0
- package/features/review/ListReviewedModels/abstractions.js +5 -0
- package/features/review/ListReviewedModels/abstractions.js.map +1 -0
- package/features/review/ListReviewedModels/feature.d.ts +4 -0
- package/features/review/ListReviewedModels/feature.js +11 -0
- package/features/review/ListReviewedModels/feature.js.map +1 -0
- package/features/review/ListReviewedModels/index.d.ts +1 -0
- package/features/review/ListReviewedModels/index.js +1 -0
- package/features/review/ListReviews/DefaultReviewListLimits.d.ts +9 -0
- package/features/review/ListReviews/DefaultReviewListLimits.js +15 -0
- package/features/review/ListReviews/DefaultReviewListLimits.js.map +1 -0
- package/features/review/ListReviews/ListReviewsUseCase.d.ts +13 -0
- package/features/review/ListReviews/ListReviewsUseCase.js +127 -0
- package/features/review/ListReviews/ListReviewsUseCase.js.map +1 -0
- package/features/review/ListReviews/ReviewListLimits.d.ts +14 -0
- package/features/review/ListReviews/ReviewListLimits.js +5 -0
- package/features/review/ListReviews/ReviewListLimits.js.map +1 -0
- package/features/review/ListReviews/abstractions.d.ts +51 -0
- package/features/review/ListReviews/abstractions.js +5 -0
- package/features/review/ListReviews/abstractions.js.map +1 -0
- package/features/review/ListReviews/createReviewListWhere.d.ts +9 -0
- package/features/review/ListReviews/createReviewListWhere.js +55 -0
- package/features/review/ListReviews/createReviewListWhere.js.map +1 -0
- package/features/review/ListReviews/feature.d.ts +4 -0
- package/features/review/ListReviews/feature.js +13 -0
- package/features/review/ListReviews/feature.js.map +1 -0
- package/features/review/ListReviews/index.d.ts +1 -0
- package/features/review/ListReviews/index.js +1 -0
- package/features/review/ListReviews/reviewListCursor.d.ts +14 -0
- package/features/review/ListReviews/reviewListCursor.js +29 -0
- package/features/review/ListReviews/reviewListCursor.js.map +1 -0
- package/features/review/ListReviewsByTargets/ListReviewsByTargetsUseCase.d.ts +11 -0
- package/features/review/ListReviewsByTargets/ListReviewsByTargetsUseCase.js +23 -0
- package/features/review/ListReviewsByTargets/ListReviewsByTargetsUseCase.js.map +1 -0
- package/features/review/ListReviewsByTargets/abstractions.d.ts +32 -0
- package/features/review/ListReviewsByTargets/abstractions.js +5 -0
- package/features/review/ListReviewsByTargets/abstractions.js.map +1 -0
- package/features/review/ListReviewsByTargets/feature.d.ts +4 -0
- package/features/review/ListReviewsByTargets/feature.js +11 -0
- package/features/review/ListReviewsByTargets/feature.js.map +1 -0
- package/features/review/ListReviewsByTargets/index.d.ts +1 -0
- package/features/review/ListReviewsByTargets/index.js +1 -0
- package/features/review/ListTargetReviews/ListTargetReviewsUseCase.d.ts +11 -0
- package/features/review/ListTargetReviews/ListTargetReviewsUseCase.js +24 -0
- package/features/review/ListTargetReviews/ListTargetReviewsUseCase.js.map +1 -0
- package/features/review/ListTargetReviews/abstractions.d.ts +33 -0
- package/features/review/ListTargetReviews/abstractions.js +5 -0
- package/features/review/ListTargetReviews/abstractions.js.map +1 -0
- package/features/review/ListTargetReviews/feature.d.ts +4 -0
- package/features/review/ListTargetReviews/feature.js +11 -0
- package/features/review/ListTargetReviews/feature.js.map +1 -0
- package/features/review/ListTargetReviews/index.d.ts +1 -0
- package/features/review/ListTargetReviews/index.js +1 -0
- package/features/review/ReassignReviewStep/ReassignReviewStepUseCase.d.ts +15 -0
- package/features/review/ReassignReviewStep/ReassignReviewStepUseCase.js +80 -0
- package/features/review/ReassignReviewStep/ReassignReviewStepUseCase.js.map +1 -0
- package/features/review/ReassignReviewStep/abstractions.d.ts +43 -0
- package/features/review/ReassignReviewStep/abstractions.js +5 -0
- package/features/review/ReassignReviewStep/abstractions.js.map +1 -0
- package/features/review/ReassignReviewStep/events.d.ts +16 -0
- package/features/review/ReassignReviewStep/events.js +14 -0
- package/features/review/ReassignReviewStep/events.js.map +1 -0
- package/features/review/ReassignReviewStep/feature.d.ts +4 -0
- package/features/review/ReassignReviewStep/feature.js +11 -0
- package/features/review/ReassignReviewStep/feature.js.map +1 -0
- package/features/review/ReassignReviewStep/index.d.ts +2 -0
- package/features/review/ReassignReviewStep/index.js +2 -0
- package/features/review/RejectReviewStep/RejectReviewStepUseCase.d.ts +13 -0
- package/features/review/RejectReviewStep/RejectReviewStepUseCase.js +36 -0
- package/features/review/RejectReviewStep/RejectReviewStepUseCase.js.map +1 -0
- package/features/review/RejectReviewStep/abstractions.d.ts +27 -0
- package/features/review/RejectReviewStep/abstractions.js +5 -0
- package/features/review/RejectReviewStep/abstractions.js.map +1 -0
- package/features/review/RejectReviewStep/events.d.ts +17 -0
- package/features/review/RejectReviewStep/events.js +14 -0
- package/features/review/RejectReviewStep/events.js.map +1 -0
- package/features/review/RejectReviewStep/feature.d.ts +4 -0
- package/features/review/RejectReviewStep/feature.js +11 -0
- package/features/review/RejectReviewStep/feature.js.map +1 -0
- package/features/review/RejectReviewStep/index.d.ts +3 -0
- package/features/review/RejectReviewStep/index.js +2 -0
- package/features/review/RequestReview/RequestReviewUseCase.d.ts +19 -0
- package/features/review/RequestReview/RequestReviewUseCase.js +96 -0
- package/features/review/RequestReview/RequestReviewUseCase.js.map +1 -0
- package/features/review/RequestReview/abstractions.d.ts +43 -0
- package/features/review/RequestReview/abstractions.js +5 -0
- package/features/review/RequestReview/abstractions.js.map +1 -0
- package/features/review/RequestReview/events.d.ts +16 -0
- package/features/review/RequestReview/events.js +14 -0
- package/features/review/RequestReview/events.js.map +1 -0
- package/features/review/RequestReview/feature.d.ts +4 -0
- package/features/review/RequestReview/feature.js +11 -0
- package/features/review/RequestReview/feature.js.map +1 -0
- package/features/review/RequestReview/index.d.ts +2 -0
- package/features/review/RequestReview/index.js +2 -0
- package/features/review/RestartReviewStep/RestartReviewStepUseCase.d.ts +15 -0
- package/features/review/RestartReviewStep/RestartReviewStepUseCase.js +43 -0
- package/features/review/RestartReviewStep/RestartReviewStepUseCase.js.map +1 -0
- package/features/review/RestartReviewStep/abstractions.d.ts +36 -0
- package/features/review/RestartReviewStep/abstractions.js +5 -0
- package/features/review/RestartReviewStep/abstractions.js.map +1 -0
- package/features/review/RestartReviewStep/events.d.ts +17 -0
- package/features/review/RestartReviewStep/events.js +14 -0
- package/features/review/RestartReviewStep/events.js.map +1 -0
- package/features/review/RestartReviewStep/feature.d.ts +4 -0
- package/features/review/RestartReviewStep/feature.js +11 -0
- package/features/review/RestartReviewStep/feature.js.map +1 -0
- package/features/review/RestartReviewStep/index.d.ts +2 -0
- package/features/review/RestartReviewStep/index.js +2 -0
- package/features/review/ReviewLifecycleFeature.d.ts +13 -0
- package/features/review/ReviewLifecycleFeature.js +21 -0
- package/features/review/ReviewLifecycleFeature.js.map +1 -0
- package/features/review/ReviewSaver/ReviewSaver.d.ts +23 -0
- package/features/review/ReviewSaver/ReviewSaver.js +170 -0
- package/features/review/ReviewSaver/ReviewSaver.js.map +1 -0
- package/features/review/ReviewSaver/abstractions.d.ts +21 -0
- package/features/review/ReviewSaver/abstractions.js +5 -0
- package/features/review/ReviewSaver/abstractions.js.map +1 -0
- package/features/review/ReviewStepReacher/ReviewStepReacher.d.ts +12 -0
- package/features/review/ReviewStepReacher/ReviewStepReacher.js +45 -0
- package/features/review/ReviewStepReacher/ReviewStepReacher.js.map +1 -0
- package/features/review/ReviewStepReacher/abstractions.d.ts +28 -0
- package/features/review/ReviewStepReacher/abstractions.js +5 -0
- package/features/review/ReviewStepReacher/abstractions.js.map +1 -0
- package/features/review/ReviewStepReacher/events.d.ts +16 -0
- package/features/review/ReviewStepReacher/events.js +14 -0
- package/features/review/ReviewStepReacher/events.js.map +1 -0
- package/features/review/ReviewTargetEditor/abstractions.d.ts +61 -0
- package/features/review/ReviewTargetEditor/abstractions.js +5 -0
- package/features/review/ReviewTargetEditor/abstractions.js.map +1 -0
- package/features/review/ReviewTargetEditor/index.d.ts +2 -0
- package/features/review/ReviewTargetEditor/index.js +1 -0
- package/features/review/ReviewTargetEditorService/ReviewTargetEditorService.d.ts +14 -0
- package/features/review/ReviewTargetEditorService/ReviewTargetEditorService.js +37 -0
- package/features/review/ReviewTargetEditorService/ReviewTargetEditorService.js.map +1 -0
- package/features/review/ReviewTargetEditorService/abstractions.d.ts +17 -0
- package/features/review/ReviewTargetEditorService/abstractions.js +5 -0
- package/features/review/ReviewTargetEditorService/abstractions.js.map +1 -0
- package/features/review/ReviewTargetEditorService/index.d.ts +1 -0
- package/features/review/ReviewTargetEditorService/index.js +1 -0
- package/features/review/ReviewTargetFolderChain/abstractions.d.ts +26 -0
- package/features/review/ReviewTargetFolderChain/abstractions.js +5 -0
- package/features/review/ReviewTargetFolderChain/abstractions.js.map +1 -0
- package/features/review/ReviewTargetFolderChain/index.d.ts +1 -0
- package/features/review/ReviewTargetFolderChain/index.js +1 -0
- package/features/review/ReviewTargetFolderChangeGuard/ReviewTargetFolderChangeGuard.d.ts +13 -0
- package/features/review/ReviewTargetFolderChangeGuard/ReviewTargetFolderChangeGuard.js +43 -0
- package/features/review/ReviewTargetFolderChangeGuard/ReviewTargetFolderChangeGuard.js.map +1 -0
- package/features/review/ReviewTargetFolderChangeGuard/abstractions.d.ts +35 -0
- package/features/review/ReviewTargetFolderChangeGuard/abstractions.js +5 -0
- package/features/review/ReviewTargetFolderChangeGuard/abstractions.js.map +1 -0
- package/features/review/ReviewTargetFolderChangeGuard/index.d.ts +1 -0
- package/features/review/ReviewTargetFolderChangeGuard/index.js +1 -0
- package/features/review/ReviewTargetLoader/abstractions.d.ts +26 -0
- package/features/review/ReviewTargetLoader/abstractions.js +5 -0
- package/features/review/ReviewTargetLoader/abstractions.js.map +1 -0
- package/features/review/ReviewTargetLoader/index.d.ts +2 -0
- package/features/review/ReviewTargetLoader/index.js +1 -0
- package/features/review/ReviewTargetReadAccess/abstractions.d.ts +56 -0
- package/features/review/ReviewTargetReadAccess/abstractions.js +5 -0
- package/features/review/ReviewTargetReadAccess/abstractions.js.map +1 -0
- package/features/review/ReviewTargetReadAccess/index.d.ts +1 -0
- package/features/review/ReviewTargetReadAccess/index.js +1 -0
- package/features/review/ReviewTargetSync/abstractions.d.ts +26 -0
- package/features/review/ReviewTargetSync/abstractions.js +5 -0
- package/features/review/ReviewTargetSync/abstractions.js.map +1 -0
- package/features/review/ReviewTargetSync/index.d.ts +1 -0
- package/features/review/ReviewTargetSync/index.js +1 -0
- package/features/review/ReviewTargetUpdateGuard/ReviewTargetUpdateGuard.d.ts +15 -0
- package/features/review/ReviewTargetUpdateGuard/ReviewTargetUpdateGuard.js +45 -0
- package/features/review/ReviewTargetUpdateGuard/ReviewTargetUpdateGuard.js.map +1 -0
- package/features/review/ReviewTargetUpdateGuard/abstractions.d.ts +34 -0
- package/features/review/ReviewTargetUpdateGuard/abstractions.js +5 -0
- package/features/review/ReviewTargetUpdateGuard/abstractions.js.map +1 -0
- package/features/review/ReviewTargetUpdateGuard/index.d.ts +1 -0
- package/features/review/ReviewTargetUpdateGuard/index.js +1 -0
- package/features/review/StartReviewStep/StartReviewStepUseCase.d.ts +13 -0
- package/features/review/StartReviewStep/StartReviewStepUseCase.js +34 -0
- package/features/review/StartReviewStep/StartReviewStepUseCase.js.map +1 -0
- package/features/review/StartReviewStep/abstractions.d.ts +27 -0
- package/features/review/StartReviewStep/abstractions.js +5 -0
- package/features/review/StartReviewStep/abstractions.js.map +1 -0
- package/features/review/StartReviewStep/events.d.ts +16 -0
- package/features/review/StartReviewStep/events.js +14 -0
- package/features/review/StartReviewStep/events.js.map +1 -0
- package/features/review/StartReviewStep/feature.d.ts +4 -0
- package/features/review/StartReviewStep/feature.js +11 -0
- package/features/review/StartReviewStep/feature.js.map +1 -0
- package/features/review/StartReviewStep/index.d.ts +3 -0
- package/features/review/StartReviewStep/index.js +2 -0
- package/features/review/StepAssignmentResolver/RoutingStepAssignmentResolver.d.ts +20 -0
- package/features/review/StepAssignmentResolver/RoutingStepAssignmentResolver.js +86 -0
- package/features/review/StepAssignmentResolver/RoutingStepAssignmentResolver.js.map +1 -0
- package/features/review/StepAssignmentResolver/abstractions.d.ts +30 -0
- package/features/review/StepAssignmentResolver/abstractions.js +5 -0
- package/features/review/StepAssignmentResolver/abstractions.js.map +1 -0
- package/features/review/StepAssignmentResolver/index.d.ts +1 -0
- package/features/review/StepAssignmentResolver/index.js +1 -0
- package/features/review/TakeOverReviewStep/TakeOverReviewStepUseCase.d.ts +13 -0
- package/features/review/TakeOverReviewStep/TakeOverReviewStepUseCase.js +35 -0
- package/features/review/TakeOverReviewStep/TakeOverReviewStepUseCase.js.map +1 -0
- package/features/review/TakeOverReviewStep/abstractions.d.ts +33 -0
- package/features/review/TakeOverReviewStep/abstractions.js +5 -0
- package/features/review/TakeOverReviewStep/abstractions.js.map +1 -0
- package/features/review/TakeOverReviewStep/events.d.ts +16 -0
- package/features/review/TakeOverReviewStep/events.js +14 -0
- package/features/review/TakeOverReviewStep/events.js.map +1 -0
- package/features/review/TakeOverReviewStep/feature.d.ts +4 -0
- package/features/review/TakeOverReviewStep/feature.js +11 -0
- package/features/review/TakeOverReviewStep/feature.js.map +1 -0
- package/features/review/TakeOverReviewStep/index.d.ts +3 -0
- package/features/review/TakeOverReviewStep/index.js +2 -0
- package/features/review/shared/ReviewEntryMapper.d.ts +83 -0
- package/features/review/shared/ReviewEntryMapper.js +191 -0
- package/features/review/shared/ReviewEntryMapper.js.map +1 -0
- package/features/review/shared/ReviewModelProvider.d.ts +13 -0
- package/features/review/shared/ReviewModelProvider.js +22 -0
- package/features/review/shared/ReviewModelProvider.js.map +1 -0
- package/features/review/shared/ReviewRepository.d.ts +52 -0
- package/features/review/shared/ReviewRepository.js +344 -0
- package/features/review/shared/ReviewRepository.js.map +1 -0
- package/features/review/shared/events.d.ts +38 -0
- package/features/review/shared/events.js +14 -0
- package/features/review/shared/events.js.map +1 -0
- package/features/review/shared/feature.d.ts +4 -0
- package/features/review/shared/feature.js +13 -0
- package/features/review/shared/feature.js.map +1 -0
- package/features/review/shared/types.d.ts +36 -0
- package/features/review/shared/types.js +0 -0
- package/features/routing/InspectRouting/InspectRoutingUseCase.d.ts +11 -0
- package/features/routing/InspectRouting/InspectRoutingUseCase.js +92 -0
- package/features/routing/InspectRouting/InspectRoutingUseCase.js.map +1 -0
- package/features/routing/InspectRouting/abstractions.d.ts +36 -0
- package/features/routing/InspectRouting/abstractions.js +5 -0
- package/features/routing/InspectRouting/abstractions.js.map +1 -0
- package/features/routing/InspectRouting/feature.d.ts +4 -0
- package/features/routing/InspectRouting/feature.js +11 -0
- package/features/routing/InspectRouting/feature.js.map +1 -0
- package/features/routing/InspectRouting/index.d.ts +3 -0
- package/features/routing/InspectRouting/index.js +1 -0
- package/features/routing/ListStepCandidates/ListStepCandidatesUseCase.d.ts +15 -0
- package/features/routing/ListStepCandidates/ListStepCandidatesUseCase.js +99 -0
- package/features/routing/ListStepCandidates/ListStepCandidatesUseCase.js.map +1 -0
- package/features/routing/ListStepCandidates/abstractions.d.ts +50 -0
- package/features/routing/ListStepCandidates/abstractions.js +5 -0
- package/features/routing/ListStepCandidates/abstractions.js.map +1 -0
- package/features/routing/ListStepCandidates/feature.d.ts +4 -0
- package/features/routing/ListStepCandidates/feature.js +11 -0
- package/features/routing/ListStepCandidates/feature.js.map +1 -0
- package/features/routing/ListStepCandidates/index.d.ts +3 -0
- package/features/routing/ListStepCandidates/index.js +1 -0
- package/features/routing/RoutingEvaluatorService/RoutingEvaluatorService.d.ts +33 -0
- package/features/routing/RoutingEvaluatorService/RoutingEvaluatorService.js +546 -0
- package/features/routing/RoutingEvaluatorService/RoutingEvaluatorService.js.map +1 -0
- package/features/routing/RoutingEvaluatorService/abstractions.d.ts +41 -0
- package/features/routing/RoutingEvaluatorService/abstractions.js +5 -0
- package/features/routing/RoutingEvaluatorService/abstractions.js.map +1 -0
- package/features/routing/RoutingEvaluatorService/feature.d.ts +4 -0
- package/features/routing/RoutingEvaluatorService/feature.js +11 -0
- package/features/routing/RoutingEvaluatorService/feature.js.map +1 -0
- package/features/routing/RoutingEvaluatorService/index.d.ts +1 -0
- package/features/routing/RoutingEvaluatorService/index.js +1 -0
- package/features/routing/RoutingStrategyService/RoutingStrategyService.d.ts +17 -0
- package/features/routing/RoutingStrategyService/RoutingStrategyService.js +101 -0
- package/features/routing/RoutingStrategyService/RoutingStrategyService.js.map +1 -0
- package/features/routing/RoutingStrategyService/abstractions.d.ts +34 -0
- package/features/routing/RoutingStrategyService/abstractions.js +5 -0
- package/features/routing/RoutingStrategyService/abstractions.js.map +1 -0
- package/features/routing/RoutingStrategyService/feature.d.ts +4 -0
- package/features/routing/RoutingStrategyService/feature.js +11 -0
- package/features/routing/RoutingStrategyService/feature.js.map +1 -0
- package/features/routing/RoutingStrategyService/index.d.ts +1 -0
- package/features/routing/RoutingStrategyService/index.js +1 -0
- package/features/settings/GetWorkflowSettings/GetWorkflowSettingsUseCase.d.ts +11 -0
- package/features/settings/GetWorkflowSettings/GetWorkflowSettingsUseCase.js +26 -0
- package/features/settings/GetWorkflowSettings/GetWorkflowSettingsUseCase.js.map +1 -0
- package/features/settings/GetWorkflowSettings/abstractions.d.ts +26 -0
- package/features/settings/GetWorkflowSettings/abstractions.js +5 -0
- package/features/settings/GetWorkflowSettings/abstractions.js.map +1 -0
- package/features/settings/GetWorkflowSettings/feature.d.ts +4 -0
- package/features/settings/GetWorkflowSettings/feature.js +11 -0
- package/features/settings/GetWorkflowSettings/feature.js.map +1 -0
- package/features/settings/GetWorkflowSettings/index.d.ts +3 -0
- package/features/settings/GetWorkflowSettings/index.js +1 -0
- package/features/settings/SaveWorkflowSettings/SaveWorkflowSettingsUseCase.d.ts +11 -0
- package/features/settings/SaveWorkflowSettings/SaveWorkflowSettingsUseCase.js +23 -0
- package/features/settings/SaveWorkflowSettings/SaveWorkflowSettingsUseCase.js.map +1 -0
- package/features/settings/SaveWorkflowSettings/abstractions.d.ts +23 -0
- package/features/settings/SaveWorkflowSettings/abstractions.js +5 -0
- package/features/settings/SaveWorkflowSettings/abstractions.js.map +1 -0
- package/features/settings/SaveWorkflowSettings/feature.d.ts +4 -0
- package/features/settings/SaveWorkflowSettings/feature.js +11 -0
- package/features/settings/SaveWorkflowSettings/feature.js.map +1 -0
- package/features/settings/SaveWorkflowSettings/index.d.ts +2 -0
- package/features/settings/SaveWorkflowSettings/index.js +1 -0
- package/features/settings/shared/WorkflowSettingsEntryMapper.d.ts +15 -0
- package/features/settings/shared/WorkflowSettingsEntryMapper.js +32 -0
- package/features/settings/shared/WorkflowSettingsEntryMapper.js.map +1 -0
- package/features/settings/shared/WorkflowSettingsModelProvider.d.ts +13 -0
- package/features/settings/shared/WorkflowSettingsModelProvider.js +22 -0
- package/features/settings/shared/WorkflowSettingsModelProvider.js.map +1 -0
- package/features/settings/shared/WorkflowSettingsRepository.d.ts +21 -0
- package/features/settings/shared/WorkflowSettingsRepository.js +65 -0
- package/features/settings/shared/WorkflowSettingsRepository.js.map +1 -0
- package/features/settings/shared/feature.d.ts +4 -0
- package/features/settings/shared/feature.js +13 -0
- package/features/settings/shared/feature.js.map +1 -0
- package/features/shared/ActorEntryMapper.d.ts +13 -0
- package/features/shared/ActorEntryMapper.js +24 -0
- package/features/shared/ActorEntryMapper.js.map +1 -0
- package/features/shared/toIsoString.d.ts +2 -0
- package/features/shared/toIsoString.js +8 -0
- package/features/shared/toIsoString.js.map +1 -0
- package/features/stepRun/AutomationStepRunner/AutomationStepRunner.d.ts +27 -0
- package/features/stepRun/AutomationStepRunner/AutomationStepRunner.js +96 -0
- package/features/stepRun/AutomationStepRunner/AutomationStepRunner.js.map +1 -0
- package/features/stepRun/AutomationStepRunner/feature.d.ts +4 -0
- package/features/stepRun/AutomationStepRunner/feature.js +11 -0
- package/features/stepRun/AutomationStepRunner/feature.js.map +1 -0
- package/features/stepRun/GetReviewStepRun/GetReviewStepRunUseCase.d.ts +13 -0
- package/features/stepRun/GetReviewStepRun/GetReviewStepRunUseCase.js +46 -0
- package/features/stepRun/GetReviewStepRun/GetReviewStepRunUseCase.js.map +1 -0
- package/features/stepRun/GetReviewStepRun/abstractions.d.ts +32 -0
- package/features/stepRun/GetReviewStepRun/abstractions.js +5 -0
- package/features/stepRun/GetReviewStepRun/abstractions.js.map +1 -0
- package/features/stepRun/GetReviewStepRun/feature.d.ts +4 -0
- package/features/stepRun/GetReviewStepRun/feature.js +11 -0
- package/features/stepRun/GetReviewStepRun/feature.js.map +1 -0
- package/features/stepRun/GetReviewStepRun/index.d.ts +1 -0
- package/features/stepRun/GetReviewStepRun/index.js +1 -0
- package/features/stepRun/GetReviewStepRun/toReviewStepRunInfo.d.ts +15 -0
- package/features/stepRun/GetReviewStepRun/toReviewStepRunInfo.js +52 -0
- package/features/stepRun/GetReviewStepRun/toReviewStepRunInfo.js.map +1 -0
- package/features/stepRun/ReviewTaskAbortService/ReviewTaskAbortService.d.ts +13 -0
- package/features/stepRun/ReviewTaskAbortService/ReviewTaskAbortService.js +41 -0
- package/features/stepRun/ReviewTaskAbortService/ReviewTaskAbortService.js.map +1 -0
- package/features/stepRun/ReviewTaskAbortService/abstractions.d.ts +20 -0
- package/features/stepRun/ReviewTaskAbortService/abstractions.js +5 -0
- package/features/stepRun/ReviewTaskAbortService/abstractions.js.map +1 -0
- package/features/stepRun/ReviewTaskAbortService/feature.d.ts +4 -0
- package/features/stepRun/ReviewTaskAbortService/feature.js +11 -0
- package/features/stepRun/ReviewTaskAbortService/feature.js.map +1 -0
- package/features/stepRun/ReviewTaskAbortService/index.d.ts +1 -0
- package/features/stepRun/ReviewTaskAbortService/index.js +1 -0
- package/features/stepRun/StepRunFailure.d.ts +8 -0
- package/features/stepRun/StepRunFailure.js +9 -0
- package/features/stepRun/StepRunFailure.js.map +1 -0
- package/features/stepRun/StepRunReachService/StepRunReachService.d.ts +18 -0
- package/features/stepRun/StepRunReachService/StepRunReachService.js +87 -0
- package/features/stepRun/StepRunReachService/StepRunReachService.js.map +1 -0
- package/features/stepRun/StepRunReachService/abstractions.d.ts +38 -0
- package/features/stepRun/StepRunReachService/abstractions.js +5 -0
- package/features/stepRun/StepRunReachService/abstractions.js.map +1 -0
- package/features/stepRun/StepRunReachService/feature.d.ts +4 -0
- package/features/stepRun/StepRunReachService/feature.js +11 -0
- package/features/stepRun/StepRunReachService/feature.js.map +1 -0
- package/features/stepRun/StepRunReachService/index.d.ts +1 -0
- package/features/stepRun/StepRunReachService/index.js +1 -0
- package/features/stepRun/StepRunStaleCheckService/StepRunStaleCheckService.d.ts +15 -0
- package/features/stepRun/StepRunStaleCheckService/StepRunStaleCheckService.js +47 -0
- package/features/stepRun/StepRunStaleCheckService/StepRunStaleCheckService.js.map +1 -0
- package/features/stepRun/StepRunStaleCheckService/abstractions.d.ts +29 -0
- package/features/stepRun/StepRunStaleCheckService/abstractions.js +5 -0
- package/features/stepRun/StepRunStaleCheckService/abstractions.js.map +1 -0
- package/features/stepRun/StepRunStaleCheckService/feature.d.ts +4 -0
- package/features/stepRun/StepRunStaleCheckService/feature.js +11 -0
- package/features/stepRun/StepRunStaleCheckService/feature.js.map +1 -0
- package/features/stepRun/StepRunStaleCheckService/index.d.ts +1 -0
- package/features/stepRun/StepRunStaleCheckService/index.js +1 -0
- package/features/stepRun/StepRunner/abstractions.d.ts +72 -0
- package/features/stepRun/StepRunner/abstractions.js +5 -0
- package/features/stepRun/StepRunner/abstractions.js.map +1 -0
- package/features/stepRun/StepRunner/index.d.ts +1 -0
- package/features/stepRun/StepRunner/index.js +1 -0
- package/features/stepRun/StepRunnerRegistryService/StepRunnerRegistryService.d.ts +11 -0
- package/features/stepRun/StepRunnerRegistryService/StepRunnerRegistryService.js +25 -0
- package/features/stepRun/StepRunnerRegistryService/StepRunnerRegistryService.js.map +1 -0
- package/features/stepRun/StepRunnerRegistryService/abstractions.d.ts +13 -0
- package/features/stepRun/StepRunnerRegistryService/abstractions.js +5 -0
- package/features/stepRun/StepRunnerRegistryService/abstractions.js.map +1 -0
- package/features/stepRun/StepRunnerRegistryService/feature.d.ts +4 -0
- package/features/stepRun/StepRunnerRegistryService/feature.js +11 -0
- package/features/stepRun/StepRunnerRegistryService/feature.js.map +1 -0
- package/features/stepRun/StepRunnerRegistryService/index.d.ts +1 -0
- package/features/stepRun/StepRunnerRegistryService/index.js +1 -0
- package/features/stepRun/StuckStepService/StuckStepService.d.ts +20 -0
- package/features/stepRun/StuckStepService/StuckStepService.js +142 -0
- package/features/stepRun/StuckStepService/StuckStepService.js.map +1 -0
- package/features/stepRun/StuckStepService/abstractions.d.ts +21 -0
- package/features/stepRun/StuckStepService/abstractions.js +5 -0
- package/features/stepRun/StuckStepService/abstractions.js.map +1 -0
- package/features/stepRun/StuckStepService/feature.d.ts +4 -0
- package/features/stepRun/StuckStepService/feature.js +11 -0
- package/features/stepRun/StuckStepService/feature.js.map +1 -0
- package/features/stepRun/StuckStepService/index.d.ts +1 -0
- package/features/stepRun/StuckStepService/index.js +1 -0
- package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskDefinition.d.ts +27 -0
- package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskDefinition.js +20 -0
- package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskDefinition.js.map +1 -0
- package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskHandler.d.ts +43 -0
- package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskHandler.js +452 -0
- package/features/stepRun/WorkflowStepRunTask/WorkflowStepRunTaskHandler.js.map +1 -0
- package/features/stepRun/WorkflowStepRunTask/feature.d.ts +4 -0
- package/features/stepRun/WorkflowStepRunTask/feature.js +11 -0
- package/features/stepRun/WorkflowStepRunTask/feature.js.map +1 -0
- package/features/stepRun/WorkflowStepRunTask/index.d.ts +2 -0
- package/features/stepRun/WorkflowStepRunTask/index.js +2 -0
- package/features/stepRun/WorkflowStepRunTask/toStepRunTaskError.d.ts +10 -0
- package/features/stepRun/WorkflowStepRunTask/toStepRunTaskError.js +7 -0
- package/features/stepRun/WorkflowStepRunTask/toStepRunTaskError.js.map +1 -0
- package/features/stepRun/constants.d.ts +47 -0
- package/features/stepRun/constants.js +16 -0
- package/features/stepRun/constants.js.map +1 -0
- package/features/stepRun/types.d.ts +8 -0
- package/features/stepRun/types.js +0 -0
- package/features/stepTypes/AutomationStepType/AutomationStepType.d.ts +40 -0
- package/features/stepTypes/AutomationStepType/AutomationStepType.js +89 -0
- package/features/stepTypes/AutomationStepType/AutomationStepType.js.map +1 -0
- package/features/stepTypes/ReviewStepType/ReviewStepType.d.ts +86 -0
- package/features/stepTypes/ReviewStepType/ReviewStepType.js +78 -0
- package/features/stepTypes/ReviewStepType/ReviewStepType.js.map +1 -0
- package/features/stepTypes/StepType/abstractions.d.ts +67 -0
- package/features/stepTypes/StepType/abstractions.js +5 -0
- package/features/stepTypes/StepType/abstractions.js.map +1 -0
- package/features/stepTypes/StepType/index.d.ts +1 -0
- package/features/stepTypes/StepType/index.js +1 -0
- package/features/stepTypes/StepTypeRegistryService/StepTypeRegistryService.d.ts +12 -0
- package/features/stepTypes/StepTypeRegistryService/StepTypeRegistryService.js +30 -0
- package/features/stepTypes/StepTypeRegistryService/StepTypeRegistryService.js.map +1 -0
- package/features/stepTypes/StepTypeRegistryService/abstractions.d.ts +12 -0
- package/features/stepTypes/StepTypeRegistryService/abstractions.js +5 -0
- package/features/stepTypes/StepTypeRegistryService/abstractions.js.map +1 -0
- package/features/stepTypes/StepTypeRegistryService/index.d.ts +1 -0
- package/features/stepTypes/StepTypeRegistryService/index.js +1 -0
- package/features/stepTypes/feature.d.ts +5 -0
- package/features/stepTypes/feature.js +15 -0
- package/features/stepTypes/feature.js.map +1 -0
- package/features/workflow/DeleteWorkflow/DeleteWorkflowUseCase.d.ts +7 -9
- package/features/workflow/DeleteWorkflow/DeleteWorkflowUseCase.js +26 -31
- package/features/workflow/DeleteWorkflow/DeleteWorkflowUseCase.js.map +1 -1
- package/features/workflow/DeleteWorkflow/abstractions.d.ts +17 -37
- package/features/workflow/DeleteWorkflow/abstractions.js +1 -2
- package/features/workflow/DeleteWorkflow/abstractions.js.map +1 -1
- package/features/workflow/DeleteWorkflow/events.d.ts +27 -7
- package/features/workflow/DeleteWorkflow/events.js +7 -7
- package/features/workflow/DeleteWorkflow/events.js.map +1 -1
- package/features/workflow/DeleteWorkflow/feature.js +0 -2
- package/features/workflow/DeleteWorkflow/feature.js.map +1 -1
- package/features/workflow/DeleteWorkflow/index.d.ts +4 -4
- package/features/workflow/DeleteWorkflow/index.js +2 -3
- package/features/workflow/GetBoundWorkflow/GetBoundWorkflowUseCase.d.ts +11 -0
- package/features/workflow/GetBoundWorkflow/GetBoundWorkflowUseCase.js +29 -0
- package/features/workflow/GetBoundWorkflow/GetBoundWorkflowUseCase.js.map +1 -0
- package/features/workflow/GetBoundWorkflow/abstractions.d.ts +30 -0
- package/features/workflow/GetBoundWorkflow/abstractions.js +5 -0
- package/features/workflow/GetBoundWorkflow/abstractions.js.map +1 -0
- package/features/workflow/GetBoundWorkflow/feature.d.ts +4 -0
- package/features/workflow/GetBoundWorkflow/feature.js +11 -0
- package/features/workflow/GetBoundWorkflow/feature.js.map +1 -0
- package/features/workflow/GetBoundWorkflow/index.d.ts +2 -0
- package/features/workflow/GetBoundWorkflow/index.js +1 -0
- package/features/workflow/GetWorkflow/GetWorkflowUseCase.d.ts +5 -7
- package/features/workflow/GetWorkflow/GetWorkflowUseCase.js +5 -18
- package/features/workflow/GetWorkflow/GetWorkflowUseCase.js.map +1 -1
- package/features/workflow/GetWorkflow/abstractions.d.ts +10 -32
- package/features/workflow/GetWorkflow/abstractions.js +1 -2
- package/features/workflow/GetWorkflow/abstractions.js.map +1 -1
- package/features/workflow/GetWorkflow/feature.js +0 -2
- package/features/workflow/GetWorkflow/feature.js.map +1 -1
- package/features/workflow/GetWorkflow/index.d.ts +2 -1
- package/features/workflow/GetWorkflow/index.js +1 -1
- package/features/workflow/ListWorkflows/ListWorkflowsUseCase.d.ts +5 -4
- package/features/workflow/ListWorkflows/ListWorkflowsUseCase.js +9 -7
- package/features/workflow/ListWorkflows/ListWorkflowsUseCase.js.map +1 -1
- package/features/workflow/ListWorkflows/abstractions.d.ts +18 -45
- package/features/workflow/ListWorkflows/abstractions.js +1 -2
- package/features/workflow/ListWorkflows/abstractions.js.map +1 -1
- package/features/workflow/ListWorkflows/feature.js +0 -2
- package/features/workflow/ListWorkflows/feature.js.map +1 -1
- package/features/workflow/ListWorkflows/index.d.ts +2 -1
- package/features/workflow/ListWorkflows/index.js +1 -1
- package/features/workflow/ReadableBlockingReviews/ReadableBlockingReviewsService.d.ts +8 -0
- package/features/workflow/ReadableBlockingReviews/ReadableBlockingReviewsService.js +23 -0
- package/features/workflow/ReadableBlockingReviews/ReadableBlockingReviewsService.js.map +1 -0
- package/features/workflow/ReadableBlockingReviews/abstractions.d.ts +26 -0
- package/features/workflow/ReadableBlockingReviews/abstractions.js +7 -0
- package/features/workflow/ReadableBlockingReviews/abstractions.js.map +1 -0
- package/features/workflow/ReadableBlockingReviews/feature.d.ts +4 -0
- package/features/workflow/ReadableBlockingReviews/feature.js +11 -0
- package/features/workflow/ReadableBlockingReviews/feature.js.map +1 -0
- package/features/workflow/ReadableBlockingReviews/index.d.ts +1 -0
- package/features/workflow/ReadableBlockingReviews/index.js +1 -0
- package/features/workflow/StoreWorkflow/StoreWorkflowUseCase.d.ts +17 -7
- package/features/workflow/StoreWorkflow/StoreWorkflowUseCase.js +195 -18
- package/features/workflow/StoreWorkflow/StoreWorkflowUseCase.js.map +1 -1
- package/features/workflow/StoreWorkflow/abstractions.d.ts +24 -20
- package/features/workflow/StoreWorkflow/abstractions.js.map +1 -1
- package/features/workflow/StoreWorkflow/events.d.ts +75 -0
- package/features/workflow/StoreWorkflow/events.js +41 -0
- package/features/workflow/StoreWorkflow/events.js.map +1 -0
- package/features/workflow/StoreWorkflow/feature.js +0 -4
- package/features/workflow/StoreWorkflow/feature.js.map +1 -1
- package/features/workflow/StoreWorkflow/index.d.ts +3 -2
- package/features/workflow/StoreWorkflow/index.js +1 -1
- package/features/workflow/shared/WorkflowEntryMapper.d.ts +22 -0
- package/features/workflow/shared/WorkflowEntryMapper.js +58 -0
- package/features/workflow/shared/WorkflowEntryMapper.js.map +1 -0
- package/features/workflow/shared/WorkflowModelProvider.d.ts +17 -0
- package/features/workflow/shared/WorkflowModelProvider.js +22 -0
- package/features/workflow/shared/WorkflowModelProvider.js.map +1 -0
- package/features/workflow/shared/WorkflowRepository.d.ts +28 -0
- package/features/workflow/shared/WorkflowRepository.js +120 -0
- package/features/workflow/shared/WorkflowRepository.js.map +1 -0
- package/features/workflow/shared/feature.d.ts +4 -0
- package/features/workflow/shared/feature.js +13 -0
- package/features/workflow/shared/feature.js.map +1 -0
- package/graphql/WorkflowsSchemaFactory.d.ts +15 -0
- package/graphql/WorkflowsSchemaFactory.js +745 -0
- package/graphql/WorkflowsSchemaFactory.js.map +1 -0
- package/package.json +20 -16
- package/types.d.ts +6 -17
- package/WorkflowsSchemaFactory.d.ts +0 -9
- package/WorkflowsSchemaFactory.js +0 -23
- package/WorkflowsSchemaFactory.js.map +0 -1
- package/domain/notifications/abstractions.d.ts +0 -64
- package/domain/notifications/abstractions.js +0 -11
- package/domain/notifications/abstractions.js.map +0 -1
- package/domain/notifications/errors.d.ts +0 -5
- package/domain/notifications/errors.js +0 -11
- package/domain/notifications/errors.js.map +0 -1
- package/domain/workflow/WorkflowMapper.d.ts +0 -12
- package/domain/workflow/WorkflowMapper.js +0 -28
- package/domain/workflow/WorkflowMapper.js.map +0 -1
- package/domain/workflow/abstractions.d.ts +0 -47
- package/domain/workflow/abstractions.js +0 -6
- package/domain/workflow/abstractions.js.map +0 -1
- package/domain/workflow/workflowModel.d.ts +0 -9
- package/domain/workflow/workflowModel.js +0 -35
- package/domain/workflow/workflowModel.js.map +0 -1
- package/domain/workflowState/WorkflowState.d.ts +0 -56
- package/domain/workflowState/WorkflowState.js +0 -227
- package/domain/workflowState/WorkflowState.js.map +0 -1
- package/domain/workflowState/WorkflowStateMapper.d.ts +0 -9
- package/domain/workflowState/WorkflowStateMapper.js +0 -43
- package/domain/workflowState/WorkflowStateMapper.js.map +0 -1
- package/domain/workflowState/abstractions.d.ts +0 -88
- package/domain/workflowState/abstractions.js +0 -13
- package/domain/workflowState/abstractions.js.map +0 -1
- package/domain/workflowState/errors.d.ts +0 -86
- package/domain/workflowState/errors.js +0 -126
- package/domain/workflowState/errors.js.map +0 -1
- package/domain/workflowState/guards/canReview.d.ts +0 -2
- package/domain/workflowState/guards/canReview.js +0 -4
- package/domain/workflowState/guards/canReview.js.map +0 -1
- package/domain/workflowState/guards/canTakeOver.d.ts +0 -2
- package/domain/workflowState/guards/canTakeOver.js +0 -4
- package/domain/workflowState/guards/canTakeOver.js.map +0 -1
- package/domain/workflowState/guards/isInReview.d.ts +0 -2
- package/domain/workflowState/guards/isInReview.js +0 -5
- package/domain/workflowState/guards/isInReview.js.map +0 -1
- package/domain/workflowState/guards/isRejected.d.ts +0 -2
- package/domain/workflowState/guards/isRejected.js +0 -5
- package/domain/workflowState/guards/isRejected.js.map +0 -1
- package/domain/workflowState/guards/isStepOwner.d.ts +0 -2
- package/domain/workflowState/guards/isStepOwner.js +0 -4
- package/domain/workflowState/guards/isStepOwner.js.map +0 -1
- package/domain/workflowState/stateModel.d.ts +0 -9
- package/domain/workflowState/stateModel.js +0 -68
- package/domain/workflowState/stateModel.js.map +0 -1
- package/features/WorkflowModelProviders.d.ts +0 -34
- package/features/WorkflowModelProviders.js +0 -40
- package/features/WorkflowModelProviders.js.map +0 -1
- package/features/internal/GetUserTeams/GetUserTeamsUseCase.d.ts +0 -12
- package/features/internal/GetUserTeams/GetUserTeamsUseCase.js +0 -29
- package/features/internal/GetUserTeams/GetUserTeamsUseCase.js.map +0 -1
- package/features/internal/GetUserTeams/abstractions.d.ts +0 -10
- package/features/internal/GetUserTeams/abstractions.js +0 -5
- package/features/internal/GetUserTeams/abstractions.js.map +0 -1
- package/features/internal/GetUserTeams/feature.d.ts +0 -4
- package/features/internal/GetUserTeams/feature.js +0 -11
- package/features/internal/GetUserTeams/feature.js.map +0 -1
- package/features/internal/GetUserTeams/index.d.ts +0 -1
- package/features/internal/GetUserTeams/index.js +0 -1
- package/features/notifications/ListNotificationTypes/ListNotificationTypesRepository.d.ts +0 -11
- package/features/notifications/ListNotificationTypes/ListNotificationTypesRepository.js +0 -28
- package/features/notifications/ListNotificationTypes/ListNotificationTypesRepository.js.map +0 -1
- package/features/notifications/ListNotificationTypes/ListNotificationTypesUseCase.d.ts +0 -13
- package/features/notifications/ListNotificationTypes/ListNotificationTypesUseCase.js +0 -34
- package/features/notifications/ListNotificationTypes/ListNotificationTypesUseCase.js.map +0 -1
- package/features/notifications/ListNotificationTypes/abstractions.d.ts +0 -31
- package/features/notifications/ListNotificationTypes/abstractions.js +0 -6
- package/features/notifications/ListNotificationTypes/abstractions.js.map +0 -1
- package/features/notifications/ListNotificationTypes/feature.d.ts +0 -4
- package/features/notifications/ListNotificationTypes/feature.js +0 -13
- package/features/notifications/ListNotificationTypes/feature.js.map +0 -1
- package/features/notifications/ListNotificationTypes/index.d.ts +0 -3
- package/features/notifications/ListNotificationTypes/index.js +0 -2
- package/features/shared/abstractions.d.ts +0 -21
- package/features/workflow/CreateWorkflow/CreateWorkflowRepository.d.ts +0 -14
- package/features/workflow/CreateWorkflow/CreateWorkflowRepository.js +0 -47
- package/features/workflow/CreateWorkflow/CreateWorkflowRepository.js.map +0 -1
- package/features/workflow/CreateWorkflow/CreateWorkflowUseCase.d.ts +0 -15
- package/features/workflow/CreateWorkflow/CreateWorkflowUseCase.js +0 -52
- package/features/workflow/CreateWorkflow/CreateWorkflowUseCase.js.map +0 -1
- package/features/workflow/CreateWorkflow/abstractions.d.ts +0 -56
- package/features/workflow/CreateWorkflow/abstractions.js +0 -6
- package/features/workflow/CreateWorkflow/abstractions.js.map +0 -1
- package/features/workflow/CreateWorkflow/events.d.ts +0 -21
- package/features/workflow/CreateWorkflow/events.js +0 -23
- package/features/workflow/CreateWorkflow/events.js.map +0 -1
- package/features/workflow/CreateWorkflow/feature.d.ts +0 -4
- package/features/workflow/CreateWorkflow/feature.js +0 -13
- package/features/workflow/CreateWorkflow/feature.js.map +0 -1
- package/features/workflow/CreateWorkflow/index.d.ts +0 -4
- package/features/workflow/CreateWorkflow/index.js +0 -3
- package/features/workflow/DeleteWorkflow/DeleteWorkflowRepository.d.ts +0 -13
- package/features/workflow/DeleteWorkflow/DeleteWorkflowRepository.js +0 -36
- package/features/workflow/DeleteWorkflow/DeleteWorkflowRepository.js.map +0 -1
- package/features/workflow/GetWorkflow/GetWorkflowRepository.d.ts +0 -14
- package/features/workflow/GetWorkflow/GetWorkflowRepository.js +0 -46
- package/features/workflow/GetWorkflow/GetWorkflowRepository.js.map +0 -1
- package/features/workflow/ListWorkflows/ListWorkflowsRepository.d.ts +0 -18
- package/features/workflow/ListWorkflows/ListWorkflowsRepository.js +0 -63
- package/features/workflow/ListWorkflows/ListWorkflowsRepository.js.map +0 -1
- package/features/workflow/UpdateWorkflow/UpdateWorkflowRepository.d.ts +0 -15
- package/features/workflow/UpdateWorkflow/UpdateWorkflowRepository.js +0 -51
- package/features/workflow/UpdateWorkflow/UpdateWorkflowRepository.js.map +0 -1
- package/features/workflow/UpdateWorkflow/UpdateWorkflowUseCase.d.ts +0 -15
- package/features/workflow/UpdateWorkflow/UpdateWorkflowUseCase.js +0 -54
- package/features/workflow/UpdateWorkflow/UpdateWorkflowUseCase.js.map +0 -1
- package/features/workflow/UpdateWorkflow/abstractions.d.ts +0 -57
- package/features/workflow/UpdateWorkflow/abstractions.js +0 -6
- package/features/workflow/UpdateWorkflow/abstractions.js.map +0 -1
- package/features/workflow/UpdateWorkflow/events.d.ts +0 -21
- package/features/workflow/UpdateWorkflow/events.js +0 -23
- package/features/workflow/UpdateWorkflow/events.js.map +0 -1
- package/features/workflow/UpdateWorkflow/feature.d.ts +0 -4
- package/features/workflow/UpdateWorkflow/feature.js +0 -13
- package/features/workflow/UpdateWorkflow/feature.js.map +0 -1
- package/features/workflow/UpdateWorkflow/index.d.ts +0 -4
- package/features/workflow/UpdateWorkflow/index.js +0 -3
- package/features/workflowState/ApproveWorkflowStateStep/ApproveWorkflowStateStepUseCase.d.ts +0 -15
- package/features/workflowState/ApproveWorkflowStateStep/ApproveWorkflowStateStepUseCase.js +0 -38
- package/features/workflowState/ApproveWorkflowStateStep/ApproveWorkflowStateStepUseCase.js.map +0 -1
- package/features/workflowState/ApproveWorkflowStateStep/abstractions.d.ts +0 -26
- package/features/workflowState/ApproveWorkflowStateStep/abstractions.js +0 -5
- package/features/workflowState/ApproveWorkflowStateStep/abstractions.js.map +0 -1
- package/features/workflowState/ApproveWorkflowStateStep/events.d.ts +0 -12
- package/features/workflowState/ApproveWorkflowStateStep/events.js +0 -14
- package/features/workflowState/ApproveWorkflowStateStep/events.js.map +0 -1
- package/features/workflowState/ApproveWorkflowStateStep/feature.d.ts +0 -4
- package/features/workflowState/ApproveWorkflowStateStep/feature.js +0 -11
- package/features/workflowState/ApproveWorkflowStateStep/feature.js.map +0 -1
- package/features/workflowState/ApproveWorkflowStateStep/index.d.ts +0 -2
- package/features/workflowState/ApproveWorkflowStateStep/index.js +0 -2
- package/features/workflowState/CancelWorkflowState/CancelWorkflowStateUseCase.d.ts +0 -13
- package/features/workflowState/CancelWorkflowState/CancelWorkflowStateUseCase.js +0 -31
- package/features/workflowState/CancelWorkflowState/CancelWorkflowStateUseCase.js.map +0 -1
- package/features/workflowState/CancelWorkflowState/abstractions.d.ts +0 -26
- package/features/workflowState/CancelWorkflowState/abstractions.js +0 -5
- package/features/workflowState/CancelWorkflowState/abstractions.js.map +0 -1
- package/features/workflowState/CancelWorkflowState/events.d.ts +0 -12
- package/features/workflowState/CancelWorkflowState/events.js +0 -14
- package/features/workflowState/CancelWorkflowState/events.js.map +0 -1
- package/features/workflowState/CancelWorkflowState/feature.d.ts +0 -4
- package/features/workflowState/CancelWorkflowState/feature.js +0 -11
- package/features/workflowState/CancelWorkflowState/feature.js.map +0 -1
- package/features/workflowState/CancelWorkflowState/index.d.ts +0 -2
- package/features/workflowState/CancelWorkflowState/index.js +0 -2
- package/features/workflowState/CreateWorkflowState/CreateWorkflowStateRepository.d.ts +0 -14
- package/features/workflowState/CreateWorkflowState/CreateWorkflowStateRepository.js +0 -36
- package/features/workflowState/CreateWorkflowState/CreateWorkflowStateRepository.js.map +0 -1
- package/features/workflowState/CreateWorkflowState/CreateWorkflowStateUseCase.d.ts +0 -22
- package/features/workflowState/CreateWorkflowState/CreateWorkflowStateUseCase.js +0 -105
- package/features/workflowState/CreateWorkflowState/CreateWorkflowStateUseCase.js.map +0 -1
- package/features/workflowState/CreateWorkflowState/DefaultWorkflowStateContextProvider.d.ts +0 -9
- package/features/workflowState/CreateWorkflowState/DefaultWorkflowStateContextProvider.js +0 -13
- package/features/workflowState/CreateWorkflowState/DefaultWorkflowStateContextProvider.js.map +0 -1
- package/features/workflowState/CreateWorkflowState/WorkflowStateContextProvider.d.ts +0 -13
- package/features/workflowState/CreateWorkflowState/WorkflowStateContextProvider.js +0 -5
- package/features/workflowState/CreateWorkflowState/WorkflowStateContextProvider.js.map +0 -1
- package/features/workflowState/CreateWorkflowState/abstractions.d.ts +0 -54
- package/features/workflowState/CreateWorkflowState/abstractions.js +0 -6
- package/features/workflowState/CreateWorkflowState/abstractions.js.map +0 -1
- package/features/workflowState/CreateWorkflowState/events.d.ts +0 -12
- package/features/workflowState/CreateWorkflowState/events.js +0 -14
- package/features/workflowState/CreateWorkflowState/events.js.map +0 -1
- package/features/workflowState/CreateWorkflowState/feature.d.ts +0 -4
- package/features/workflowState/CreateWorkflowState/feature.js +0 -15
- package/features/workflowState/CreateWorkflowState/feature.js.map +0 -1
- package/features/workflowState/CreateWorkflowState/index.d.ts +0 -3
- package/features/workflowState/CreateWorkflowState/index.js +0 -3
- package/features/workflowState/DeleteTargetWorkflowState/DeleteTargetWorkflowStateUseCase.d.ts +0 -21
- package/features/workflowState/DeleteTargetWorkflowState/DeleteTargetWorkflowStateUseCase.js +0 -62
- package/features/workflowState/DeleteTargetWorkflowState/DeleteTargetWorkflowStateUseCase.js.map +0 -1
- package/features/workflowState/DeleteTargetWorkflowState/abstractions.d.ts +0 -23
- package/features/workflowState/DeleteTargetWorkflowState/abstractions.js +0 -5
- package/features/workflowState/DeleteTargetWorkflowState/abstractions.js.map +0 -1
- package/features/workflowState/DeleteTargetWorkflowState/events.d.ts +0 -12
- package/features/workflowState/DeleteTargetWorkflowState/events.js +0 -14
- package/features/workflowState/DeleteTargetWorkflowState/events.js.map +0 -1
- package/features/workflowState/DeleteTargetWorkflowState/feature.d.ts +0 -4
- package/features/workflowState/DeleteTargetWorkflowState/feature.js +0 -11
- package/features/workflowState/DeleteTargetWorkflowState/feature.js.map +0 -1
- package/features/workflowState/DeleteTargetWorkflowState/index.d.ts +0 -2
- package/features/workflowState/DeleteTargetWorkflowState/index.js +0 -2
- package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateRepository.d.ts +0 -13
- package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateRepository.js +0 -25
- package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateRepository.js.map +0 -1
- package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateUseCase.d.ts +0 -14
- package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateUseCase.js +0 -33
- package/features/workflowState/DeleteWorkflowState/DeleteWorkflowStateUseCase.js.map +0 -1
- package/features/workflowState/DeleteWorkflowState/abstractions.d.ts +0 -25
- package/features/workflowState/DeleteWorkflowState/abstractions.js +0 -6
- package/features/workflowState/DeleteWorkflowState/abstractions.js.map +0 -1
- package/features/workflowState/DeleteWorkflowState/feature.d.ts +0 -4
- package/features/workflowState/DeleteWorkflowState/feature.js +0 -13
- package/features/workflowState/DeleteWorkflowState/feature.js.map +0 -1
- package/features/workflowState/DeleteWorkflowState/index.d.ts +0 -1
- package/features/workflowState/DeleteWorkflowState/index.js +0 -1
- package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateRepository.d.ts +0 -14
- package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateRepository.js +0 -49
- package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateRepository.js.map +0 -1
- package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateUseCase.d.ts +0 -14
- package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateUseCase.js +0 -38
- package/features/workflowState/GetTargetWorkflowState/GetTargetWorkflowStateUseCase.js.map +0 -1
- package/features/workflowState/GetTargetWorkflowState/abstractions.d.ts +0 -48
- package/features/workflowState/GetTargetWorkflowState/abstractions.js +0 -6
- package/features/workflowState/GetTargetWorkflowState/abstractions.js.map +0 -1
- package/features/workflowState/GetTargetWorkflowState/feature.d.ts +0 -4
- package/features/workflowState/GetTargetWorkflowState/feature.js +0 -13
- package/features/workflowState/GetTargetWorkflowState/feature.js.map +0 -1
- package/features/workflowState/GetTargetWorkflowState/index.d.ts +0 -1
- package/features/workflowState/GetTargetWorkflowState/index.js +0 -1
- package/features/workflowState/GetWorkflowState/GetWorkflowStateRepository.d.ts +0 -14
- package/features/workflowState/GetWorkflowState/GetWorkflowStateRepository.js +0 -36
- package/features/workflowState/GetWorkflowState/GetWorkflowStateRepository.js.map +0 -1
- package/features/workflowState/GetWorkflowState/GetWorkflowStateUseCase.d.ts +0 -14
- package/features/workflowState/GetWorkflowState/GetWorkflowStateUseCase.js +0 -34
- package/features/workflowState/GetWorkflowState/GetWorkflowStateUseCase.js.map +0 -1
- package/features/workflowState/GetWorkflowState/abstractions.d.ts +0 -39
- package/features/workflowState/GetWorkflowState/abstractions.js +0 -6
- package/features/workflowState/GetWorkflowState/abstractions.js.map +0 -1
- package/features/workflowState/GetWorkflowState/feature.d.ts +0 -4
- package/features/workflowState/GetWorkflowState/feature.js +0 -13
- package/features/workflowState/GetWorkflowState/feature.js.map +0 -1
- package/features/workflowState/GetWorkflowState/index.d.ts +0 -1
- package/features/workflowState/GetWorkflowState/index.js +0 -1
- package/features/workflowState/ListOwnWorkflowStates/ListOwnWorkflowStatesUseCase.d.ts +0 -13
- package/features/workflowState/ListOwnWorkflowStates/ListOwnWorkflowStatesUseCase.js +0 -42
- package/features/workflowState/ListOwnWorkflowStates/ListOwnWorkflowStatesUseCase.js.map +0 -1
- package/features/workflowState/ListOwnWorkflowStates/abstractions.d.ts +0 -22
- package/features/workflowState/ListOwnWorkflowStates/abstractions.js +0 -5
- package/features/workflowState/ListOwnWorkflowStates/abstractions.js.map +0 -1
- package/features/workflowState/ListOwnWorkflowStates/feature.d.ts +0 -4
- package/features/workflowState/ListOwnWorkflowStates/feature.js +0 -11
- package/features/workflowState/ListOwnWorkflowStates/feature.js.map +0 -1
- package/features/workflowState/ListOwnWorkflowStates/index.d.ts +0 -1
- package/features/workflowState/ListOwnWorkflowStates/index.js +0 -1
- package/features/workflowState/ListRequestedWorkflowStates/ListRequestedWorkflowStatesUseCase.d.ts +0 -15
- package/features/workflowState/ListRequestedWorkflowStates/ListRequestedWorkflowStatesUseCase.js +0 -52
- package/features/workflowState/ListRequestedWorkflowStates/ListRequestedWorkflowStatesUseCase.js.map +0 -1
- package/features/workflowState/ListRequestedWorkflowStates/abstractions.d.ts +0 -22
- package/features/workflowState/ListRequestedWorkflowStates/abstractions.js +0 -5
- package/features/workflowState/ListRequestedWorkflowStates/abstractions.js.map +0 -1
- package/features/workflowState/ListRequestedWorkflowStates/feature.d.ts +0 -4
- package/features/workflowState/ListRequestedWorkflowStates/feature.js +0 -11
- package/features/workflowState/ListRequestedWorkflowStates/feature.js.map +0 -1
- package/features/workflowState/ListRequestedWorkflowStates/index.d.ts +0 -1
- package/features/workflowState/ListRequestedWorkflowStates/index.js +0 -1
- package/features/workflowState/ListWorkflowStates/DefaultWorkflowStateFilter.d.ts +0 -9
- package/features/workflowState/ListWorkflowStates/DefaultWorkflowStateFilter.js +0 -13
- package/features/workflowState/ListWorkflowStates/DefaultWorkflowStateFilter.js.map +0 -1
- package/features/workflowState/ListWorkflowStates/ListWorkflowStatesRepository.d.ts +0 -16
- package/features/workflowState/ListWorkflowStates/ListWorkflowStatesRepository.js +0 -47
- package/features/workflowState/ListWorkflowStates/ListWorkflowStatesRepository.js.map +0 -1
- package/features/workflowState/ListWorkflowStates/ListWorkflowStatesUseCase.d.ts +0 -16
- package/features/workflowState/ListWorkflowStates/ListWorkflowStatesUseCase.js +0 -68
- package/features/workflowState/ListWorkflowStates/ListWorkflowStatesUseCase.js.map +0 -1
- package/features/workflowState/ListWorkflowStates/WorkflowStateFilter.d.ts +0 -8
- package/features/workflowState/ListWorkflowStates/WorkflowStateFilter.js +0 -5
- package/features/workflowState/ListWorkflowStates/WorkflowStateFilter.js.map +0 -1
- package/features/workflowState/ListWorkflowStates/abstractions.d.ts +0 -71
- package/features/workflowState/ListWorkflowStates/abstractions.js +0 -6
- package/features/workflowState/ListWorkflowStates/abstractions.js.map +0 -1
- package/features/workflowState/ListWorkflowStates/feature.d.ts +0 -4
- package/features/workflowState/ListWorkflowStates/feature.js +0 -15
- package/features/workflowState/ListWorkflowStates/feature.js.map +0 -1
- package/features/workflowState/ListWorkflowStates/index.d.ts +0 -2
- package/features/workflowState/ListWorkflowStates/index.js +0 -2
- package/features/workflowState/README.md +0 -8
- package/features/workflowState/RejectWorkflowStateStep/RejectWorkflowStateStepUseCase.d.ts +0 -15
- package/features/workflowState/RejectWorkflowStateStep/RejectWorkflowStateStepUseCase.js +0 -38
- package/features/workflowState/RejectWorkflowStateStep/RejectWorkflowStateStepUseCase.js.map +0 -1
- package/features/workflowState/RejectWorkflowStateStep/abstractions.d.ts +0 -26
- package/features/workflowState/RejectWorkflowStateStep/abstractions.js +0 -5
- package/features/workflowState/RejectWorkflowStateStep/abstractions.js.map +0 -1
- package/features/workflowState/RejectWorkflowStateStep/events.d.ts +0 -12
- package/features/workflowState/RejectWorkflowStateStep/events.js +0 -14
- package/features/workflowState/RejectWorkflowStateStep/events.js.map +0 -1
- package/features/workflowState/RejectWorkflowStateStep/feature.d.ts +0 -4
- package/features/workflowState/RejectWorkflowStateStep/feature.js +0 -11
- package/features/workflowState/RejectWorkflowStateStep/feature.js.map +0 -1
- package/features/workflowState/RejectWorkflowStateStep/index.d.ts +0 -2
- package/features/workflowState/RejectWorkflowStateStep/index.js +0 -2
- package/features/workflowState/StartWorkflowStateStep/StartWorkflowStateStepUseCase.d.ts +0 -15
- package/features/workflowState/StartWorkflowStateStep/StartWorkflowStateStepUseCase.js +0 -38
- package/features/workflowState/StartWorkflowStateStep/StartWorkflowStateStepUseCase.js.map +0 -1
- package/features/workflowState/StartWorkflowStateStep/abstractions.d.ts +0 -25
- package/features/workflowState/StartWorkflowStateStep/abstractions.js +0 -5
- package/features/workflowState/StartWorkflowStateStep/abstractions.js.map +0 -1
- package/features/workflowState/StartWorkflowStateStep/events.d.ts +0 -12
- package/features/workflowState/StartWorkflowStateStep/events.js +0 -14
- package/features/workflowState/StartWorkflowStateStep/events.js.map +0 -1
- package/features/workflowState/StartWorkflowStateStep/feature.d.ts +0 -4
- package/features/workflowState/StartWorkflowStateStep/feature.js +0 -11
- package/features/workflowState/StartWorkflowStateStep/feature.js.map +0 -1
- package/features/workflowState/StartWorkflowStateStep/index.d.ts +0 -2
- package/features/workflowState/StartWorkflowStateStep/index.js +0 -2
- package/features/workflowState/TakeOverWorkflowStateStep/TakeOverWorkflowStateStepUseCase.d.ts +0 -15
- package/features/workflowState/TakeOverWorkflowStateStep/TakeOverWorkflowStateStepUseCase.js +0 -38
- package/features/workflowState/TakeOverWorkflowStateStep/TakeOverWorkflowStateStepUseCase.js.map +0 -1
- package/features/workflowState/TakeOverWorkflowStateStep/abstractions.d.ts +0 -26
- package/features/workflowState/TakeOverWorkflowStateStep/abstractions.js +0 -5
- package/features/workflowState/TakeOverWorkflowStateStep/abstractions.js.map +0 -1
- package/features/workflowState/TakeOverWorkflowStateStep/events.d.ts +0 -12
- package/features/workflowState/TakeOverWorkflowStateStep/events.js +0 -14
- package/features/workflowState/TakeOverWorkflowStateStep/events.js.map +0 -1
- package/features/workflowState/TakeOverWorkflowStateStep/feature.d.ts +0 -4
- package/features/workflowState/TakeOverWorkflowStateStep/feature.js +0 -11
- package/features/workflowState/TakeOverWorkflowStateStep/feature.js.map +0 -1
- package/features/workflowState/TakeOverWorkflowStateStep/index.d.ts +0 -2
- package/features/workflowState/TakeOverWorkflowStateStep/index.js +0 -2
- package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateRepository.d.ts +0 -17
- package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateRepository.js +0 -51
- package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateRepository.js.map +0 -1
- package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateUseCase.d.ts +0 -20
- package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateUseCase.js +0 -60
- package/features/workflowState/UpdateWorkflowState/UpdateWorkflowStateUseCase.js.map +0 -1
- package/features/workflowState/UpdateWorkflowState/abstractions.d.ts +0 -48
- package/features/workflowState/UpdateWorkflowState/abstractions.js +0 -6
- package/features/workflowState/UpdateWorkflowState/abstractions.js.map +0 -1
- package/features/workflowState/UpdateWorkflowState/events.d.ts +0 -12
- package/features/workflowState/UpdateWorkflowState/events.js +0 -14
- package/features/workflowState/UpdateWorkflowState/events.js.map +0 -1
- package/features/workflowState/UpdateWorkflowState/feature.d.ts +0 -4
- package/features/workflowState/UpdateWorkflowState/feature.js +0 -13
- package/features/workflowState/UpdateWorkflowState/feature.js.map +0 -1
- package/features/workflowState/UpdateWorkflowState/index.d.ts +0 -2
- package/features/workflowState/UpdateWorkflowState/index.js +0 -2
- package/graphql/notifications.d.ts +0 -2
- package/graphql/notifications.js +0 -49
- package/graphql/notifications.js.map +0 -1
- package/graphql/validation/approveWorkflowState.d.ts +0 -5
- package/graphql/validation/approveWorkflowState.js +0 -8
- package/graphql/validation/approveWorkflowState.js.map +0 -1
- package/graphql/validation/cancelWorkflowState.d.ts +0 -4
- package/graphql/validation/cancelWorkflowState.js +0 -7
- package/graphql/validation/cancelWorkflowState.js.map +0 -1
- package/graphql/validation/createWorkflowState.d.ts +0 -6
- package/graphql/validation/createWorkflowState.js +0 -9
- package/graphql/validation/createWorkflowState.js.map +0 -1
- package/graphql/validation/deleteWorkflow.d.ts +0 -5
- package/graphql/validation/deleteWorkflow.js +0 -8
- package/graphql/validation/deleteWorkflow.js.map +0 -1
- package/graphql/validation/getTargetWorkflowState.d.ts +0 -5
- package/graphql/validation/getTargetWorkflowState.js +0 -8
- package/graphql/validation/getTargetWorkflowState.js.map +0 -1
- package/graphql/validation/getWorkflow.d.ts +0 -5
- package/graphql/validation/getWorkflow.js +0 -8
- package/graphql/validation/getWorkflow.js.map +0 -1
- package/graphql/validation/getWorkflowState.d.ts +0 -4
- package/graphql/validation/getWorkflowState.js +0 -7
- package/graphql/validation/getWorkflowState.js.map +0 -1
- package/graphql/validation/listWorkflowStates.d.ts +0 -26
- package/graphql/validation/listWorkflowStates.js +0 -36
- package/graphql/validation/listWorkflowStates.js.map +0 -1
- package/graphql/validation/listWorkflows.d.ts +0 -12
- package/graphql/validation/listWorkflows.js +0 -19
- package/graphql/validation/listWorkflows.js.map +0 -1
- package/graphql/validation/rejectWorkflowState.d.ts +0 -5
- package/graphql/validation/rejectWorkflowState.js +0 -8
- package/graphql/validation/rejectWorkflowState.js.map +0 -1
- package/graphql/validation/startWorkflowState.d.ts +0 -4
- package/graphql/validation/startWorkflowState.js +0 -7
- package/graphql/validation/startWorkflowState.js.map +0 -1
- package/graphql/validation/step.d.ts +0 -21
- package/graphql/validation/step.js +0 -16
- package/graphql/validation/step.js.map +0 -1
- package/graphql/validation/storeWorkflow.d.ts +0 -35
- package/graphql/validation/storeWorkflow.js +0 -10
- package/graphql/validation/storeWorkflow.js.map +0 -1
- package/graphql/validation/takeOverWorkflowStateStep.d.ts +0 -4
- package/graphql/validation/takeOverWorkflowStateStep.js +0 -7
- package/graphql/validation/takeOverWorkflowStateStep.js.map +0 -1
- package/graphql/validation/workflow.d.ts +0 -33
- package/graphql/validation/workflow.js +0 -9
- package/graphql/validation/workflow.js.map +0 -1
- package/graphql/workflowState.d.ts +0 -2
- package/graphql/workflowState.js +0 -429
- package/graphql/workflowState.js.map +0 -1
- package/graphql/workflows.d.ts +0 -2
- package/graphql/workflows.js +0 -213
- package/graphql/workflows.js.map +0 -1
- /package/{features/shared/abstractions.js → domain/PersistenceErrorSource.js} +0 -0
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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;
|