frontend-plugin-api: refactor ExtensionDefinition and ExtensionBlueprint type params

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-08-22 14:21:05 +02:00
parent 4387b80784
commit ee454fdf53
42 changed files with 2426 additions and 2426 deletions
+25 -30
View File
@@ -16,31 +16,28 @@ const _default: BackstagePlugin<
{},
{},
{
'page:home': ExtensionDefinition<
{
[x: string]: any;
} & {
'page:home': ExtensionDefinition<{
config: {
path: string | undefined;
},
{
[x: string]: any;
} & {
};
configInput: {
path?: string | undefined;
},
| ConfigurableExtensionDataRef<
React_2.JSX.Element,
'core.reactElement',
{}
>
| ConfigurableExtensionDataRef<string, 'core.routing.path', {}>
| ConfigurableExtensionDataRef<
RouteRef<AnyRouteRefParams>,
'core.routing.ref',
{
optional: true;
}
>,
{
};
output:
| ConfigurableExtensionDataRef<
React_2.JSX.Element,
'core.reactElement',
{}
>
| ConfigurableExtensionDataRef<string, 'core.routing.path', {}>
| ConfigurableExtensionDataRef<
RouteRef<AnyRouteRefParams>,
'core.routing.ref',
{
optional: true;
}
>;
inputs: {
props: ExtensionInput<
| ConfigurableExtensionDataRef<
React_2.JSX.Element,
@@ -61,13 +58,11 @@ const _default: BackstagePlugin<
optional: true;
}
>;
},
{
kind: 'page';
namespace: undefined;
name: undefined;
}
>;
};
kind: 'page';
namespace: undefined;
name: undefined;
}>;
}
>;
export default _default;