Przejdź do głównej zawartości

Interface: PickupWidgetDescriptor

pickupConfig.widget as returned by the Storefront API.

Properties​

attributes​

attributes: readonly PickupWidgetAttribute[]

Attributes to place on the mount element.


cssUrl?​

optional cssUrl?: string | null

Stylesheet shipped separately from the script. Skipping it renders the map unstyled.


scriptSrc?​

optional scriptSrc?: string | null

Script address, ready to load as-is. It already carries whatever the carrier wants in its query string — including the public token for a carrier that authenticates the script request itself. Nothing is appended to it here: what a carrier requires is carrier knowledge, and keeping it on the API means a new carrier works without republishing this package.


scriptUrl?​

optional scriptUrl?: string | null

Deprecated​

Bare address without the carrier's query requirements. Use scriptSrc.


scriptVersion?​

optional scriptVersion?: string | null

Deprecated​

The loader version is already part of scriptSrc.


type​

type: string

Which widget this is, e.g. inpost_geowidget / orlen_map. Selects the adapter.