chore: format sources and update protocol outputs
This commit is contained in:
1 parent
2d066b8715
commit
139f80a291
33 files changed
+186
-223
No files matched your search
@@ -34,9 +34,7 @@ export function listChannelPluginCatalogEntries(): ChannelPluginCatalogEntry[] {
|
||||
return [...CATALOG];
|
||||
}
|
||||
|
||||
export function getChannelPluginCatalogEntry(
|
||||
id: string,
|
||||
): ChannelPluginCatalogEntry | undefined {
|
||||
export function getChannelPluginCatalogEntry(id: string): ChannelPluginCatalogEntry | undefined {
|
||||
const trimmed = id.trim();
|
||||
if (!trimmed) return undefined;
|
||||
return CATALOG.find((entry) => entry.id === trimmed);
|
||||
|
||||
Reference in new issue
Block a user