fix api reports

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
aramissennyeydd
2025-11-10 14:04:40 -05:00
parent dbf5eae24d
commit 2b6279edb3
2 changed files with 2 additions and 13 deletions
@@ -643,14 +643,6 @@ export interface RootSystemMetadataService {
// @public (undocumented)
export interface RootSystemMetadataServicePluginInfo {
// (undocumented)
readonly hosts: (
| string
| {
external: string;
internal: string;
}
)[];
// (undocumented)
readonly pluginId: string;
}
@@ -45,7 +45,6 @@ import {
createServiceFactory,
RootLoggerService,
RootSystemMetadataService,
RootInstanceMetadataServicePluginInfo,
} from '@backstage/backend-plugin-api';
import { ConfigReader } from '@backstage/config';
import { EventsService, eventsServiceRef } from '@backstage/plugin-events-node';
@@ -561,11 +560,9 @@ export namespace mockServices {
}));
}
export function rootInstanceMetadata(options?: {
plugins: RootInstanceMetadataServicePluginInfo[];
}): RootInstanceMetadataService {
export function rootInstanceMetadata(): RootInstanceMetadataService {
return {
getInstalledPlugins: () => Promise.resolve(options?.plugins ?? []),
getInstalledPlugins: () => Promise.resolve([]),
};
}
export namespace rootInstanceMetadata {