Skip to main content

PortContractRunners

The contract runner for each port, with its exact subject type.

This is an interface exported by @mapcairn/core/contracts, checked against version 0.2.0.

Signature​

import type { PortContractRunners } from "@mapcairn/core/contracts";

interface PortContractRunners

Properties​

clipboard​

readonly clipboard: typeof runClipboardContract;

The contract suite for the clipboard.

createMapAdapter​

readonly createMapAdapter: typeof runMapAdapterContract;

The contract suite for the map adapter.

featureQuery​

readonly featureQuery: typeof runFeatureQueryContract;

The contract suite for the feature query.

fileOpener​

readonly fileOpener: typeof runFileOpenerContract;

The contract suite for the file opener.

fileSaver​

readonly fileSaver: typeof runFileSaverContract;

The contract suite for the file saver.

layers​

readonly layers: typeof runLayerCatalogueContract;

The contract suite for the layer catalogue.

layerSource​

readonly layerSource: typeof runLayerSourceContract;

The contract suite for the layer source.

location​

readonly location: typeof runLocationProviderContract;

The contract suite for the location provider.

messages​

readonly messages: typeof runMessageCatalogueContract;

The contract suite for the message catalogue.

preferences​

readonly preferences: typeof runDevicePreferencesContract;

The contract suite for the device preferences.

routing​

readonly routing: typeof runRoutingProviderContract;

The contract suite for the routing provider.

readonly search: typeof runSearchProviderContract;

The contract suite for the search provider.

selection​

readonly selection: typeof runFeatureSelectionContract;

The contract suite for the feature selection.

settings​

readonly settings: typeof runSettingsStoreContract;

The contract suite for the settings store.

suggestions​

readonly suggestions: typeof runSuggestionProviderContract;

The contract suite for the suggestion provider.

theme​

readonly theme: typeof runThemeSourceContract;

The contract suite for the theme source.

url​

readonly url: typeof runUrlStateContract;

The contract suite for the address state.

See also​

Source: packages/core/src/contracts/portRegistry.ts:115