Skip to content

Commit

Permalink
docs: update postCount field in category vo and tag vo (#477)
Browse files Browse the repository at this point in the history
统一分类和标签的文章数量字段。

See halo-dev/halo#7095

```release-note
None
```
  • Loading branch information
ruibaby authored Dec 4, 2024
1 parent d0373d3 commit ec9331c
Show file tree
Hide file tree
Showing 24 changed files with 30 additions and 78 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ export interface ListedPost {
};
status: {
permalink: string; // 分类的永久链接
postCount: number; // 分类下的文章总数
visiblePostCount: number; // 分类下可见的文章总数
};
postCount: number; // 分类下的文章总数
}>;
contributors: Array<{ // 文章的贡献者集合
avatar: string; // 贡献者头像
Expand Down Expand Up @@ -110,9 +109,8 @@ export interface ListedPost {
};
status: {
permalink: string; // 标签的永久链接
postCount: number; // 标签下的文章总数
visiblePostCount: number; // 标签下可见的文章总数
};
postCount: number; // 标签下的文章总数
}>;
}

Expand Down
4 changes: 1 addition & 3 deletions docs/developer-guide/theme/vo/_CategoryTreeVo.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@
},
"status": {
"permalink": "string", // 固定链接
"postCount": 0, // 文章数
"visiblePostCount": 0 // 已发布文章数
},
"children": "List<#CategoryTreeVo>", // 下级分类,CategoryTreeVo 的集合
"parentName": "string",
"postCount": 0
"postCount": 0 // 文章数量
}
```
4 changes: 1 addition & 3 deletions docs/developer-guide/theme/vo/_CategoryVo.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
},
"status": {
"permalink": "string", // 固定链接
"postCount": 0, // 文章数
"visiblePostCount": 0 // 已发布文章数
},
"postCount": 0
"postCount": 0 // 文章数量
}
```
4 changes: 1 addition & 3 deletions docs/developer-guide/theme/vo/_TagVo.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
},
"status": {
"permalink": "string", // 固定链接
"visiblePostCount": 0, // 已发布文章数
"postCount": 0 // 文章数
},
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ export interface ListedPost {
};
status: {
permalink: string; // 分类的永久链接
postCount: number; // 分类下的文章总数
visiblePostCount: number; // 分类下可见的文章总数
};
postCount: number; // 分类下的文章总数
}>;
contributors: Array<{ // 文章的贡献者集合
avatar: string; // 贡献者头像
Expand Down Expand Up @@ -110,9 +109,8 @@ export interface ListedPost {
};
status: {
permalink: string; // 标签的永久链接
postCount: number; // 标签下的文章总数
visiblePostCount: number; // 标签下可见的文章总数
};
postCount: number; // 标签下的文章总数
}>;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@
},
"status": {
"permalink": "string", // 固定链接
"postCount": 0, // 文章数
"visiblePostCount": 0 // 已发布文章数
},
"children": "List<#CategoryTreeVo>", // 下级分类,CategoryTreeVo 的集合
"parentName": "string",
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
},
"status": {
"permalink": "string", // 固定链接
"postCount": 0, // 文章数
"visiblePostCount": 0 // 已发布文章数
},
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
},
"status": {
"permalink": "string", // 固定链接
"visiblePostCount": 0, // 已发布文章数
"postCount": 0 // 文章数
},
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ export interface ListedPost {
};
status: {
permalink: string; // 分类的永久链接
postCount: number; // 分类下的文章总数
visiblePostCount: number; // 分类下可见的文章总数
};
postCount: number; // 分类下的文章总数
}>;
contributors: Array<{ // 文章的贡献者集合
avatar: string; // 贡献者头像
Expand Down Expand Up @@ -110,9 +109,8 @@ export interface ListedPost {
};
status: {
permalink: string; // 标签的永久链接
postCount: number; // 标签下的文章总数
visiblePostCount: number; // 标签下可见的文章总数
};
postCount: number; // 标签下的文章总数
}>;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@
},
"status": {
"permalink": "string", // 固定链接
"postCount": 0, // 文章数
"visiblePostCount": 0 // 已发布文章数
},
"children": "List<#CategoryTreeVo>", // 下级分类,CategoryTreeVo 的集合
"parentName": "string",
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
},
"status": {
"permalink": "string", // 固定链接
"postCount": 0, // 文章数
"visiblePostCount": 0 // 已发布文章数
},
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
},
"status": {
"permalink": "string", // 固定链接
"visiblePostCount": 0, // 已发布文章数
"postCount": 0 // 文章数
},
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ export interface ListedPost {
};
status: {
permalink: string; // 分类的永久链接
postCount: number; // 分类下的文章总数
visiblePostCount: number; // 分类下可见的文章总数
};
postCount: number; // 分类下的文章总数
}>;
contributors: Array<{ // 文章的贡献者集合
avatar: string; // 贡献者头像
Expand Down Expand Up @@ -110,9 +109,8 @@ export interface ListedPost {
};
status: {
permalink: string; // 标签的永久链接
postCount: number; // 标签下的文章总数
visiblePostCount: number; // 标签下可见的文章总数
};
postCount: number; // 标签下的文章总数
}>;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@
},
"status": {
"permalink": "string", // 固定链接
"postCount": 0, // 文章数
"visiblePostCount": 0 // 已发布文章数
},
"children": "List<#CategoryTreeVo>", // 下级分类,CategoryTreeVo 的集合
"parentName": "string",
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
},
"status": {
"permalink": "string", // 固定链接
"postCount": 0, // 文章数
"visiblePostCount": 0 // 已发布文章数
},
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
},
"status": {
"permalink": "string", // 固定链接
"visiblePostCount": 0, // 已发布文章数
"postCount": 0 // 文章数
},
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ export interface ListedPost {
};
status: {
permalink: string; // 分类的永久链接
postCount: number; // 分类下的文章总数
visiblePostCount: number; // 分类下可见的文章总数
};
postCount: number; // 分类下的文章总数
}>;
contributors: Array<{ // 文章的贡献者集合
avatar: string; // 贡献者头像
Expand Down Expand Up @@ -110,9 +109,8 @@ export interface ListedPost {
};
status: {
permalink: string; // 标签的永久链接
postCount: number; // 标签下的文章总数
visiblePostCount: number; // 标签下可见的文章总数
};
postCount: number; // 标签下的文章总数
}>;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@
},
"status": {
"permalink": "string", // 固定链接
"postCount": 0, // 文章数
"visiblePostCount": 0 // 已发布文章数
},
"children": "List<#CategoryTreeVo>", // 下级分类,CategoryTreeVo 的集合
"parentName": "string",
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
},
"status": {
"permalink": "string", // 固定链接
"postCount": 0, // 文章数
"visiblePostCount": 0 // 已发布文章数
},
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
},
"status": {
"permalink": "string", // 固定链接
"visiblePostCount": 0, // 已发布文章数
"postCount": 0 // 文章数
},
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ export interface ListedPost {
};
status: {
permalink: string; // 分类的永久链接
postCount: number; // 分类下的文章总数
visiblePostCount: number; // 分类下可见的文章总数
};
postCount: number; // 分类下的文章总数
}>;
contributors: Array<{ // 文章的贡献者集合
avatar: string; // 贡献者头像
Expand Down Expand Up @@ -110,9 +109,8 @@ export interface ListedPost {
};
status: {
permalink: string; // 标签的永久链接
postCount: number; // 标签下的文章总数
visiblePostCount: number; // 标签下可见的文章总数
};
postCount: number; // 标签下的文章总数
}>;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@
},
"status": {
"permalink": "string", // 固定链接
"postCount": 0, // 文章数
"visiblePostCount": 0 // 已发布文章数
},
"children": "List<#CategoryTreeVo>", // 下级分类,CategoryTreeVo 的集合
"parentName": "string",
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
},
"status": {
"permalink": "string", // 固定链接
"postCount": 0, // 文章数
"visiblePostCount": 0 // 已发布文章数
},
"postCount": 0
"postCount": 0 // 文章数量
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
},
"status": {
"permalink": "string", // 固定链接
"visiblePostCount": 0, // 已发布文章数
"postCount": 0 // 文章数
},
"postCount": 0
"postCount": 0 // 文章数量
}
```

0 comments on commit ec9331c

Please sign in to comment.