Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Immutable SeamPaginator #288

Conversation

phpnode
Copy link
Member

@phpnode phpnode commented Feb 18, 2025

No description provided.

@razor-x
Copy link
Member

razor-x commented Feb 19, 2025

@phpnode Going to merge this and then take over the original PR again :)

@razor-x razor-x merged commit b7b8b27 into evan/cx-213-support-pagination-in-javascript-sdk Feb 19, 2025
15 checks passed
@razor-x razor-x deleted the charles/cx-213-support-pagination-in-javascript-sdk branch February 19, 2025 00:44
razor-x added a commit that referenced this pull request Feb 20, 2025
* Add SeamPaginator

* ci: Generate code

* Update interface

* Add nextPageCursor

* Fix SeamPaginator types

* Immutable SeamPaginator (#288)

* Immutable SeamPaginator

* Fix unused type

* Fix type error

* Update fake-seam-connect

* Run npm update

* Mark failing test

* Rename to fetchResponse

* Improve types

* Rename page to request

* Add more SeamPaginator tests

* Handle pagination via get or post

* ci: Format code

* ci: Generate code

* Export and document SeamPaginator

* ci: Format code

* Brand PageCursor

* Fix request

* Rename toArray to flattenToArray

* ci: Format code

* Use method version for #fetch

* ci: Format code

---------

Co-authored-by: Seam Bot <seambot@getseam.com>
Co-authored-by: Charles Pick <charles@codemix.com>
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