Skip to content

Commit 301ce6d

Browse files
committed
fix: Export SeamPageCursor
1 parent 8108ee9 commit 301ce6d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/lib/seam/connect/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export * from './routes/index.js'
1414
export * from './seam-http-error.js'
1515
export * from './seam-http-request.js'
1616
export * from './seam-paginator.js'
17-
export * from './seam-paginator.js'
1817
export {
1918
isApiKey,
2019
isClientSessionToken,

src/lib/seam/connect/seam-paginator.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ interface SeamPaginatorParent {
99

1010
declare const $brand: unique symbol
1111

12-
type PageCursor = string & { [$brand]: 'SeamPageCursor' }
12+
export type SeamPageCursor = string & { [$brand]: 'SeamPageCursor' }
1313

1414
interface Pagination {
1515
readonly hasNextPage: boolean
16-
readonly nextPageCursor: PageCursor | null
16+
readonly nextPageCursor: SeamPageCursor | null
1717
readonly nextPageUrl: string | null
1818
}
1919

@@ -150,6 +150,6 @@ type EnsureMutableArray<T> = T extends any[] ? T : never
150150

151151
interface PaginationData {
152152
has_next_page: boolean
153-
next_page_cursor: PageCursor | null
153+
next_page_cursor: SeamPageCursor | null
154154
next_page_url: string | null
155155
}

0 commit comments

Comments
 (0)