@@ -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
|
||||
@@ -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>(
|
||||
|
||||
@@ -454,7 +454,7 @@ export function createComponentExtension<TProps extends {}>(options: {
|
||||
>;
|
||||
};
|
||||
kind: 'component';
|
||||
namespace: string;
|
||||
namespace: undefined;
|
||||
name: string;
|
||||
}>;
|
||||
|
||||
|
||||
@@ -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: {};
|
||||
|
||||
Reference in New Issue
Block a user