feat(share): export the share-view codec and link-path helpers (#1419)

* feat(share): export the share-view codec for host servers

Add `@gods-eye-view/core/share/view-codec` (src/share/viewCodec.js) as a
package export with its own boundary group. The codec is pure (no DOM, no
Cesium, no external dependencies), so a host's server can decode a
/share/<code> link, for example to describe the view in link previews.

* feat(share): export the share-link address helpers

Add `@gods-eye-view/core/share/link-path` (src/share/shareLinkPath.js), so a
host's server reads /share/<code> addresses the way the app does.
This commit is contained in:
Sameh Khamis authored and GitHub committed 2026-10-26 16:20:23 -07:00
1 parent da02fd8645
commit 3d9f153bc0
5 files changed
+45 -1

No files matched your search

+2
View File
@@ -223,6 +223,8 @@
"./data/lifecycle": "./src/data/lifecycle.js",
"./ui/navigation": "./src/ui/navigationController.js",
"./ui/share-restoration": "./src/ui/shareRestoration.js",
"./share/view-codec": "./src/share/viewCodec.js",
"./share/link-path": "./src/share/shareLinkPath.js",
"./ui/visual-settings": "./src/ui/visualSettings.js",
"./ui/panel-chrome": "./src/ui/panelChrome.js",
"./layers/flights/records": "./src/layers/flights/records.js",