mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-12 15:05:41 -04:00
initial push from external dev branches
This commit is contained in:
10
server/dist/sources/registry.js
vendored
Normal file
10
server/dist/sources/registry.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
// 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
|
||||
Reference in New Issue
Block a user