feat: POST /auth/workspaces — create an additional collective from an existing account

Until now collectives only existed at registration; an account with a
personal workspace had no path to start one. The creator becomes Owner
and gets a session scoped to the new workspace.
This commit is contained in:
glass beadian 2026-10-14 17:16:17 +00:00
parent 177ca6eb2b
commit cbdb8c0f81
18 changed files with 2584 additions and 8 deletions

View file

@ -13,10 +13,13 @@
"soak": "node --import tsx src/compositor/soak.ts"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.1146.0",
"pg": "^8.23.1",
"pino": "^9.3.2"
},
"devDependencies": {
"@types/node": "^22.5.0",
"@types/pg": "^8.23.1",
"tsx": "^4.17.0"
}
}