@@ -14,6 +14,7 @@ import { DiscoveryApi } from '@backstage/core-plugin-api';
|
||||
import { Entity } from '@backstage/catalog-model';
|
||||
import { FetchApi } from '@backstage/core-plugin-api';
|
||||
import { IdentityApi } from '@backstage/core-plugin-api';
|
||||
import { JSX as JSX_2 } from 'react';
|
||||
import { PropsWithChildren } from 'react';
|
||||
import { default as React_2 } from 'react';
|
||||
import { ReactNode } from 'react';
|
||||
@@ -51,13 +52,15 @@ export type ContentStateTypes =
|
||||
// @public
|
||||
export const DefaultTechDocsHome: (
|
||||
props: TechDocsIndexPageProps,
|
||||
) => JSX.Element;
|
||||
) => React_2.JSX.Element;
|
||||
|
||||
// @public @deprecated
|
||||
export type DefaultTechDocsHomeProps = TechDocsIndexPageProps;
|
||||
|
||||
// @public
|
||||
export const DocsCardGrid: (props: DocsCardGridProps) => JSX.Element | null;
|
||||
export const DocsCardGrid: (
|
||||
props: DocsCardGridProps,
|
||||
) => React_2.JSX.Element | null;
|
||||
|
||||
// @public
|
||||
export type DocsCardGridProps = {
|
||||
@@ -72,7 +75,7 @@ export type DocsGroupConfig = {
|
||||
|
||||
// @public
|
||||
export const DocsTable: {
|
||||
(props: DocsTableProps): JSX.Element | null;
|
||||
(props: DocsTableProps): React_2.JSX.Element | null;
|
||||
columns: {
|
||||
createNameColumn(): TableColumn<DocsTableRow>;
|
||||
createOwnerColumn(): TableColumn<DocsTableRow>;
|
||||
@@ -80,7 +83,7 @@ export const DocsTable: {
|
||||
};
|
||||
actions: {
|
||||
createCopyDocsUrlAction(copyToClipboard: Function): (row: DocsTableRow) => {
|
||||
icon: () => JSX.Element;
|
||||
icon: () => React_2.JSX.Element;
|
||||
tooltip: string;
|
||||
onClick: () => any;
|
||||
};
|
||||
@@ -91,7 +94,7 @@ export const DocsTable: {
|
||||
cellStyle: {
|
||||
paddingLeft: string;
|
||||
};
|
||||
icon: () => JSX.Element;
|
||||
icon: () => React_2.JSX.Element;
|
||||
tooltip: string;
|
||||
onClick: () => any;
|
||||
};
|
||||
@@ -121,12 +124,12 @@ export type DocsTableRow = {
|
||||
// @public
|
||||
export const EmbeddedDocsRouter: (
|
||||
props: PropsWithChildren<{}>,
|
||||
) => JSX.Element | null;
|
||||
) => React_2.JSX.Element | null;
|
||||
|
||||
// @public
|
||||
export const EntityListDocsGrid: (
|
||||
props: EntityListDocsGridPageProps,
|
||||
) => JSX.Element;
|
||||
) => React_2.JSX.Element;
|
||||
|
||||
// @public
|
||||
export type EntityListDocsGridPageProps = {
|
||||
@@ -135,7 +138,7 @@ export type EntityListDocsGridPageProps = {
|
||||
|
||||
// @public
|
||||
export const EntityListDocsTable: {
|
||||
(props: EntityListDocsTableProps): JSX.Element;
|
||||
(props: EntityListDocsTableProps): React_2.JSX.Element;
|
||||
columns: {
|
||||
createNameColumn(): TableColumn<DocsTableRow>;
|
||||
createOwnerColumn(): TableColumn<DocsTableRow>;
|
||||
@@ -143,7 +146,7 @@ export const EntityListDocsTable: {
|
||||
};
|
||||
actions: {
|
||||
createCopyDocsUrlAction(copyToClipboard: Function): (row: DocsTableRow) => {
|
||||
icon: () => JSX.Element;
|
||||
icon: () => React_2.JSX.Element;
|
||||
tooltip: string;
|
||||
onClick: () => any;
|
||||
};
|
||||
@@ -154,7 +157,7 @@ export const EntityListDocsTable: {
|
||||
cellStyle: {
|
||||
paddingLeft: string;
|
||||
};
|
||||
icon: () => JSX.Element;
|
||||
icon: () => React_2.JSX.Element;
|
||||
tooltip: string;
|
||||
onClick: () => any;
|
||||
};
|
||||
@@ -171,7 +174,7 @@ export type EntityListDocsTableProps = {
|
||||
// @public
|
||||
export const EntityTechdocsContent: (props: {
|
||||
children?: ReactNode;
|
||||
}) => JSX.Element | null;
|
||||
}) => JSX_2.Element | null;
|
||||
|
||||
// @public
|
||||
export const isTechDocsAvailable: (entity: Entity) => boolean;
|
||||
@@ -194,7 +197,9 @@ export interface PanelConfig {
|
||||
export type PanelType = 'DocsCardGrid' | 'DocsTable';
|
||||
|
||||
// @public @deprecated
|
||||
export const Reader: (props: TechDocsReaderPageContentProps) => JSX.Element;
|
||||
export const Reader: (
|
||||
props: TechDocsReaderPageContentProps,
|
||||
) => React_2.JSX.Element;
|
||||
|
||||
// @public
|
||||
export type ReaderState = {
|
||||
@@ -208,7 +213,7 @@ export type ReaderState = {
|
||||
};
|
||||
|
||||
// @public
|
||||
export const Router: () => JSX.Element;
|
||||
export const Router: () => React_2.JSX.Element;
|
||||
|
||||
// @public @deprecated
|
||||
export type SyncResult = 'cached' | 'updated';
|
||||
@@ -261,7 +266,7 @@ export class TechDocsClient implements TechDocsApi_2 {
|
||||
// @public
|
||||
export const TechDocsCustomHome: (
|
||||
props: TechDocsCustomHomeProps,
|
||||
) => JSX.Element;
|
||||
) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export type TechDocsCustomHomeProps = {
|
||||
@@ -272,7 +277,9 @@ export type TechDocsCustomHomeProps = {
|
||||
export type TechDocsEntityMetadata = TechDocsEntityMetadata_2;
|
||||
|
||||
// @public
|
||||
export const TechDocsIndexPage: (props: TechDocsIndexPageProps) => JSX.Element;
|
||||
export const TechDocsIndexPage: (
|
||||
props: TechDocsIndexPageProps,
|
||||
) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export type TechDocsIndexPageProps = {
|
||||
@@ -285,12 +292,12 @@ export type TechDocsIndexPageProps = {
|
||||
export type TechDocsMetadata = TechDocsMetadata_2;
|
||||
|
||||
// @public
|
||||
export const TechdocsPage: () => JSX.Element;
|
||||
export const TechdocsPage: () => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export const TechDocsPageWrapper: (
|
||||
props: TechDocsPageWrapperProps,
|
||||
) => JSX.Element;
|
||||
) => React_2.JSX.Element;
|
||||
|
||||
// @public
|
||||
export type TechDocsPageWrapperProps = {
|
||||
@@ -320,7 +327,7 @@ export { techdocsPlugin };
|
||||
// @public
|
||||
export const TechDocsReaderLayout: (
|
||||
props: TechDocsReaderLayoutProps,
|
||||
) => JSX.Element;
|
||||
) => React_2.JSX.Element;
|
||||
|
||||
// @public
|
||||
export type TechDocsReaderLayoutProps = {
|
||||
@@ -331,12 +338,12 @@ export type TechDocsReaderLayoutProps = {
|
||||
// @public
|
||||
export const TechDocsReaderPage: (
|
||||
props: TechDocsReaderPageProps,
|
||||
) => JSX.Element;
|
||||
) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export const TechDocsReaderPageContent: (
|
||||
props: TechDocsReaderPageContentProps,
|
||||
) => JSX.Element;
|
||||
) => React_2.JSX.Element;
|
||||
|
||||
// @public
|
||||
export type TechDocsReaderPageContentProps = {
|
||||
@@ -348,7 +355,7 @@ export type TechDocsReaderPageContentProps = {
|
||||
// @public
|
||||
export const TechDocsReaderPageHeader: (
|
||||
props: TechDocsReaderPageHeaderProps,
|
||||
) => JSX.Element | null;
|
||||
) => React_2.JSX.Element | null;
|
||||
|
||||
// @public @deprecated
|
||||
export type TechDocsReaderPageHeaderProps = PropsWithChildren<{
|
||||
@@ -374,12 +381,12 @@ export type TechDocsReaderPageRenderFunction = (options: {
|
||||
// @public
|
||||
export const TechDocsReaderPageSubheader: (props: {
|
||||
toolbarProps?: ToolbarProps;
|
||||
}) => JSX.Element | null;
|
||||
}) => React_2.JSX.Element | null;
|
||||
|
||||
// @public
|
||||
export const TechDocsReaderProvider: (
|
||||
props: TechDocsReaderProviderProps,
|
||||
) => JSX.Element;
|
||||
) => React_2.JSX.Element;
|
||||
|
||||
// @public
|
||||
export type TechDocsReaderProviderProps = {
|
||||
@@ -392,7 +399,9 @@ export type TechDocsReaderProviderRenderFunction = (
|
||||
) => JSX.Element;
|
||||
|
||||
// @public
|
||||
export const TechDocsSearch: (props: TechDocsSearchProps) => JSX.Element;
|
||||
export const TechDocsSearch: (
|
||||
props: TechDocsSearchProps,
|
||||
) => React_2.JSX.Element;
|
||||
|
||||
// @public
|
||||
export type TechDocsSearchProps = {
|
||||
|
||||
Reference in New Issue
Block a user