newsnow/shared/data.ts

31 lines
615 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-08 20:49:19 +08:00
export const sectionIds = ["focus", "social", "china", "world", "tech", "code"] 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-09-29 20:57:24 +08:00
social: {
2024-10-05 01:22:41 +08:00
name: "实时",
2024-10-08 20:49:19 +08:00
sources: ["douyin", "weibo", "wallstreetcn", "ithome", "36kr"],
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-08 20:49:19 +08:00
sources: ["peopledaily", "toutiao"],
2024-09-26 19:16:42 +08:00
},
2024-09-29 20:57:24 +08:00
world: {
2024-09-26 19:16:42 +08:00
name: "国外",
2024-10-08 20:49:19 +08:00
sources: ["aljazeeracn", "sputniknewscn", "zaobao"],
},
code: {
name: "代码",
sources: ["v2ex"],
2024-09-26 19:16:42 +08:00
},
2024-10-08 20:49:19 +08:00
tech: {
name: "科技",
sources: ["ithome"],
2024-09-26 19:16:42 +08:00
},
2024-09-29 20:57:24 +08:00
}