Skip to content
API/PageRangeInput

PageRangeInput

src/types/page-range-input.type.tstype

What getPageRange() reads from a page — a PaginatedCollection or its toPlain() copy both fit.

Property Type Description
data readonly unknown[] The page’s rows.
from number | null The first row’s position, when the backend reported it.
page number The page number, from 1.
perPage number | null Rows per page, when the backend reported it.
to number | null The last row’s position, when the backend reported it.
total number | null Rows in the whole list, when the backend counted them.