Skip to content

js-bao-wss-client


js-bao-wss-client / ListResult

Interface: ListResult<T> ​

The unified paginated list envelope returned by list endpoints (collections, groups, and other cursor-paginated APIs).

Follow nextCursor to fetch the next page; hasMore says whether one exists. Both fields are always populated together.

Type Parameters ​

T ​

T

Properties ​

cursor? ​

optional cursor?: string

Deprecated ​

Alias of nextCursor kept for one deprecation window.


hasMore? ​

optional hasMore?: boolean

True when a next page exists.


items ​

items: T[]


nextCursor? ​

optional nextCursor?: string

Continuation token for the next page.

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30