@museumwnf/viewer-layout 3.87.0 → 3.89.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/{LegacyItemSheet-Bk-3fiQP.js → LegacyItemSheet-BPI7vIv2.js} +145 -142
- package/dist/dxa.js +347 -318
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -639,6 +639,7 @@ export default galleryConfig({
|
|
|
639
639
|
origin: 'https://museumwithnofrontiers.github.io/carpets',
|
|
640
640
|
projectColors: { '<project id>': 'mwnf-chip--DCA' }, // only a project projectChips() cannot tell
|
|
641
641
|
noticeProjects: ['<project id>'], // sheets with the Explore-partner notice
|
|
642
|
+
legacyPaths, // the site's fixed list of legacy addresses (src/legacyPaths.js)
|
|
642
643
|
creditsBody: 'carpets.credits.body',
|
|
643
644
|
})
|
|
644
645
|
```
|
|
@@ -649,6 +650,12 @@ an exhibition's project in the exhibitions' colour, a project with no site in
|
|
|
649
650
|
the galleries'. `projectColors` names only what that cannot tell (a package
|
|
650
651
|
older than its exporter's `home_site`), and wins where it is given.
|
|
651
652
|
|
|
653
|
+
`legacyPaths` is a gallery's own fixed list of its legacy addresses
|
|
654
|
+
(`{ items: { <uid path>: id }, partners: { <country>/<legacy id>: id } }`),
|
|
655
|
+
written once from the package's `legacy_paths.json`. With it, the legacy
|
|
656
|
+
redirects look an address up there only; without it, they read the package's
|
|
657
|
+
file, or decode the records' legacy keys for an older package.
|
|
658
|
+
|
|
652
659
|
`exhibitionConfig` takes the same values (and `partnerObjects`, overrides of
|
|
653
660
|
the shared `exhibition.partnerObjects.*` entries). The config carries the
|
|
654
661
|
family's shell (`GalleryShell` / `ExhibitionShell`), menu, banner, sponsor
|