Commit ba584c1
fix(js-sdk): forward name param and expose names in createSnapshot
Adds SnapshotCreateOpts with an optional name field, threads it through
to the POST body, and adds names[] to SnapshotInfo so callers can create
named snapshots and read back their assigned aliases.
Also fixes SnapshotPaginator.nextItems() which had the same names omission.
Fixes #1249
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8d83482 commit ba584c1
2 files changed
Lines changed: 31 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
| 624 | + | |
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
270 | 286 | | |
271 | 287 | | |
272 | 288 | | |
| |||
276 | 292 | | |
277 | 293 | | |
278 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
279 | 302 | | |
280 | 303 | | |
281 | 304 | | |
| |||
687 | 710 | | |
688 | 711 | | |
689 | 712 | | |
690 | | - | |
| 713 | + | |
691 | 714 | | |
692 | 715 | | |
693 | 716 | | |
| |||
698 | 721 | | |
699 | 722 | | |
700 | 723 | | |
701 | | - | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
702 | 727 | | |
703 | 728 | | |
704 | 729 | | |
| |||
713 | 738 | | |
714 | 739 | | |
715 | 740 | | |
| 741 | + | |
716 | 742 | | |
717 | 743 | | |
718 | 744 | | |
| |||
1038 | 1064 | | |
1039 | 1065 | | |
1040 | 1066 | | |
| 1067 | + | |
1041 | 1068 | | |
1042 | 1069 | | |
1043 | 1070 | | |
| |||
0 commit comments