core-compat-api: export new legacy converts + update API report
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -8,6 +8,10 @@ import { AnalyticsApi as AnalyticsApi_2 } from '@backstage/frontend-plugin-api';
|
||||
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 { ExternalRouteRef } from '@backstage/core-plugin-api';
|
||||
import { ExternalRouteRef as ExternalRouteRef_2 } from '@backstage/frontend-plugin-api';
|
||||
import { FrontendFeature } from '@backstage/frontend-plugin-api';
|
||||
@@ -26,6 +30,23 @@ export function convertLegacyApp(
|
||||
rootElement: React_2.JSX.Element,
|
||||
): FrontendFeature[];
|
||||
|
||||
// @public (undocumented)
|
||||
export function convertLegacyPageExtension(
|
||||
LegacyExtension: ComponentType<{}>,
|
||||
overrides?: {
|
||||
name?: string;
|
||||
defaultPath?: string;
|
||||
},
|
||||
): ExtensionDefinition<any>;
|
||||
|
||||
// @public (undocumented)
|
||||
export function convertLegacyPlugin(
|
||||
legacyPlugin: BackstagePlugin,
|
||||
options: {
|
||||
extensions: ExtensionDefinition<any, any>[];
|
||||
},
|
||||
): BackstagePlugin_2;
|
||||
|
||||
// @public
|
||||
export function convertLegacyRouteRef<TParams extends AnyRouteRefParams>(
|
||||
ref: RouteRef<TParams>,
|
||||
|
||||
@@ -18,6 +18,8 @@ export * from './compatWrapper';
|
||||
export * from './apis';
|
||||
|
||||
export { convertLegacyApp } from './convertLegacyApp';
|
||||
export { convertLegacyPlugin } from './convertLegacyPlugin';
|
||||
export { convertLegacyPageExtension } from './convertLegacyPageExtension';
|
||||
export {
|
||||
convertLegacyRouteRef,
|
||||
convertLegacyRouteRefs,
|
||||
|
||||
Reference in New Issue
Block a user