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
@@ -35,6 +35,11 @@ export default function CreateServerPage() {
throw new Error(errorMsg);
}
const pluginResponse = await api.api.registry
.servers({ serverId: payload.id })
.plugins.put({ artifactIds: data.registryArtifactIds });
if (pluginResponse.error) throw new Error("Server created, but plugin deployment failed");
router.push("/dashboard/servers");
};