api-reports

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
Vincenzo Scamporlino
2023-08-15 01:08:17 +02:00
committed by Patrik Oldsberg
parent c37c19cc37
commit 175e4c3516
3 changed files with 4 additions and 13 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ import { UrlReader } from '@backstage/backend-common';
// @public (undocumented)
export interface Backend {
// (undocumented)
add(feature: BackendFeature): void;
add(feature: BackendFeature | (() => BackendFeature)): void;
// (undocumented)
start(): Promise<void>;
// (undocumented)
@@ -81,7 +81,7 @@ export function createSpecializedBackend(
// @public (undocumented)
export interface CreateSpecializedBackendOptions {
// (undocumented)
services: ServiceFactoryOrFunction[];
defaultServiceFactories: ServiceFactoryOrFunction[];
}
// @public (undocumented)
+1 -8
View File
@@ -4,14 +4,7 @@
```ts
import { Backend } from '@backstage/backend-app-api';
import { ServiceFactoryOrFunction } from '@backstage/backend-plugin-api';
// @public (undocumented)
export function createBackend(options?: CreateBackendOptions): Backend;
// @public (undocumented)
export interface CreateBackendOptions {
// (undocumented)
services?: ServiceFactoryOrFunction[];
}
export function createBackend(): Backend;
```
+1 -3
View File
@@ -409,9 +409,7 @@ export type SearchResponseFile = {
export interface ServiceFactory<
TService = unknown,
TScope extends 'plugin' | 'root' = 'plugin' | 'root',
> {
// (undocumented)
$$type: '@backstage/ServiceFactory';
> extends BackendFeature {
// (undocumented)
service: ServiceRef<TService, TScope>;
}