Skip to content

Commit

Permalink
feat!: rename startCursor and endCursor to before and after (#442)
Browse files Browse the repository at this point in the history
Per the reasoning and change in
storacha/w3infra#148
  • Loading branch information
travis authored Feb 23, 2023
1 parent 6b3328b commit d4581a8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/upload-client/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@ 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
before?: string
after?: string
size: number
results: R[]
}
Expand Down

0 comments on commit d4581a8

Please sign in to comment.