update API reports for TypeScript 5.6

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-03-08 11:35:44 +01:00
parent 31731b0a80
commit 6070fcfefc
91 changed files with 702 additions and 993 deletions
+8 -13
View File
@@ -7,6 +7,7 @@ import { AnyApiFactory } from '@backstage/frontend-plugin-api';
import { AnyExtensionDataRef } from '@backstage/frontend-plugin-api';
import { AnyRouteRefParams } from '@backstage/frontend-plugin-api';
import { ConfigurableExtensionDataRef } from '@backstage/frontend-plugin-api';
import { defaultEntityContentGroups } from '@backstage/plugin-catalog-react/alpha';
import { Entity } from '@backstage/catalog-model';
import { EntityPredicate } from '@backstage/plugin-catalog-react/alpha';
import { ExtensionDefinition } from '@backstage/frontend-plugin-api';
@@ -171,15 +172,9 @@ const _default: FrontendPlugin<
loader: () => Promise<JSX.Element>;
defaultPath: string;
defaultTitle: string;
defaultGroup?:
| (string & {})
| 'documentation'
| 'development'
| 'deployment'
| 'observability'
| undefined;
routeRef?: RouteRef<AnyRouteRefParams> | undefined;
filter?: EntityPredicate | ((entity: Entity) => boolean) | undefined;
defaultGroup?: keyof defaultEntityContentGroups | (string & {});
routeRef?: RouteRef;
filter?: string | EntityPredicate | ((entity: Entity) => boolean);
};
}>;
'nav-item:techdocs': ExtensionDefinition<{
@@ -230,7 +225,7 @@ const _default: FrontendPlugin<
params: {
defaultPath: string;
loader: () => Promise<JSX.Element>;
routeRef?: RouteRef<AnyRouteRefParams> | undefined;
routeRef?: RouteRef;
};
}>;
'page:techdocs/reader': ExtensionDefinition<{
@@ -272,7 +267,7 @@ const _default: FrontendPlugin<
params: {
defaultPath: string;
loader: () => Promise<JSX.Element>;
routeRef?: RouteRef<AnyRouteRefParams> | undefined;
routeRef?: RouteRef;
};
}>;
'search-result-list-item:techdocs': ExtensionDefinition<{
@@ -294,7 +289,7 @@ const _default: FrontendPlugin<
};
output: ConfigurableExtensionDataRef<
{
predicate?: SearchResultItemExtensionPredicate | undefined;
predicate?: SearchResultItemExtensionPredicate;
component: SearchResultItemExtensionComponent;
},
'search.search-result-list-item.item',
@@ -337,7 +332,7 @@ export const techDocsSearchResultListItemExtension: ExtensionDefinition<{
};
output: ConfigurableExtensionDataRef<
{
predicate?: SearchResultItemExtensionPredicate | undefined;
predicate?: SearchResultItemExtensionPredicate;
component: SearchResultItemExtensionComponent;
},
'search.search-result-list-item.item',
+9 -19
View File
@@ -3,8 +3,6 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
/// <reference types="react" />
import { ApiRef } from '@backstage/core-plugin-api';
import { BackstagePlugin } from '@backstage/core-plugin-api';
import { CompoundEntityRef } from '@backstage/catalog-model';
@@ -106,13 +104,9 @@ export type DocsGroupConfig = {
export const DocsTable: {
(props: DocsTableProps): React_2.JSX.Element | null;
columns: {
createTitleColumn(
options?:
| {
hidden?: boolean | undefined;
}
| undefined,
): TableColumn<DocsTableRow>;
createTitleColumn(options?: {
hidden?: boolean;
}): TableColumn<DocsTableRow>;
createNameColumn(): TableColumn<DocsTableRow>;
createOwnerColumn(): TableColumn<DocsTableRow>;
createKindColumn(): TableColumn<DocsTableRow>;
@@ -162,8 +156,8 @@ export type DocsTableRow = {
export const EmbeddedDocsRouter: ({
children,
withSearch,
}: React_2.PropsWithChildren<{
withSearch?: boolean | undefined;
}: PropsWithChildren<{
withSearch?: boolean;
}>) => React_2.JSX.Element;
// @public
@@ -180,13 +174,9 @@ export type EntityListDocsGridPageProps = {
export const EntityListDocsTable: {
(props: EntityListDocsTableProps): React_2.JSX.Element;
columns: {
createTitleColumn(
options?:
| {
hidden?: boolean | undefined;
}
| undefined,
): TableColumn<DocsTableRow>;
createTitleColumn(options?: {
hidden?: boolean;
}): TableColumn<DocsTableRow>;
createNameColumn(): TableColumn<DocsTableRow>;
createOwnerColumn(): TableColumn<DocsTableRow>;
createKindColumn(): TableColumn<DocsTableRow>;
@@ -224,7 +214,7 @@ export const EntityTechdocsContent: ({
children,
withSearch,
}: PropsWithChildren<{
withSearch?: boolean | undefined;
withSearch?: boolean;
}>) => JSX_2.Element;
// @public