refactor(channels): centralize match metadata

This commit is contained in:
Peter Steinberger committed 2026-01-21 18:21:19 +00:00
1 parent b52ab96e2c
commit 88d76d4be5
11 files changed
+73 -38

No files matched your search

+2
View File
@@ -1,8 +1,10 @@
export type { ChannelEntryMatch, ChannelMatchSource } from "../channel-config.js";
export {
applyChannelMatchMeta,
buildChannelKeyCandidates,
normalizeChannelSlug,
resolveChannelEntryMatch,
resolveChannelEntryMatchWithFallback,
resolveChannelMatchConfig,
resolveNestedAllowlistDecision,
} from "../channel-config.js";
+2
View File
@@ -60,10 +60,12 @@ export {
listWhatsAppDirectoryPeersFromConfig,
} from "./directory-config.js";
export {
applyChannelMatchMeta,
buildChannelKeyCandidates,
normalizeChannelSlug,
resolveChannelEntryMatch,
resolveChannelEntryMatchWithFallback,
resolveChannelMatchConfig,
resolveNestedAllowlistDecision,
type ChannelEntryMatch,
type ChannelMatchSource,