feat(cyclones): publish explicit selection to shared context

This commit is contained in:
Kevin Rajan committed 2026-09-29 00:20:16 -05:00
1 parent e7707d9a0f
commit 28f3243090
5 files changed
+138 -3

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import { createCyclonesLayer } from '../../layers/cyclones/index.js';
import * as context from '../../data/contextStore.js';
/** Wire cyclone selection into the application shared-context owner. */
export function createApplicationCyclones(options) {
const browserContext = typeof window !== 'undefined' ? { context } : {};
return createCyclonesLayer({
...browserContext,
...options,
});
}