fix api reports for realz

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
aramissennyeydd
2025-05-13 17:54:55 -04:00
parent d9e63b6450
commit 3049109f4f
7 changed files with 35 additions and 23 deletions
+22
View File
@@ -137,6 +137,14 @@ export type BackstageCredentials<TPrincipal = unknown> = {
principal: TPrincipal;
};
// @public (undocumented)
export interface BackstageInstance {
// (undocumented)
externalUrl: string;
// (undocumented)
internalUrl: string;
}
// @public
export type BackstageNonePrincipal = {
type: 'none';
@@ -237,6 +245,12 @@ export namespace coreServices {
'root',
'singleton'
>;
const // @alpha
systemMetadataServiceRef: ServiceRef<
SystemMetadataService,
'root',
'singleton'
>;
}
// @public
@@ -744,6 +758,14 @@ export interface ServiceRefOptions<
scope?: TScope;
}
// @public (undocumented)
export interface SystemMetadataService {
// (undocumented)
introspect(): Promise<{
instances: BackstageInstance[];
}>;
}
// @public
export interface UrlReaderService {
readTree(
@@ -15,7 +15,7 @@
*/
/**
* @alpha
* @public
*/
export interface BackstageInstance {
internalUrl: string;
@@ -23,7 +23,7 @@ export interface BackstageInstance {
}
/**
* @alpha
* @public
*/
export interface SystemMetadataService {
introspect(): Promise<{ instances: BackstageInstance[] }>;
@@ -72,6 +72,10 @@ export type {
SchedulerServiceTaskScheduleDefinition,
SchedulerServiceTaskScheduleDefinitionConfig,
} from './SchedulerService';
export type {
BackstageInstance,
SystemMetadataService,
} from './SystemMetadataService';
export type {
UrlReaderService,
UrlReaderServiceReadTreeOptions,