Skip to content

WIP: feat: multi-join call presets backend#209

Merged
birme merged 2 commits intomainfrom
feat/multi-join-presets
Mar 27, 2026
Merged

WIP: feat: multi-join call presets backend#209
birme merged 2 commits intomainfrom
feat/multi-join-presets

Conversation

@LucasMaupin
Copy link
Copy Markdown
Contributor

@LucasMaupin LucasMaupin commented Mar 23, 2026

Summary

  • Rename api_presetsapi_groups (routes, handler, tests, registration in api.ts)
  • Extend preset/group model with companionUrl field (stored and returned in GET/POST/PATCH)
  • Update DB interface (IDbManager) and both CouchDB and MongoDB implementations to persist companionUrl
  • Prettier format fixes in new files

Test plan

  • npm test — all 243 tests pass
  • npm run typecheck — no errors
  • GET /api/v1/group returns groups with companionUrl field
  • POST /api/v1/group with companionUrl persists and returns it
  • PATCH /api/v1/group/:id can update companionUrl

🤖 Generated with Claude Code

Add /api/v1/preset endpoints (GET, POST, PATCH, DELETE) backed by a
new presets collection in both MongoDB and CouchDB. A preset stores a
named set of (productionId, lineId) pairs. PATCH supports partial
updates for renaming and modifying calls.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@LucasMaupin LucasMaupin requested a review from birme as a code owner March 23, 2026 15:23
- Rename api_presets → api_groups (routes, tests, registration)
- Add companionUrl field to preset/group model
- Update db interface and CouchDB/MongoDB implementations for companionUrl
- Prettier format fixes in new files

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@birme birme merged commit f74d320 into main Mar 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants