chore: remove dead registry aliases

This commit is contained in:
Peter Steinberger
2026-04-24 06:41:42 +01:00
parent bff212822c
commit c3138e372c
2 changed files with 0 additions and 26 deletions

View File

@@ -1 +0,0 @@
export { resolveStaticAllowlistModelKey as resolveAllowlistModelKey } from "./model-ref-shared.js";

View File

@@ -1,25 +0,0 @@
import { normalizeOptionalString } from "../../shared/string-coerce.js";
import { getBundledChannelPlugin } from "./bundled.js";
import { getLoadedChannelPluginById, listLoadedChannelPlugins } from "./registry-loaded.js";
import type { ChannelPlugin } from "./types.plugin.js";
import type { ChannelId } from "./types.public.js";
export function listChannelPluginsForRead(): ChannelPlugin[] {
return listLoadedChannelPlugins() as ChannelPlugin[];
}
export function getLoadedChannelPluginForRead(id: ChannelId): ChannelPlugin | undefined {
const resolvedId = normalizeOptionalString(id) ?? "";
if (!resolvedId) {
return undefined;
}
return getLoadedChannelPluginById(resolvedId) as ChannelPlugin | undefined;
}
export function getChannelPluginForRead(id: ChannelId): ChannelPlugin | undefined {
const resolvedId = normalizeOptionalString(id) ?? "";
if (!resolvedId) {
return undefined;
}
return getLoadedChannelPluginForRead(resolvedId) ?? getBundledChannelPlugin(resolvedId);
}