clean up PR following review

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
aramissennyeydd
2025-05-13 17:42:44 -04:00
parent a651e04a4e
commit 8154b1d111
17 changed files with 26 additions and 225 deletions
@@ -26,17 +26,6 @@ export { actionsRegistryServiceRef, actionsServiceRef } from './refs';
import { createServiceRef } from '@backstage/backend-plugin-api';
/**
* EXPERIMENTAL: System metadata service.
* @alpha
*/
export const systemMetadataServiceRef = createServiceRef<
import('./services/definitions/SystemMetadataService').SystemMetadataService
>({
id: 'core.systemMetadata',
scope: 'root',
});
export type {
BackstageInstance,
SystemMetadataService,
@@ -26,5 +26,5 @@ export interface BackstageInstance {
* @alpha
*/
export interface SystemMetadataService {
listInstances(): Promise<BackstageInstance[]>;
introspect(): Promise<{ instances: BackstageInstance[] }>;
}
@@ -289,4 +289,15 @@ export namespace coreServices {
id: 'core.rootInstanceMetadata',
scope: 'root',
});
/**
* Read information about your current Backstage deployment.
* @alpha
*/
export const systemMetadataServiceRef = createServiceRef<
import('./SystemMetadataService').SystemMetadataService
>({
id: 'core.systemMetadata',
scope: 'root',
});
}