chore: add changeset

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-09-03 13:19:43 +02:00
parent 5cbb4c6fd1
commit 948d431983
4 changed files with 13 additions and 29 deletions
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/frontend-plugin-api': patch
'@backstage/frontend-test-utils': patch
'@backstage/frontend-app-api': patch
'@backstage/core-compat-api': patch
'@backstage/plugin-search-react': patch
---
Removing superfluous `namespace` parameter in favour of `pluginId` instead
+3 -4
View File
@@ -9,12 +9,11 @@ import { AnalyticsEvent } from '@backstage/core-plugin-api';
import { AnalyticsEvent as AnalyticsEvent_2 } from '@backstage/frontend-plugin-api';
import { AnyRouteRefParams } from '@backstage/core-plugin-api';
import { BackstagePlugin } from '@backstage/core-plugin-api';
import { BackstagePlugin as BackstagePlugin_2 } from '@backstage/frontend-plugin-api';
import { ComponentType } from 'react';
import { ExtensionDefinition } from '@backstage/frontend-plugin-api';
import { ExtensionOverrides } from '@backstage/frontend-plugin-api';
import { ExternalRouteRef } from '@backstage/core-plugin-api';
import { ExternalRouteRef as ExternalRouteRef_2 } from '@backstage/frontend-plugin-api';
import { FrontendModule } from '@backstage/frontend-plugin-api';
import { FrontendPlugin } from '@backstage/frontend-plugin-api';
import { default as React_2 } from 'react';
import { ReactNode } from 'react';
@@ -29,7 +28,7 @@ export function compatWrapper(element: ReactNode): React_2.JSX.Element;
// @public (undocumented)
export function convertLegacyApp(
rootElement: React_2.JSX.Element,
): (FrontendPlugin | ExtensionOverrides)[];
): (FrontendPlugin | FrontendModule)[];
// @public (undocumented)
export function convertLegacyPageExtension(
@@ -46,7 +45,7 @@ export function convertLegacyPlugin(
options: {
extensions: ExtensionDefinition[];
},
): BackstagePlugin_2;
): FrontendPlugin;
// @public
export function convertLegacyRouteRef<TParams extends AnyRouteRefParams>(
+1 -1
View File
@@ -454,7 +454,7 @@ export function createComponentExtension<TProps extends {}>(options: {
>;
};
kind: 'component';
namespace: string;
namespace: undefined;
name: string;
}>;
-24
View File
@@ -29,30 +29,6 @@ const appPlugin: FrontendPlugin<
{},
{},
{
[x: `component:app/${string}`]: ExtensionDefinition<{
config: {};
configInput: {};
output: ConfigurableExtensionDataRef<
{
ref: ComponentRef;
impl: ComponentType;
},
'core.component.component',
{}
>;
inputs: {
[x: string]: ExtensionInput<
AnyExtensionDataRef,
{
optional: boolean;
singleton: boolean;
}
>;
};
kind: 'component';
namespace: string;
name: string;
}>;
app: ExtensionDefinition<{
config: {};
configInput: {};