mirror of
https://github.com/halo-dev/docs.git
synced 2025-10-20 01:17:19 +00:00
docs: update postCount field in category vo and tag vo (#477)
统一分类和标签的文章数量字段。 See https://github.com/halo-dev/halo/issues/7095 ```release-note None ```
This commit is contained in:
@@ -21,9 +21,8 @@ export interface ListedPost {
|
||||
};
|
||||
status: {
|
||||
permalink: string; // 分类的永久链接
|
||||
postCount: number; // 分类下的文章总数
|
||||
visiblePostCount: number; // 分类下可见的文章总数
|
||||
};
|
||||
postCount: number; // 分类下的文章总数
|
||||
}>;
|
||||
contributors: Array<{ // 文章的贡献者集合
|
||||
avatar: string; // 贡献者头像
|
||||
@@ -110,9 +109,8 @@ export interface ListedPost {
|
||||
};
|
||||
status: {
|
||||
permalink: string; // 标签的永久链接
|
||||
postCount: number; // 标签下的文章总数
|
||||
visiblePostCount: number; // 标签下可见的文章总数
|
||||
};
|
||||
postCount: number; // 标签下的文章总数
|
||||
}>;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user