Skip to content
qubeejs/angular
API/API reference

API reference

Every symbol the Angular adapter adds, generated from its source. Three entry points:

Import from What it holds
@qubeejs/angular Providers, services, lists, adapters, tokens — and the whole of @qubeejs/core, re-exported
@qubeejs/angular/router provideQubeeRouterAdapter(); the only entry point that needs @angular/router
@qubeejs/angular/http qubeeHttpResource(); built on httpResource(), so it needs Angular 19.2

Configure the driver once, and scope fresh query state where you need it.

  • buildQubeeProviders() — Build the core provider list shared by provideQubee() and QubeeModule.forRoot()
  • createQubeeInstance() — Create an isolated query builder, paginator and store, wired together
  • provideQubee() — Sets up providers necessary to enable Qubee functionality for the application
  • provideQubeeInstance() — Providers for a component-scoped Qubee instance
  • QubeeModule — NgModule entry point for applications that still bootstrap with modules

The injectables: the query builder with its signals, the paginator and the store they share.

Lists whose state lives in the URL, and the adapters that read and write it.

Fetching a list page with httpResource(), from @qubeejs/angular/http.

What provideQubee() registers, for when you need to read or replace one.

What the adapter throws on its own.

  • MissingRouterAdapterError — Thrown by injectQubeeList() when no adapter is passed and none is provided under QUBEE_LIST_ADAPTER

The types of the adapter’s own API.

  • QubeeInstance — What createQubeeInstance() returns: the three Angular objects, already wired together around one private store
  • QubeeList — What injectQubeeList() returns for a list definition TList
  • QubeeListAdapter — Where a list reads its URL from and how it writes one back
  • QubeeListArgs — The arguments injectQubeeList() takes after the list
  • QubeeListInput — The input a list declares, as injectQubeeList() takes it: the value, a signal or function returning it, or null for “not ready yet”
  • QubeeListNavigateOptions — How a list asks its adapter to navigate
  • QubeeListOptions — Options of injectQubeeList() common to every list
  • QubeeListRequest — The value of a QubeeList’s request: a ListRequest for a list without an input, and ListRequest | null for a list that declares one — null while its input is null
  • QubeeListSetOptions — Options of set() and toggleSort() on a QubeeList
  • QubeeListSortToggle — The toggleSort member of a QubeeList: present only when the list declares exactly one sortParam, with field typed to the fields it allows