fix API report

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
aramissennyeydd
2025-06-10 10:53:37 -04:00
parent 3a49851ae3
commit c7d652c5f2
3 changed files with 14 additions and 1 deletions
@@ -251,6 +251,7 @@ export namespace coreServices {
'root',
'singleton'
>;
const systemMetadata: ServiceRef<SystemMetadataService, 'root', 'singleton'>;
}
// @public
@@ -292,7 +292,7 @@ export namespace coreServices {
/**
* Read information about your current Backstage deployment.
* @alpha
* @public
*/
export const systemMetadata = createServiceRef<
import('./SystemMetadataService').SystemMetadataService
+12
View File
@@ -41,6 +41,7 @@ import { RootLoggerService } from '@backstage/backend-plugin-api';
import { SchedulerService } from '@backstage/backend-plugin-api';
import { ServiceFactory } from '@backstage/backend-plugin-api';
import { ServiceRef } from '@backstage/backend-plugin-api';
import { SystemMetadataService } from '@backstage/backend-plugin-api';
import { UrlReaderService } from '@backstage/backend-plugin-api';
import { UserInfoService } from '@backstage/backend-plugin-api';
@@ -397,6 +398,17 @@ export namespace mockServices {
) => ServiceMock<SchedulerService>;
}
// (undocumented)
export namespace systemMetadata {
const factory: () => ServiceFactory<
SystemMetadataService,
'root',
'singleton'
>;
const mock: (
partialImpl?: Partial<SystemMetadataService> | undefined,
) => ServiceMock<SystemMetadataService>;
}
// (undocumented)
export namespace urlReader {
const // (undocumented)
factory: () => ServiceFactory<UrlReaderService, 'plugin', 'singleton'>;