Reference · Collections and piles: pure helpers
collectionViewAliasesconstant
Display names that earlier versions accepted and that now open another display, so a page that sets them keeps working.
Import it
import { collectionViewAliases } from "@johnmorrisdotca/fuda-cards/collection";
Definition
const collectionViewAliases: Readonly<Record<string, CollectionView>> = { jukebox: "deck", tower: "deck" }
Examples
import { collectionViewAliases } from "@johnmorrisdotca/fuda-cards/collection";
console.log(collectionViewAliases.jukebox); // deckdeckWhat it prints (run when this page was built)