mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 13:48:55 +00:00
7611162834
Co-authored-by: Rhys Arkins <rhys@arkins.net> Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
16 lines
487 B
TypeScript
16 lines
487 B
TypeScript
import type { CustomDatasourceFormats } from '../../../../config/types';
|
|
import { HtmlFetcher } from './html';
|
|
import { JSONFetcher } from './json';
|
|
import { PlainFetcher } from './plain';
|
|
import type { CustomDatasourceFetcher } from './types';
|
|
import { YamlFetcher } from './yaml';
|
|
|
|
export const fetchers: Record<
|
|
CustomDatasourceFormats,
|
|
CustomDatasourceFetcher
|
|
> = {
|
|
html: new HtmlFetcher(),
|
|
json: new JSONFetcher(),
|
|
plain: new PlainFetcher(),
|
|
yaml: new YamlFetcher(),
|
|
};
|