update API reports for convertLegacyApp entityPage option + fixes

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-03-10 16:55:27 +01:00
parent e7fab55480
commit 351178c39e
4 changed files with 12 additions and 1 deletions
+6
View File
@@ -33,8 +33,14 @@ export function compatWrapper(element: ReactNode): React_2.JSX.Element;
// @public (undocumented)
export function convertLegacyApp(
rootElement: React_2.JSX.Element,
options?: ConvertLegacyAppOptions,
): (FrontendPlugin | FrontendModule)[];
// @public (undocumented)
export interface ConvertLegacyAppOptions {
entityPage?: React_2.JSX.Element;
}
// @public (undocumented)
export function convertLegacyAppOptions(options?: {
apis?: Iterable<AnyApiFactory>;
@@ -59,6 +59,7 @@ function selectChildren(
});
}
/** @public */
export interface ConvertLegacyAppOptions {
/**
* By providing an entity page element here it will be split up and converted
+4 -1
View File
@@ -17,7 +17,10 @@ export * from './compatWrapper';
export * from './apis';
export { convertLegacyApp } from './convertLegacyApp';
export {
convertLegacyApp,
type ConvertLegacyAppOptions,
} from './convertLegacyApp';
export { convertLegacyAppOptions } from './convertLegacyAppOptions';
export { convertLegacyPlugin } from './convertLegacyPlugin';
export { convertLegacyPageExtension } from './convertLegacyPageExtension';
@@ -134,6 +134,7 @@ export type TestAppOptions = {
config?: JsonObject;
extensions?: ExtensionDefinition<any>[];
features?: FrontendFeature[];
initialRouteEntries?: string[];
};
export { withLogCollector };