@@ -86,15 +86,15 @@
|
||||
"rootHealth": [
|
||||
"src/entrypoints/rootHealth/index.ts"
|
||||
],
|
||||
"rootSystemMetadata": [
|
||||
"src/entrypoints/rootSystemMetadata/index.ts"
|
||||
],
|
||||
"rootHttpRouter": [
|
||||
"src/entrypoints/rootHttpRouter/index.ts"
|
||||
],
|
||||
"rootLifecycle": [
|
||||
"src/entrypoints/rootLifecycle/index.ts"
|
||||
],
|
||||
"rootSystemMetadata": [
|
||||
"src/entrypoints/rootSystemMetadata/index.ts"
|
||||
],
|
||||
"rootLogger": [
|
||||
"src/entrypoints/rootLogger/index.ts"
|
||||
],
|
||||
|
||||
@@ -25,7 +25,7 @@ export const actionsServiceFactory: ServiceFactory<
|
||||
// @alpha @deprecated (undocumented)
|
||||
export const instanceMetadataServiceFactory: ServiceFactory<
|
||||
InstanceMetadataService,
|
||||
'plugin',
|
||||
'root',
|
||||
'singleton'
|
||||
>;
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { Config } from '@backstage/config';
|
||||
import { DiscoveryService } from '@backstage/backend-plugin-api';
|
||||
import { LoggerService } from '@backstage/backend-plugin-api';
|
||||
import { RootConfigService } from '@backstage/backend-plugin-api';
|
||||
@@ -26,6 +27,21 @@ export class HostDiscovery implements DiscoveryService {
|
||||
getBaseUrl(pluginId: string): Promise<string>;
|
||||
// (undocumented)
|
||||
getExternalBaseUrl(pluginId: string): Promise<string>;
|
||||
// (undocumented)
|
||||
getInstanceAddress(config: Config): {
|
||||
internal: string;
|
||||
external: string;
|
||||
};
|
||||
// (undocumented)
|
||||
listResolutions(): Promise<
|
||||
Map<
|
||||
string,
|
||||
{
|
||||
internal?: string;
|
||||
external?: string;
|
||||
}[]
|
||||
>
|
||||
>;
|
||||
}
|
||||
|
||||
// @public
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
## API Report File for "@backstage/backend-defaults"
|
||||
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { LoggerService } from '@backstage/backend-plugin-api';
|
||||
import { RootConfigService } from '@backstage/backend-plugin-api';
|
||||
import { RootInstanceMetadataService } from '@backstage/backend-plugin-api';
|
||||
import { RootSystemMetadataService } from '@backstage/backend-plugin-api';
|
||||
import { RootSystemMetadataServicePluginInfo } from '@backstage/backend-plugin-api';
|
||||
import { ServiceFactory } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha (undocumented)
|
||||
export class DefaultRootSystemMetadataService
|
||||
implements RootSystemMetadataService
|
||||
{
|
||||
constructor(options: {
|
||||
logger: LoggerService;
|
||||
config: RootConfigService;
|
||||
instanceMetadata: RootInstanceMetadataService;
|
||||
});
|
||||
// (undocumented)
|
||||
static create(pluginEnv: {
|
||||
logger: LoggerService;
|
||||
config: RootConfigService;
|
||||
instanceMetadata: RootInstanceMetadataService;
|
||||
}): DefaultRootSystemMetadataService;
|
||||
// (undocumented)
|
||||
getInstalledPlugins(): Promise<RootSystemMetadataServicePluginInfo[]>;
|
||||
}
|
||||
|
||||
// @alpha
|
||||
export const rootSystemMetadataServiceFactory: ServiceFactory<
|
||||
RootSystemMetadataService,
|
||||
'root',
|
||||
'singleton'
|
||||
>;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
@@ -1,47 +0,0 @@
|
||||
## API Report File for "@backstage/backend-defaults"
|
||||
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { ActionsRegistryService } from '@backstage/backend-plugin-api/alpha';
|
||||
import { ActionsService } from '@backstage/backend-plugin-api/alpha';
|
||||
import { ServiceFactory } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @public (undocumented)
|
||||
export const actionsRegistryServiceFactory: ServiceFactory<
|
||||
ActionsRegistryService,
|
||||
'plugin',
|
||||
'singleton'
|
||||
>;
|
||||
|
||||
// @public (undocumented)
|
||||
export const actionsServiceFactory: ServiceFactory<
|
||||
ActionsService,
|
||||
import { BackstageInstance } from '@backstage/backend-plugin-api';
|
||||
import { LoggerService } from '@backstage/backend-plugin-api';
|
||||
import { Observable } from '@backstage/types';
|
||||
import { RootConfigService } from '@backstage/backend-plugin-api';
|
||||
import { ServiceFactory } from '@backstage/backend-plugin-api';
|
||||
import { SystemMetadataService } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha (undocumented)
|
||||
export class DefaultSystemMetadataService implements SystemMetadataService {
|
||||
constructor(options: { logger: LoggerService; config: RootConfigService });
|
||||
// (undocumented)
|
||||
static create(pluginEnv: {
|
||||
logger: LoggerService;
|
||||
config: RootConfigService;
|
||||
}): DefaultSystemMetadataService;
|
||||
// (undocumented)
|
||||
instances(): Observable<BackstageInstance[]>;
|
||||
}
|
||||
|
||||
// @alpha
|
||||
export const systemMetadataServiceFactory: ServiceFactory<
|
||||
SystemMetadataService,
|
||||
'root',
|
||||
'singleton'
|
||||
>;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
Reference in New Issue
Block a user