2024-10-05 01:22:41 +08:00

19 lines
458 B
TypeScript

import type { SourceID, SourceInfo } from "@shared/types"
import peopledaily from "./peopledaily"
import weibo from "./weibo"
import zaobao from "./zaobao"
import krQ from "./36kr-quick"
import wallstreetcn from "./wallstreetcn"
// import kr from "./36kr"
export { fallback } from "./fallback"
export const sources = {
peopledaily,
weibo,
zaobao,
wallstreetcn,
"36kr-quick": krQ,
// "36kr": kr,
} as Record<SourceID, () => Promise<SourceInfo>>