ReaderFactory
Home > @backstage/backend-common
> ReaderFactory
A factory function that can read config to construct zero or more UrlReaderServices along with a predicate for when it should be used.
Signature:
export type ReaderFactory = (options: {
config: Config;
logger: LoggerService;
treeResponseFactory: ReadTreeResponseFactory;
}) => UrlReaderPredicateTuple[];
References: Config, LoggerService, ReadTreeResponseFactory, UrlReaderPredicateTuple