@knpkv/control-center 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -9
- package/dist/client/.vite/manifest.json +183 -170
- package/dist/client/assets/{ActiveWorkPage-DJQgGZeV.js → ActiveWorkPage-Dd1mxPrq.js} +2 -2
- package/dist/client/assets/{ActiveWorkPage-DJQgGZeV.js.map → ActiveWorkPage-Dd1mxPrq.js.map} +1 -1
- package/dist/client/assets/AgentPage-C3LThgPZ.js +3 -0
- package/dist/client/assets/AgentPage-C3LThgPZ.js.map +1 -0
- package/dist/client/assets/{AtlassianOAuthCallbackPage-D1F1xE_2.js → AtlassianOAuthCallbackPage-BPoF6oKf.js} +2 -2
- package/dist/client/assets/{AtlassianOAuthCallbackPage-D1F1xE_2.js.map → AtlassianOAuthCallbackPage-BPoF6oKf.js.map} +1 -1
- package/dist/client/assets/AuthorizedSharePage-jjqu6W_f.js +2 -0
- package/dist/client/assets/AuthorizedSharePage-jjqu6W_f.js.map +1 -0
- package/dist/client/assets/BrowserCrypto-BMbjhcvP.js +2 -0
- package/dist/client/assets/{BrowserCrypto-DVWR7DFd.js.map → BrowserCrypto-BMbjhcvP.js.map} +1 -1
- package/dist/client/assets/BrowserSessionHydrator-BC1ymLkL.js +2 -0
- package/dist/client/assets/BrowserSessionHydrator-BC1ymLkL.js.map +1 -0
- package/dist/client/assets/CommandSearch-WwAVDrD9.js +2 -0
- package/dist/client/assets/{CommandSearch-CP_QCbkm.js.map → CommandSearch-WwAVDrD9.js.map} +1 -1
- package/dist/client/assets/ItemsPage-CKK_KkJ2.js +2 -0
- package/dist/client/assets/{ItemsPage-BGFUkRL2.js.map → ItemsPage-CKK_KkJ2.js.map} +1 -1
- package/dist/client/assets/{PairPage-DIgzx0K2.js → PairPage-DA6cmyqF.js} +2 -2
- package/dist/client/assets/{PairPage-DIgzx0K2.js.map → PairPage-DA6cmyqF.js.map} +1 -1
- package/dist/client/assets/PortfolioOverview-CEI4gpXi.js +2 -0
- package/dist/client/assets/PortfolioOverview-CEI4gpXi.js.map +1 -0
- package/dist/client/assets/PullRequestReviewPanel-D7AKnwL-.js +6 -0
- package/dist/client/assets/PullRequestReviewPanel-D7AKnwL-.js.map +1 -0
- package/dist/client/assets/ReleaseRoute-CbPW3qUT.js +2 -0
- package/dist/client/assets/{ReleaseRoute-DXJ8Jg60.js.map → ReleaseRoute-CbPW3qUT.js.map} +1 -1
- package/dist/client/assets/ReleaseWorkset-BluAe7Sq.js +2 -0
- package/dist/client/assets/{ReleaseWorkset-Dtzalmji.js.map → ReleaseWorkset-BluAe7Sq.js.map} +1 -1
- package/dist/client/assets/ServicesPage-_B89DAvG.js +2 -0
- package/dist/client/assets/ServicesPage-_B89DAvG.js.map +1 -0
- package/dist/client/assets/TimelinePage-DvpgD8AY.js +2 -0
- package/dist/client/assets/TimelinePage-DvpgD8AY.js.map +1 -0
- package/dist/client/assets/WorkspaceEntityLink-DPj6MKI2.js +2 -0
- package/dist/client/assets/{WorkspaceEntityLink-AdZ_T-Wk.js.map → WorkspaceEntityLink-DPj6MKI2.js.map} +1 -1
- package/dist/client/assets/WorkspaceEntityRoute-B01fxxB3.js +3 -0
- package/dist/client/assets/WorkspaceEntityRoute-B01fxxB3.js.map +1 -0
- package/dist/client/assets/{WorkspaceHomeLink-XbKSPths.js → WorkspaceHomeLink-CkJfzO25.js} +2 -2
- package/dist/client/assets/{WorkspaceHomeLink-XbKSPths.js.map → WorkspaceHomeLink-CkJfzO25.js.map} +1 -1
- package/dist/client/assets/WorkspacePullRequestDetails-HwDgp12e.js +3 -0
- package/dist/client/assets/WorkspacePullRequestDetails-HwDgp12e.js.map +1 -0
- package/dist/client/assets/{WorkspaceReleaseLayout-cfboC5Qh.js → WorkspaceReleaseLayout-CGHi8eoo.js} +2 -2
- package/dist/client/assets/{WorkspaceReleaseLayout-cfboC5Qh.js.map → WorkspaceReleaseLayout-CGHi8eoo.js.map} +1 -1
- package/dist/client/assets/{WorkspaceSettingsPage-Fy7Wx8Y2.js → WorkspaceSettingsPage-DyoGiGJG.js} +2 -2
- package/dist/client/assets/{WorkspaceSettingsPage-Fy7Wx8Y2.js.map → WorkspaceSettingsPage-DyoGiGJG.js.map} +1 -1
- package/dist/client/assets/agent-api-CeONl_8w.js +19 -0
- package/dist/client/assets/agent-api-CeONl_8w.js.map +1 -0
- package/dist/client/assets/authenticatedMutationClient-DYaieXUe.js +2 -0
- package/dist/client/assets/{authenticatedMutationClient-Ccwguc3i.js.map → authenticatedMutationClient-DYaieXUe.js.map} +1 -1
- package/dist/client/assets/authorizedShareTransport-cxBoQzQ2.js +2 -0
- package/dist/client/assets/{authorizedShareTransport-DZHgFEkh.js.map → authorizedShareTransport-cxBoQzQ2.js.map} +1 -1
- package/dist/client/assets/client-DKS82kT_.js +5 -0
- package/dist/client/assets/client-DKS82kT_.js.map +1 -0
- package/dist/client/assets/connectionTestTransport-I_Ga9UNs.js +2 -0
- package/dist/client/assets/{connectionTestTransport-BQ55d6Me.js.map → connectionTestTransport-I_Ga9UNs.js.map} +1 -1
- package/dist/client/assets/index-C7_FDTU7.js +11 -0
- package/dist/client/assets/index-C7_FDTU7.js.map +1 -0
- package/dist/client/assets/{patterns-5N-j-AD2-BwypFm-e.js → patterns-5N-j-AD2-B9qgekXA.js} +2 -2
- package/dist/client/assets/{patterns-5N-j-AD2-BwypFm-e.js.map → patterns-5N-j-AD2-B9qgekXA.js.map} +1 -1
- package/dist/client/assets/{presentPortfolio-D3ZIcnqt.js → presentPortfolio-C_JsoSWg.js} +2 -2
- package/dist/client/assets/presentPortfolio-C_JsoSWg.js.map +1 -0
- package/dist/client/assets/{presentWorkspaceItems-Bmh4oEbH.js → presentWorkspaceItems-DboAfwGc.js} +2 -2
- package/dist/client/assets/{presentWorkspaceItems-Bmh4oEbH.js.map → presentWorkspaceItems-DboAfwGc.js.map} +1 -1
- package/dist/client/assets/{pullRequestReviewFailures-S74M-fOk.js → pullRequestReviewFailures-DHmYwffV.js} +2 -2
- package/dist/client/assets/{pullRequestReviewFailures-S74M-fOk.js.map → pullRequestReviewFailures-DHmYwffV.js.map} +1 -1
- package/dist/client/assets/pullRequestReviewThreadReplay-Vy1k53qE.js +2 -0
- package/dist/client/assets/pullRequestReviewThreadReplay-Vy1k53qE.js.map +1 -0
- package/dist/client/assets/releaseRoutes-t9uCfs5T.js +2 -0
- package/dist/client/assets/{releaseRoutes-BCuIdZyA.js.map → releaseRoutes-t9uCfs5T.js.map} +1 -1
- package/dist/client/assets/serviceOnboarding-DLINCon7.js +2 -0
- package/dist/client/assets/{serviceOnboarding-Jg_0yNjf.js.map → serviceOnboarding-DLINCon7.js.map} +1 -1
- package/dist/client/assets/{useWorkspaceDefaultLanding-CzlDdEF-.js → useWorkspaceDefaultLanding-CC5ImHkL.js} +3 -3
- package/dist/client/assets/{useWorkspaceDefaultLanding-CzlDdEF-.js.map → useWorkspaceDefaultLanding-CC5ImHkL.js.map} +1 -1
- package/dist/client/assets/{useWorkspaceItems-Cd3MPke2.js → useWorkspaceItems-B1X-JNwq.js} +2 -2
- package/dist/client/assets/{useWorkspaceItems-Cd3MPke2.js.map → useWorkspaceItems-B1X-JNwq.js.map} +1 -1
- package/dist/client/assets/workspaceEntityRoutes-2TejMrzb.js +2 -0
- package/dist/client/assets/workspaceEntityRoutes-2TejMrzb.js.map +1 -0
- package/dist/client/assets/workspaceScrollCapture-BsjcWVsk.js +2 -0
- package/dist/client/assets/workspaceScrollCapture-BsjcWVsk.js.map +1 -0
- package/dist/client/assets/workspaceSettingsTransport-Dw2hueXv.js +2 -0
- package/dist/client/assets/{workspaceSettingsTransport-CZWYL5T7.js.map → workspaceSettingsTransport-Dw2hueXv.js.map} +1 -1
- package/dist/client/build-graph.json +17 -0
- package/dist/client/index.html +1 -1
- package/dist/server/api/agent.d.ts +563 -44
- package/dist/server/api/agent.d.ts.map +1 -1
- package/dist/server/api/deliveryGraph.d.ts +454 -454
- package/dist/server/api/index.d.ts +1 -1
- package/dist/server/api/index.d.ts.map +1 -1
- package/dist/server/api/index.js +4 -4
- package/dist/server/api/liveEvents.d.ts +20 -0
- package/dist/server/api/liveEvents.d.ts.map +1 -1
- package/dist/server/api/portfolio.d.ts +23 -0
- package/dist/server/api/portfolio.d.ts.map +1 -1
- package/dist/server/api/shares.d.ts +2 -2
- package/dist/server/assets/{BindConfig-DIsf2Rnh.js → BindConfig-Bj282xDC.js} +2094 -290
- package/dist/server/assets/BindConfig-Bj282xDC.js.map +1 -0
- package/dist/server/assets/{CodePipelineStateDecoder-CVf1A2zG.js → CodePipelineStateDecoder-CNiFRgSi.js} +2 -2
- package/dist/server/assets/{CodePipelineStateDecoder-CVf1A2zG.js.map → CodePipelineStateDecoder-CNiFRgSi.js.map} +1 -1
- package/dist/server/assets/{agent-CyZ40zs1.js → agent-ZvwskOQu.js} +160 -10
- package/dist/server/assets/agent-ZvwskOQu.js.map +1 -0
- package/dist/server/assets/{controlCenterApi-ZUX3Y-LE.js → controlCenterApi-5j3gOXgE.js} +5 -5
- package/dist/server/assets/{controlCenterApi-ZUX3Y-LE.js.map → controlCenterApi-5j3gOXgE.js.map} +1 -1
- package/dist/server/assets/{descriptor-CKtTnhef.js → descriptor-CCvNzSZL.js} +10 -10
- package/dist/server/assets/{descriptor-CKtTnhef.js.map → descriptor-CCvNzSZL.js.map} +1 -1
- package/dist/server/assets/{failures-mgYDkUZy.js → failures-CesHLYbN.js} +2 -2
- package/dist/server/assets/{failures-mgYDkUZy.js.map → failures-CesHLYbN.js.map} +1 -1
- package/dist/server/assets/{firstPartyServices-D7b8BOek.js → firstPartyServices-Cdzjcs2H.js} +2 -2
- package/dist/server/assets/{firstPartyServices-D7b8BOek.js.map → firstPartyServices-Cdzjcs2H.js.map} +1 -1
- package/dist/server/assets/{manualPluginSynchronization-DFlhKvav.js → manualPluginSynchronization-CzIhZ_Dw.js} +5 -5
- package/dist/server/assets/{manualPluginSynchronization-DFlhKvav.js.map → manualPluginSynchronization-CzIhZ_Dw.js.map} +1 -1
- package/dist/server/assets/{plugins-D__oMDpI.js → plugins-DiPrfzV8.js} +2 -2
- package/dist/server/assets/{plugins-D__oMDpI.js.map → plugins-DiPrfzV8.js.map} +1 -1
- package/dist/server/assets/{readiness-BhA-Nr9c.js → readiness-BtntBhDj.js} +3 -3
- package/dist/server/assets/{readiness-BhA-Nr9c.js.map → readiness-BtntBhDj.js.map} +1 -1
- package/dist/server/assets/{relationshipInferenceMaterialization-DYBcaWhQ.js → relationshipInferenceMaterialization-CR6xyMNL.js} +1121 -159
- package/dist/server/assets/relationshipInferenceMaterialization-CR6xyMNL.js.map +1 -0
- package/dist/server/assets/{workspaceSettings-BE713Oe8.js → workspaceSettings-C2Zsk6RI.js} +2784 -2700
- package/dist/server/assets/workspaceSettings-C2Zsk6RI.js.map +1 -0
- package/dist/server/build-graph.json +117 -4
- package/dist/server/domain/actors.d.ts +12 -12
- package/dist/server/domain/deliveryGraph.d.ts +49 -49
- package/dist/server/domain/governedAction/bindings.d.ts +24 -12
- package/dist/server/domain/governedAction/bindings.d.ts.map +1 -1
- package/dist/server/domain/governedAction/lifecycle.d.ts +8 -8
- package/dist/server/domain/governedAction/model.d.ts +39 -18
- package/dist/server/domain/governedAction/model.d.ts.map +1 -1
- package/dist/server/domain/governedAction/stateMachine.d.ts +34 -34
- package/dist/server/domain/index.js +6 -6
- package/dist/server/domain/normalizedIssue.d.ts +1 -1
- package/dist/server/domain/prReview.d.ts +38 -0
- package/dist/server/domain/prReview.d.ts.map +1 -1
- package/dist/server/domain/prReviewReconciliation.d.ts +56 -0
- package/dist/server/domain/prReviewReconciliation.d.ts.map +1 -0
- package/dist/server/domain/prReviewRevision.d.ts +1 -0
- package/dist/server/domain/prReviewRevision.d.ts.map +1 -1
- package/dist/server/domain/readiness/model.d.ts +3 -3
- package/dist/server/domain/release.d.ts +3 -3
- package/dist/server/domain/releasePublication.d.ts +4 -0
- package/dist/server/domain/releasePublication.d.ts.map +1 -0
- package/dist/server/index.js +8 -8
- package/dist/server/server/agent/AgentJobWorker.d.ts +10 -1
- package/dist/server/server/agent/AgentJobWorker.d.ts.map +1 -1
- package/dist/server/server/agent/ReleaseAgentPrompt.d.ts.map +1 -1
- package/dist/server/server/agent/internal/AgentJobTaskExecutor.d.ts +4 -3
- package/dist/server/server/agent/internal/AgentJobTaskExecutor.d.ts.map +1 -1
- package/dist/server/server/agent/internal/PrReviewSandboxSession.d.ts +17 -1
- package/dist/server/server/agent/internal/PrReviewSandboxSession.d.ts.map +1 -1
- package/dist/server/server/agent/internal/PrReviewTaskExecutor.d.ts +76 -2
- package/dist/server/server/agent/internal/PrReviewTaskExecutor.d.ts.map +1 -1
- package/dist/server/server/agent/internal/PrReviewTelemetry.d.ts +27 -0
- package/dist/server/server/agent/internal/PrReviewTelemetry.d.ts.map +1 -0
- package/dist/server/server/api/ApplicationServices.d.ts +39 -5
- package/dist/server/server/api/ApplicationServices.d.ts.map +1 -1
- package/dist/server/server/api/Handlers.d.ts.map +1 -1
- package/dist/server/server/api/RequestBoundary.d.ts.map +1 -1
- package/dist/server/server/application/GovernedReviewSuggestionPublicationGateway.d.ts.map +1 -1
- package/dist/server/server/application/ReviewSuggestionPublicationGateway.d.ts +4 -0
- package/dist/server/server/application/ReviewSuggestionPublicationGateway.d.ts.map +1 -1
- package/dist/server/server/application/index.d.ts +1 -0
- package/dist/server/server/application/index.d.ts.map +1 -1
- package/dist/server/server/application/liveEvents.d.ts.map +1 -1
- package/dist/server/server/application/pipelineExecutionProjection.d.ts +6 -6
- package/dist/server/server/application/portfolioSnapshots.d.ts +2014 -4
- package/dist/server/server/application/portfolioSnapshots.d.ts.map +1 -1
- package/dist/server/server/application/pullRequestReviews.d.ts.map +1 -1
- package/dist/server/server/application/releaseAgent.d.ts +11 -3
- package/dist/server/server/application/releaseAgent.d.ts.map +1 -1
- package/dist/server/server/application/releasePublicationIntent.d.ts +7 -0
- package/dist/server/server/application/releasePublicationIntent.d.ts.map +1 -0
- package/dist/server/server/application/releasePublicationMetadata.d.ts +61 -0
- package/dist/server/server/application/releasePublicationMetadata.d.ts.map +1 -0
- package/dist/server/server/application/releasePublicationSubmissions.d.ts +3699 -0
- package/dist/server/server/application/releasePublicationSubmissions.d.ts.map +1 -0
- package/dist/server/server/application/releaseSynchronization.d.ts.map +1 -1
- package/dist/server/server/cli.js +8 -8
- package/dist/server/server/cli.js.map +1 -1
- package/dist/server/server/governance/governedActionDigests.d.ts +233 -218
- package/dist/server/server/governance/governedActionDigests.d.ts.map +1 -1
- package/dist/server/server/governance/internal/GovernedActionExecutionEngine.d.ts +3 -4
- package/dist/server/server/governance/internal/GovernedActionExecutionEngine.d.ts.map +1 -1
- package/dist/server/server/governance/internal/execution-store/begin.d.ts.map +1 -1
- package/dist/server/server/governance/internal/execution-store/dispatch-inbox.d.ts +1 -1
- package/dist/server/server/governance/internal/execution-store/dispatch-outcome.d.ts +8 -8
- package/dist/server/server/governance/internal/execution-store/provider-outcome-fold.d.ts +2 -2
- package/dist/server/server/governance/internal/execution-store/reconciliation-inbox.d.ts +1 -1
- package/dist/server/server/governance/internal/execution-store/recovery-claim.d.ts +36 -30
- package/dist/server/server/governance/internal/execution-store/recovery-claim.d.ts.map +1 -1
- package/dist/server/server/index.js +5 -5
- package/dist/server/server/internal/codepipeline-state-probe.js +1 -1
- package/dist/server/server/persistence/Database.d.ts +1 -1
- package/dist/server/server/persistence/Database.d.ts.map +1 -1
- package/dist/server/server/persistence/Persistence.d.ts +1539 -577
- package/dist/server/server/persistence/Persistence.d.ts.map +1 -1
- package/dist/server/server/persistence/backup/BackupArchive.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/agentJobModels.d.ts +345 -8
- package/dist/server/server/persistence/repositories/agentJobModels.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/agentJobRepository.d.ts +654 -192
- package/dist/server/server/persistence/repositories/agentJobRepository.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/delivery-graph/contract.d.ts +138 -138
- package/dist/server/server/persistence/repositories/delivery-graph/decode.d.ts +25 -25
- package/dist/server/server/persistence/repositories/delivery-graph/read.d.ts +111 -111
- package/dist/server/server/persistence/repositories/delivery-graph/rows.d.ts +27 -27
- package/dist/server/server/persistence/repositories/delivery-graph/write.d.ts +48 -48
- package/dist/server/server/persistence/repositories/deliveryGraphRepository.d.ts +111 -111
- package/dist/server/server/persistence/repositories/governed-action/codec.d.ts +255 -234
- package/dist/server/server/persistence/repositories/governed-action/codec.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/contract.d.ts +66 -46
- package/dist/server/server/persistence/repositories/governed-action/contract.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/read.d.ts +664 -190
- package/dist/server/server/persistence/repositories/governed-action/read.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/transaction.d.ts +676 -206
- package/dist/server/server/persistence/repositories/governed-action/transaction.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/write-preparation.d.ts +37 -31
- package/dist/server/server/persistence/repositories/governed-action/write-preparation.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/write-replay.d.ts +44 -32
- package/dist/server/server/persistence/repositories/governed-action/write-replay.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/write.d.ts +44 -32
- package/dist/server/server/persistence/repositories/governed-action/write.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governedActionRepository.d.ts +674 -205
- package/dist/server/server/persistence/repositories/governedActionRepository.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/internal/reviewSuggestionRevisions.d.ts +85 -4
- package/dist/server/server/persistence/repositories/internal/reviewSuggestionRevisions.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/models.d.ts +9 -9
- package/dist/server/server/persistence/repositories/peopleRepository.d.ts +36 -36
- package/dist/server/server/persistence/repositories/providerAccountRepository.d.ts +1 -1
- package/dist/server/server/persistence/repositories/readiness/assessments.d.ts +6 -6
- package/dist/server/server/persistence/repositories/readiness/contract.d.ts +450 -450
- package/dist/server/server/persistence/repositories/readiness/queue.d.ts +14 -14
- package/dist/server/server/persistence/repositories/readinessRepository.d.ts +7 -7
- package/dist/server/server/persistence/repositories/releaseRepository.d.ts +18 -18
- package/dist/server/server/persistence/repositories/retentionRepository.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/timelineRepository.d.ts +4 -4
- package/dist/server/server/plugins/atlassian/AtlassianOAuthGrants.d.ts.map +1 -1
- package/dist/server/server/plugins/atlassian/AtlassianOAuthScopes.d.ts +9 -0
- package/dist/server/server/plugins/atlassian/AtlassianOAuthScopes.d.ts.map +1 -0
- package/dist/server/server/plugins/atlassian/AtlassianProfiles.d.ts.map +1 -1
- package/dist/server/server/plugins/codecommit/CodeCommitPluginDefinition.d.ts.map +1 -1
- package/dist/server/server/plugins/jira/JiraReadPlugin.d.ts +2 -2
- package/dist/server/server/plugins/jira/JiraReadPlugin.d.ts.map +1 -1
- package/dist/server/server/plugins/jira/JiraReadProvider.d.ts.map +1 -1
- package/dist/server/server/plugins/jira/JiraReleaseVersionLimits.d.ts +8 -0
- package/dist/server/server/plugins/jira/JiraReleaseVersionLimits.d.ts.map +1 -0
- package/dist/server/server/plugins/jira/index.d.ts +1 -1
- package/dist/server/server/plugins/jira/index.d.ts.map +1 -1
- package/dist/server/server/runtime/Bootstrap.d.ts +1 -1
- package/dist/server/server/runtime/Bootstrap.d.ts.map +1 -1
- package/dist/server/server/runtime/ControlCenterServer.d.ts +3 -3
- package/dist/server/server/runtime/ControlCenterServer.d.ts.map +1 -1
- package/dist/server/server/runtime/PrReviewWorkerStartup.d.ts +11 -1
- package/dist/server/server/runtime/PrReviewWorkerStartup.d.ts.map +1 -1
- package/dist/server/server/runtime/RetentionStartup.d.ts.map +1 -1
- package/dist/server/server/runtime/ServerLifecycle.d.ts.map +1 -1
- package/dist/server/server/secrets/SecretStore.d.ts.map +1 -1
- package/package.json +9 -8
- package/dist/client/assets/AgentPage-DGL93TJU.js +0 -3
- package/dist/client/assets/AgentPage-DGL93TJU.js.map +0 -1
- package/dist/client/assets/AuthorizedSharePage-DCQUFY2I.js +0 -2
- package/dist/client/assets/AuthorizedSharePage-DCQUFY2I.js.map +0 -1
- package/dist/client/assets/BrowserCrypto-DVWR7DFd.js +0 -2
- package/dist/client/assets/BrowserSessionHydrator-DE46feEX.js +0 -2
- package/dist/client/assets/BrowserSessionHydrator-DE46feEX.js.map +0 -1
- package/dist/client/assets/CommandSearch-CP_QCbkm.js +0 -2
- package/dist/client/assets/ItemsPage-BGFUkRL2.js +0 -2
- package/dist/client/assets/PortfolioOverview-D45rk8Hl.js +0 -2
- package/dist/client/assets/PortfolioOverview-D45rk8Hl.js.map +0 -1
- package/dist/client/assets/PullRequestReviewPanel-CqPtjhVW.js +0 -6
- package/dist/client/assets/PullRequestReviewPanel-CqPtjhVW.js.map +0 -1
- package/dist/client/assets/ReleaseRoute-DXJ8Jg60.js +0 -2
- package/dist/client/assets/ReleaseWorkset-Dtzalmji.js +0 -2
- package/dist/client/assets/ServicesPage-DGcUjd2H.js +0 -2
- package/dist/client/assets/ServicesPage-DGcUjd2H.js.map +0 -1
- package/dist/client/assets/TimelinePage-Bq1RTQlP.js +0 -2
- package/dist/client/assets/TimelinePage-Bq1RTQlP.js.map +0 -1
- package/dist/client/assets/WorkspaceEntityLink-AdZ_T-Wk.js +0 -2
- package/dist/client/assets/WorkspaceEntityRoute-Bxxnc8us.js +0 -3
- package/dist/client/assets/WorkspaceEntityRoute-Bxxnc8us.js.map +0 -1
- package/dist/client/assets/WorkspacePullRequestDetails-BErJ5bk8.js +0 -3
- package/dist/client/assets/WorkspacePullRequestDetails-BErJ5bk8.js.map +0 -1
- package/dist/client/assets/agent-api-QVqt4a0O.js +0 -19
- package/dist/client/assets/agent-api-QVqt4a0O.js.map +0 -1
- package/dist/client/assets/authenticatedMutationClient-Ccwguc3i.js +0 -2
- package/dist/client/assets/authorizedShareTransport-DZHgFEkh.js +0 -2
- package/dist/client/assets/client-D27unen8.js +0 -5
- package/dist/client/assets/client-D27unen8.js.map +0 -1
- package/dist/client/assets/connectionTestTransport-BQ55d6Me.js +0 -2
- package/dist/client/assets/index-j5ze816l.js +0 -11
- package/dist/client/assets/index-j5ze816l.js.map +0 -1
- package/dist/client/assets/presentPortfolio-D3ZIcnqt.js.map +0 -1
- package/dist/client/assets/pullRequestReviewThreadReplay-oljKM7Xz.js +0 -2
- package/dist/client/assets/pullRequestReviewThreadReplay-oljKM7Xz.js.map +0 -1
- package/dist/client/assets/releaseRoutes-BCuIdZyA.js +0 -2
- package/dist/client/assets/serviceOnboarding-Jg_0yNjf.js +0 -2
- package/dist/client/assets/workspaceScrollCapture-CJ4QUptr.js +0 -2
- package/dist/client/assets/workspaceScrollCapture-CJ4QUptr.js.map +0 -1
- package/dist/client/assets/workspaceSettingsTransport-CZWYL5T7.js +0 -2
- package/dist/server/assets/BindConfig-DIsf2Rnh.js.map +0 -1
- package/dist/server/assets/agent-CyZ40zs1.js.map +0 -1
- package/dist/server/assets/relationshipInferenceMaterialization-DYBcaWhQ.js.map +0 -1
- package/dist/server/assets/workspaceSettings-BE713Oe8.js.map +0 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as Crypto from "effect/Crypto";
|
|
2
|
+
import * as DateTime from "effect/DateTime";
|
|
2
3
|
import * as Effect from "effect/Effect";
|
|
3
4
|
import { Database } from "../../Database.js";
|
|
4
5
|
import type { PersistedRecordError, PersistenceOperationError, QuarantineWriteError } from "../../errors.js";
|
|
5
6
|
import { QuarantineRepository } from "../quarantineRepository.js";
|
|
6
|
-
import type { GovernedActionIdempotencyReadInput, GovernedActionReadInput, GovernedActionTargetReadInput } from "./contract.js";
|
|
7
|
+
import type { GovernedActionIdempotencyReadInput, GovernedActionReadInput, GovernedActionReleasePublicationReadInput, GovernedActionTargetReadInput } from "./contract.js";
|
|
7
8
|
import type { MalformedGovernedActionRecord } from "./quarantine.js";
|
|
8
9
|
/**
|
|
9
10
|
* Build the rollback-then-quarantine boundary shared by verified governed-action transactions.
|
|
@@ -12,33 +13,14 @@ import type { MalformedGovernedActionRecord } from "./quarantine.js";
|
|
|
12
13
|
export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
13
14
|
capture: <Value, Failure, Requirements>(effect: Effect.Effect<Value, Failure, Requirements>) => Effect.Effect<Value, Failure | PersistedRecordError | PersistenceOperationError | QuarantineWriteError, Requirements>;
|
|
14
15
|
read: (request: GovernedActionReadInput) => Effect.Effect<{
|
|
15
|
-
envelope:
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly pluginConnectionAuthorityDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
24
|
-
readonly pluginId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
25
|
-
readonly pluginContractVersion: import("effect/Schema").Struct<{
|
|
26
|
-
readonly major: import("effect/Schema").Int;
|
|
27
|
-
readonly minor: import("effect/Schema").Int;
|
|
28
|
-
readonly patch: import("effect/Schema").Int;
|
|
29
|
-
}>;
|
|
30
|
-
readonly pluginAdapterVersion: import("effect/Schema").Struct<{
|
|
31
|
-
readonly major: import("effect/Schema").Int;
|
|
32
|
-
readonly minor: import("effect/Schema").Int;
|
|
33
|
-
readonly patch: import("effect/Schema").Int;
|
|
34
|
-
}>;
|
|
35
|
-
readonly providerId: import("effect/Schema").Literals<readonly ["codecommit", "codepipeline", "jira", "confluence", "clockify"]>;
|
|
36
|
-
readonly capability: import("effect/Schema").Struct<{
|
|
37
|
-
readonly capabilityId: import("effect/Schema").Literal<"action.execute">;
|
|
38
|
-
readonly version: import("effect/Schema").Int;
|
|
39
|
-
}>;
|
|
40
|
-
readonly targetEntityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
41
|
-
readonly proposal: import("effect/Schema").Struct<{
|
|
16
|
+
envelope: {
|
|
17
|
+
readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
|
|
18
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
19
|
+
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
20
|
+
readonly schemaVersion: 1;
|
|
21
|
+
readonly causationId: (string & import("effect/Brand").Brand<"DomainEventId">) | null;
|
|
22
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"DomainEventCorrelationId">) | null;
|
|
23
|
+
readonly proposal: import("effect/Schema").Struct.ReadonlySide<{
|
|
42
24
|
readonly proposalKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
43
25
|
readonly capabilityVersion: import("effect/Schema").Int;
|
|
44
26
|
readonly request: import("effect/Schema").Struct<{
|
|
@@ -58,8 +40,35 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
58
40
|
readonly summary: import("effect/Schema").String;
|
|
59
41
|
}>;
|
|
60
42
|
readonly proposedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
61
|
-
}>;
|
|
62
|
-
readonly
|
|
43
|
+
}, "Type">;
|
|
44
|
+
readonly idempotencyKey: string & import("effect/Brand").Brand<"GovernedActionIdempotencyKey">;
|
|
45
|
+
readonly pluginId: string & import("effect/Brand").Brand<string>;
|
|
46
|
+
readonly actionId: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
47
|
+
readonly policy: import("effect/Schema").Struct.ReadonlySide<{
|
|
48
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
49
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
50
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
51
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
52
|
+
}, "Type">;
|
|
53
|
+
readonly evidenceSetDigest: string & import("effect/Brand").Brand<string>;
|
|
54
|
+
readonly pluginConnectionRevision: number & import("effect/Brand").Brand<"GovernedActionPluginConnectionRevision">;
|
|
55
|
+
readonly pluginConnectionAuthorityDigest: string & import("effect/Brand").Brand<string>;
|
|
56
|
+
readonly pluginContractVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
57
|
+
readonly major: import("effect/Schema").Int;
|
|
58
|
+
readonly minor: import("effect/Schema").Int;
|
|
59
|
+
readonly patch: import("effect/Schema").Int;
|
|
60
|
+
}, "Type">;
|
|
61
|
+
readonly pluginAdapterVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
62
|
+
readonly major: import("effect/Schema").Int;
|
|
63
|
+
readonly minor: import("effect/Schema").Int;
|
|
64
|
+
readonly patch: import("effect/Schema").Int;
|
|
65
|
+
}, "Type">;
|
|
66
|
+
readonly capability: import("effect/Schema").Struct.ReadonlySide<{
|
|
67
|
+
readonly capabilityId: import("effect/Schema").Literal<"action.execute">;
|
|
68
|
+
readonly version: import("effect/Schema").Int;
|
|
69
|
+
}, "Type">;
|
|
70
|
+
readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
|
|
71
|
+
readonly evidence: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
63
72
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
64
73
|
readonly evidenceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceId">;
|
|
65
74
|
readonly evidenceClaimIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceClaimId">>;
|
|
@@ -69,33 +78,483 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
69
78
|
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
70
79
|
readonly source: import("effect/Schema").Literals<readonly ["current", "stale", "missing", "unavailable"]>;
|
|
71
80
|
readonly validity: import("effect/Schema").Literals<readonly ["valid", "expired"]>;
|
|
72
|
-
}
|
|
73
|
-
readonly
|
|
74
|
-
|
|
75
|
-
readonly
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
readonly
|
|
81
|
+
}, "Type">[];
|
|
82
|
+
readonly origin: import("effect/Schema").Struct.ReadonlySide<{
|
|
83
|
+
readonly _tag: import("effect/Schema").tag<"human">;
|
|
84
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
85
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
86
|
+
}>;
|
|
87
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
88
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
89
|
+
readonly _tag: import("effect/Schema").tag<"agent">;
|
|
90
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
91
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
92
|
+
}>;
|
|
93
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
94
|
+
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
95
|
+
}, "Type">;
|
|
96
|
+
readonly proposalExpiresAt: DateTime.Utc;
|
|
97
|
+
readonly envelopeDigest: string & import("effect/Brand").Brand<string>;
|
|
98
|
+
readonly releasePublication?: {
|
|
99
|
+
readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
|
|
100
|
+
readonly sourceRevisionDigest: string & import("effect/Brand").Brand<string>;
|
|
101
|
+
readonly sourceRevisionCount: number;
|
|
102
|
+
readonly predecessorPublicationActionId?: (string & import("effect/Brand").Brand<"GovernedActionId">) | null;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
head: import("effect/Schema").Struct.ReadonlySide<{
|
|
106
|
+
readonly state: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
107
|
+
readonly lineage: import("effect/Schema").TaggedUnion<{
|
|
108
|
+
readonly accepted: import("effect/Schema").TaggedStruct<"accepted", {
|
|
109
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
110
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
111
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
112
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
113
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
114
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
115
|
+
}>;
|
|
116
|
+
}>;
|
|
117
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
118
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
119
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
120
|
+
}>;
|
|
121
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
122
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
123
|
+
}>;
|
|
124
|
+
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
125
|
+
readonly terminal: import("effect/Schema").TaggedStruct<"terminal", {
|
|
126
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
127
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
128
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
129
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
130
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
131
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
132
|
+
}>;
|
|
133
|
+
}>;
|
|
79
134
|
}>;
|
|
80
|
-
|
|
135
|
+
}, "Type">;
|
|
136
|
+
headTransition: import("effect/Schema").Struct.ReadonlySide<{
|
|
137
|
+
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
138
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
139
|
+
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
140
|
+
readonly previousTransitionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">>;
|
|
141
|
+
readonly commandId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
142
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
143
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
144
|
+
readonly sequence: import("effect/Schema").Int;
|
|
145
|
+
readonly fromState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
|
|
146
|
+
readonly toState: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
147
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
148
|
+
readonly command: import("effect/Schema").TaggedUnion<{
|
|
149
|
+
readonly propose: import("effect/Schema").TaggedStruct<"propose", {}>;
|
|
150
|
+
readonly authorize: import("effect/Schema").TaggedStruct<"authorize", {
|
|
151
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
152
|
+
}>;
|
|
153
|
+
readonly deny: import("effect/Schema").TaggedStruct<"deny", {
|
|
154
|
+
readonly reason: import("effect/Schema").Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
|
|
155
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
156
|
+
}>;
|
|
157
|
+
readonly expire: import("effect/Schema").TaggedStruct<"expire", {
|
|
158
|
+
readonly reason: import("effect/Schema").Literals<readonly ["proposal-expired", "authorization-expired"]>;
|
|
159
|
+
}>;
|
|
160
|
+
readonly cancel: import("effect/Schema").TaggedStruct<"cancel", {
|
|
161
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
162
|
+
}>;
|
|
163
|
+
readonly start: import("effect/Schema").TaggedStruct<"start", {
|
|
164
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
165
|
+
}>;
|
|
166
|
+
readonly requestCancellation: import("effect/Schema").TaggedStruct<"requestCancellation", {
|
|
167
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
168
|
+
}>;
|
|
169
|
+
readonly recordAccepted: import("effect/Schema").TaggedStruct<"recordAccepted", {
|
|
170
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
171
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
172
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
173
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
174
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
175
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
176
|
+
}>;
|
|
177
|
+
}>;
|
|
178
|
+
readonly recordSucceeded: import("effect/Schema").TaggedStruct<"recordSucceeded", {
|
|
179
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
180
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
181
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
182
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
183
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
184
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
185
|
+
}>;
|
|
186
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
187
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
188
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
189
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
190
|
+
}>;
|
|
191
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
192
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
193
|
+
}>;
|
|
194
|
+
}>;
|
|
195
|
+
}>;
|
|
196
|
+
readonly recordFailed: import("effect/Schema").TaggedStruct<"recordFailed", {
|
|
197
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
198
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
199
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
200
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
201
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
202
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
203
|
+
}>;
|
|
204
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
205
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
206
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
207
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
208
|
+
}>;
|
|
209
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
210
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
211
|
+
}>;
|
|
212
|
+
}>;
|
|
213
|
+
}>;
|
|
214
|
+
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
215
|
+
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
216
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
217
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
218
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
219
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
220
|
+
}>;
|
|
221
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
222
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
223
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
224
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
225
|
+
}>;
|
|
226
|
+
}>;
|
|
227
|
+
}>;
|
|
228
|
+
readonly recordCancelled: import("effect/Schema").TaggedStruct<"recordCancelled", {
|
|
229
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
230
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
231
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
232
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
233
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
234
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
235
|
+
}>;
|
|
236
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
237
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
238
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
239
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
240
|
+
}>;
|
|
241
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
242
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
243
|
+
}>;
|
|
244
|
+
}>;
|
|
245
|
+
}>;
|
|
246
|
+
readonly reconciliationPending: import("effect/Schema").TaggedStruct<"reconciliationPending", {
|
|
247
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
248
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
249
|
+
}>;
|
|
250
|
+
}>;
|
|
251
|
+
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
252
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
253
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
254
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
255
|
+
}>;
|
|
256
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
257
|
+
}>;
|
|
81
258
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
82
259
|
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
83
260
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
84
261
|
}>;
|
|
85
262
|
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
86
|
-
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
87
263
|
}>;
|
|
264
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
265
|
+
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
266
|
+
}>;
|
|
267
|
+
}>;
|
|
268
|
+
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
269
|
+
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
270
|
+
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
271
|
+
}, "Type">;
|
|
272
|
+
history: import("effect/Schema").Struct.ReadonlySide<{
|
|
273
|
+
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
274
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
275
|
+
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
276
|
+
readonly previousTransitionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">>;
|
|
277
|
+
readonly commandId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
278
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
279
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
280
|
+
readonly sequence: import("effect/Schema").Int;
|
|
281
|
+
readonly fromState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
|
|
282
|
+
readonly toState: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
283
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
284
|
+
readonly command: import("effect/Schema").TaggedUnion<{
|
|
285
|
+
readonly propose: import("effect/Schema").TaggedStruct<"propose", {}>;
|
|
286
|
+
readonly authorize: import("effect/Schema").TaggedStruct<"authorize", {
|
|
287
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
288
|
+
}>;
|
|
289
|
+
readonly deny: import("effect/Schema").TaggedStruct<"deny", {
|
|
290
|
+
readonly reason: import("effect/Schema").Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
|
|
291
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
292
|
+
}>;
|
|
293
|
+
readonly expire: import("effect/Schema").TaggedStruct<"expire", {
|
|
294
|
+
readonly reason: import("effect/Schema").Literals<readonly ["proposal-expired", "authorization-expired"]>;
|
|
295
|
+
}>;
|
|
296
|
+
readonly cancel: import("effect/Schema").TaggedStruct<"cancel", {
|
|
297
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
298
|
+
}>;
|
|
299
|
+
readonly start: import("effect/Schema").TaggedStruct<"start", {
|
|
300
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
301
|
+
}>;
|
|
302
|
+
readonly requestCancellation: import("effect/Schema").TaggedStruct<"requestCancellation", {
|
|
303
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
304
|
+
}>;
|
|
305
|
+
readonly recordAccepted: import("effect/Schema").TaggedStruct<"recordAccepted", {
|
|
306
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
307
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
308
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
309
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
310
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
311
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
312
|
+
}>;
|
|
313
|
+
}>;
|
|
314
|
+
readonly recordSucceeded: import("effect/Schema").TaggedStruct<"recordSucceeded", {
|
|
315
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
316
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
317
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
318
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
319
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
320
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
321
|
+
}>;
|
|
322
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
323
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
324
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
325
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
326
|
+
}>;
|
|
327
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
328
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
329
|
+
}>;
|
|
330
|
+
}>;
|
|
331
|
+
}>;
|
|
332
|
+
readonly recordFailed: import("effect/Schema").TaggedStruct<"recordFailed", {
|
|
333
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
334
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
335
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
336
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
337
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
338
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
339
|
+
}>;
|
|
340
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
341
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
342
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
343
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
344
|
+
}>;
|
|
345
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
346
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
347
|
+
}>;
|
|
348
|
+
}>;
|
|
349
|
+
}>;
|
|
350
|
+
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
351
|
+
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
352
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
353
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
354
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
355
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
356
|
+
}>;
|
|
357
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
358
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
359
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
360
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
361
|
+
}>;
|
|
362
|
+
}>;
|
|
363
|
+
}>;
|
|
364
|
+
readonly recordCancelled: import("effect/Schema").TaggedStruct<"recordCancelled", {
|
|
365
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
366
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
367
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
368
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
369
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
370
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
371
|
+
}>;
|
|
372
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
373
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
374
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
375
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
376
|
+
}>;
|
|
377
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
378
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
379
|
+
}>;
|
|
380
|
+
}>;
|
|
381
|
+
}>;
|
|
382
|
+
readonly reconciliationPending: import("effect/Schema").TaggedStruct<"reconciliationPending", {
|
|
383
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
384
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
385
|
+
}>;
|
|
386
|
+
}>;
|
|
387
|
+
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
88
388
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
89
389
|
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
90
390
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
91
391
|
}>;
|
|
92
392
|
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
93
393
|
}>;
|
|
394
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
395
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
396
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
397
|
+
}>;
|
|
398
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
399
|
+
}>;
|
|
400
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
401
|
+
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
402
|
+
}>;
|
|
94
403
|
}>;
|
|
95
|
-
readonly
|
|
404
|
+
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
96
405
|
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
97
406
|
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
98
|
-
}, "Type"
|
|
407
|
+
}, "Type">[];
|
|
408
|
+
authorization: import("effect/Schema").Struct.ReadonlySide<{
|
|
409
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
410
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
411
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
412
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
413
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
414
|
+
readonly pluginConnectionRevision: import("effect/Schema").brand<import("effect/Schema").Int, "GovernedActionPluginConnectionRevision">;
|
|
415
|
+
readonly pluginConnectionAuthorityDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
416
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
417
|
+
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
418
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
419
|
+
readonly evidenceSetDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
420
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
421
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
422
|
+
readonly capabilityVersion: import("effect/Schema").Int;
|
|
423
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
424
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
425
|
+
}>;
|
|
426
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
427
|
+
readonly sessionPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
428
|
+
readonly sessionExpiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
429
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
430
|
+
readonly authorizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
431
|
+
readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
432
|
+
}, "Type"> | null;
|
|
433
|
+
policyEvaluation: import("effect/Schema").Struct.ReadonlySide<{
|
|
434
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
435
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
436
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
437
|
+
readonly policy: import("effect/Schema").Struct<{
|
|
438
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
439
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
440
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
441
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
442
|
+
}>;
|
|
443
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
444
|
+
readonly evidenceSetDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
445
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
446
|
+
readonly decision: import("effect/Schema").Literals<readonly ["allowed", "denied"]>;
|
|
447
|
+
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
448
|
+
}, "Type"> | null;
|
|
449
|
+
attempt: import("effect/Schema").Struct.ReadonlySide<{
|
|
450
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
451
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
452
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
453
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
454
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
455
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
456
|
+
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
457
|
+
readonly attemptNumber: import("effect/Schema").Literal<1>;
|
|
458
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
459
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
460
|
+
readonly policyEvaluationDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
461
|
+
readonly preflight: import("effect/Schema").TaggedStruct<"ready", {
|
|
462
|
+
readonly checkedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
463
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
464
|
+
}>;
|
|
465
|
+
readonly startedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
466
|
+
}, "Type"> | null;
|
|
467
|
+
}, import("../../errors.js").RecordNotFoundError | PersistenceOperationError | PersistedRecordError | import("effect/unstable/sql/SqlError").SqlError | MalformedGovernedActionRecord, never>;
|
|
468
|
+
readByIdempotencyKey: (request: GovernedActionIdempotencyReadInput) => Effect.Effect<{
|
|
469
|
+
envelope: {
|
|
470
|
+
readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
|
|
471
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
472
|
+
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
473
|
+
readonly schemaVersion: 1;
|
|
474
|
+
readonly causationId: (string & import("effect/Brand").Brand<"DomainEventId">) | null;
|
|
475
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"DomainEventCorrelationId">) | null;
|
|
476
|
+
readonly proposal: import("effect/Schema").Struct.ReadonlySide<{
|
|
477
|
+
readonly proposalKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
478
|
+
readonly capabilityVersion: import("effect/Schema").Int;
|
|
479
|
+
readonly request: import("effect/Schema").Struct<{
|
|
480
|
+
readonly actionKind: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
481
|
+
readonly target: import("effect/Schema").Struct<{
|
|
482
|
+
entityType: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
483
|
+
vendorImmutableId: import("effect/Schema").brand<import("effect/Schema").String, "VendorImmutableId">;
|
|
484
|
+
}>;
|
|
485
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
486
|
+
readonly payload: import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>;
|
|
487
|
+
readonly evidenceIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
488
|
+
}>;
|
|
489
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
490
|
+
readonly summary: import("effect/Schema").String;
|
|
491
|
+
readonly impact: import("effect/Schema").Struct<{
|
|
492
|
+
readonly level: import("effect/Schema").Literals<readonly ["low", "medium", "high", "critical"]>;
|
|
493
|
+
readonly summary: import("effect/Schema").String;
|
|
494
|
+
}>;
|
|
495
|
+
readonly proposedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
496
|
+
}, "Type">;
|
|
497
|
+
readonly idempotencyKey: string & import("effect/Brand").Brand<"GovernedActionIdempotencyKey">;
|
|
498
|
+
readonly pluginId: string & import("effect/Brand").Brand<string>;
|
|
499
|
+
readonly actionId: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
500
|
+
readonly policy: import("effect/Schema").Struct.ReadonlySide<{
|
|
501
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
502
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
503
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
504
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
505
|
+
}, "Type">;
|
|
506
|
+
readonly evidenceSetDigest: string & import("effect/Brand").Brand<string>;
|
|
507
|
+
readonly pluginConnectionRevision: number & import("effect/Brand").Brand<"GovernedActionPluginConnectionRevision">;
|
|
508
|
+
readonly pluginConnectionAuthorityDigest: string & import("effect/Brand").Brand<string>;
|
|
509
|
+
readonly pluginContractVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
510
|
+
readonly major: import("effect/Schema").Int;
|
|
511
|
+
readonly minor: import("effect/Schema").Int;
|
|
512
|
+
readonly patch: import("effect/Schema").Int;
|
|
513
|
+
}, "Type">;
|
|
514
|
+
readonly pluginAdapterVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
515
|
+
readonly major: import("effect/Schema").Int;
|
|
516
|
+
readonly minor: import("effect/Schema").Int;
|
|
517
|
+
readonly patch: import("effect/Schema").Int;
|
|
518
|
+
}, "Type">;
|
|
519
|
+
readonly capability: import("effect/Schema").Struct.ReadonlySide<{
|
|
520
|
+
readonly capabilityId: import("effect/Schema").Literal<"action.execute">;
|
|
521
|
+
readonly version: import("effect/Schema").Int;
|
|
522
|
+
}, "Type">;
|
|
523
|
+
readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
|
|
524
|
+
readonly evidence: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
525
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
526
|
+
readonly evidenceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceId">;
|
|
527
|
+
readonly evidenceClaimIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceClaimId">>;
|
|
528
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
529
|
+
readonly validUntil: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
530
|
+
readonly currentUntil: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
531
|
+
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
532
|
+
readonly source: import("effect/Schema").Literals<readonly ["current", "stale", "missing", "unavailable"]>;
|
|
533
|
+
readonly validity: import("effect/Schema").Literals<readonly ["valid", "expired"]>;
|
|
534
|
+
}, "Type">[];
|
|
535
|
+
readonly origin: import("effect/Schema").Struct.ReadonlySide<{
|
|
536
|
+
readonly _tag: import("effect/Schema").tag<"human">;
|
|
537
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
538
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
539
|
+
}>;
|
|
540
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
541
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
542
|
+
readonly _tag: import("effect/Schema").tag<"agent">;
|
|
543
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
544
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
545
|
+
}>;
|
|
546
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
547
|
+
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
548
|
+
}, "Type">;
|
|
549
|
+
readonly proposalExpiresAt: DateTime.Utc;
|
|
550
|
+
readonly envelopeDigest: string & import("effect/Brand").Brand<string>;
|
|
551
|
+
readonly releasePublication?: {
|
|
552
|
+
readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
|
|
553
|
+
readonly sourceRevisionDigest: string & import("effect/Brand").Brand<string>;
|
|
554
|
+
readonly sourceRevisionCount: number;
|
|
555
|
+
readonly predecessorPublicationActionId?: (string & import("effect/Brand").Brand<"GovernedActionId">) | null;
|
|
556
|
+
};
|
|
557
|
+
};
|
|
99
558
|
head: import("effect/Schema").Struct.ReadonlySide<{
|
|
100
559
|
readonly state: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
101
560
|
readonly lineage: import("effect/Schema").TaggedUnion<{
|
|
@@ -108,14 +567,14 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
108
567
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
109
568
|
}>;
|
|
110
569
|
}>;
|
|
111
|
-
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
112
|
-
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
113
|
-
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
114
|
-
}>;
|
|
115
570
|
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
116
571
|
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
117
572
|
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
118
573
|
}>;
|
|
574
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
575
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
576
|
+
}>;
|
|
577
|
+
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
119
578
|
readonly terminal: import("effect/Schema").TaggedStruct<"terminal", {
|
|
120
579
|
readonly receipt: import("effect/Schema").Struct<{
|
|
121
580
|
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
@@ -207,15 +666,15 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
207
666
|
}>;
|
|
208
667
|
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
209
668
|
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
210
|
-
readonly
|
|
669
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
670
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
211
671
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
212
672
|
readonly safeSummary: import("effect/Schema").String;
|
|
213
|
-
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
214
673
|
}>;
|
|
215
|
-
readonly
|
|
216
|
-
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
674
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
217
675
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
218
676
|
readonly safeSummary: import("effect/Schema").String;
|
|
677
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
219
678
|
}>;
|
|
220
679
|
}>;
|
|
221
680
|
}>;
|
|
@@ -243,17 +702,17 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
243
702
|
}>;
|
|
244
703
|
}>;
|
|
245
704
|
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
246
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
247
|
-
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
248
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
249
|
-
}>;
|
|
250
|
-
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
251
|
-
}>;
|
|
252
705
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
253
706
|
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
254
707
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
255
708
|
}>;
|
|
256
|
-
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
709
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
710
|
+
}>;
|
|
711
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
712
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
713
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
714
|
+
}>;
|
|
715
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
257
716
|
}>;
|
|
258
717
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
259
718
|
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
@@ -343,15 +802,15 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
343
802
|
}>;
|
|
344
803
|
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
345
804
|
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
346
|
-
readonly
|
|
805
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
806
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
347
807
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
348
808
|
readonly safeSummary: import("effect/Schema").String;
|
|
349
|
-
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
350
809
|
}>;
|
|
351
|
-
readonly
|
|
352
|
-
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
810
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
353
811
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
354
812
|
readonly safeSummary: import("effect/Schema").String;
|
|
813
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
355
814
|
}>;
|
|
356
815
|
}>;
|
|
357
816
|
}>;
|
|
@@ -379,18 +838,18 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
379
838
|
}>;
|
|
380
839
|
}>;
|
|
381
840
|
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
382
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
383
|
-
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
384
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
385
|
-
}>;
|
|
386
|
-
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
387
|
-
}>;
|
|
388
841
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
389
842
|
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
390
843
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
391
844
|
}>;
|
|
392
845
|
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
393
846
|
}>;
|
|
847
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
848
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
849
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
850
|
+
}>;
|
|
851
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
852
|
+
}>;
|
|
394
853
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
395
854
|
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
396
855
|
}>;
|
|
@@ -459,8 +918,8 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
459
918
|
readonly startedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
460
919
|
}, "Type"> | null;
|
|
461
920
|
}, import("../../errors.js").RecordNotFoundError | PersistenceOperationError | PersistedRecordError | import("effect/unstable/sql/SqlError").SqlError | MalformedGovernedActionRecord, never>;
|
|
462
|
-
|
|
463
|
-
envelope: import("effect/Schema").Struct
|
|
921
|
+
readLatestTerminalByTarget: (request: GovernedActionTargetReadInput) => Effect.Effect<readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
922
|
+
readonly envelope: import("effect/Schema").Struct<{
|
|
464
923
|
readonly envelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
465
924
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
466
925
|
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
@@ -526,6 +985,12 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
526
985
|
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
527
986
|
}>;
|
|
528
987
|
readonly origin: import("effect/Schema").TaggedUnion<{
|
|
988
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
989
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
990
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
991
|
+
}>;
|
|
992
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
993
|
+
}>;
|
|
529
994
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
530
995
|
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
531
996
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
@@ -533,18 +998,18 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
533
998
|
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
534
999
|
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
535
1000
|
}>;
|
|
536
|
-
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
537
|
-
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
538
|
-
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
539
|
-
}>;
|
|
540
|
-
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
541
|
-
}>;
|
|
542
1001
|
}>;
|
|
543
1002
|
readonly proposalExpiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
544
1003
|
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
545
1004
|
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
546
|
-
|
|
547
|
-
|
|
1005
|
+
readonly releasePublication: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
1006
|
+
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
1007
|
+
readonly predecessorPublicationActionId: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">>>;
|
|
1008
|
+
readonly sourceRevisionDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1009
|
+
readonly sourceRevisionCount: import("effect/Schema").Int;
|
|
1010
|
+
}>>;
|
|
1011
|
+
}>;
|
|
1012
|
+
readonly head: import("effect/Schema").Struct<{
|
|
548
1013
|
readonly state: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
549
1014
|
readonly lineage: import("effect/Schema").TaggedUnion<{
|
|
550
1015
|
readonly accepted: import("effect/Schema").TaggedStruct<"accepted", {
|
|
@@ -556,14 +1021,14 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
556
1021
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
557
1022
|
}>;
|
|
558
1023
|
}>;
|
|
559
|
-
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
560
|
-
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
561
|
-
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
562
|
-
}>;
|
|
563
1024
|
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
564
1025
|
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
565
1026
|
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
566
1027
|
}>;
|
|
1028
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
1029
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1030
|
+
}>;
|
|
1031
|
+
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
567
1032
|
readonly terminal: import("effect/Schema").TaggedStruct<"terminal", {
|
|
568
1033
|
readonly receipt: import("effect/Schema").Struct<{
|
|
569
1034
|
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
@@ -574,8 +1039,8 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
574
1039
|
}>;
|
|
575
1040
|
}>;
|
|
576
1041
|
}>;
|
|
577
|
-
}
|
|
578
|
-
headTransition: import("effect/Schema").Struct
|
|
1042
|
+
}>;
|
|
1043
|
+
readonly headTransition: import("effect/Schema").Struct<{
|
|
579
1044
|
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
580
1045
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
581
1046
|
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
@@ -655,15 +1120,15 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
655
1120
|
}>;
|
|
656
1121
|
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
657
1122
|
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
658
|
-
readonly
|
|
1123
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
1124
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
659
1125
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
660
1126
|
readonly safeSummary: import("effect/Schema").String;
|
|
661
|
-
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
662
1127
|
}>;
|
|
663
|
-
readonly
|
|
664
|
-
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1128
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
665
1129
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
666
1130
|
readonly safeSummary: import("effect/Schema").String;
|
|
1131
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
667
1132
|
}>;
|
|
668
1133
|
}>;
|
|
669
1134
|
}>;
|
|
@@ -691,18 +1156,18 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
691
1156
|
}>;
|
|
692
1157
|
}>;
|
|
693
1158
|
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
694
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
695
|
-
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
696
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
697
|
-
}>;
|
|
698
|
-
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
699
|
-
}>;
|
|
700
1159
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
701
1160
|
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
702
1161
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
703
1162
|
}>;
|
|
704
1163
|
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
705
1164
|
}>;
|
|
1165
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1166
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
1167
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1168
|
+
}>;
|
|
1169
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1170
|
+
}>;
|
|
706
1171
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
707
1172
|
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
708
1173
|
}>;
|
|
@@ -710,8 +1175,8 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
710
1175
|
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
711
1176
|
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
712
1177
|
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
713
|
-
}
|
|
714
|
-
history: import("effect/Schema").Struct
|
|
1178
|
+
}>;
|
|
1179
|
+
readonly history: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
715
1180
|
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
716
1181
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
717
1182
|
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
@@ -791,15 +1256,15 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
791
1256
|
}>;
|
|
792
1257
|
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
793
1258
|
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
794
|
-
readonly
|
|
1259
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
1260
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
795
1261
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
796
1262
|
readonly safeSummary: import("effect/Schema").String;
|
|
797
|
-
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
798
1263
|
}>;
|
|
799
|
-
readonly
|
|
800
|
-
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1264
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
801
1265
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
802
1266
|
readonly safeSummary: import("effect/Schema").String;
|
|
1267
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
803
1268
|
}>;
|
|
804
1269
|
}>;
|
|
805
1270
|
}>;
|
|
@@ -827,18 +1292,18 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
827
1292
|
}>;
|
|
828
1293
|
}>;
|
|
829
1294
|
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
830
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
831
|
-
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
832
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
833
|
-
}>;
|
|
834
|
-
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
835
|
-
}>;
|
|
836
1295
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
837
1296
|
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
838
1297
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
839
1298
|
}>;
|
|
840
1299
|
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
841
1300
|
}>;
|
|
1301
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1302
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
1303
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1304
|
+
}>;
|
|
1305
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1306
|
+
}>;
|
|
842
1307
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
843
1308
|
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
844
1309
|
}>;
|
|
@@ -846,8 +1311,8 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
846
1311
|
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
847
1312
|
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
848
1313
|
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
849
|
-
}
|
|
850
|
-
authorization: import("effect/Schema").Struct
|
|
1314
|
+
}>>;
|
|
1315
|
+
readonly authorization: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
851
1316
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
852
1317
|
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
853
1318
|
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
@@ -871,8 +1336,8 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
871
1336
|
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
872
1337
|
readonly authorizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
873
1338
|
readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
874
|
-
}
|
|
875
|
-
policyEvaluation: import("effect/Schema").Struct
|
|
1339
|
+
}>>;
|
|
1340
|
+
readonly policyEvaluation: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
876
1341
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
877
1342
|
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
878
1343
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
@@ -887,8 +1352,8 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
887
1352
|
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
888
1353
|
readonly decision: import("effect/Schema").Literals<readonly ["allowed", "denied"]>;
|
|
889
1354
|
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
890
|
-
}
|
|
891
|
-
attempt: import("effect/Schema").Struct
|
|
1355
|
+
}>>;
|
|
1356
|
+
readonly attempt: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
892
1357
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
893
1358
|
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
894
1359
|
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
@@ -905,36 +1370,17 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
905
1370
|
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
906
1371
|
}>;
|
|
907
1372
|
readonly startedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
908
|
-
}
|
|
909
|
-
}, import("../../errors.js").RecordNotFoundError | PersistenceOperationError | PersistedRecordError | import("effect/unstable/sql/SqlError").SqlError | MalformedGovernedActionRecord, never>;
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
readonly
|
|
913
|
-
readonly
|
|
914
|
-
readonly
|
|
915
|
-
readonly
|
|
916
|
-
readonly
|
|
917
|
-
readonly
|
|
918
|
-
readonly
|
|
919
|
-
readonly pluginConnectionAuthorityDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
920
|
-
readonly pluginId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
921
|
-
readonly pluginContractVersion: import("effect/Schema").Struct<{
|
|
922
|
-
readonly major: import("effect/Schema").Int;
|
|
923
|
-
readonly minor: import("effect/Schema").Int;
|
|
924
|
-
readonly patch: import("effect/Schema").Int;
|
|
925
|
-
}>;
|
|
926
|
-
readonly pluginAdapterVersion: import("effect/Schema").Struct<{
|
|
927
|
-
readonly major: import("effect/Schema").Int;
|
|
928
|
-
readonly minor: import("effect/Schema").Int;
|
|
929
|
-
readonly patch: import("effect/Schema").Int;
|
|
930
|
-
}>;
|
|
931
|
-
readonly providerId: import("effect/Schema").Literals<readonly ["codecommit", "codepipeline", "jira", "confluence", "clockify"]>;
|
|
932
|
-
readonly capability: import("effect/Schema").Struct<{
|
|
933
|
-
readonly capabilityId: import("effect/Schema").Literal<"action.execute">;
|
|
934
|
-
readonly version: import("effect/Schema").Int;
|
|
935
|
-
}>;
|
|
936
|
-
readonly targetEntityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
937
|
-
readonly proposal: import("effect/Schema").Struct<{
|
|
1373
|
+
}>>;
|
|
1374
|
+
}, "Type">[], import("../../errors.js").RecordNotFoundError | PersistenceOperationError | PersistedRecordError | import("effect/unstable/sql/SqlError").SqlError | MalformedGovernedActionRecord, never>;
|
|
1375
|
+
readLatestTerminalReleasePublications: (request: GovernedActionReleasePublicationReadInput) => Effect.Effect<{
|
|
1376
|
+
envelope: {
|
|
1377
|
+
readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
|
|
1378
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
1379
|
+
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
1380
|
+
readonly schemaVersion: 1;
|
|
1381
|
+
readonly causationId: (string & import("effect/Brand").Brand<"DomainEventId">) | null;
|
|
1382
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"DomainEventCorrelationId">) | null;
|
|
1383
|
+
readonly proposal: import("effect/Schema").Struct.ReadonlySide<{
|
|
938
1384
|
readonly proposalKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
939
1385
|
readonly capabilityVersion: import("effect/Schema").Int;
|
|
940
1386
|
readonly request: import("effect/Schema").Struct<{
|
|
@@ -954,8 +1400,35 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
954
1400
|
readonly summary: import("effect/Schema").String;
|
|
955
1401
|
}>;
|
|
956
1402
|
readonly proposedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
957
|
-
}>;
|
|
958
|
-
readonly
|
|
1403
|
+
}, "Type">;
|
|
1404
|
+
readonly idempotencyKey: string & import("effect/Brand").Brand<"GovernedActionIdempotencyKey">;
|
|
1405
|
+
readonly pluginId: string & import("effect/Brand").Brand<string>;
|
|
1406
|
+
readonly actionId: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
1407
|
+
readonly policy: import("effect/Schema").Struct.ReadonlySide<{
|
|
1408
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1409
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
1410
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1411
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
1412
|
+
}, "Type">;
|
|
1413
|
+
readonly evidenceSetDigest: string & import("effect/Brand").Brand<string>;
|
|
1414
|
+
readonly pluginConnectionRevision: number & import("effect/Brand").Brand<"GovernedActionPluginConnectionRevision">;
|
|
1415
|
+
readonly pluginConnectionAuthorityDigest: string & import("effect/Brand").Brand<string>;
|
|
1416
|
+
readonly pluginContractVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
1417
|
+
readonly major: import("effect/Schema").Int;
|
|
1418
|
+
readonly minor: import("effect/Schema").Int;
|
|
1419
|
+
readonly patch: import("effect/Schema").Int;
|
|
1420
|
+
}, "Type">;
|
|
1421
|
+
readonly pluginAdapterVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
1422
|
+
readonly major: import("effect/Schema").Int;
|
|
1423
|
+
readonly minor: import("effect/Schema").Int;
|
|
1424
|
+
readonly patch: import("effect/Schema").Int;
|
|
1425
|
+
}, "Type">;
|
|
1426
|
+
readonly capability: import("effect/Schema").Struct.ReadonlySide<{
|
|
1427
|
+
readonly capabilityId: import("effect/Schema").Literal<"action.execute">;
|
|
1428
|
+
readonly version: import("effect/Schema").Int;
|
|
1429
|
+
}, "Type">;
|
|
1430
|
+
readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
|
|
1431
|
+
readonly evidence: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
959
1432
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
960
1433
|
readonly evidenceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceId">;
|
|
961
1434
|
readonly evidenceClaimIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceClaimId">>;
|
|
@@ -965,34 +1438,31 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
965
1438
|
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
966
1439
|
readonly source: import("effect/Schema").Literals<readonly ["current", "stale", "missing", "unavailable"]>;
|
|
967
1440
|
readonly validity: import("effect/Schema").Literals<readonly ["valid", "expired"]>;
|
|
968
|
-
}
|
|
969
|
-
readonly
|
|
970
|
-
|
|
971
|
-
readonly
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
readonly
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
readonly
|
|
978
|
-
readonly
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
994
|
-
}>;
|
|
995
|
-
readonly head: import("effect/Schema").Struct<{
|
|
1441
|
+
}, "Type">[];
|
|
1442
|
+
readonly origin: import("effect/Schema").Struct.ReadonlySide<{
|
|
1443
|
+
readonly _tag: import("effect/Schema").tag<"human">;
|
|
1444
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
1445
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1446
|
+
}>;
|
|
1447
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
1448
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
1449
|
+
readonly _tag: import("effect/Schema").tag<"agent">;
|
|
1450
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
1451
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1452
|
+
}>;
|
|
1453
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1454
|
+
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
1455
|
+
}, "Type">;
|
|
1456
|
+
readonly proposalExpiresAt: DateTime.Utc;
|
|
1457
|
+
readonly envelopeDigest: string & import("effect/Brand").Brand<string>;
|
|
1458
|
+
readonly releasePublication?: {
|
|
1459
|
+
readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
|
|
1460
|
+
readonly sourceRevisionDigest: string & import("effect/Brand").Brand<string>;
|
|
1461
|
+
readonly sourceRevisionCount: number;
|
|
1462
|
+
readonly predecessorPublicationActionId?: (string & import("effect/Brand").Brand<"GovernedActionId">) | null;
|
|
1463
|
+
};
|
|
1464
|
+
};
|
|
1465
|
+
head: import("effect/Schema").Struct.ReadonlySide<{
|
|
996
1466
|
readonly state: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
997
1467
|
readonly lineage: import("effect/Schema").TaggedUnion<{
|
|
998
1468
|
readonly accepted: import("effect/Schema").TaggedStruct<"accepted", {
|
|
@@ -1004,14 +1474,14 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
1004
1474
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1005
1475
|
}>;
|
|
1006
1476
|
}>;
|
|
1007
|
-
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
1008
|
-
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
1009
|
-
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1010
|
-
}>;
|
|
1011
1477
|
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
1012
1478
|
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1013
1479
|
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1014
1480
|
}>;
|
|
1481
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
1482
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1483
|
+
}>;
|
|
1484
|
+
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
1015
1485
|
readonly terminal: import("effect/Schema").TaggedStruct<"terminal", {
|
|
1016
1486
|
readonly receipt: import("effect/Schema").Struct<{
|
|
1017
1487
|
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
@@ -1022,8 +1492,8 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
1022
1492
|
}>;
|
|
1023
1493
|
}>;
|
|
1024
1494
|
}>;
|
|
1025
|
-
}>;
|
|
1026
|
-
|
|
1495
|
+
}, "Type">;
|
|
1496
|
+
headTransition: import("effect/Schema").Struct.ReadonlySide<{
|
|
1027
1497
|
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
1028
1498
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1029
1499
|
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
@@ -1103,15 +1573,15 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
1103
1573
|
}>;
|
|
1104
1574
|
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
1105
1575
|
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
1106
|
-
readonly
|
|
1576
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
1577
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1107
1578
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1108
1579
|
readonly safeSummary: import("effect/Schema").String;
|
|
1109
|
-
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
1110
1580
|
}>;
|
|
1111
|
-
readonly
|
|
1112
|
-
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1581
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
1113
1582
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1114
1583
|
readonly safeSummary: import("effect/Schema").String;
|
|
1584
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
1115
1585
|
}>;
|
|
1116
1586
|
}>;
|
|
1117
1587
|
}>;
|
|
@@ -1139,18 +1609,18 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
1139
1609
|
}>;
|
|
1140
1610
|
}>;
|
|
1141
1611
|
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
1142
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1143
|
-
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
1144
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1145
|
-
}>;
|
|
1146
|
-
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1147
|
-
}>;
|
|
1148
1612
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1149
1613
|
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
1150
1614
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1151
1615
|
}>;
|
|
1152
1616
|
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
1153
1617
|
}>;
|
|
1618
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1619
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
1620
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1621
|
+
}>;
|
|
1622
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1623
|
+
}>;
|
|
1154
1624
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
1155
1625
|
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1156
1626
|
}>;
|
|
@@ -1158,8 +1628,8 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
1158
1628
|
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1159
1629
|
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
1160
1630
|
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
1161
|
-
}>;
|
|
1162
|
-
|
|
1631
|
+
}, "Type">;
|
|
1632
|
+
history: import("effect/Schema").Struct.ReadonlySide<{
|
|
1163
1633
|
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
1164
1634
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1165
1635
|
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
@@ -1239,15 +1709,15 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
1239
1709
|
}>;
|
|
1240
1710
|
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
1241
1711
|
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
1242
|
-
readonly
|
|
1712
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
1713
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1243
1714
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1244
1715
|
readonly safeSummary: import("effect/Schema").String;
|
|
1245
|
-
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
1246
1716
|
}>;
|
|
1247
|
-
readonly
|
|
1248
|
-
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1717
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
1249
1718
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1250
1719
|
readonly safeSummary: import("effect/Schema").String;
|
|
1720
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
1251
1721
|
}>;
|
|
1252
1722
|
}>;
|
|
1253
1723
|
}>;
|
|
@@ -1275,18 +1745,18 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
1275
1745
|
}>;
|
|
1276
1746
|
}>;
|
|
1277
1747
|
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
1278
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1279
|
-
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
1280
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1281
|
-
}>;
|
|
1282
|
-
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1283
|
-
}>;
|
|
1284
1748
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1285
1749
|
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
1286
1750
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1287
1751
|
}>;
|
|
1288
1752
|
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
1289
1753
|
}>;
|
|
1754
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1755
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
1756
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1757
|
+
}>;
|
|
1758
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1759
|
+
}>;
|
|
1290
1760
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
1291
1761
|
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1292
1762
|
}>;
|
|
@@ -1294,8 +1764,8 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
1294
1764
|
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1295
1765
|
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
1296
1766
|
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1767
|
+
}, "Type">[];
|
|
1768
|
+
authorization: import("effect/Schema").Struct.ReadonlySide<{
|
|
1299
1769
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1300
1770
|
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
1301
1771
|
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
@@ -1319,8 +1789,8 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
1319
1789
|
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
1320
1790
|
readonly authorizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1321
1791
|
readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1792
|
+
}, "Type"> | null;
|
|
1793
|
+
policyEvaluation: import("effect/Schema").Struct.ReadonlySide<{
|
|
1324
1794
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1325
1795
|
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
1326
1796
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
@@ -1335,8 +1805,8 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
1335
1805
|
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
1336
1806
|
readonly decision: import("effect/Schema").Literals<readonly ["allowed", "denied"]>;
|
|
1337
1807
|
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1808
|
+
}, "Type"> | null;
|
|
1809
|
+
attempt: import("effect/Schema").Struct.ReadonlySide<{
|
|
1340
1810
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1341
1811
|
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
1342
1812
|
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
@@ -1353,8 +1823,8 @@ export declare const makeGovernedActionTransaction: Effect.Effect<{
|
|
|
1353
1823
|
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1354
1824
|
}>;
|
|
1355
1825
|
readonly startedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1826
|
+
}, "Type"> | null;
|
|
1827
|
+
}[], import("../../errors.js").RecordNotFoundError | PersistenceOperationError | PersistedRecordError | import("effect/unstable/sql/SqlError").SqlError | MalformedGovernedActionRecord, never>;
|
|
1358
1828
|
transact: <Value, Failure, Requirements>(operation: string, effect: Effect.Effect<Value, Failure, Requirements>) => Effect.Effect<Value, Failure | PersistedRecordError | PersistenceOperationError | QuarantineWriteError, Requirements>;
|
|
1359
1829
|
}, never, Crypto.Crypto | Database | QuarantineRepository>;
|
|
1360
1830
|
//# sourceMappingURL=transaction.d.ts.map
|