Skip to content

js-bao-wss-client


js-bao-wss-client / ListDatabasesOptions

Interface: ListDatabasesOptions ​

Options for databases.list().

Properties ​

cursor? ​

optional cursor?: string | null

Continuation token from a previous page's nextCursor.


databaseType? ​

optional databaseType?: string

If provided, only databases of this databaseType are returned.


limit? ​

optional limit?: number

Maximum number of databases to return in one page. Defaults to and is capped at 100.


owner? ​

optional owner?: string

If provided, only databases created by this user id are returned.

This narrows the listing; it never widens it. A caller who sees every database in the app gets that owner's databases, and a caller who only sees their own grants gets the subset of those the owner created.


returnPage? ​

optional returnPage?: boolean

If true, return a DatabaseListPage with the continuation token instead of a flat array.

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