diff --git a/packages/backend-plugin-api/alpha-api-report.md b/packages/backend-plugin-api/alpha-api-report.md new file mode 100644 index 0000000000..84fe2de175 --- /dev/null +++ b/packages/backend-plugin-api/alpha-api-report.md @@ -0,0 +1,27 @@ +## API Report File for "@backstage/backend-plugin-api" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts +// @alpha (undocumented) +export interface FeatureDiscoveryService { + // (undocumented) + getBackendFeatures(): Promise<{ + features: Array; + }>; +} + +// Warning: (ae-forgotten-export) The symbol "ServiceRef" needs to be exported by the entry point alpha.d.ts +// +// @alpha +export const featureDiscoveryServiceRef: ServiceRef< + FeatureDiscoveryService, + 'plugin' +>; + +// Warnings were encountered during analysis: +// +// src/alpha.d.ts:5:9 - (ae-forgotten-export) The symbol "BackendFeature" needs to be exported by the entry point alpha.d.ts + +// (No @packageDocumentation comment for this package) +``` diff --git a/packages/backend-plugin-api/api-report.md b/packages/backend-plugin-api/api-report.md index a1ae6284c6..a9eba1ba86 100644 --- a/packages/backend-plugin-api/api-report.md +++ b/packages/backend-plugin-api/api-report.md @@ -21,6 +21,16 @@ export interface BackendFeature { $$type: '@backstage/BackendFeature'; } +// @public (undocumented) +export interface BackendFeatureFactory< + TOptions extends [options?: object] = [], +> { + // (undocumented) + $$type: '@backstage/BackendFeatureFactory'; + // (undocumented) + (...options: TOptions): BackendFeature; +} + // @public export interface BackendModuleConfig { moduleId: string; @@ -116,12 +126,12 @@ export namespace coreServices { // @public export function createBackendModule( config: BackendModuleConfig | ((...params: TOptions) => BackendModuleConfig), -): (...params: TOptions) => BackendFeature; +): BackendFeatureFactory; // @public export function createBackendPlugin( config: BackendPluginConfig | ((...params: TOptions) => BackendPluginConfig), -): (...params: TOptions) => BackendFeature; +): BackendFeatureFactory; // @public export function createExtensionPoint(