# CatalogueChange

What a change to the layer catalogue did, for [`announceCatalogueChange`](https://docs.mapcairn.com/api/core/announceCatalogueChange.md).

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

## Signature

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

## Properties

### added

```ts
readonly added: number;
```

How many layers a refresh added to a list that was already shown. Zero says nothing.

### empty

```ts
readonly empty: boolean;
```

The first list the catalogue gave is empty, which is worth saying after the wait.

### linkUnavailable

```ts
readonly linkUnavailable: number;
```

How many layers the link named that the catalogue does not have for this person.

### removed

```ts
readonly removed: number;
```

How many layers a refresh removed from a list that was already shown. Zero says nothing.

### skipped

```ts
readonly skipped: number;
```

How many definitions the host supplied that were left out. Zero says nothing.

### turnedOff

```ts
readonly turnedOff: readonly MessagePart[];
```

The names of enabled layers the catalogue no longer holds, which were turned off.

## See also

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

Source: [packages/core/src/announce/announce.ts:213](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/announce/announce.ts#L213)
