mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-11 20:15:41 -04:00
10 lines
545 B
JavaScript
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
|