update API reports for convertLegacyApp entityPage option + fixes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user