# FakeServiceHandles

The fakes behind a [`FakeServices`](https://docs.mapcairn.com/api/core/FakeServices.md), for scripting and inspection.

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

## Signature

```ts
import type { FakeServiceHandles } from "@mapcairn/core";
 
interface FakeServiceHandles
```

## Properties

### clipboard

```ts
readonly clipboard: FakeClipboard;
```

The clipboard the services use.

### featureQuery

```ts
readonly featureQuery: FakeFeatureQuery;
```

The feature query the services use.

### fileOpener

```ts
readonly fileOpener: FakeFileOpener;
```

The file opener the services use.

### fileSaver

```ts
readonly fileSaver: FakeFileSaver;
```

The file saver the services use.

### layers

```ts
readonly layers: FakeLayerCatalogue;
```

The layer catalogue the services use.

### layerSource

```ts
readonly layerSource: FakeLayerSource;
```

The layer source the services use.

### location

```ts
readonly location: FakeLocationProvider;
```

The location provider the services use.

### maps

```ts
readonly maps: FakeMapAdapter[];
```

Every adapter `createMapAdapter` has built, oldest first.

### messages

```ts
readonly messages: FakeMessageCatalogue;
```

The message catalogue the services use.

### preferences

```ts
readonly preferences: FakeDevicePreferences;
```

The device preferences the services use.

### routing

```ts
readonly routing: FakeRoutingProvider;
```

The routing provider the services use.

### search

```ts
readonly search: FakeSearchProvider;
```

The search provider the services use.

### selection

```ts
readonly selection: MemoryFeatureSelection;
```

The feature selection the services use.

### settings

```ts
readonly settings: MemorySettingsStore;
```

The settings store the services use.

### suggestions

```ts
readonly suggestions: FakeSuggestionProvider;
```

The suggestion provider the services use.

### theme

```ts
readonly theme: FakeThemeSource;
```

The theme source the services use.

### url

```ts
readonly url: MemoryUrlState;
```

The address state the services use.

## See also

- [`FakeClipboard`](https://docs.mapcairn.com/api/core/FakeClipboard.md)
- [`FakeFeatureQuery`](https://docs.mapcairn.com/api/core/FakeFeatureQuery.md)
- [`FakeFileOpener`](https://docs.mapcairn.com/api/core/FakeFileOpener.md)
- [`FakeFileSaver`](https://docs.mapcairn.com/api/core/FakeFileSaver.md)
- [`FakeLayerCatalogue`](https://docs.mapcairn.com/api/core/FakeLayerCatalogue.md)
- [`FakeLayerSource`](https://docs.mapcairn.com/api/core/FakeLayerSource.md)
- [`FakeLocationProvider`](https://docs.mapcairn.com/api/core/FakeLocationProvider.md)
- [`FakeMapAdapter`](https://docs.mapcairn.com/api/core/FakeMapAdapter.md)
- [`FakeMessageCatalogue`](https://docs.mapcairn.com/api/core/FakeMessageCatalogue.md)
- [`FakeDevicePreferences`](https://docs.mapcairn.com/api/core/FakeDevicePreferences.md)
- [`FakeRoutingProvider`](https://docs.mapcairn.com/api/core/FakeRoutingProvider.md)
- [`FakeSearchProvider`](https://docs.mapcairn.com/api/core/FakeSearchProvider.md)
- [`MemoryFeatureSelection`](https://docs.mapcairn.com/api/core/MemoryFeatureSelection.md)
- [`MemorySettingsStore`](https://docs.mapcairn.com/api/core/MemorySettingsStore.md)
- [`FakeSuggestionProvider`](https://docs.mapcairn.com/api/core/FakeSuggestionProvider.md)
- [`FakeThemeSource`](https://docs.mapcairn.com/api/core/FakeThemeSource.md)
- [`MemoryUrlState`](https://docs.mapcairn.com/api/core/MemoryUrlState.md)

Source: [packages/core/src/fakes/createFakeServices.ts:26](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/fakes/createFakeServices.ts#L26)
