Interface: OffsetPage
@kortexya/reasoninglayer / OffsetPage
Interface: OffsetPage<TItem>
Section titled “Interface: OffsetPage<TItem>”Defined in: src/pagination.ts:28
One page of a limit/offset endpoint.
Type Parameters
Section titled “Type Parameters”TItem
Properties
Section titled “Properties”items:
TItem[]
Defined in: src/pagination.ts:30
The items on this page.
total?
Section titled “total?”
optionaltotal?:number
Defined in: src/pagination.ts:32
How many items match in total, when the endpoint reports it.