@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,3 +1,4 @@
|
|
|
1
|
+
import * as DateTime from "effect/DateTime";
|
|
1
2
|
import * as Effect from "effect/Effect";
|
|
2
3
|
import * as Schema from "effect/Schema";
|
|
3
4
|
import { Database } from "../../Database.js";
|
|
@@ -8,33 +9,14 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
8
9
|
readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
|
|
9
10
|
readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
|
|
10
11
|
}, "Type">) => Effect.Effect<{
|
|
11
|
-
envelope:
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
readonly pluginConnectionAuthorityDigest: Schema.brand<Schema.String, string>;
|
|
20
|
-
readonly pluginId: Schema.brand<Schema.String, string>;
|
|
21
|
-
readonly pluginContractVersion: Schema.Struct<{
|
|
22
|
-
readonly major: Schema.Int;
|
|
23
|
-
readonly minor: Schema.Int;
|
|
24
|
-
readonly patch: Schema.Int;
|
|
25
|
-
}>;
|
|
26
|
-
readonly pluginAdapterVersion: Schema.Struct<{
|
|
27
|
-
readonly major: Schema.Int;
|
|
28
|
-
readonly minor: Schema.Int;
|
|
29
|
-
readonly patch: Schema.Int;
|
|
30
|
-
}>;
|
|
31
|
-
readonly providerId: Schema.Literals<readonly ["codecommit", "codepipeline", "jira", "confluence", "clockify"]>;
|
|
32
|
-
readonly capability: Schema.Struct<{
|
|
33
|
-
readonly capabilityId: Schema.Literal<"action.execute">;
|
|
34
|
-
readonly version: Schema.Int;
|
|
35
|
-
}>;
|
|
36
|
-
readonly targetEntityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
|
|
37
|
-
readonly proposal: Schema.Struct<{
|
|
12
|
+
envelope: {
|
|
13
|
+
readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
|
|
14
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
15
|
+
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
16
|
+
readonly schemaVersion: 1;
|
|
17
|
+
readonly causationId: (string & import("effect/Brand").Brand<"DomainEventId">) | null;
|
|
18
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"DomainEventCorrelationId">) | null;
|
|
19
|
+
readonly proposal: Schema.Struct.ReadonlySide<{
|
|
38
20
|
readonly proposalKey: Schema.brand<Schema.String, string>;
|
|
39
21
|
readonly capabilityVersion: Schema.Int;
|
|
40
22
|
readonly request: Schema.Struct<{
|
|
@@ -54,8 +36,35 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
54
36
|
readonly summary: Schema.String;
|
|
55
37
|
}>;
|
|
56
38
|
readonly proposedAt: Schema.DateTimeUtcFromString;
|
|
57
|
-
}>;
|
|
58
|
-
readonly
|
|
39
|
+
}, "Type">;
|
|
40
|
+
readonly idempotencyKey: string & import("effect/Brand").Brand<"GovernedActionIdempotencyKey">;
|
|
41
|
+
readonly pluginId: string & import("effect/Brand").Brand<string>;
|
|
42
|
+
readonly actionId: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
43
|
+
readonly policy: Schema.Struct.ReadonlySide<{
|
|
44
|
+
readonly policyId: Schema.brand<Schema.String, string>;
|
|
45
|
+
readonly policyVersion: Schema.Int;
|
|
46
|
+
readonly policyDigest: Schema.brand<Schema.String, string>;
|
|
47
|
+
readonly requiredPermission: 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"]>;
|
|
48
|
+
}, "Type">;
|
|
49
|
+
readonly evidenceSetDigest: string & import("effect/Brand").Brand<string>;
|
|
50
|
+
readonly pluginConnectionRevision: number & import("effect/Brand").Brand<"GovernedActionPluginConnectionRevision">;
|
|
51
|
+
readonly pluginConnectionAuthorityDigest: string & import("effect/Brand").Brand<string>;
|
|
52
|
+
readonly pluginContractVersion: Schema.Struct.ReadonlySide<{
|
|
53
|
+
readonly major: Schema.Int;
|
|
54
|
+
readonly minor: Schema.Int;
|
|
55
|
+
readonly patch: Schema.Int;
|
|
56
|
+
}, "Type">;
|
|
57
|
+
readonly pluginAdapterVersion: Schema.Struct.ReadonlySide<{
|
|
58
|
+
readonly major: Schema.Int;
|
|
59
|
+
readonly minor: Schema.Int;
|
|
60
|
+
readonly patch: Schema.Int;
|
|
61
|
+
}, "Type">;
|
|
62
|
+
readonly capability: Schema.Struct.ReadonlySide<{
|
|
63
|
+
readonly capabilityId: Schema.Literal<"action.execute">;
|
|
64
|
+
readonly version: Schema.Int;
|
|
65
|
+
}, "Type">;
|
|
66
|
+
readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
|
|
67
|
+
readonly evidence: readonly Schema.Struct.ReadonlySide<{
|
|
59
68
|
readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
|
|
60
69
|
readonly evidenceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EvidenceId">;
|
|
61
70
|
readonly evidenceClaimIds: Schema.$Array<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EvidenceClaimId">>;
|
|
@@ -65,33 +74,30 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
65
74
|
readonly evaluatedAt: Schema.DateTimeUtcFromString;
|
|
66
75
|
readonly source: Schema.Literals<readonly ["current", "stale", "missing", "unavailable"]>;
|
|
67
76
|
readonly validity: Schema.Literals<readonly ["valid", "expired"]>;
|
|
68
|
-
}
|
|
69
|
-
readonly
|
|
70
|
-
|
|
71
|
-
readonly
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
readonly
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
readonly
|
|
78
|
-
readonly
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
readonly causationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "DomainEventId">>;
|
|
93
|
-
readonly correlationId: Schema.NullOr<Schema.brand<Schema.String, "DomainEventCorrelationId">>;
|
|
94
|
-
}, "Type">;
|
|
77
|
+
}, "Type">[];
|
|
78
|
+
readonly origin: Schema.Struct.ReadonlySide<{
|
|
79
|
+
readonly _tag: Schema.tag<"human">;
|
|
80
|
+
readonly actor: Schema.TaggedStruct<"human", {
|
|
81
|
+
readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
|
|
82
|
+
}>;
|
|
83
|
+
readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
|
|
84
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
85
|
+
readonly _tag: Schema.tag<"agent">;
|
|
86
|
+
readonly actor: Schema.TaggedStruct<"agent", {
|
|
87
|
+
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
88
|
+
}>;
|
|
89
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
90
|
+
readonly initiatingSessionId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">>;
|
|
91
|
+
}, "Type">;
|
|
92
|
+
readonly proposalExpiresAt: DateTime.Utc;
|
|
93
|
+
readonly envelopeDigest: string & import("effect/Brand").Brand<string>;
|
|
94
|
+
readonly releasePublication?: {
|
|
95
|
+
readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
|
|
96
|
+
readonly sourceRevisionDigest: string & import("effect/Brand").Brand<string>;
|
|
97
|
+
readonly sourceRevisionCount: number;
|
|
98
|
+
readonly predecessorPublicationActionId?: (string & import("effect/Brand").Brand<"GovernedActionId">) | null;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
95
101
|
head: Schema.Struct.ReadonlySide<{
|
|
96
102
|
readonly state: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
97
103
|
readonly lineage: Schema.TaggedUnion<{
|
|
@@ -104,14 +110,14 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
104
110
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
105
111
|
}>;
|
|
106
112
|
}>;
|
|
107
|
-
readonly none: Schema.TaggedStruct<"none", {}>;
|
|
108
|
-
readonly manual: Schema.TaggedStruct<"manual", {
|
|
109
|
-
readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
110
|
-
}>;
|
|
111
113
|
readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
|
|
112
114
|
readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
113
115
|
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
114
116
|
}>;
|
|
117
|
+
readonly manual: Schema.TaggedStruct<"manual", {
|
|
118
|
+
readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
119
|
+
}>;
|
|
120
|
+
readonly none: Schema.TaggedStruct<"none", {}>;
|
|
115
121
|
readonly terminal: Schema.TaggedStruct<"terminal", {
|
|
116
122
|
readonly receipt: Schema.Struct<{
|
|
117
123
|
readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
|
|
@@ -203,15 +209,15 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
203
209
|
}>;
|
|
204
210
|
readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
|
|
205
211
|
readonly outcome: Schema.TaggedUnion<{
|
|
206
|
-
readonly
|
|
212
|
+
readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
|
|
213
|
+
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
207
214
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
208
215
|
readonly safeSummary: Schema.String;
|
|
209
|
-
readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
210
216
|
}>;
|
|
211
|
-
readonly
|
|
212
|
-
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
217
|
+
readonly manual: Schema.TaggedStruct<"manual", {
|
|
213
218
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
214
219
|
readonly safeSummary: Schema.String;
|
|
220
|
+
readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
215
221
|
}>;
|
|
216
222
|
}>;
|
|
217
223
|
}>;
|
|
@@ -239,18 +245,18 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
239
245
|
}>;
|
|
240
246
|
}>;
|
|
241
247
|
readonly cause: Schema.TaggedUnion<{
|
|
242
|
-
readonly agent: Schema.TaggedStruct<"agent", {
|
|
243
|
-
readonly actor: Schema.TaggedStruct<"agent", {
|
|
244
|
-
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
245
|
-
}>;
|
|
246
|
-
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
247
|
-
}>;
|
|
248
248
|
readonly human: Schema.TaggedStruct<"human", {
|
|
249
249
|
readonly actor: Schema.TaggedStruct<"human", {
|
|
250
250
|
readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
|
|
251
251
|
}>;
|
|
252
252
|
readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
|
|
253
253
|
}>;
|
|
254
|
+
readonly agent: Schema.TaggedStruct<"agent", {
|
|
255
|
+
readonly actor: Schema.TaggedStruct<"agent", {
|
|
256
|
+
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
257
|
+
}>;
|
|
258
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
259
|
+
}>;
|
|
254
260
|
readonly system: Schema.TaggedStruct<"system", {
|
|
255
261
|
readonly component: Schema.brand<Schema.String, string>;
|
|
256
262
|
}>;
|
|
@@ -339,15 +345,15 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
339
345
|
}>;
|
|
340
346
|
readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
|
|
341
347
|
readonly outcome: Schema.TaggedUnion<{
|
|
342
|
-
readonly
|
|
348
|
+
readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
|
|
349
|
+
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
343
350
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
344
351
|
readonly safeSummary: Schema.String;
|
|
345
|
-
readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
346
352
|
}>;
|
|
347
|
-
readonly
|
|
348
|
-
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
353
|
+
readonly manual: Schema.TaggedStruct<"manual", {
|
|
349
354
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
350
355
|
readonly safeSummary: Schema.String;
|
|
356
|
+
readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
351
357
|
}>;
|
|
352
358
|
}>;
|
|
353
359
|
}>;
|
|
@@ -375,18 +381,18 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
375
381
|
}>;
|
|
376
382
|
}>;
|
|
377
383
|
readonly cause: Schema.TaggedUnion<{
|
|
378
|
-
readonly agent: Schema.TaggedStruct<"agent", {
|
|
379
|
-
readonly actor: Schema.TaggedStruct<"agent", {
|
|
380
|
-
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
381
|
-
}>;
|
|
382
|
-
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
383
|
-
}>;
|
|
384
384
|
readonly human: Schema.TaggedStruct<"human", {
|
|
385
385
|
readonly actor: Schema.TaggedStruct<"human", {
|
|
386
386
|
readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
|
|
387
387
|
}>;
|
|
388
388
|
readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
|
|
389
389
|
}>;
|
|
390
|
+
readonly agent: Schema.TaggedStruct<"agent", {
|
|
391
|
+
readonly actor: Schema.TaggedStruct<"agent", {
|
|
392
|
+
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
393
|
+
}>;
|
|
394
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
395
|
+
}>;
|
|
390
396
|
readonly system: Schema.TaggedStruct<"system", {
|
|
391
397
|
readonly component: Schema.brand<Schema.String, string>;
|
|
392
398
|
}>;
|
|
@@ -460,33 +466,14 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
460
466
|
readonly pluginConnectionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PluginConnectionId">;
|
|
461
467
|
readonly idempotencyKey: Schema.brand<Schema.String, "GovernedActionIdempotencyKey">;
|
|
462
468
|
}, "Type">) => Effect.Effect<{
|
|
463
|
-
envelope:
|
|
464
|
-
readonly
|
|
465
|
-
readonly
|
|
466
|
-
readonly
|
|
467
|
-
readonly
|
|
468
|
-
readonly
|
|
469
|
-
readonly
|
|
470
|
-
readonly
|
|
471
|
-
readonly pluginConnectionAuthorityDigest: Schema.brand<Schema.String, string>;
|
|
472
|
-
readonly pluginId: Schema.brand<Schema.String, string>;
|
|
473
|
-
readonly pluginContractVersion: Schema.Struct<{
|
|
474
|
-
readonly major: Schema.Int;
|
|
475
|
-
readonly minor: Schema.Int;
|
|
476
|
-
readonly patch: Schema.Int;
|
|
477
|
-
}>;
|
|
478
|
-
readonly pluginAdapterVersion: Schema.Struct<{
|
|
479
|
-
readonly major: Schema.Int;
|
|
480
|
-
readonly minor: Schema.Int;
|
|
481
|
-
readonly patch: Schema.Int;
|
|
482
|
-
}>;
|
|
483
|
-
readonly providerId: Schema.Literals<readonly ["codecommit", "codepipeline", "jira", "confluence", "clockify"]>;
|
|
484
|
-
readonly capability: Schema.Struct<{
|
|
485
|
-
readonly capabilityId: Schema.Literal<"action.execute">;
|
|
486
|
-
readonly version: Schema.Int;
|
|
487
|
-
}>;
|
|
488
|
-
readonly targetEntityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
|
|
489
|
-
readonly proposal: Schema.Struct<{
|
|
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: Schema.Struct.ReadonlySide<{
|
|
490
477
|
readonly proposalKey: Schema.brand<Schema.String, string>;
|
|
491
478
|
readonly capabilityVersion: Schema.Int;
|
|
492
479
|
readonly request: Schema.Struct<{
|
|
@@ -506,8 +493,35 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
506
493
|
readonly summary: Schema.String;
|
|
507
494
|
}>;
|
|
508
495
|
readonly proposedAt: Schema.DateTimeUtcFromString;
|
|
509
|
-
}>;
|
|
510
|
-
readonly
|
|
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: Schema.Struct.ReadonlySide<{
|
|
501
|
+
readonly policyId: Schema.brand<Schema.String, string>;
|
|
502
|
+
readonly policyVersion: Schema.Int;
|
|
503
|
+
readonly policyDigest: Schema.brand<Schema.String, string>;
|
|
504
|
+
readonly requiredPermission: 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: Schema.Struct.ReadonlySide<{
|
|
510
|
+
readonly major: Schema.Int;
|
|
511
|
+
readonly minor: Schema.Int;
|
|
512
|
+
readonly patch: Schema.Int;
|
|
513
|
+
}, "Type">;
|
|
514
|
+
readonly pluginAdapterVersion: Schema.Struct.ReadonlySide<{
|
|
515
|
+
readonly major: Schema.Int;
|
|
516
|
+
readonly minor: Schema.Int;
|
|
517
|
+
readonly patch: Schema.Int;
|
|
518
|
+
}, "Type">;
|
|
519
|
+
readonly capability: Schema.Struct.ReadonlySide<{
|
|
520
|
+
readonly capabilityId: Schema.Literal<"action.execute">;
|
|
521
|
+
readonly version: Schema.Int;
|
|
522
|
+
}, "Type">;
|
|
523
|
+
readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
|
|
524
|
+
readonly evidence: readonly Schema.Struct.ReadonlySide<{
|
|
511
525
|
readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
|
|
512
526
|
readonly evidenceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EvidenceId">;
|
|
513
527
|
readonly evidenceClaimIds: Schema.$Array<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EvidenceClaimId">>;
|
|
@@ -517,33 +531,30 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
517
531
|
readonly evaluatedAt: Schema.DateTimeUtcFromString;
|
|
518
532
|
readonly source: Schema.Literals<readonly ["current", "stale", "missing", "unavailable"]>;
|
|
519
533
|
readonly validity: Schema.Literals<readonly ["valid", "expired"]>;
|
|
520
|
-
}
|
|
521
|
-
readonly
|
|
522
|
-
|
|
523
|
-
readonly
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
readonly
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
readonly
|
|
530
|
-
readonly
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
readonly causationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "DomainEventId">>;
|
|
545
|
-
readonly correlationId: Schema.NullOr<Schema.brand<Schema.String, "DomainEventCorrelationId">>;
|
|
546
|
-
}, "Type">;
|
|
534
|
+
}, "Type">[];
|
|
535
|
+
readonly origin: Schema.Struct.ReadonlySide<{
|
|
536
|
+
readonly _tag: Schema.tag<"human">;
|
|
537
|
+
readonly actor: Schema.TaggedStruct<"human", {
|
|
538
|
+
readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
|
|
539
|
+
}>;
|
|
540
|
+
readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
|
|
541
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
542
|
+
readonly _tag: Schema.tag<"agent">;
|
|
543
|
+
readonly actor: Schema.TaggedStruct<"agent", {
|
|
544
|
+
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
545
|
+
}>;
|
|
546
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
547
|
+
readonly initiatingSessionId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, 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
|
+
};
|
|
547
558
|
head: Schema.Struct.ReadonlySide<{
|
|
548
559
|
readonly state: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
549
560
|
readonly lineage: Schema.TaggedUnion<{
|
|
@@ -556,14 +567,14 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
556
567
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
557
568
|
}>;
|
|
558
569
|
}>;
|
|
559
|
-
readonly none: Schema.TaggedStruct<"none", {}>;
|
|
560
|
-
readonly manual: Schema.TaggedStruct<"manual", {
|
|
561
|
-
readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
562
|
-
}>;
|
|
563
570
|
readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
|
|
564
571
|
readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
565
572
|
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
566
573
|
}>;
|
|
574
|
+
readonly manual: Schema.TaggedStruct<"manual", {
|
|
575
|
+
readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
576
|
+
}>;
|
|
577
|
+
readonly none: Schema.TaggedStruct<"none", {}>;
|
|
567
578
|
readonly terminal: Schema.TaggedStruct<"terminal", {
|
|
568
579
|
readonly receipt: Schema.Struct<{
|
|
569
580
|
readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
|
|
@@ -655,15 +666,15 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
655
666
|
}>;
|
|
656
667
|
readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
|
|
657
668
|
readonly outcome: Schema.TaggedUnion<{
|
|
658
|
-
readonly
|
|
669
|
+
readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
|
|
670
|
+
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
659
671
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
660
672
|
readonly safeSummary: Schema.String;
|
|
661
|
-
readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
662
673
|
}>;
|
|
663
|
-
readonly
|
|
664
|
-
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
674
|
+
readonly manual: Schema.TaggedStruct<"manual", {
|
|
665
675
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
666
676
|
readonly safeSummary: Schema.String;
|
|
677
|
+
readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
667
678
|
}>;
|
|
668
679
|
}>;
|
|
669
680
|
}>;
|
|
@@ -691,18 +702,18 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
691
702
|
}>;
|
|
692
703
|
}>;
|
|
693
704
|
readonly cause: Schema.TaggedUnion<{
|
|
694
|
-
readonly agent: Schema.TaggedStruct<"agent", {
|
|
695
|
-
readonly actor: Schema.TaggedStruct<"agent", {
|
|
696
|
-
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
697
|
-
}>;
|
|
698
|
-
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
699
|
-
}>;
|
|
700
705
|
readonly human: Schema.TaggedStruct<"human", {
|
|
701
706
|
readonly actor: Schema.TaggedStruct<"human", {
|
|
702
707
|
readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
|
|
703
708
|
}>;
|
|
704
709
|
readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
|
|
705
710
|
}>;
|
|
711
|
+
readonly agent: Schema.TaggedStruct<"agent", {
|
|
712
|
+
readonly actor: Schema.TaggedStruct<"agent", {
|
|
713
|
+
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
714
|
+
}>;
|
|
715
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
716
|
+
}>;
|
|
706
717
|
readonly system: Schema.TaggedStruct<"system", {
|
|
707
718
|
readonly component: Schema.brand<Schema.String, string>;
|
|
708
719
|
}>;
|
|
@@ -791,15 +802,15 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
791
802
|
}>;
|
|
792
803
|
readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
|
|
793
804
|
readonly outcome: Schema.TaggedUnion<{
|
|
794
|
-
readonly
|
|
805
|
+
readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
|
|
806
|
+
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
795
807
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
796
808
|
readonly safeSummary: Schema.String;
|
|
797
|
-
readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
798
809
|
}>;
|
|
799
|
-
readonly
|
|
800
|
-
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
810
|
+
readonly manual: Schema.TaggedStruct<"manual", {
|
|
801
811
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
802
812
|
readonly safeSummary: Schema.String;
|
|
813
|
+
readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
803
814
|
}>;
|
|
804
815
|
}>;
|
|
805
816
|
}>;
|
|
@@ -827,18 +838,18 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
827
838
|
}>;
|
|
828
839
|
}>;
|
|
829
840
|
readonly cause: Schema.TaggedUnion<{
|
|
830
|
-
readonly agent: Schema.TaggedStruct<"agent", {
|
|
831
|
-
readonly actor: Schema.TaggedStruct<"agent", {
|
|
832
|
-
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
833
|
-
}>;
|
|
834
|
-
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
835
|
-
}>;
|
|
836
841
|
readonly human: Schema.TaggedStruct<"human", {
|
|
837
842
|
readonly actor: Schema.TaggedStruct<"human", {
|
|
838
843
|
readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
|
|
839
844
|
}>;
|
|
840
845
|
readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
|
|
841
846
|
}>;
|
|
847
|
+
readonly agent: Schema.TaggedStruct<"agent", {
|
|
848
|
+
readonly actor: Schema.TaggedStruct<"agent", {
|
|
849
|
+
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
850
|
+
}>;
|
|
851
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
852
|
+
}>;
|
|
842
853
|
readonly system: Schema.TaggedStruct<"system", {
|
|
843
854
|
readonly component: Schema.brand<Schema.String, string>;
|
|
844
855
|
}>;
|
|
@@ -909,10 +920,10 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
909
920
|
}, RecordNotFoundError | import("../../errors.js").PersistenceOperationError | PersistedRecordError | import("effect/unstable/sql/SqlError").SqlError | import("./quarantine.js").MalformedGovernedActionRecord, import("effect/Crypto").Crypto>;
|
|
910
921
|
readLatestTerminalByTarget: (request: {
|
|
911
922
|
readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
|
|
912
|
-
readonly actionKind: string & import("effect/Brand").Brand<string>;
|
|
913
923
|
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
914
|
-
readonly
|
|
924
|
+
readonly actionKind: string & import("effect/Brand").Brand<string>;
|
|
915
925
|
readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
|
|
926
|
+
readonly limit: number;
|
|
916
927
|
readonly expectedRevision?: string & import("effect/Brand").Brand<"Revision">;
|
|
917
928
|
}) => Effect.Effect<readonly Schema.Struct.ReadonlySide<{
|
|
918
929
|
readonly envelope: Schema.Struct<{
|
|
@@ -981,6 +992,12 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
981
992
|
readonly requiredPermission: 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"]>;
|
|
982
993
|
}>;
|
|
983
994
|
readonly origin: Schema.TaggedUnion<{
|
|
995
|
+
readonly human: Schema.TaggedStruct<"human", {
|
|
996
|
+
readonly actor: Schema.TaggedStruct<"human", {
|
|
997
|
+
readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
|
|
998
|
+
}>;
|
|
999
|
+
readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
|
|
1000
|
+
}>;
|
|
984
1001
|
readonly agent: Schema.TaggedStruct<"agent", {
|
|
985
1002
|
readonly actor: Schema.TaggedStruct<"agent", {
|
|
986
1003
|
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
@@ -988,16 +1005,16 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
988
1005
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
989
1006
|
readonly initiatingSessionId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">>;
|
|
990
1007
|
}>;
|
|
991
|
-
readonly human: Schema.TaggedStruct<"human", {
|
|
992
|
-
readonly actor: Schema.TaggedStruct<"human", {
|
|
993
|
-
readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
|
|
994
|
-
}>;
|
|
995
|
-
readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
|
|
996
|
-
}>;
|
|
997
1008
|
}>;
|
|
998
1009
|
readonly proposalExpiresAt: Schema.DateTimeUtcFromString;
|
|
999
1010
|
readonly causationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "DomainEventId">>;
|
|
1000
1011
|
readonly correlationId: Schema.NullOr<Schema.brand<Schema.String, "DomainEventCorrelationId">>;
|
|
1012
|
+
readonly releasePublication: Schema.optionalKey<Schema.Struct<{
|
|
1013
|
+
readonly releaseId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ReleaseId">;
|
|
1014
|
+
readonly predecessorPublicationActionId: Schema.optionalKey<Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">>>;
|
|
1015
|
+
readonly sourceRevisionDigest: Schema.brand<Schema.String, string>;
|
|
1016
|
+
readonly sourceRevisionCount: Schema.Int;
|
|
1017
|
+
}>>;
|
|
1001
1018
|
}>;
|
|
1002
1019
|
readonly head: Schema.Struct<{
|
|
1003
1020
|
readonly state: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
@@ -1011,14 +1028,14 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
1011
1028
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1012
1029
|
}>;
|
|
1013
1030
|
}>;
|
|
1014
|
-
readonly none: Schema.TaggedStruct<"none", {}>;
|
|
1015
|
-
readonly manual: Schema.TaggedStruct<"manual", {
|
|
1016
|
-
readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
1017
|
-
}>;
|
|
1018
1031
|
readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
|
|
1019
1032
|
readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
1020
1033
|
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
1021
1034
|
}>;
|
|
1035
|
+
readonly manual: Schema.TaggedStruct<"manual", {
|
|
1036
|
+
readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
1037
|
+
}>;
|
|
1038
|
+
readonly none: Schema.TaggedStruct<"none", {}>;
|
|
1022
1039
|
readonly terminal: Schema.TaggedStruct<"terminal", {
|
|
1023
1040
|
readonly receipt: Schema.Struct<{
|
|
1024
1041
|
readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
|
|
@@ -1110,15 +1127,15 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
1110
1127
|
}>;
|
|
1111
1128
|
readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
|
|
1112
1129
|
readonly outcome: Schema.TaggedUnion<{
|
|
1113
|
-
readonly
|
|
1130
|
+
readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
|
|
1131
|
+
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
1114
1132
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1115
1133
|
readonly safeSummary: Schema.String;
|
|
1116
|
-
readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
1117
1134
|
}>;
|
|
1118
|
-
readonly
|
|
1119
|
-
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
1135
|
+
readonly manual: Schema.TaggedStruct<"manual", {
|
|
1120
1136
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1121
1137
|
readonly safeSummary: Schema.String;
|
|
1138
|
+
readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
1122
1139
|
}>;
|
|
1123
1140
|
}>;
|
|
1124
1141
|
}>;
|
|
@@ -1146,18 +1163,18 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
1146
1163
|
}>;
|
|
1147
1164
|
}>;
|
|
1148
1165
|
readonly cause: Schema.TaggedUnion<{
|
|
1149
|
-
readonly agent: Schema.TaggedStruct<"agent", {
|
|
1150
|
-
readonly actor: Schema.TaggedStruct<"agent", {
|
|
1151
|
-
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
1152
|
-
}>;
|
|
1153
|
-
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1154
|
-
}>;
|
|
1155
1166
|
readonly human: Schema.TaggedStruct<"human", {
|
|
1156
1167
|
readonly actor: Schema.TaggedStruct<"human", {
|
|
1157
1168
|
readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
|
|
1158
1169
|
}>;
|
|
1159
1170
|
readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
|
|
1160
1171
|
}>;
|
|
1172
|
+
readonly agent: Schema.TaggedStruct<"agent", {
|
|
1173
|
+
readonly actor: Schema.TaggedStruct<"agent", {
|
|
1174
|
+
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
1175
|
+
}>;
|
|
1176
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1177
|
+
}>;
|
|
1161
1178
|
readonly system: Schema.TaggedStruct<"system", {
|
|
1162
1179
|
readonly component: Schema.brand<Schema.String, string>;
|
|
1163
1180
|
}>;
|
|
@@ -1246,16 +1263,337 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
1246
1263
|
}>;
|
|
1247
1264
|
readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
|
|
1248
1265
|
readonly outcome: Schema.TaggedUnion<{
|
|
1266
|
+
readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
|
|
1267
|
+
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
1268
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1269
|
+
readonly safeSummary: Schema.String;
|
|
1270
|
+
}>;
|
|
1249
1271
|
readonly manual: Schema.TaggedStruct<"manual", {
|
|
1250
1272
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1251
1273
|
readonly safeSummary: Schema.String;
|
|
1252
1274
|
readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
1253
1275
|
}>;
|
|
1276
|
+
}>;
|
|
1277
|
+
}>;
|
|
1278
|
+
readonly recordCancelled: Schema.TaggedStruct<"recordCancelled", {
|
|
1279
|
+
readonly receipt: Schema.Struct<{
|
|
1280
|
+
readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
|
|
1281
|
+
readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1282
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1283
|
+
readonly safeSummary: Schema.String;
|
|
1284
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1285
|
+
}>;
|
|
1286
|
+
readonly source: Schema.TaggedUnion<{
|
|
1287
|
+
readonly direct: Schema.TaggedStruct<"direct", {}>;
|
|
1288
|
+
readonly providerOperation: Schema.TaggedStruct<"providerOperation", {
|
|
1289
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1290
|
+
}>;
|
|
1291
|
+
readonly reconciliation: Schema.TaggedStruct<"reconciliation", {
|
|
1292
|
+
readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
1293
|
+
}>;
|
|
1294
|
+
}>;
|
|
1295
|
+
}>;
|
|
1296
|
+
readonly reconciliationPending: Schema.TaggedStruct<"reconciliationPending", {
|
|
1297
|
+
readonly checkedAt: Schema.DateTimeUtcFromString;
|
|
1298
|
+
readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
1299
|
+
}>;
|
|
1300
|
+
}>;
|
|
1301
|
+
readonly cause: Schema.TaggedUnion<{
|
|
1302
|
+
readonly human: Schema.TaggedStruct<"human", {
|
|
1303
|
+
readonly actor: Schema.TaggedStruct<"human", {
|
|
1304
|
+
readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
|
|
1305
|
+
}>;
|
|
1306
|
+
readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
|
|
1307
|
+
}>;
|
|
1308
|
+
readonly agent: Schema.TaggedStruct<"agent", {
|
|
1309
|
+
readonly actor: Schema.TaggedStruct<"agent", {
|
|
1310
|
+
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
1311
|
+
}>;
|
|
1312
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1313
|
+
}>;
|
|
1314
|
+
readonly system: Schema.TaggedStruct<"system", {
|
|
1315
|
+
readonly component: Schema.brand<Schema.String, string>;
|
|
1316
|
+
}>;
|
|
1317
|
+
}>;
|
|
1318
|
+
readonly occurredAt: Schema.DateTimeUtcFromString;
|
|
1319
|
+
readonly causationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "DomainEventId">>;
|
|
1320
|
+
readonly correlationId: Schema.NullOr<Schema.brand<Schema.String, "DomainEventCorrelationId">>;
|
|
1321
|
+
}>>;
|
|
1322
|
+
readonly authorization: Schema.NullOr<Schema.Struct<{
|
|
1323
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1324
|
+
readonly authorizationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAuthorizationId">;
|
|
1325
|
+
readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
|
|
1326
|
+
readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
|
|
1327
|
+
readonly pluginConnectionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PluginConnectionId">;
|
|
1328
|
+
readonly pluginConnectionRevision: Schema.brand<Schema.Int, "GovernedActionPluginConnectionRevision">;
|
|
1329
|
+
readonly pluginConnectionAuthorityDigest: Schema.brand<Schema.String, string>;
|
|
1330
|
+
readonly actionEnvelopeDigest: Schema.brand<Schema.String, string>;
|
|
1331
|
+
readonly idempotencyKey: Schema.brand<Schema.String, "GovernedActionIdempotencyKey">;
|
|
1332
|
+
readonly payloadDigest: Schema.brand<Schema.String, "PluginActionPayloadDigest">;
|
|
1333
|
+
readonly evidenceSetDigest: Schema.brand<Schema.String, string>;
|
|
1334
|
+
readonly policyDigest: Schema.brand<Schema.String, string>;
|
|
1335
|
+
readonly expectedRevision: Schema.brand<Schema.String, "Revision">;
|
|
1336
|
+
readonly capabilityVersion: Schema.Int;
|
|
1337
|
+
readonly actor: Schema.TaggedStruct<"human", {
|
|
1338
|
+
readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
|
|
1339
|
+
}>;
|
|
1340
|
+
readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
|
|
1341
|
+
readonly sessionPermission: 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"]>;
|
|
1342
|
+
readonly sessionExpiresAt: Schema.DateTimeUtcFromString;
|
|
1343
|
+
readonly requiredPermission: 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"]>;
|
|
1344
|
+
readonly authorizedAt: Schema.DateTimeUtcFromString;
|
|
1345
|
+
readonly expiresAt: Schema.DateTimeUtcFromString;
|
|
1346
|
+
}>>;
|
|
1347
|
+
readonly policyEvaluation: Schema.NullOr<Schema.Struct<{
|
|
1348
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1349
|
+
readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
|
|
1350
|
+
readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
|
|
1351
|
+
readonly policy: Schema.Struct<{
|
|
1352
|
+
readonly policyId: Schema.brand<Schema.String, string>;
|
|
1353
|
+
readonly policyVersion: Schema.Int;
|
|
1354
|
+
readonly policyDigest: Schema.brand<Schema.String, string>;
|
|
1355
|
+
readonly requiredPermission: 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"]>;
|
|
1356
|
+
}>;
|
|
1357
|
+
readonly payloadDigest: Schema.brand<Schema.String, "PluginActionPayloadDigest">;
|
|
1358
|
+
readonly evidenceSetDigest: Schema.brand<Schema.String, string>;
|
|
1359
|
+
readonly expectedRevision: Schema.brand<Schema.String, "Revision">;
|
|
1360
|
+
readonly decision: Schema.Literals<readonly ["allowed", "denied"]>;
|
|
1361
|
+
readonly evaluatedAt: Schema.DateTimeUtcFromString;
|
|
1362
|
+
}>>;
|
|
1363
|
+
readonly attempt: Schema.NullOr<Schema.Struct<{
|
|
1364
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1365
|
+
readonly attemptId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAttemptId">;
|
|
1366
|
+
readonly authorizationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAuthorizationId">;
|
|
1367
|
+
readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
|
|
1368
|
+
readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
|
|
1369
|
+
readonly pluginConnectionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PluginConnectionId">;
|
|
1370
|
+
readonly idempotencyKey: Schema.brand<Schema.String, "GovernedActionIdempotencyKey">;
|
|
1371
|
+
readonly attemptNumber: Schema.Literal<1>;
|
|
1372
|
+
readonly actionEnvelopeDigest: Schema.brand<Schema.String, string>;
|
|
1373
|
+
readonly expectedRevision: Schema.brand<Schema.String, "Revision">;
|
|
1374
|
+
readonly policyEvaluationDigest: Schema.brand<Schema.String, string>;
|
|
1375
|
+
readonly preflight: Schema.TaggedStruct<"ready", {
|
|
1376
|
+
readonly checkedRevision: Schema.brand<Schema.String, "Revision">;
|
|
1377
|
+
readonly checkedAt: Schema.DateTimeUtcFromString;
|
|
1378
|
+
}>;
|
|
1379
|
+
readonly startedAt: Schema.DateTimeUtcFromString;
|
|
1380
|
+
}>>;
|
|
1381
|
+
}, "Type">[], RecordNotFoundError | import("../../errors.js").PersistenceOperationError | PersistedRecordError | import("effect/unstable/sql/SqlError").SqlError | import("./quarantine.js").MalformedGovernedActionRecord, import("effect/Crypto").Crypto>;
|
|
1382
|
+
readLatestTerminalReleasePublications: (request: Schema.Struct.ReadonlySide<{
|
|
1383
|
+
readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
|
|
1384
|
+
readonly providerId: Schema.Literal<"confluence">;
|
|
1385
|
+
readonly releaseIds: Schema.$Array<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ReleaseId">>;
|
|
1386
|
+
}, "Type">) => Effect.Effect<{
|
|
1387
|
+
envelope: {
|
|
1388
|
+
readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
|
|
1389
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
1390
|
+
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
1391
|
+
readonly schemaVersion: 1;
|
|
1392
|
+
readonly causationId: (string & import("effect/Brand").Brand<"DomainEventId">) | null;
|
|
1393
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"DomainEventCorrelationId">) | null;
|
|
1394
|
+
readonly proposal: Schema.Struct.ReadonlySide<{
|
|
1395
|
+
readonly proposalKey: Schema.brand<Schema.String, string>;
|
|
1396
|
+
readonly capabilityVersion: Schema.Int;
|
|
1397
|
+
readonly request: Schema.Struct<{
|
|
1398
|
+
readonly actionKind: Schema.brand<Schema.String, string>;
|
|
1399
|
+
readonly target: Schema.Struct<{
|
|
1400
|
+
entityType: Schema.brand<Schema.String, string>;
|
|
1401
|
+
vendorImmutableId: Schema.brand<Schema.String, "VendorImmutableId">;
|
|
1402
|
+
}>;
|
|
1403
|
+
readonly expectedRevision: Schema.brand<Schema.String, "Revision">;
|
|
1404
|
+
readonly payload: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1405
|
+
readonly evidenceIds: Schema.$Array<Schema.brand<Schema.String, string>>;
|
|
1406
|
+
}>;
|
|
1407
|
+
readonly payloadDigest: Schema.brand<Schema.String, "PluginActionPayloadDigest">;
|
|
1408
|
+
readonly summary: Schema.String;
|
|
1409
|
+
readonly impact: Schema.Struct<{
|
|
1410
|
+
readonly level: Schema.Literals<readonly ["low", "medium", "high", "critical"]>;
|
|
1411
|
+
readonly summary: Schema.String;
|
|
1412
|
+
}>;
|
|
1413
|
+
readonly proposedAt: Schema.DateTimeUtcFromString;
|
|
1414
|
+
}, "Type">;
|
|
1415
|
+
readonly idempotencyKey: string & import("effect/Brand").Brand<"GovernedActionIdempotencyKey">;
|
|
1416
|
+
readonly pluginId: string & import("effect/Brand").Brand<string>;
|
|
1417
|
+
readonly actionId: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
1418
|
+
readonly policy: Schema.Struct.ReadonlySide<{
|
|
1419
|
+
readonly policyId: Schema.brand<Schema.String, string>;
|
|
1420
|
+
readonly policyVersion: Schema.Int;
|
|
1421
|
+
readonly policyDigest: Schema.brand<Schema.String, string>;
|
|
1422
|
+
readonly requiredPermission: 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"]>;
|
|
1423
|
+
}, "Type">;
|
|
1424
|
+
readonly evidenceSetDigest: string & import("effect/Brand").Brand<string>;
|
|
1425
|
+
readonly pluginConnectionRevision: number & import("effect/Brand").Brand<"GovernedActionPluginConnectionRevision">;
|
|
1426
|
+
readonly pluginConnectionAuthorityDigest: string & import("effect/Brand").Brand<string>;
|
|
1427
|
+
readonly pluginContractVersion: Schema.Struct.ReadonlySide<{
|
|
1428
|
+
readonly major: Schema.Int;
|
|
1429
|
+
readonly minor: Schema.Int;
|
|
1430
|
+
readonly patch: Schema.Int;
|
|
1431
|
+
}, "Type">;
|
|
1432
|
+
readonly pluginAdapterVersion: Schema.Struct.ReadonlySide<{
|
|
1433
|
+
readonly major: Schema.Int;
|
|
1434
|
+
readonly minor: Schema.Int;
|
|
1435
|
+
readonly patch: Schema.Int;
|
|
1436
|
+
}, "Type">;
|
|
1437
|
+
readonly capability: Schema.Struct.ReadonlySide<{
|
|
1438
|
+
readonly capabilityId: Schema.Literal<"action.execute">;
|
|
1439
|
+
readonly version: Schema.Int;
|
|
1440
|
+
}, "Type">;
|
|
1441
|
+
readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
|
|
1442
|
+
readonly evidence: readonly Schema.Struct.ReadonlySide<{
|
|
1443
|
+
readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
|
|
1444
|
+
readonly evidenceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EvidenceId">;
|
|
1445
|
+
readonly evidenceClaimIds: Schema.$Array<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EvidenceClaimId">>;
|
|
1446
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1447
|
+
readonly validUntil: Schema.NullOr<Schema.DateTimeUtcFromString>;
|
|
1448
|
+
readonly currentUntil: Schema.NullOr<Schema.DateTimeUtcFromString>;
|
|
1449
|
+
readonly evaluatedAt: Schema.DateTimeUtcFromString;
|
|
1450
|
+
readonly source: Schema.Literals<readonly ["current", "stale", "missing", "unavailable"]>;
|
|
1451
|
+
readonly validity: Schema.Literals<readonly ["valid", "expired"]>;
|
|
1452
|
+
}, "Type">[];
|
|
1453
|
+
readonly origin: Schema.Struct.ReadonlySide<{
|
|
1454
|
+
readonly _tag: Schema.tag<"human">;
|
|
1455
|
+
readonly actor: Schema.TaggedStruct<"human", {
|
|
1456
|
+
readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
|
|
1457
|
+
}>;
|
|
1458
|
+
readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
|
|
1459
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1460
|
+
readonly _tag: Schema.tag<"agent">;
|
|
1461
|
+
readonly actor: Schema.TaggedStruct<"agent", {
|
|
1462
|
+
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
1463
|
+
}>;
|
|
1464
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1465
|
+
readonly initiatingSessionId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">>;
|
|
1466
|
+
}, "Type">;
|
|
1467
|
+
readonly proposalExpiresAt: DateTime.Utc;
|
|
1468
|
+
readonly envelopeDigest: string & import("effect/Brand").Brand<string>;
|
|
1469
|
+
readonly releasePublication?: {
|
|
1470
|
+
readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
|
|
1471
|
+
readonly sourceRevisionDigest: string & import("effect/Brand").Brand<string>;
|
|
1472
|
+
readonly sourceRevisionCount: number;
|
|
1473
|
+
readonly predecessorPublicationActionId?: (string & import("effect/Brand").Brand<"GovernedActionId">) | null;
|
|
1474
|
+
};
|
|
1475
|
+
};
|
|
1476
|
+
head: Schema.Struct.ReadonlySide<{
|
|
1477
|
+
readonly state: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
1478
|
+
readonly lineage: Schema.TaggedUnion<{
|
|
1479
|
+
readonly accepted: Schema.TaggedStruct<"accepted", {
|
|
1480
|
+
readonly receipt: Schema.Struct<{
|
|
1481
|
+
readonly status: Schema.Literal<"accepted">;
|
|
1482
|
+
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
1483
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1484
|
+
readonly safeSummary: Schema.String;
|
|
1485
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1486
|
+
}>;
|
|
1487
|
+
}>;
|
|
1488
|
+
readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
|
|
1489
|
+
readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
1490
|
+
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
1491
|
+
}>;
|
|
1492
|
+
readonly manual: Schema.TaggedStruct<"manual", {
|
|
1493
|
+
readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
1494
|
+
}>;
|
|
1495
|
+
readonly none: Schema.TaggedStruct<"none", {}>;
|
|
1496
|
+
readonly terminal: Schema.TaggedStruct<"terminal", {
|
|
1497
|
+
readonly receipt: Schema.Struct<{
|
|
1498
|
+
readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
|
|
1499
|
+
readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1500
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1501
|
+
readonly safeSummary: Schema.String;
|
|
1502
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1503
|
+
}>;
|
|
1504
|
+
}>;
|
|
1505
|
+
}>;
|
|
1506
|
+
}, "Type">;
|
|
1507
|
+
headTransition: Schema.Struct.ReadonlySide<{
|
|
1508
|
+
readonly commandDigest: Schema.brand<Schema.String, "GovernedActionCommandDigest">;
|
|
1509
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1510
|
+
readonly transitionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionTransitionId">;
|
|
1511
|
+
readonly previousTransitionId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionTransitionId">>;
|
|
1512
|
+
readonly commandId: Schema.brand<Schema.String, string>;
|
|
1513
|
+
readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
|
|
1514
|
+
readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
|
|
1515
|
+
readonly sequence: Schema.Int;
|
|
1516
|
+
readonly fromState: Schema.NullOr<Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
|
|
1517
|
+
readonly toState: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
1518
|
+
readonly actionEnvelopeDigest: Schema.brand<Schema.String, string>;
|
|
1519
|
+
readonly command: Schema.TaggedUnion<{
|
|
1520
|
+
readonly propose: Schema.TaggedStruct<"propose", {}>;
|
|
1521
|
+
readonly authorize: Schema.TaggedStruct<"authorize", {
|
|
1522
|
+
readonly authorizationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAuthorizationId">;
|
|
1523
|
+
}>;
|
|
1524
|
+
readonly deny: Schema.TaggedStruct<"deny", {
|
|
1525
|
+
readonly reason: Schema.Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
|
|
1526
|
+
readonly safeSummary: Schema.String;
|
|
1527
|
+
}>;
|
|
1528
|
+
readonly expire: Schema.TaggedStruct<"expire", {
|
|
1529
|
+
readonly reason: Schema.Literals<readonly ["proposal-expired", "authorization-expired"]>;
|
|
1530
|
+
}>;
|
|
1531
|
+
readonly cancel: Schema.TaggedStruct<"cancel", {
|
|
1532
|
+
readonly safeSummary: Schema.String;
|
|
1533
|
+
}>;
|
|
1534
|
+
readonly start: Schema.TaggedStruct<"start", {
|
|
1535
|
+
readonly attemptId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAttemptId">;
|
|
1536
|
+
}>;
|
|
1537
|
+
readonly requestCancellation: Schema.TaggedStruct<"requestCancellation", {
|
|
1538
|
+
readonly safeSummary: Schema.String;
|
|
1539
|
+
}>;
|
|
1540
|
+
readonly recordAccepted: Schema.TaggedStruct<"recordAccepted", {
|
|
1541
|
+
readonly receipt: Schema.Struct<{
|
|
1542
|
+
readonly status: Schema.Literal<"accepted">;
|
|
1543
|
+
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
1544
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1545
|
+
readonly safeSummary: Schema.String;
|
|
1546
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1547
|
+
}>;
|
|
1548
|
+
}>;
|
|
1549
|
+
readonly recordSucceeded: Schema.TaggedStruct<"recordSucceeded", {
|
|
1550
|
+
readonly receipt: Schema.Struct<{
|
|
1551
|
+
readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
|
|
1552
|
+
readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1553
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1554
|
+
readonly safeSummary: Schema.String;
|
|
1555
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1556
|
+
}>;
|
|
1557
|
+
readonly source: Schema.TaggedUnion<{
|
|
1558
|
+
readonly direct: Schema.TaggedStruct<"direct", {}>;
|
|
1559
|
+
readonly providerOperation: Schema.TaggedStruct<"providerOperation", {
|
|
1560
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1561
|
+
}>;
|
|
1562
|
+
readonly reconciliation: Schema.TaggedStruct<"reconciliation", {
|
|
1563
|
+
readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
1564
|
+
}>;
|
|
1565
|
+
}>;
|
|
1566
|
+
}>;
|
|
1567
|
+
readonly recordFailed: Schema.TaggedStruct<"recordFailed", {
|
|
1568
|
+
readonly receipt: Schema.Struct<{
|
|
1569
|
+
readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
|
|
1570
|
+
readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1571
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1572
|
+
readonly safeSummary: Schema.String;
|
|
1573
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1574
|
+
}>;
|
|
1575
|
+
readonly source: Schema.TaggedUnion<{
|
|
1576
|
+
readonly direct: Schema.TaggedStruct<"direct", {}>;
|
|
1577
|
+
readonly providerOperation: Schema.TaggedStruct<"providerOperation", {
|
|
1578
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1579
|
+
}>;
|
|
1580
|
+
readonly reconciliation: Schema.TaggedStruct<"reconciliation", {
|
|
1581
|
+
readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
1582
|
+
}>;
|
|
1583
|
+
}>;
|
|
1584
|
+
}>;
|
|
1585
|
+
readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
|
|
1586
|
+
readonly outcome: Schema.TaggedUnion<{
|
|
1254
1587
|
readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
|
|
1255
1588
|
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
1256
1589
|
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1257
1590
|
readonly safeSummary: Schema.String;
|
|
1258
1591
|
}>;
|
|
1592
|
+
readonly manual: Schema.TaggedStruct<"manual", {
|
|
1593
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1594
|
+
readonly safeSummary: Schema.String;
|
|
1595
|
+
readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
1596
|
+
}>;
|
|
1259
1597
|
}>;
|
|
1260
1598
|
}>;
|
|
1261
1599
|
readonly recordCancelled: Schema.TaggedStruct<"recordCancelled", {
|
|
@@ -1282,18 +1620,154 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
1282
1620
|
}>;
|
|
1283
1621
|
}>;
|
|
1284
1622
|
readonly cause: Schema.TaggedUnion<{
|
|
1623
|
+
readonly human: Schema.TaggedStruct<"human", {
|
|
1624
|
+
readonly actor: Schema.TaggedStruct<"human", {
|
|
1625
|
+
readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
|
|
1626
|
+
}>;
|
|
1627
|
+
readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
|
|
1628
|
+
}>;
|
|
1285
1629
|
readonly agent: Schema.TaggedStruct<"agent", {
|
|
1286
1630
|
readonly actor: Schema.TaggedStruct<"agent", {
|
|
1287
1631
|
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
1288
1632
|
}>;
|
|
1289
1633
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1290
1634
|
}>;
|
|
1635
|
+
readonly system: Schema.TaggedStruct<"system", {
|
|
1636
|
+
readonly component: Schema.brand<Schema.String, string>;
|
|
1637
|
+
}>;
|
|
1638
|
+
}>;
|
|
1639
|
+
readonly occurredAt: Schema.DateTimeUtcFromString;
|
|
1640
|
+
readonly causationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "DomainEventId">>;
|
|
1641
|
+
readonly correlationId: Schema.NullOr<Schema.brand<Schema.String, "DomainEventCorrelationId">>;
|
|
1642
|
+
}, "Type">;
|
|
1643
|
+
history: Schema.Struct.ReadonlySide<{
|
|
1644
|
+
readonly commandDigest: Schema.brand<Schema.String, "GovernedActionCommandDigest">;
|
|
1645
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1646
|
+
readonly transitionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionTransitionId">;
|
|
1647
|
+
readonly previousTransitionId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionTransitionId">>;
|
|
1648
|
+
readonly commandId: Schema.brand<Schema.String, string>;
|
|
1649
|
+
readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
|
|
1650
|
+
readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
|
|
1651
|
+
readonly sequence: Schema.Int;
|
|
1652
|
+
readonly fromState: Schema.NullOr<Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
|
|
1653
|
+
readonly toState: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
1654
|
+
readonly actionEnvelopeDigest: Schema.brand<Schema.String, string>;
|
|
1655
|
+
readonly command: Schema.TaggedUnion<{
|
|
1656
|
+
readonly propose: Schema.TaggedStruct<"propose", {}>;
|
|
1657
|
+
readonly authorize: Schema.TaggedStruct<"authorize", {
|
|
1658
|
+
readonly authorizationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAuthorizationId">;
|
|
1659
|
+
}>;
|
|
1660
|
+
readonly deny: Schema.TaggedStruct<"deny", {
|
|
1661
|
+
readonly reason: Schema.Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
|
|
1662
|
+
readonly safeSummary: Schema.String;
|
|
1663
|
+
}>;
|
|
1664
|
+
readonly expire: Schema.TaggedStruct<"expire", {
|
|
1665
|
+
readonly reason: Schema.Literals<readonly ["proposal-expired", "authorization-expired"]>;
|
|
1666
|
+
}>;
|
|
1667
|
+
readonly cancel: Schema.TaggedStruct<"cancel", {
|
|
1668
|
+
readonly safeSummary: Schema.String;
|
|
1669
|
+
}>;
|
|
1670
|
+
readonly start: Schema.TaggedStruct<"start", {
|
|
1671
|
+
readonly attemptId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAttemptId">;
|
|
1672
|
+
}>;
|
|
1673
|
+
readonly requestCancellation: Schema.TaggedStruct<"requestCancellation", {
|
|
1674
|
+
readonly safeSummary: Schema.String;
|
|
1675
|
+
}>;
|
|
1676
|
+
readonly recordAccepted: Schema.TaggedStruct<"recordAccepted", {
|
|
1677
|
+
readonly receipt: Schema.Struct<{
|
|
1678
|
+
readonly status: Schema.Literal<"accepted">;
|
|
1679
|
+
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
1680
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1681
|
+
readonly safeSummary: Schema.String;
|
|
1682
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1683
|
+
}>;
|
|
1684
|
+
}>;
|
|
1685
|
+
readonly recordSucceeded: Schema.TaggedStruct<"recordSucceeded", {
|
|
1686
|
+
readonly receipt: Schema.Struct<{
|
|
1687
|
+
readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
|
|
1688
|
+
readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1689
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1690
|
+
readonly safeSummary: Schema.String;
|
|
1691
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1692
|
+
}>;
|
|
1693
|
+
readonly source: Schema.TaggedUnion<{
|
|
1694
|
+
readonly direct: Schema.TaggedStruct<"direct", {}>;
|
|
1695
|
+
readonly providerOperation: Schema.TaggedStruct<"providerOperation", {
|
|
1696
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1697
|
+
}>;
|
|
1698
|
+
readonly reconciliation: Schema.TaggedStruct<"reconciliation", {
|
|
1699
|
+
readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
1700
|
+
}>;
|
|
1701
|
+
}>;
|
|
1702
|
+
}>;
|
|
1703
|
+
readonly recordFailed: Schema.TaggedStruct<"recordFailed", {
|
|
1704
|
+
readonly receipt: Schema.Struct<{
|
|
1705
|
+
readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
|
|
1706
|
+
readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1707
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1708
|
+
readonly safeSummary: Schema.String;
|
|
1709
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1710
|
+
}>;
|
|
1711
|
+
readonly source: Schema.TaggedUnion<{
|
|
1712
|
+
readonly direct: Schema.TaggedStruct<"direct", {}>;
|
|
1713
|
+
readonly providerOperation: Schema.TaggedStruct<"providerOperation", {
|
|
1714
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1715
|
+
}>;
|
|
1716
|
+
readonly reconciliation: Schema.TaggedStruct<"reconciliation", {
|
|
1717
|
+
readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
1718
|
+
}>;
|
|
1719
|
+
}>;
|
|
1720
|
+
}>;
|
|
1721
|
+
readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
|
|
1722
|
+
readonly outcome: Schema.TaggedUnion<{
|
|
1723
|
+
readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
|
|
1724
|
+
readonly reconciliationKey: Schema.brand<Schema.String, string>;
|
|
1725
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1726
|
+
readonly safeSummary: Schema.String;
|
|
1727
|
+
}>;
|
|
1728
|
+
readonly manual: Schema.TaggedStruct<"manual", {
|
|
1729
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1730
|
+
readonly safeSummary: Schema.String;
|
|
1731
|
+
readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
1732
|
+
}>;
|
|
1733
|
+
}>;
|
|
1734
|
+
}>;
|
|
1735
|
+
readonly recordCancelled: Schema.TaggedStruct<"recordCancelled", {
|
|
1736
|
+
readonly receipt: Schema.Struct<{
|
|
1737
|
+
readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
|
|
1738
|
+
readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1739
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1740
|
+
readonly safeSummary: Schema.String;
|
|
1741
|
+
readonly observedAt: Schema.DateTimeUtcFromString;
|
|
1742
|
+
}>;
|
|
1743
|
+
readonly source: Schema.TaggedUnion<{
|
|
1744
|
+
readonly direct: Schema.TaggedStruct<"direct", {}>;
|
|
1745
|
+
readonly providerOperation: Schema.TaggedStruct<"providerOperation", {
|
|
1746
|
+
readonly providerOperationId: Schema.brand<Schema.String, string>;
|
|
1747
|
+
}>;
|
|
1748
|
+
readonly reconciliation: Schema.TaggedStruct<"reconciliation", {
|
|
1749
|
+
readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
1750
|
+
}>;
|
|
1751
|
+
}>;
|
|
1752
|
+
}>;
|
|
1753
|
+
readonly reconciliationPending: Schema.TaggedStruct<"reconciliationPending", {
|
|
1754
|
+
readonly checkedAt: Schema.DateTimeUtcFromString;
|
|
1755
|
+
readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
|
|
1756
|
+
}>;
|
|
1757
|
+
}>;
|
|
1758
|
+
readonly cause: Schema.TaggedUnion<{
|
|
1291
1759
|
readonly human: Schema.TaggedStruct<"human", {
|
|
1292
1760
|
readonly actor: Schema.TaggedStruct<"human", {
|
|
1293
1761
|
readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
|
|
1294
1762
|
}>;
|
|
1295
1763
|
readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
|
|
1296
1764
|
}>;
|
|
1765
|
+
readonly agent: Schema.TaggedStruct<"agent", {
|
|
1766
|
+
readonly actor: Schema.TaggedStruct<"agent", {
|
|
1767
|
+
readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
|
|
1768
|
+
}>;
|
|
1769
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1770
|
+
}>;
|
|
1297
1771
|
readonly system: Schema.TaggedStruct<"system", {
|
|
1298
1772
|
readonly component: Schema.brand<Schema.String, string>;
|
|
1299
1773
|
}>;
|
|
@@ -1301,8 +1775,8 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
1301
1775
|
readonly occurredAt: Schema.DateTimeUtcFromString;
|
|
1302
1776
|
readonly causationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "DomainEventId">>;
|
|
1303
1777
|
readonly correlationId: Schema.NullOr<Schema.brand<Schema.String, "DomainEventCorrelationId">>;
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1778
|
+
}, "Type">[];
|
|
1779
|
+
authorization: Schema.Struct.ReadonlySide<{
|
|
1306
1780
|
readonly schemaVersion: Schema.Literal<1>;
|
|
1307
1781
|
readonly authorizationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAuthorizationId">;
|
|
1308
1782
|
readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
|
|
@@ -1326,8 +1800,8 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
1326
1800
|
readonly requiredPermission: 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"]>;
|
|
1327
1801
|
readonly authorizedAt: Schema.DateTimeUtcFromString;
|
|
1328
1802
|
readonly expiresAt: Schema.DateTimeUtcFromString;
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1803
|
+
}, "Type"> | null;
|
|
1804
|
+
policyEvaluation: Schema.Struct.ReadonlySide<{
|
|
1331
1805
|
readonly schemaVersion: Schema.Literal<1>;
|
|
1332
1806
|
readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
|
|
1333
1807
|
readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
|
|
@@ -1342,8 +1816,8 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
1342
1816
|
readonly expectedRevision: Schema.brand<Schema.String, "Revision">;
|
|
1343
1817
|
readonly decision: Schema.Literals<readonly ["allowed", "denied"]>;
|
|
1344
1818
|
readonly evaluatedAt: Schema.DateTimeUtcFromString;
|
|
1345
|
-
}
|
|
1346
|
-
|
|
1819
|
+
}, "Type"> | null;
|
|
1820
|
+
attempt: Schema.Struct.ReadonlySide<{
|
|
1347
1821
|
readonly schemaVersion: Schema.Literal<1>;
|
|
1348
1822
|
readonly attemptId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAttemptId">;
|
|
1349
1823
|
readonly authorizationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAuthorizationId">;
|
|
@@ -1360,7 +1834,7 @@ export declare const makeGovernedActionRead: Effect.Effect<{
|
|
|
1360
1834
|
readonly checkedAt: Schema.DateTimeUtcFromString;
|
|
1361
1835
|
}>;
|
|
1362
1836
|
readonly startedAt: Schema.DateTimeUtcFromString;
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1837
|
+
}, "Type"> | null;
|
|
1838
|
+
}[], RecordNotFoundError | import("../../errors.js").PersistenceOperationError | PersistedRecordError | import("effect/unstable/sql/SqlError").SqlError | import("./quarantine.js").MalformedGovernedActionRecord, import("effect/Crypto").Crypto>;
|
|
1365
1839
|
}, never, Database>;
|
|
1366
1840
|
//# sourceMappingURL=read.d.ts.map
|