mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-31 06:29:46 +08:00
Fix typo (#187)
根据定义「咨讯」应为「资讯」。 News 是「资讯」 而「咨讯」在网络上检索到的定义为 Valuable Information,且现代汉语词典(第 7 版)中未收录该词
This commit is contained in:
10
src/types/BBS/Post.d.ts
vendored
10
src/types/BBS/Post.d.ts
vendored
@@ -44,17 +44,17 @@ declare namespace TGApp.BBS.Post {
|
||||
};
|
||||
|
||||
/**
|
||||
* 咨讯返回响应
|
||||
* 资讯返回响应
|
||||
* @since Beta v0.7.2
|
||||
*/
|
||||
type NewsResp = TGApp.BBS.Response.BaseWithData<NewsRes>;
|
||||
|
||||
/**
|
||||
* 咨讯数据
|
||||
* 资讯数据
|
||||
* @since Beta v0.7.2
|
||||
*/
|
||||
type NewsRes = {
|
||||
/** 咨讯列表 */
|
||||
/** 资讯列表 */
|
||||
list: Array<FullData>;
|
||||
/** 列表内最后一个 ID,用于索引 */
|
||||
last_id: string;
|
||||
@@ -147,7 +147,7 @@ declare namespace TGApp.BBS.Post {
|
||||
forum_rank_info: unknown | null;
|
||||
/** 链接卡片列表,可能为空 */
|
||||
link_card_list: Array<LinkCard>;
|
||||
/** 咨讯元数据,可能为 null */
|
||||
/** 资讯元数据,可能为 null */
|
||||
news_meta?: NewsMeta | null;
|
||||
/** 推荐理由,可能为 null */
|
||||
recommend_reason: RecommendReason | null;
|
||||
@@ -643,7 +643,7 @@ declare namespace TGApp.BBS.Post {
|
||||
};
|
||||
|
||||
/**
|
||||
* 咨讯元数据,只有活动咨讯才有
|
||||
* 资讯元数据,只有活动资讯才有
|
||||
* @since Beta v0.7.1
|
||||
*/
|
||||
type NewsMeta = {
|
||||
|
||||
Reference in New Issue
Block a user