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