mirror of
https://github.com/dergigi/boris.git
synced 2026-02-01 05:04:29 +01:00
- Create typed RelayRole and RelayConfig interface in relays.ts - Add centralized RELAY_CONFIGS registry with role annotations - Add helper getters: getLocalRelays(), getDefaultRelays(), getContentRelays(), getFallbackContentRelays() - Maintain backwards compatibility with RELAYS and NON_CONTENT_RELAYS constants - Refactor relayManager to use new registry helpers - Harden applyRelaySetToPool with consistent normalization and local relay preservation - Add RelaySetChangeSummary return type for debugging - Improve articleService to prioritize and filter relay hints from naddr - Use centralized fallback content relay helpers instead of hard-coded arrays