fix api reports
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user