Skip to content
API/QubeeConfig

QubeeConfig

src/types/qubee-config.type.tstype

Options for createQubee.

Property Type Description
driver DriverDefinition The driver to use, as its exported definition — STRAPI_DRIVER, say. A definition rather than an id, deliberately: it keeps createQubee from reaching into DRIVERS, which would bundle all eighteen drivers into every consumer. To choose at runtime, import the registry yourself and pass DRIVERS[id], so the cost is visible at your own import site.
pagination PaginationModeEnum Wire-level pagination mechanism. Only PostgREST honours it today; every other driver ignores the setting.
request QueryBuilderConfig Override the query parameter names the request strategy emits.
response PaginationConfig Override where the response strategy looks for pagination metadata.