refactor(cli): remove meaningless utility functions

This commit is contained in:
p-sw 2024-06-15 03:32:07 +09:00
parent 217410a507
commit 9b0b37ec01

View File

@ -19,10 +19,6 @@ export async function getRegistry(
return registryResponse
}
export async function getAvailableComponentNames(registry: Registry): Promise<string[]> {
return Object.keys(registry.components)
}
export async function getComponentURL(
registry: Registry,
componentName: string,
@ -35,10 +31,3 @@ export async function getComponentURL(
}
return base
}
export async function getComponentRealname(
registry: Registry,
componentName: keyof Registry['components'],
): Promise<string> {
return registry.components[componentName].name
}