mirror of
https://github.com/halo-dev/docs.git
synced 2025-10-18 08:14:42 +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; // 标签下的文章总数
|
||||
}>;
|
||||
}
|
||||
|
||||
|
@@ -23,11 +23,9 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"postCount": 0, // 文章数
|
||||
"visiblePostCount": 0 // 已发布文章数
|
||||
},
|
||||
"children": "List<#CategoryTreeVo>", // 下级分类,CategoryTreeVo 的集合
|
||||
"parentName": "string",
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -23,9 +23,7 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"postCount": 0, // 文章数
|
||||
"visiblePostCount": 0 // 已发布文章数
|
||||
},
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -18,9 +18,7 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"visiblePostCount": 0, // 已发布文章数
|
||||
"postCount": 0 // 文章数
|
||||
},
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -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; // 标签下的文章总数
|
||||
}>;
|
||||
}
|
||||
|
||||
|
@@ -23,11 +23,9 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"postCount": 0, // 文章数
|
||||
"visiblePostCount": 0 // 已发布文章数
|
||||
},
|
||||
"children": "List<#CategoryTreeVo>", // 下级分类,CategoryTreeVo 的集合
|
||||
"parentName": "string",
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -23,9 +23,7 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"postCount": 0, // 文章数
|
||||
"visiblePostCount": 0 // 已发布文章数
|
||||
},
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -18,9 +18,7 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"visiblePostCount": 0, // 已发布文章数
|
||||
"postCount": 0 // 文章数
|
||||
},
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -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; // 标签下的文章总数
|
||||
}>;
|
||||
}
|
||||
|
||||
|
@@ -23,11 +23,9 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"postCount": 0, // 文章数
|
||||
"visiblePostCount": 0 // 已发布文章数
|
||||
},
|
||||
"children": "List<#CategoryTreeVo>", // 下级分类,CategoryTreeVo 的集合
|
||||
"parentName": "string",
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -23,9 +23,7 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"postCount": 0, // 文章数
|
||||
"visiblePostCount": 0 // 已发布文章数
|
||||
},
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -18,9 +18,7 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"visiblePostCount": 0, // 已发布文章数
|
||||
"postCount": 0 // 文章数
|
||||
},
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -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; // 标签下的文章总数
|
||||
}>;
|
||||
}
|
||||
|
||||
|
@@ -23,11 +23,9 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"postCount": 0, // 文章数
|
||||
"visiblePostCount": 0 // 已发布文章数
|
||||
},
|
||||
"children": "List<#CategoryTreeVo>", // 下级分类,CategoryTreeVo 的集合
|
||||
"parentName": "string",
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -23,9 +23,7 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"postCount": 0, // 文章数
|
||||
"visiblePostCount": 0 // 已发布文章数
|
||||
},
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -18,9 +18,7 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"visiblePostCount": 0, // 已发布文章数
|
||||
"postCount": 0 // 文章数
|
||||
},
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -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; // 标签下的文章总数
|
||||
}>;
|
||||
}
|
||||
|
||||
|
@@ -23,11 +23,9 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"postCount": 0, // 文章数
|
||||
"visiblePostCount": 0 // 已发布文章数
|
||||
},
|
||||
"children": "List<#CategoryTreeVo>", // 下级分类,CategoryTreeVo 的集合
|
||||
"parentName": "string",
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -23,9 +23,7 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"postCount": 0, // 文章数
|
||||
"visiblePostCount": 0 // 已发布文章数
|
||||
},
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -18,9 +18,7 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"visiblePostCount": 0, // 已发布文章数
|
||||
"postCount": 0 // 文章数
|
||||
},
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -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; // 标签下的文章总数
|
||||
}>;
|
||||
}
|
||||
|
||||
|
@@ -23,11 +23,9 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"postCount": 0, // 文章数
|
||||
"visiblePostCount": 0 // 已发布文章数
|
||||
},
|
||||
"children": "List<#CategoryTreeVo>", // 下级分类,CategoryTreeVo 的集合
|
||||
"parentName": "string",
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -23,9 +23,7 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"postCount": 0, // 文章数
|
||||
"visiblePostCount": 0 // 已发布文章数
|
||||
},
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
@@ -18,9 +18,7 @@
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"visiblePostCount": 0, // 已发布文章数
|
||||
"postCount": 0 // 文章数
|
||||
},
|
||||
"postCount": 0
|
||||
"postCount": 0 // 文章数量
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user