feat: add plugin registry and server operations

This commit is contained in:
2026-08-13 17:37:18 +07:00
parent 3f09e330be
commit 71a21b7b79
39 changed files with 2201 additions and 320 deletions
@@ -95,6 +95,13 @@ export default function EditServerPage() {
throw new Error(errorMsg);
}
if (resourceKind === "server") {
const pluginResponse = await api.api.registry
.servers({ serverId })
.plugins.put({ artifactIds: data.registryArtifactIds });
if (pluginResponse.error) throw new Error("Server updated, but plugin deployment failed");
}
router.push("/dashboard/servers");
};