renovate/lib/modules/datasource/custom/formats/index.ts

17 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(),
};