Add projects without creating workspaces

Keep the legacy open-project request creating a workspace for old clients; new clients now add projects and create workspaces through separate flows.
This commit is contained in:
Mohamed Boudra
2026-06-20 11:56:28 +07:00
parent d1481833e6
commit 4534754617
36 changed files with 1653 additions and 1723 deletions
@@ -354,4 +354,18 @@ describe("checkout PR schemas", () => {
projectRemove: true,
});
});
test("accepts the project add server_info feature flag", () => {
expect(
ServerInfoStatusPayloadSchema.parse({
status: "server_info",
serverId: "srv_test",
features: {
projectAdd: true,
},
}).features,
).toEqual({
projectAdd: true,
});
});
});