Files
tvapp2/server/dist/sources/registry.js
2026-06-11 16:40:21 -04:00

10 lines
545 B
JavaScript

// The single enumeration of source adapters TVApp2 knows about. Ported from
// ../d-combine/sources/registry.mjs. Adding a source (Phase 2: common, Phase 3: dlhd) = write a new
// adapter under adapters/ and add it here; the boot init, sources router (manifest + proxy mounts),
// and SPA all iterate this list, so nothing else needs to change.
import duloAdapter from './adapters/dulo.js';
export const SOURCES = [duloAdapter];
export function getSource(id) {
return SOURCES.find((s) => s.id === id);
}
//# sourceMappingURL=registry.js.map