Sub-issue of #1067.
Add API endpoints so users can declare and manage dependency edges between deployments. The deployment_dependency table exists and the workspace-engine consumes it (#1077), but there is currently no way to write to it from the API.
Needed:
- Set / update / remove a dependency edge
(deploymentId, dependencyDeploymentId, versionSelector).
- List dependencies for a deployment.
Should follow the existing API conventions (tRPC for the web app, REST for external integrations).
Sub-issue of #1067.
Add API endpoints so users can declare and manage dependency edges between deployments. The
deployment_dependencytable exists and the workspace-engine consumes it (#1077), but there is currently no way to write to it from the API.Needed:
(deploymentId, dependencyDeploymentId, versionSelector).Should follow the existing API conventions (tRPC for the web app, REST for external integrations).