Skip to main content

Module defaults

Module defaults 

Source
Expand description

The standard desktop wiring.

Products call these from their composition root instead of repeating the same four adapter constructions — and override any single one where they need something else (ADR-0004, “convention by default, explicit override when needed”).

Functions§

http_client
One HTTP client for the whole application.
notifications
Native notifications.
opener
Opening external http(s) URLs in the user’s browser.
secret_store
Credentials in the operating system credential store, scoped to this product.
storage
SQLite storage in the platform’s app-data directory.