# LayerSourceSubject

One layer source under test, with its controls.

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

## Signature

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

## Properties

### controls

```ts
readonly controls: LayerSourceControls;
```

How the contract scripts it.

### source

```ts
readonly source: LayerSource;
```

The layer source under test.

## See also

- [`LayerSourceControls`](https://docs.mapcairn.com/api/core/contracts/LayerSourceControls.md)
- [`LayerSource`](https://docs.mapcairn.com/api/core/LayerSource.md)

Source: [packages/core/src/contracts/layerSource.contract.ts:145](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/contracts/layerSource.contract.ts#L145)
