refactor: expose reference sources independently of standalone setup

This commit is contained in:
Sameh Khamis committed 2026-09-14 21:52:27 -07:00
1 parent 8bfce9080d
commit e46d50ce52
9 files changed
+66 -19

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import { createUsgsEarthquakeSource } from '../layers/earthquakes/source.js';
import { createBundledCableSource } from '../layers/submarineCables/bundledSource.js';
/** Construct the existing reference feeds independently of application setup. */
export function createReferenceSources() {
return {
earthquakes: createUsgsEarthquakeSource(),
cables: createBundledCableSource(),
};
}