Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: add startCursor and endCursor to ListResponse #437

Merged
merged 1 commit into from
Feb 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/upload-client/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ export interface UploadAddResponse {
export interface UploadRemoveResponse extends UploadAddResponse {}

export interface ListResponse<R> {
// cursor is deprecated in favor of endCursor, which should always be exactly the same value
cursor?: string
startCursor?: string
endCursor?: string
size: number
results: R[]
}
Expand Down