mirror of
https://github.com/ourongxing/newsnow.git
synced 2025-01-31 19:08:05 +08:00
19 lines
458 B
TypeScript
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>>
|