feat: add operations mutation api for alpine ui

This commit is contained in:
a.tolmachev
2026-03-30 00:42:41 +03:00
parent 4721bc1948
commit 23ca2cda59
14 changed files with 907 additions and 56 deletions
+5
View File
@@ -126,6 +126,11 @@ impl From<RegistryError> for ApiError {
} => Self::not_found(format!(
"operation version {version} for {operation_id} was not found"
)),
RegistryError::OperationHasPublishedAgentBindings { operation_id } => {
Self::conflict(format!(
"operation {operation_id} cannot be deleted while it is bound to a published agent"
))
}
RegistryError::AuthProfileNotFound { auth_profile_id } => {
Self::not_found(format!("auth profile {auth_profile_id} was not found"))
}