Make createBackendPlugin and createBackendModule return BackendFeature instead of () => BackendFeature

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-06-07 16:30:25 +02:00
parent 647bfe011a
commit 78a0b086d2
125 changed files with 482 additions and 357 deletions
+2 -2
View File
@@ -3,10 +3,10 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { BackendFeature } from '@backstage/backend-plugin-api';
import { BackendFeatureCompat } from '@backstage/backend-plugin-api';
// @alpha
const appPlugin: () => BackendFeature;
const appPlugin: BackendFeatureCompat;
export default appPlugin;
// (No @packageDocumentation comment for this package)
@@ -47,7 +47,7 @@ describe('appPlugin', () => {
it('boots', async () => {
const { server } = await startTestBackend({
features: [
appPlugin(),
appPlugin,
mockServices.rootConfig.factory({
data: {
app: {