feat: 更新新闻相关功能,整合 API 数据获取,优化新闻列表展示和详情页面
This commit is contained in:
@@ -84,6 +84,10 @@ export type NotificationData = Treaty.Data<typeof client.api.notifications.get>[
|
||||
|
||||
export type NotificationBody = TreatyQuery<typeof client.api.notifications.get>;
|
||||
|
||||
export type NewBody = TreatyQuery<typeof client.api.news.get>;
|
||||
|
||||
export type NewData = Treaty.Data<typeof client.api.news.get>["data"][number];
|
||||
|
||||
/**
|
||||
* 应用版本信息
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user