@oneplatform/sdk / Page
Interface: Page\<T>¶
Defined in: packages/sdk/src/types/pagination.ts:5
Pagination types for cursor-based collection traversal (ADR-29).
Type Parameters¶
T¶
T
Properties¶
hasMore¶
readonlyhasMore:boolean
Defined in: packages/sdk/src/types/pagination.ts:19
Whether more pages follow (nextCursor !== null).
items¶
readonlyitems:T[]
Defined in: packages/sdk/src/types/pagination.ts:7
Items on this page.
nextCursor¶
readonlynextCursor:string|null
Defined in: packages/sdk/src/types/pagination.ts:10
Cursor for the next page. null if this is the last page.
total¶
readonlytotal:number|null
Defined in: packages/sdk/src/types/pagination.ts:16
Total matching items across all pages. null for collections where total computation is too expensive (>100k rows).