newsnow/shared/data.ts

35 lines
796 B
TypeScript
Raw Normal View History

2024-09-29 20:57:24 +08:00
import type { Metadata } from "./types"
2024-09-26 19:16:42 +08:00
2024-10-13 14:35:42 +08:00
export const columnIds = ["focus", "realtime", "hottest", "china", "world", "tech", "finance"] as const
2024-09-29 20:57:24 +08:00
export const metadata: Metadata = {
focus: {
2024-09-26 19:16:42 +08:00
name: "关注",
2024-10-08 20:49:19 +08:00
sources: [],
2024-09-26 19:16:42 +08:00
},
2024-10-09 21:36:42 +08:00
realtime: {
2024-10-05 01:22:41 +08:00
name: "实时",
2024-10-11 23:44:50 +08:00
sources: ["weibo", "wallstreetcn", "ithome", "36kr", "zaobao"],
},
hottest: {
name: "最热",
sources: ["weibo", "douyin", "zhihu", "toutiao"],
2024-09-26 19:16:42 +08:00
},
2024-09-29 20:57:24 +08:00
china: {
2024-09-26 19:16:42 +08:00
name: "国内",
2024-10-11 23:44:50 +08:00
sources: ["weibo", "douyin", "toutiao", "zhihu"],
2024-09-26 19:16:42 +08:00
},
2024-09-29 20:57:24 +08:00
world: {
2024-10-09 19:15:28 +08:00
name: "国际",
2024-10-10 21:32:13 +08:00
sources: ["sputniknewscn", "zaobao", "cankaoxiaoxi"],
2024-10-08 20:49:19 +08:00
},
tech: {
name: "科技",
2024-10-13 14:17:19 +08:00
sources: ["ithome", "v2ex", "coolapk", "36kr-quick"],
},
finance: {
name: "财经",
sources: ["wallstreetcn", "36kr-quick"],
2024-09-26 19:16:42 +08:00
},
2024-09-29 20:57:24 +08:00
}