packages: regenerate all API reports with prettier

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-07-12 11:20:25 +02:00
parent e87aa59df3
commit 602b5b59bb
78 changed files with 8153 additions and 4661 deletions
+88 -64
View File
@@ -3,7 +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';
@@ -18,14 +17,19 @@ import { Location as Location_2 } from '@backstage/catalog-model';
import { RouteRef } from '@backstage/core-plugin-api';
// @public (undocumented)
export const DocsCardGrid: ({ entities, }: {
entities: Entity[] | undefined;
export const DocsCardGrid: ({
entities,
}: {
entities: Entity[] | undefined;
}) => JSX.Element | null;
// @public (undocumented)
export const DocsTable: ({ entities, title, }: {
entities: Entity[] | undefined;
title?: string | undefined;
export const DocsTable: ({
entities,
title,
}: {
entities: Entity[] | undefined;
title?: string | undefined;
}) => JSX.Element | null;
// @public (undocumented)
@@ -33,7 +37,7 @@ export const EmbeddedDocsRouter: (_props: Props) => JSX.Element;
// @public (undocumented)
export const EntityTechdocsContent: (_props: {
entity?: Entity | undefined;
entity?: Entity | undefined;
}) => JSX.Element;
// @public (undocumented)
@@ -50,12 +54,12 @@ export type SyncResult = 'cached' | 'updated' | 'timeout';
// @public (undocumented)
export interface TechDocsApi {
// (undocumented)
getApiOrigin(): Promise<string>;
// (undocumented)
getEntityMetadata(entityId: EntityName): Promise<TechDocsEntityMetadata>;
// (undocumented)
getTechDocsMetadata(entityId: EntityName): Promise<TechDocsMetadata>;
// (undocumented)
getApiOrigin(): Promise<string>;
// (undocumented)
getEntityMetadata(entityId: EntityName): Promise<TechDocsEntityMetadata>;
// (undocumented)
getTechDocsMetadata(entityId: EntityName): Promise<TechDocsMetadata>;
}
// @public (undocumented)
@@ -63,56 +67,69 @@ export const techdocsApiRef: ApiRef<TechDocsApi>;
// @public
export class TechDocsClient implements TechDocsApi {
constructor({ configApi, discoveryApi, identityApi, }: {
configApi: Config;
discoveryApi: DiscoveryApi;
identityApi: IdentityApi;
});
// (undocumented)
constructor({
configApi,
discoveryApi,
identityApi,
}: {
configApi: Config;
// (undocumented)
discoveryApi: DiscoveryApi;
// (undocumented)
getApiOrigin(): Promise<string>;
getEntityMetadata(entityId: EntityName): Promise<TechDocsEntityMetadata>;
getTechDocsMetadata(entityId: EntityName): Promise<TechDocsMetadata>;
// (undocumented)
identityApi: IdentityApi;
});
// (undocumented)
configApi: Config;
// (undocumented)
discoveryApi: DiscoveryApi;
// (undocumented)
getApiOrigin(): Promise<string>;
getEntityMetadata(entityId: EntityName): Promise<TechDocsEntityMetadata>;
getTechDocsMetadata(entityId: EntityName): Promise<TechDocsMetadata>;
// (undocumented)
identityApi: IdentityApi;
}
// @public (undocumented)
export const TechDocsCustomHome: ({ tabsConfig, }: {
tabsConfig: TabsConfig;
export const TechDocsCustomHome: ({
tabsConfig,
}: {
tabsConfig: TabsConfig;
}) => JSX.Element;
// @public (undocumented)
export const TechdocsPage: () => JSX.Element;
// @public (undocumented)
const techdocsPlugin: BackstagePlugin< {
root: RouteRef<undefined>;
entityContent: RouteRef<undefined>;
}, {}>;
export { techdocsPlugin as plugin }
export { techdocsPlugin }
const techdocsPlugin: BackstagePlugin<
{
root: RouteRef<undefined>;
entityContent: RouteRef<undefined>;
},
{}
>;
export { techdocsPlugin as plugin };
export { techdocsPlugin };
// @public (undocumented)
export const TechDocsReaderPage: () => JSX.Element;
// @public (undocumented)
export interface TechDocsStorageApi {
// (undocumented)
getApiOrigin(): Promise<string>;
// (undocumented)
getBaseUrl(oldBaseUrl: string, entityId: EntityName, path: string): Promise<string>;
// (undocumented)
getBuilder(): Promise<string>;
// (undocumented)
getEntityDocs(entityId: EntityName, path: string): Promise<string>;
// (undocumented)
getStorageUrl(): Promise<string>;
// (undocumented)
syncEntityDocs(entityId: EntityName): Promise<SyncResult>;
// (undocumented)
getApiOrigin(): Promise<string>;
// (undocumented)
getBaseUrl(
oldBaseUrl: string,
entityId: EntityName,
path: string,
): Promise<string>;
// (undocumented)
getBuilder(): Promise<string>;
// (undocumented)
getEntityDocs(entityId: EntityName, path: string): Promise<string>;
// (undocumented)
getStorageUrl(): Promise<string>;
// (undocumented)
syncEntityDocs(entityId: EntityName): Promise<SyncResult>;
}
// @public (undocumented)
@@ -120,29 +137,36 @@ export const techdocsStorageApiRef: ApiRef<TechDocsStorageApi>;
// @public
export class TechDocsStorageClient implements TechDocsStorageApi {
constructor({ configApi, discoveryApi, identityApi, }: {
configApi: Config;
discoveryApi: DiscoveryApi;
identityApi: IdentityApi;
});
// (undocumented)
constructor({
configApi,
discoveryApi,
identityApi,
}: {
configApi: Config;
// (undocumented)
discoveryApi: DiscoveryApi;
// (undocumented)
getApiOrigin(): Promise<string>;
// (undocumented)
getBaseUrl(oldBaseUrl: string, entityId: EntityName, path: string): Promise<string>;
// (undocumented)
getBuilder(): Promise<string>;
getEntityDocs(entityId: EntityName, path: string): Promise<string>;
// (undocumented)
getStorageUrl(): Promise<string>;
// (undocumented)
identityApi: IdentityApi;
syncEntityDocs(entityId: EntityName): Promise<SyncResult>;
});
// (undocumented)
configApi: Config;
// (undocumented)
discoveryApi: DiscoveryApi;
// (undocumented)
getApiOrigin(): Promise<string>;
// (undocumented)
getBaseUrl(
oldBaseUrl: string,
entityId: EntityName,
path: string,
): Promise<string>;
// (undocumented)
getBuilder(): Promise<string>;
getEntityDocs(entityId: EntityName, path: string): Promise<string>;
// (undocumented)
getStorageUrl(): Promise<string>;
// (undocumented)
identityApi: IdentityApi;
syncEntityDocs(entityId: EntityName): Promise<SyncResult>;
}
// (No @packageDocumentation comment for this package)
```