feat: add support for branch settings#522
Conversation
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
|
Coverage report for commit: 3f57891 Summary - Lines: 82.37% | Methods: 95.91% | Branches: 65.48%
🤖 comment via lucassabreu/comment-coverage-clover |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
harshitha-cstk
left a comment
There was a problem hiding this comment.
version bump and changelog update
sunil-lakshman
left a comment
There was a problem hiding this comment.
@naman-contentstack Please add release version bump & changelog
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
feat: add support for branch settings
Add
updateSettingsmethod to Branch SDKThe CMA REST API supports updating branch-level settings via
POST /stacks/branches/{branch_uid}/settings, but the SDK had no corresponding method.Changes
lib/stack/branch/index.js— addedupdateSettings(payload)to theBranchobject (available when a branch UID is provided)types/stack/branch/index.d.ts— added typed interfaces:IBranchSettings,IBranchSettingsData,ILinkedWorkspace, andIBranchSettingsResponsetest/unit/branch-test.js— added unit test covering the new methodUsage