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:
Ryan Wang
2024-12-04 17:39:10 +08:00
committed by GitHub
parent d0373d3db5
commit ec9331cbcc
24 changed files with 30 additions and 78 deletions

View File

@@ -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; // 标签下的文章总数
}>;
}