Files
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00

19 lines
573 B
TypeScript

import type { CustomDatasourceFormats } from '../../../../config/types.ts';
import { HtmlFetcher } from './html.ts';
import { JSONFetcher } from './json.ts';
import { PlainFetcher } from './plain.ts';
import { TomlFetcher } from './toml.ts';
import type { CustomDatasourceFetcher } from './types.ts';
import { YamlFetcher } from './yaml.ts';
export const fetchers: Record<
CustomDatasourceFormats,
CustomDatasourceFetcher
> = {
html: new HtmlFetcher(),
json: new JSONFetcher(),
plain: new PlainFetcher(),
toml: new TomlFetcher(),
yaml: new YamlFetcher(),
};