Skip to main content

CatalogueChange

What a change to the layer catalogue did, for announceCatalogueChange.

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

Signature​

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

interface CatalogueChange

Properties​

added​

readonly added: number;

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

empty​

readonly empty: boolean;

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

linkUnavailable​

readonly linkUnavailable: number;

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

removed​

readonly removed: number;

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

skipped​

readonly skipped: number;

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

turnedOff​

readonly turnedOff: readonly MessagePart[];

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

See also​

Source: packages/core/src/announce/announce.ts:213