2024-10-21 01:38:58 +08:00
|
|
|
import type { DisabledSourceID, SourceID } from "@shared/types"
|
2024-10-04 15:36:03 +08:00
|
|
|
import weibo from "./weibo"
|
|
|
|
import zaobao from "./zaobao"
|
2024-10-07 22:35:50 +08:00
|
|
|
import v2ex from "./v2ex"
|
|
|
|
import ithome from "./ithome"
|
2024-10-08 22:44:42 +08:00
|
|
|
import zhihu from "./zhihu"
|
2024-10-09 02:53:38 +08:00
|
|
|
import cankaoxiaoxi from "./cankaoxiaoxi"
|
|
|
|
import coolapk from "./coolapk"
|
2024-10-13 13:59:23 +08:00
|
|
|
import kr36 from "./36kr"
|
2024-10-10 22:47:25 +08:00
|
|
|
import wallstreetcn from "./wallstreetcn"
|
2024-10-13 11:39:28 +08:00
|
|
|
import douyin from "./douyin"
|
|
|
|
import toutiao from "./toutiao"
|
2024-10-21 01:38:58 +08:00
|
|
|
import cls from "./cls"
|
|
|
|
import sputniknewscn from "./sputniknewscn"
|
2024-10-21 02:18:36 +08:00
|
|
|
import xueqiu from "./xueqiu"
|
2024-10-21 03:05:50 +08:00
|
|
|
import gelonghui from "./gelonghui"
|
2024-10-21 17:00:51 +08:00
|
|
|
import tieba from "./tieba"
|
|
|
|
import thepaper from "./thepaper"
|
2024-10-20 20:28:49 +08:00
|
|
|
import type { SourceGetter } from "#/types"
|
2024-10-03 13:16:14 +08:00
|
|
|
|
2024-10-20 20:28:49 +08:00
|
|
|
export const sourcesGetters = {
|
2024-10-07 22:35:50 +08:00
|
|
|
weibo,
|
|
|
|
zaobao,
|
2024-10-20 20:28:49 +08:00
|
|
|
...v2ex,
|
2024-10-07 22:35:50 +08:00
|
|
|
ithome,
|
2024-10-09 02:53:38 +08:00
|
|
|
zhihu,
|
|
|
|
coolapk,
|
|
|
|
cankaoxiaoxi,
|
2024-10-21 17:00:51 +08:00
|
|
|
thepaper,
|
2024-10-09 03:23:19 +08:00
|
|
|
sputniknewscn,
|
2024-10-21 01:38:58 +08:00
|
|
|
...wallstreetcn,
|
2024-10-21 02:18:36 +08:00
|
|
|
...xueqiu,
|
2024-10-21 03:05:50 +08:00
|
|
|
gelonghui,
|
2024-10-13 11:39:28 +08:00
|
|
|
douyin,
|
2024-10-21 01:38:58 +08:00
|
|
|
...cls,
|
2024-10-13 11:39:28 +08:00
|
|
|
toutiao,
|
2024-10-21 17:00:51 +08:00
|
|
|
tieba,
|
2024-10-20 20:28:49 +08:00
|
|
|
...kr36,
|
2024-10-21 01:38:58 +08:00
|
|
|
} as Record<SourceID, SourceGetter> & Partial<Record<DisabledSourceID, SourceGetter>>
|