CatalogueState
What a LayerCatalogue holds. ready with no layers is a catalogue
that is empty, which is not the same as one still loading.
This is a type alias exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { CatalogueState } from "@mapcairn/core";
type CatalogueState = {
readonly status: "loading";
} | {
readonly status: "failed";
readonly reason: CatalogueFailure;
} | {
readonly status: "ready";
readonly layers: readonly LayerDefinition[];
readonly skipped: readonly SkippedDefinition[];
readonly refresh: CatalogueRefresh;
};