configureSlotResolver
function configureSlotResolver(opts): void;Defined in: packages/asset-client/src/slots.ts:70
Configure the resolver process-wide. Call once at boot from your storefront layout / server entry / worker init.
configureSlotResolver({ endpoint: process.env.AQUIENPZ_URL, apiKey: process.env.ASSET_MANAGER_RUNTIME_KEY, tenantCode: “realtyone-cr”, });
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
opts |
{ apiKey?: string; endpoint?: string; tenantCode?: string; } |
opts.apiKey? |
string |
opts.endpoint? |
string |
opts.tenantCode? |
string |
Returns
Section titled “Returns”void