CatalogClient.(constructor)
Home > @backstage/catalog-client
> CatalogClient
> (constructor)
Constructs a new instance of the CatalogClient
class
Signature:
constructor(options: {
discoveryApi: {
getBaseUrl(pluginId: string): Promise<string>;
};
fetchApi?: {
fetch: typeof fetch;
};
});
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
{ discoveryApi: { getBaseUrl(pluginId: string): Promise<string>; }; fetchApi?: { fetch: typeof fetch; }; } |