mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Application scene and conformance page leave the Cesium allow-list
The application scene is the composition root: it now takes everything it needs from one adapter module (src/render/cesium/application.js), which loads, shows and releases the photoreal tileset and hands out the viewer hooks. The conformance page keeps importing the adapter's harness and scene renderer, since running the suite on Cesium is its purpose. Both are named in the ratchet as the only files outside the adapter that may import it, each limited to those modules, by name only, and the modules may not hand out the Cesium namespace. Only geoImportPins stays on the allow-list.
This commit is contained in:
1 parent
26665e8390
commit
4c587a6d0f
7 files changed
+222
-33
No files matched your search
@@ -153,7 +153,13 @@ back to Cesium. Both lists only ever shrink.
|
||||
- `src/render/cesiumAllowList.json` lists the files outside the Cesium
|
||||
adapter (`src/render/cesium/`) that may still import or be handed Cesium
|
||||
(`src/render/noCesiumOutsideRender.test.mjs`). A file leaves the list
|
||||
when it no longer drives Cesium at all; nothing is added.
|
||||
when it no longer drives Cesium at all; nothing is added. Two files name
|
||||
the adapter by design and are not on it: the application scene
|
||||
(`src/app/scene.js`), the composition root that picks the Cesium renderer,
|
||||
may import `src/render/cesium/application.js` and nothing else of the
|
||||
adapter; the conformance page (`dev/conformance/main.js`) may import the
|
||||
adapter's harness and scene renderer. The test names both
|
||||
(`ADAPTER_ENTRIES`), and that list is never grown.
|
||||
- `src/render/viewerAccessAllowList.json` counts, per file off that list,
|
||||
the Cesium-shaped accesses through the viewer it still makes
|
||||
(`src/render/viewerAccess.test.mjs`): the viewer's `entities`,
|
||||
|
||||
Reference in new issue
Block a user