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
+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;
```