docs(cliproxy): clarify catalog --json output format in JSDoc

Use TypeScript-style index signature notation instead of ambiguous
placeholder name in format description.

Built [OnSteroids](https://onsteroids.ai)
This commit is contained in:
Sergey Galuza
2026-04-11 18:02:32 +02:00
parent 48634549f8
commit f090c32c2f
+1 -1
View File
@@ -177,7 +177,7 @@ export async function handleCatalogRefresh(verbose: boolean): Promise<void> {
/** /**
* Output catalog as JSON for programmatic consumption. * Output catalog as JSON for programmatic consumption.
* Used by OnSteroids and other tools to get available models per provider. * Used by OnSteroids and other tools to get available models per provider.
* Format: { provider: [{ id, name }], ... } * Format: { [providerName: string]: Array<{ id: string, name: string }> }
*/ */
export function handleCatalogJson(): void { export function handleCatalogJson(): void {
const catalogs = getAllResolvedCatalogs(); const catalogs = getAllResolvedCatalogs();