Update API reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -3,13 +3,17 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { ApiRef as ApiRef_2 } from '@backstage/core-plugin-api';
|
||||
import { AnyRouteRefParams as AnyRouteRefParams_2 } from '@backstage/frontend-plugin-api';
|
||||
import { ApiRef as ApiRef_2 } from '@backstage/frontend-plugin-api';
|
||||
import { ComponentType } from 'react';
|
||||
import type { Config } from '@backstage/config';
|
||||
import { ConfigurableExtensionDataRef as ConfigurableExtensionDataRef_2 } from '@backstage/frontend-plugin-api';
|
||||
import { Expand } from '@backstage/types';
|
||||
import { ExpandRecursive } from '@backstage/types';
|
||||
import { ExtensionBlueprint as ExtensionBlueprint_2 } from '@backstage/frontend-plugin-api';
|
||||
import { ExtensionBlueprintParams as ExtensionBlueprintParams_2 } from '@backstage/frontend-plugin-api';
|
||||
import { ExtensionDataRef as ExtensionDataRef_2 } from '@backstage/frontend-plugin-api';
|
||||
import { ExtensionInput as ExtensionInput_2 } from '@backstage/frontend-plugin-api';
|
||||
import { JsonObject } from '@backstage/types';
|
||||
import { JsonValue } from '@backstage/types';
|
||||
import { JSX as JSX_2 } from 'react';
|
||||
@@ -17,6 +21,7 @@ import { JSX as JSX_3 } from 'react/jsx-runtime';
|
||||
import { Observable } from '@backstage/types';
|
||||
import { PropsWithChildren } from 'react';
|
||||
import { ReactNode } from 'react';
|
||||
import { SwappableComponentRef as SwappableComponentRef_2 } from '@backstage/frontend-plugin-api';
|
||||
import type { z } from 'zod';
|
||||
|
||||
// @public
|
||||
@@ -77,12 +82,12 @@ export type AnalyticsImplementation = {
|
||||
};
|
||||
|
||||
// @public
|
||||
export const AnalyticsImplementationBlueprint: ExtensionBlueprint<{
|
||||
export const AnalyticsImplementationBlueprint: ExtensionBlueprint_2<{
|
||||
kind: 'analytics';
|
||||
params: <TDeps extends { [name in string]: unknown }>(
|
||||
params: AnalyticsImplementationFactory<TDeps>,
|
||||
) => ExtensionBlueprintParams<AnalyticsImplementationFactory<{}>>;
|
||||
output: ExtensionDataRef<
|
||||
) => ExtensionBlueprintParams_2<AnalyticsImplementationFactory<{}>>;
|
||||
output: ExtensionDataRef_2<
|
||||
AnalyticsImplementationFactory<{}>,
|
||||
'core.analytics.factory',
|
||||
{}
|
||||
@@ -91,7 +96,7 @@ export const AnalyticsImplementationBlueprint: ExtensionBlueprint<{
|
||||
config: {};
|
||||
configInput: {};
|
||||
dataRefs: {
|
||||
factory: ConfigurableExtensionDataRef<
|
||||
factory: ConfigurableExtensionDataRef_2<
|
||||
AnalyticsImplementationFactory<{}>,
|
||||
'core.analytics.factory',
|
||||
{}
|
||||
@@ -144,7 +149,7 @@ export type AnyRouteRefParams =
|
||||
| undefined;
|
||||
|
||||
// @public
|
||||
export const ApiBlueprint: ExtensionBlueprint<{
|
||||
export const ApiBlueprint: ExtensionBlueprint_2<{
|
||||
kind: 'api';
|
||||
params: <
|
||||
TApi,
|
||||
@@ -152,13 +157,13 @@ export const ApiBlueprint: ExtensionBlueprint<{
|
||||
TDeps extends { [name in string]: unknown },
|
||||
>(
|
||||
params: ApiFactory<TApi, TImpl, TDeps>,
|
||||
) => ExtensionBlueprintParams<AnyApiFactory>;
|
||||
output: ExtensionDataRef<AnyApiFactory, 'core.api.factory', {}>;
|
||||
) => ExtensionBlueprintParams_2<AnyApiFactory>;
|
||||
output: ExtensionDataRef_2<AnyApiFactory, 'core.api.factory', {}>;
|
||||
inputs: {};
|
||||
config: {};
|
||||
configInput: {};
|
||||
dataRefs: {
|
||||
factory: ConfigurableExtensionDataRef<
|
||||
factory: ConfigurableExtensionDataRef_2<
|
||||
AnyApiFactory,
|
||||
'core.api.factory',
|
||||
{}
|
||||
@@ -383,16 +388,16 @@ export interface ConfigurableExtensionDataRef<
|
||||
|
||||
// @public (undocumented)
|
||||
export const coreExtensionData: {
|
||||
title: ConfigurableExtensionDataRef<string, 'core.title', {}>;
|
||||
icon: ConfigurableExtensionDataRef<IconElement, 'core.icon', {}>;
|
||||
reactElement: ConfigurableExtensionDataRef<
|
||||
title: ConfigurableExtensionDataRef_2<string, 'core.title', {}>;
|
||||
icon: ConfigurableExtensionDataRef_2<IconElement, 'core.icon', {}>;
|
||||
reactElement: ConfigurableExtensionDataRef_2<
|
||||
JSX_2.Element,
|
||||
'core.reactElement',
|
||||
{}
|
||||
>;
|
||||
routePath: ConfigurableExtensionDataRef<string, 'core.routing.path', {}>;
|
||||
routeRef: ConfigurableExtensionDataRef<
|
||||
RouteRef<AnyRouteRefParams>,
|
||||
routePath: ConfigurableExtensionDataRef_2<string, 'core.routing.path', {}>;
|
||||
routeRef: ConfigurableExtensionDataRef_2<
|
||||
RouteRef<AnyRouteRefParams_2>,
|
||||
'core.routing.ref',
|
||||
{}
|
||||
>;
|
||||
@@ -904,7 +909,7 @@ export const errorApiRef: ApiRef<ErrorApi>;
|
||||
// @public (undocumented)
|
||||
export const ErrorDisplay: {
|
||||
(props: ErrorDisplayProps): JSX.Element | null;
|
||||
ref: SwappableComponentRef<ErrorDisplayProps, ErrorDisplayProps>;
|
||||
ref: SwappableComponentRef_2<ErrorDisplayProps, ErrorDisplayProps>;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
@@ -951,7 +956,7 @@ export interface ExtensionBlueprint<
|
||||
// (undocumented)
|
||||
make<
|
||||
TName extends string | undefined,
|
||||
TParamsInput extends AnyParamsInput<NonNullable<T['params']>>,
|
||||
TParamsInput extends AnyParamsInput_2<NonNullable<T['params']>>,
|
||||
UParentInputs extends ExtensionDataRef,
|
||||
>(args: {
|
||||
name?: TName;
|
||||
@@ -1006,7 +1011,7 @@ export interface ExtensionBlueprint<
|
||||
};
|
||||
factory(
|
||||
originalFactory: <
|
||||
TParamsInput extends AnyParamsInput<NonNullable<T['params']>>,
|
||||
TParamsInput extends AnyParamsInput_2<NonNullable<T['params']>>,
|
||||
>(
|
||||
params: TParamsInput extends ExtensionBlueprintDefineParams
|
||||
? TParamsInput
|
||||
@@ -1466,14 +1471,14 @@ export const microsoftAuthApiRef: ApiRef<
|
||||
>;
|
||||
|
||||
// @public
|
||||
export const NavItemBlueprint: ExtensionBlueprint<{
|
||||
export const NavItemBlueprint: ExtensionBlueprint_2<{
|
||||
kind: 'nav-item';
|
||||
params: {
|
||||
title: string;
|
||||
icon: IconComponent;
|
||||
routeRef: RouteRef<undefined>;
|
||||
};
|
||||
output: ExtensionDataRef<
|
||||
output: ExtensionDataRef_2<
|
||||
{
|
||||
title: string;
|
||||
icon: IconComponent;
|
||||
@@ -1486,7 +1491,7 @@ export const NavItemBlueprint: ExtensionBlueprint<{
|
||||
config: {};
|
||||
configInput: {};
|
||||
dataRefs: {
|
||||
target: ConfigurableExtensionDataRef<
|
||||
target: ConfigurableExtensionDataRef_2<
|
||||
{
|
||||
title: string;
|
||||
icon: IconComponent;
|
||||
@@ -1501,7 +1506,7 @@ export const NavItemBlueprint: ExtensionBlueprint<{
|
||||
// @public (undocumented)
|
||||
export const NotFoundErrorPage: {
|
||||
(props: NotFoundErrorPageProps): JSX.Element | null;
|
||||
ref: SwappableComponentRef<NotFoundErrorPageProps, NotFoundErrorPageProps>;
|
||||
ref: SwappableComponentRef_2<NotFoundErrorPageProps, NotFoundErrorPageProps>;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
@@ -1589,7 +1594,7 @@ export interface OverridableExtensionDefinition<
|
||||
TExtraInputs extends {
|
||||
[inputName in string]: ExtensionInput;
|
||||
},
|
||||
TParamsInput extends AnyParamsInput_2<NonNullable<T['params']>>,
|
||||
TParamsInput extends AnyParamsInput<NonNullable<T['params']>>,
|
||||
UParentInputs extends ExtensionDataRef,
|
||||
>(
|
||||
args: Expand<
|
||||
@@ -1615,7 +1620,7 @@ export interface OverridableExtensionDefinition<
|
||||
};
|
||||
factory?(
|
||||
originalFactory: <
|
||||
TFactoryParamsReturn extends AnyParamsInput_2<
|
||||
TFactoryParamsReturn extends AnyParamsInput<
|
||||
NonNullable<T['params']>
|
||||
>,
|
||||
>(
|
||||
@@ -1714,7 +1719,7 @@ export interface OverridableFrontendPlugin<
|
||||
}
|
||||
|
||||
// @public
|
||||
export const PageBlueprint: ExtensionBlueprint<{
|
||||
export const PageBlueprint: ExtensionBlueprint_2<{
|
||||
kind: 'page';
|
||||
params: {
|
||||
defaultPath?: [Error: `Use the 'path' param instead`];
|
||||
@@ -1726,23 +1731,23 @@ export const PageBlueprint: ExtensionBlueprint<{
|
||||
noHeader?: boolean;
|
||||
};
|
||||
output:
|
||||
| ExtensionDataRef<string, 'core.routing.path', {}>
|
||||
| ExtensionDataRef<
|
||||
RouteRef<AnyRouteRefParams>,
|
||||
| ExtensionDataRef_2<string, 'core.routing.path', {}>
|
||||
| ExtensionDataRef_2<
|
||||
RouteRef<AnyRouteRefParams_2>,
|
||||
'core.routing.ref',
|
||||
{
|
||||
optional: true;
|
||||
}
|
||||
>
|
||||
| ExtensionDataRef<JSX_2.Element, 'core.reactElement', {}>
|
||||
| ExtensionDataRef<
|
||||
| ExtensionDataRef_2<JSX_2.Element, 'core.reactElement', {}>
|
||||
| ExtensionDataRef_2<
|
||||
string,
|
||||
'core.title',
|
||||
{
|
||||
optional: true;
|
||||
}
|
||||
>
|
||||
| ExtensionDataRef<
|
||||
| ExtensionDataRef_2<
|
||||
IconElement,
|
||||
'core.icon',
|
||||
{
|
||||
@@ -1750,24 +1755,24 @@ export const PageBlueprint: ExtensionBlueprint<{
|
||||
}
|
||||
>;
|
||||
inputs: {
|
||||
pages: ExtensionInput<
|
||||
| ConfigurableExtensionDataRef<JSX_2.Element, 'core.reactElement', {}>
|
||||
| ConfigurableExtensionDataRef<string, 'core.routing.path', {}>
|
||||
| ConfigurableExtensionDataRef<
|
||||
RouteRef<AnyRouteRefParams>,
|
||||
pages: ExtensionInput_2<
|
||||
| ConfigurableExtensionDataRef_2<JSX_2.Element, 'core.reactElement', {}>
|
||||
| ConfigurableExtensionDataRef_2<string, 'core.routing.path', {}>
|
||||
| ConfigurableExtensionDataRef_2<
|
||||
RouteRef<AnyRouteRefParams_2>,
|
||||
'core.routing.ref',
|
||||
{
|
||||
optional: true;
|
||||
}
|
||||
>
|
||||
| ConfigurableExtensionDataRef<
|
||||
| ConfigurableExtensionDataRef_2<
|
||||
string,
|
||||
'core.title',
|
||||
{
|
||||
optional: true;
|
||||
}
|
||||
>
|
||||
| ConfigurableExtensionDataRef<
|
||||
| ConfigurableExtensionDataRef_2<
|
||||
IconElement,
|
||||
'core.icon',
|
||||
{
|
||||
@@ -1795,7 +1800,7 @@ export const PageBlueprint: ExtensionBlueprint<{
|
||||
// @public
|
||||
export const PageLayout: {
|
||||
(props: PageLayoutProps): JSX.Element | null;
|
||||
ref: SwappableComponentRef<PageLayoutProps, PageLayoutProps>;
|
||||
ref: SwappableComponentRef_2<PageLayoutProps, PageLayoutProps>;
|
||||
};
|
||||
|
||||
// @public
|
||||
@@ -1834,14 +1839,14 @@ export type PendingOAuthRequest = {
|
||||
};
|
||||
|
||||
// @public
|
||||
export const PluginHeaderActionBlueprint: ExtensionBlueprint<{
|
||||
export const PluginHeaderActionBlueprint: ExtensionBlueprint_2<{
|
||||
kind: 'plugin-header-action';
|
||||
params: (params: {
|
||||
loader: () => Promise<JSX.Element>;
|
||||
}) => ExtensionBlueprintParams<{
|
||||
}) => ExtensionBlueprintParams_2<{
|
||||
loader: () => Promise<JSX.Element>;
|
||||
}>;
|
||||
output: ExtensionDataRef<JSX_2, 'core.reactElement', {}>;
|
||||
output: ExtensionDataRef_2<JSX_2, 'core.reactElement', {}>;
|
||||
inputs: {};
|
||||
config: {};
|
||||
configInput: {};
|
||||
@@ -1904,7 +1909,7 @@ export type ProfileInfoApi = {
|
||||
// @public (undocumented)
|
||||
export const Progress: {
|
||||
(props: ProgressProps): JSX.Element | null;
|
||||
ref: SwappableComponentRef<ProgressProps, ProgressProps>;
|
||||
ref: SwappableComponentRef_2<ProgressProps, ProgressProps>;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
@@ -2015,7 +2020,7 @@ export type StorageValueSnapshot<TValue extends JsonValue> =
|
||||
};
|
||||
|
||||
// @public
|
||||
export const SubPageBlueprint: ExtensionBlueprint<{
|
||||
export const SubPageBlueprint: ExtensionBlueprint_2<{
|
||||
kind: 'sub-page';
|
||||
params: {
|
||||
path: string;
|
||||
@@ -2025,17 +2030,17 @@ export const SubPageBlueprint: ExtensionBlueprint<{
|
||||
routeRef?: RouteRef;
|
||||
};
|
||||
output:
|
||||
| ExtensionDataRef<string, 'core.routing.path', {}>
|
||||
| ExtensionDataRef<
|
||||
RouteRef<AnyRouteRefParams>,
|
||||
| ExtensionDataRef_2<string, 'core.routing.path', {}>
|
||||
| ExtensionDataRef_2<
|
||||
RouteRef<AnyRouteRefParams_2>,
|
||||
'core.routing.ref',
|
||||
{
|
||||
optional: true;
|
||||
}
|
||||
>
|
||||
| ExtensionDataRef<JSX_2, 'core.reactElement', {}>
|
||||
| ExtensionDataRef<string, 'core.title', {}>
|
||||
| ExtensionDataRef<
|
||||
| ExtensionDataRef_2<JSX_2, 'core.reactElement', {}>
|
||||
| ExtensionDataRef_2<string, 'core.title', {}>
|
||||
| ExtensionDataRef_2<
|
||||
IconElement,
|
||||
'core.icon',
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user