Regenerate api reports

Signed-off-by: Robert Bunning <rbunning@webstaurantstore.com>
This commit is contained in:
Robert Bunning
2022-12-27 09:13:14 -05:00
parent 1dd782056d
commit 0d514d6e10
4 changed files with 55 additions and 17 deletions
+11 -1
View File
@@ -7,6 +7,7 @@
import { AdrDocument } from '@backstage/plugin-adr-common';
import { AdrFilePathFilterFn } from '@backstage/plugin-adr-common';
import { CacheClient } from '@backstage/backend-common';
import { CatalogApi } from '@backstage/catalog-client';
import { Config } from '@backstage/config';
import { DocumentCollatorFactory } from '@backstage/plugin-search-common';
@@ -42,11 +43,20 @@ export type AdrParserContext = {
path: string;
};
// @public (undocumented)
export type AdrRouterOptions = {
reader: UrlReader;
cacheClient: CacheClient;
logger: Logger;
};
// @public
export const createMadrParser: (options?: MadrParserOptions) => AdrParser;
// @public (undocumented)
export function createRouter(reader: UrlReader): Promise<express.Router>;
export function createRouter(
options: AdrRouterOptions,
): Promise<express.Router>;
// @public
export class DefaultAdrCollatorFactory implements DocumentCollatorFactory {
+1
View File
@@ -15,3 +15,4 @@
*/
export { createRouter } from './router';
export type { AdrRouterOptions } from './router';
@@ -20,6 +20,7 @@ import { Logger } from 'winston';
import express from 'express';
import Router from 'express-promise-router';
/** @public */
export type AdrRouterOptions = {
reader: UrlReader;
cacheClient: CacheClient;