Remote / foldkit-remote-drizzle
buildPage
function · packages/remote-drizzle/src/pagination.ts:22
function buildPage<Row>({
rows,
pageSize,
traversal,
cursor,
cursorOf,
}: {
readonly rows: ReadonlyArray<Row>
readonly pageSize: number
readonly traversal: Traversal
readonly cursor: string | undefined
readonly cursorOf: (row: Row) => string
}): Page<Row>