update api reports
Signed-off-by: Paul Schultz <pschultz@pobox.com> fix linting Signed-off-by: Paul Schultz <pschultz@pobox.com>
This commit is contained in:
@@ -14,7 +14,7 @@ import { ExtensionDefinition } from '@backstage/frontend-plugin-api';
|
||||
import { ExtensionInput } from '@backstage/frontend-plugin-api';
|
||||
import { FrontendPlugin } from '@backstage/frontend-plugin-api';
|
||||
import { IconComponent } from '@backstage/core-plugin-api';
|
||||
import { default as React_2 } from 'react';
|
||||
import { JSX as JSX_2 } from 'react';
|
||||
import { RouteRef } from '@backstage/frontend-plugin-api';
|
||||
import { SearchResultItemExtensionComponent } from '@backstage/plugin-search-react/alpha';
|
||||
import { SearchResultItemExtensionPredicate } from '@backstage/plugin-search-react/alpha';
|
||||
@@ -26,8 +26,8 @@ const _default: FrontendPlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
docRoot: RouteRef<{
|
||||
name: string;
|
||||
kind: string;
|
||||
name: string;
|
||||
namespace: string;
|
||||
}>;
|
||||
entityContent: RouteRef<undefined>;
|
||||
@@ -68,7 +68,7 @@ const _default: FrontendPlugin<
|
||||
config: {};
|
||||
configInput: {};
|
||||
output: ConfigurableExtensionDataRef<
|
||||
React_2.JSX.Element,
|
||||
JSX_2.Element,
|
||||
'core.reactElement',
|
||||
{
|
||||
optional: true;
|
||||
@@ -101,11 +101,7 @@ const _default: FrontendPlugin<
|
||||
group?: string | false | undefined;
|
||||
};
|
||||
output:
|
||||
| ConfigurableExtensionDataRef<
|
||||
React_2.JSX.Element,
|
||||
'core.reactElement',
|
||||
{}
|
||||
>
|
||||
| ConfigurableExtensionDataRef<JSX_2.Element, 'core.reactElement', {}>
|
||||
| ConfigurableExtensionDataRef<string, 'core.routing.path', {}>
|
||||
| ConfigurableExtensionDataRef<
|
||||
RouteRef<AnyRouteRefParams>,
|
||||
@@ -154,7 +150,7 @@ const _default: FrontendPlugin<
|
||||
>;
|
||||
emptyState: ExtensionInput<
|
||||
ConfigurableExtensionDataRef<
|
||||
React_2.JSX.Element,
|
||||
JSX_2.Element,
|
||||
'core.reactElement',
|
||||
{
|
||||
optional: true;
|
||||
@@ -208,11 +204,7 @@ const _default: FrontendPlugin<
|
||||
path?: string | undefined;
|
||||
};
|
||||
output:
|
||||
| ConfigurableExtensionDataRef<
|
||||
React_2.JSX.Element,
|
||||
'core.reactElement',
|
||||
{}
|
||||
>
|
||||
| ConfigurableExtensionDataRef<JSX_2.Element, 'core.reactElement', {}>
|
||||
| ConfigurableExtensionDataRef<string, 'core.routing.path', {}>
|
||||
| ConfigurableExtensionDataRef<
|
||||
RouteRef<AnyRouteRefParams>,
|
||||
@@ -236,11 +228,7 @@ const _default: FrontendPlugin<
|
||||
path?: string | undefined;
|
||||
};
|
||||
output:
|
||||
| ConfigurableExtensionDataRef<
|
||||
React_2.JSX.Element,
|
||||
'core.reactElement',
|
||||
{}
|
||||
>
|
||||
| ConfigurableExtensionDataRef<JSX_2.Element, 'core.reactElement', {}>
|
||||
| ConfigurableExtensionDataRef<string, 'core.routing.path', {}>
|
||||
| ConfigurableExtensionDataRef<
|
||||
RouteRef<AnyRouteRefParams>,
|
||||
|
||||
@@ -13,12 +13,12 @@ import { Entity } from '@backstage/catalog-model';
|
||||
import { EntityFilterQuery } from '@backstage/catalog-client';
|
||||
import { EntityListPagination } from '@backstage/plugin-catalog-react';
|
||||
import { EntityOwnerPickerProps } from '@backstage/plugin-catalog-react';
|
||||
import { FC } from 'react';
|
||||
import { FetchApi } from '@backstage/core-plugin-api';
|
||||
import { IdentityApi } from '@backstage/core-plugin-api';
|
||||
import { JSX as JSX_2 } from 'react';
|
||||
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
||||
import { Overrides } from '@material-ui/core/styles/overrides';
|
||||
import { PropsWithChildren } from 'react';
|
||||
import { default as React_2 } from 'react';
|
||||
import { ReactNode } from 'react';
|
||||
import { ResultHighlight } from '@backstage/plugin-search-common';
|
||||
import { RouteRef } from '@backstage/core-plugin-api';
|
||||
@@ -74,20 +74,18 @@ export const CustomDocsPanel: ({
|
||||
config: PanelConfig;
|
||||
entities: Entity[];
|
||||
index: number;
|
||||
}) => React_2.JSX.Element;
|
||||
}) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export const DefaultTechDocsHome: (
|
||||
props: TechDocsIndexPageProps,
|
||||
) => React_2.JSX.Element;
|
||||
) => JSX_2.Element;
|
||||
|
||||
// @public @deprecated
|
||||
export type DefaultTechDocsHomeProps = TechDocsIndexPageProps;
|
||||
|
||||
// @public
|
||||
export const DocsCardGrid: (
|
||||
props: DocsCardGridProps,
|
||||
) => React_2.JSX.Element | null;
|
||||
export const DocsCardGrid: (props: DocsCardGridProps) => JSX_2.Element | null;
|
||||
|
||||
// @public
|
||||
export type DocsCardGridProps = {
|
||||
@@ -96,13 +94,13 @@ export type DocsCardGridProps = {
|
||||
|
||||
// @public
|
||||
export type DocsGroupConfig = {
|
||||
title: React_2.ReactNode;
|
||||
title: ReactNode;
|
||||
filterPredicate: ((entity: Entity) => boolean) | string;
|
||||
};
|
||||
|
||||
// @public
|
||||
export const DocsTable: {
|
||||
(props: DocsTableProps): React_2.JSX.Element | null;
|
||||
(props: DocsTableProps): JSX_2.Element | null;
|
||||
columns: {
|
||||
createTitleColumn(options?: {
|
||||
hidden?: boolean;
|
||||
@@ -114,7 +112,7 @@ export const DocsTable: {
|
||||
};
|
||||
actions: {
|
||||
createCopyDocsUrlAction(copyToClipboard: Function): (row: DocsTableRow) => {
|
||||
icon: () => React_2.JSX.Element;
|
||||
icon: () => JSX_2.Element;
|
||||
tooltip: string;
|
||||
onClick: () => any;
|
||||
};
|
||||
@@ -125,7 +123,7 @@ export const DocsTable: {
|
||||
cellStyle: {
|
||||
paddingLeft: string;
|
||||
};
|
||||
icon: () => React_2.JSX.Element;
|
||||
icon: () => JSX_2.Element;
|
||||
tooltip: string;
|
||||
onClick: () => any;
|
||||
};
|
||||
@@ -158,12 +156,12 @@ export const EmbeddedDocsRouter: ({
|
||||
withSearch,
|
||||
}: PropsWithChildren<{
|
||||
withSearch?: boolean;
|
||||
}>) => React_2.JSX.Element;
|
||||
}>) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export const EntityListDocsGrid: (
|
||||
props: EntityListDocsGridPageProps,
|
||||
) => React_2.JSX.Element;
|
||||
) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export type EntityListDocsGridPageProps = {
|
||||
@@ -172,7 +170,7 @@ export type EntityListDocsGridPageProps = {
|
||||
|
||||
// @public
|
||||
export const EntityListDocsTable: {
|
||||
(props: EntityListDocsTableProps): React_2.JSX.Element;
|
||||
(props: EntityListDocsTableProps): JSX_2.Element;
|
||||
columns: {
|
||||
createTitleColumn(options?: {
|
||||
hidden?: boolean;
|
||||
@@ -184,7 +182,7 @@ export const EntityListDocsTable: {
|
||||
};
|
||||
actions: {
|
||||
createCopyDocsUrlAction(copyToClipboard: Function): (row: DocsTableRow) => {
|
||||
icon: () => React_2.JSX.Element;
|
||||
icon: () => JSX_2.Element;
|
||||
tooltip: string;
|
||||
onClick: () => any;
|
||||
};
|
||||
@@ -195,7 +193,7 @@ export const EntityListDocsTable: {
|
||||
cellStyle: {
|
||||
paddingLeft: string;
|
||||
};
|
||||
icon: () => React_2.JSX.Element;
|
||||
icon: () => JSX_2.Element;
|
||||
tooltip: string;
|
||||
onClick: () => any;
|
||||
};
|
||||
@@ -218,9 +216,7 @@ export const EntityTechdocsContent: ({
|
||||
}>) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export const InfoCardGrid: (
|
||||
props: InfoCardGridProps,
|
||||
) => React_2.JSX.Element | null;
|
||||
export const InfoCardGrid: (props: InfoCardGridProps) => JSX_2.Element | null;
|
||||
|
||||
// @public (undocumented)
|
||||
export type InfoCardGridClassKey = 'linkSpacer' | 'readMoreLink';
|
||||
@@ -254,7 +250,7 @@ export interface PanelConfig {
|
||||
// @public
|
||||
export interface PanelProps {
|
||||
// (undocumented)
|
||||
CustomHeader?: React_2.FC;
|
||||
CustomHeader?: FC;
|
||||
// (undocumented)
|
||||
linkContent?: string | JSX.Element;
|
||||
// (undocumented)
|
||||
@@ -262,7 +258,7 @@ export interface PanelProps {
|
||||
// (undocumented)
|
||||
options?: TableOptions<DocsTableRow>;
|
||||
// (undocumented)
|
||||
PageWrapper?: React_2.FC;
|
||||
PageWrapper?: FC;
|
||||
}
|
||||
|
||||
// @public
|
||||
@@ -273,9 +269,7 @@ export type PanelType =
|
||||
| 'InfoCardGrid';
|
||||
|
||||
// @public @deprecated
|
||||
export const Reader: (
|
||||
props: TechDocsReaderPageContentProps,
|
||||
) => React_2.JSX.Element;
|
||||
export const Reader: (props: TechDocsReaderPageContentProps) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export type ReaderState = {
|
||||
@@ -289,7 +283,7 @@ export type ReaderState = {
|
||||
};
|
||||
|
||||
// @public
|
||||
export const Router: () => React_2.JSX.Element;
|
||||
export const Router: () => JSX_2.Element;
|
||||
|
||||
// @public @deprecated
|
||||
export type SyncResult = 'cached' | 'updated';
|
||||
@@ -352,7 +346,7 @@ export const TechDocsCustomHome: (
|
||||
export type TechDocsCustomHomeProps = {
|
||||
tabsConfig: TabsConfig;
|
||||
filter?: EntityFilterQuery;
|
||||
CustomPageWrapper?: React_2.FC;
|
||||
CustomPageWrapper?: FC;
|
||||
};
|
||||
|
||||
// @public @deprecated (undocumented)
|
||||
@@ -371,8 +365,8 @@ export type TechDocsIndexPageProps = {
|
||||
ownerPickerMode?: EntityOwnerPickerProps['mode'];
|
||||
pagination?: EntityListPagination;
|
||||
options?: TableOptions<DocsTableRow>;
|
||||
PageWrapper?: React_2.FC;
|
||||
CustomHeader?: React_2.FC;
|
||||
PageWrapper?: FC;
|
||||
CustomHeader?: FC;
|
||||
};
|
||||
|
||||
// @public @deprecated (undocumented)
|
||||
@@ -384,13 +378,13 @@ export const TechdocsPage: () => JSX_2.Element;
|
||||
// @public
|
||||
export const TechDocsPageWrapper: (
|
||||
props: TechDocsPageWrapperProps,
|
||||
) => React_2.JSX.Element;
|
||||
) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export type TechDocsPageWrapperProps = {
|
||||
children?: React_2.ReactNode;
|
||||
CustomPageWrapper?: React_2.FC<{
|
||||
children?: React_2.ReactNode;
|
||||
children?: ReactNode;
|
||||
CustomPageWrapper?: FC<{
|
||||
children?: ReactNode;
|
||||
}>;
|
||||
};
|
||||
|
||||
@@ -402,8 +396,8 @@ const techdocsPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
docRoot: RouteRef<{
|
||||
name: string;
|
||||
kind: string;
|
||||
name: string;
|
||||
namespace: string;
|
||||
}>;
|
||||
entityContent: RouteRef<undefined>;
|
||||
@@ -416,7 +410,7 @@ export { techdocsPlugin };
|
||||
// @public
|
||||
export const TechDocsReaderLayout: (
|
||||
props: TechDocsReaderLayoutProps,
|
||||
) => React_2.JSX.Element;
|
||||
) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export type TechDocsReaderLayoutProps = {
|
||||
@@ -432,7 +426,7 @@ export const TechDocsReaderPage: (
|
||||
// @public
|
||||
export const TechDocsReaderPageContent: (
|
||||
props: TechDocsReaderPageContentProps,
|
||||
) => React_2.JSX.Element;
|
||||
) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export type TechDocsReaderPageContentProps = {
|
||||
@@ -445,7 +439,7 @@ export type TechDocsReaderPageContentProps = {
|
||||
// @public
|
||||
export const TechDocsReaderPageHeader: (
|
||||
props: TechDocsReaderPageHeaderProps,
|
||||
) => React_2.JSX.Element | null;
|
||||
) => JSX_2.Element | null;
|
||||
|
||||
// @public @deprecated
|
||||
export type TechDocsReaderPageHeaderProps = PropsWithChildren<{
|
||||
@@ -472,12 +466,12 @@ export type TechDocsReaderPageRenderFunction = (options: {
|
||||
// @public
|
||||
export const TechDocsReaderPageSubheader: (props: {
|
||||
toolbarProps?: ToolbarProps;
|
||||
}) => React_2.JSX.Element | null;
|
||||
}) => JSX_2.Element | null;
|
||||
|
||||
// @public
|
||||
export const TechDocsReaderProvider: (
|
||||
props: TechDocsReaderProviderProps,
|
||||
) => React_2.JSX.Element;
|
||||
) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export type TechDocsReaderProviderProps = {
|
||||
@@ -490,9 +484,7 @@ export type TechDocsReaderProviderRenderFunction = (
|
||||
) => JSX.Element;
|
||||
|
||||
// @public
|
||||
export const TechDocsSearch: (
|
||||
props: TechDocsSearchProps,
|
||||
) => React_2.JSX.Element;
|
||||
export const TechDocsSearch: (props: TechDocsSearchProps) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export type TechDocsSearchProps = {
|
||||
|
||||
Reference in New Issue
Block a user