Skip to content

Commit 7491cc7

Browse files
authored
Merge pull request #36 from warrant-dev/AddCursorPaginationSupport
Add cursor pagination support
2 parents 8418c12 + 285a602 commit 7491cc7

File tree

2 files changed

+52
-46
lines changed

2 files changed

+52
-46
lines changed

src/types/ListOptions.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
export default interface ListOptions {
2+
beforeId?: string;
3+
beforeValue?: string;
4+
afterId?: string;
5+
afterValue?: string;
6+
sortBy?: string;
7+
sortOrder?: string;
28
page?: number;
39
limit?: number;
410
}

0 commit comments

Comments
 (0)