buildCursorPage<T>(items: T[],nextCursor?: string): CursorPage<T>
Builds a CursorPage from items and an optional next cursor.
items: T[]
The items for the current page.
buildCursorPage<T>(items: T[],nextCursor?: string): CursorPage<T>
Builds a CursorPage from items and an optional next cursor.
items: T[]
The items for the current page.
import { buildCursorPage } from "trellis/index.ts";