refactor: share teams allowlist matching helpers

Co-authored-by: thewilloftheshadow <thewilloftheshadow@users.noreply.github.com>
This commit is contained in:
Peter Steinberger
2026-01-18 01:37:18 +00:00
parent 0674f1fa3c
commit c1da78a271
5 changed files with 174 additions and 45 deletions

View File

@@ -1,6 +1,8 @@
export type { ChannelEntryMatch, ChannelMatchSource } from "../channel-config.js";
export {
buildChannelKeyCandidates,
normalizeChannelSlug,
resolveChannelEntryMatch,
resolveChannelEntryMatchWithFallback,
resolveNestedAllowlistDecision,
} from "../channel-config.js";

View File

@@ -86,8 +86,10 @@ export {
} from "./directory-config.js";
export {
buildChannelKeyCandidates,
normalizeChannelSlug,
resolveChannelEntryMatch,
resolveChannelEntryMatchWithFallback,
resolveNestedAllowlistDecision,
type ChannelEntryMatch,
type ChannelMatchSource,
} from "./channel-config.js";