Generated api reports

Signed-off-by: Robert Bunning <rbunning@webstaurantstore.com>
This commit is contained in:
Robert Bunning
2022-12-21 10:49:26 -05:00
parent dcc0efa782
commit 502aea62e1
2 changed files with 24 additions and 1 deletions
+4
View File
@@ -11,6 +11,7 @@ import { CatalogApi } from '@backstage/catalog-client';
import { Config } from '@backstage/config';
import { DocumentCollatorFactory } from '@backstage/plugin-search-common';
import { Entity } from '@backstage/catalog-model';
import express from 'express';
import { Logger } from 'winston';
import { PluginCacheManager } from '@backstage/backend-common';
import { PluginEndpointDiscovery } from '@backstage/backend-common';
@@ -44,6 +45,9 @@ export type AdrParserContext = {
// @public
export const createMadrParser: (options?: MadrParserOptions) => AdrParser;
// @public (undocumented)
export function createRouter(reader: UrlReader): Promise<express.Router>;
// @public
export class DefaultAdrCollatorFactory implements DocumentCollatorFactory {
// (undocumented)
+20 -1
View File
@@ -20,6 +20,14 @@ export type AdrContentDecorator = (adrInfo: {
content: string;
};
// @public
export interface AdrFileFetcher {
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
useGetAdrFilesAtUrl: (url: string) => any;
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
useReadAdrFileAtUrl: (url: string) => any;
}
// @public
export const adrPlugin: BackstagePlugin<
{
@@ -31,7 +39,11 @@ export const adrPlugin: BackstagePlugin<
// @public
export const AdrReader: {
(props: { adr: string; decorators?: AdrContentDecorator[] }): JSX.Element;
(props: {
adr: string;
decorators?: AdrContentDecorator[];
adrFileFetcher?: AdrFileFetcher;
}): JSX.Element;
decorators: Readonly<{
createRewriteRelativeLinksDecorator(): AdrContentDecorator;
createRewriteRelativeEmbedsDecorator(): AdrContentDecorator;
@@ -50,7 +62,14 @@ export function AdrSearchResultListItem(props: {
export const EntityAdrContent: (props: {
contentDecorators?: AdrContentDecorator[] | undefined;
filePathFilterFn?: AdrFilePathFilterFn | undefined;
adrFileFetcher?: AdrFileFetcher | undefined;
}) => JSX.Element;
export { isAdrAvailable };
// @public
export const octokitAdrFileFetcher: AdrFileFetcher;
// @public
export const urlReaderAdrFileFetcher: AdrFileFetcher;
```