enabledSources

Development These docs follow the development version and change with every merge.

Last updated View as Markdown

Variables

DISCOVER_SEARCH_PLACEHOLDER

const DISCOVER_SEARCH_PLACEHOLDER: "Search Book Stores... (Enter for results)" = "Search Book Stores... (Enter for results)";

Placeholder for the Discover search field when store names are unknown.

Functions

loadEnabledSources()

function loadEnabledSources(): Promise<PortalSource[]>;

Loads enabled storefront sources from the portal API.

Used by Discover / Preferences so store lists track the storefront plugins deployed on this host instead of a hardcoded product catalog.

Returns

Promise<PortalSource[]>

Enabled sources (may be empty when none are enabled).

Generated from ui/src/lib at main · View as Markdown