@seayoo-web/gamer-api 2.0.17 → 2.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1501,6 +1501,7 @@ const In = {
1501
1501
  avatar_url: e.string(),
1502
1502
  title: e.string().optional(),
1503
1503
  content: e.string(),
1504
+ content_text_count: e.number(),
1504
1505
  summary: e.string(),
1505
1506
  like_num: e.number(),
1506
1507
  comments_num: e.number(),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@seayoo-web/gamer-api",
3
3
  "description": "agent for gamer api",
4
- "version": "2.0.17",
4
+ "version": "2.0.18",
5
5
  "type": "module",
6
6
  "source": "index.ts",
7
7
  "main": "./dist/index.js",
@@ -26,13 +26,13 @@
26
26
  "@seayoo-web/combo-webview": "^2.5.4",
27
27
  "@seayoo-web/utils": "^3.5.1",
28
28
  "@seayoo-web/request": "^3.0.4",
29
- "@seayoo-web/tsconfig": "^1.0.3",
30
- "@seayoo-web/scripts": "^2.1.0"
29
+ "@seayoo-web/scripts": "^2.4.0",
30
+ "@seayoo-web/tsconfig": "^1.0.3"
31
31
  },
32
32
  "peerDependencies": {
33
+ "@seayoo-web/combo-webview": "^2.5.4",
33
34
  "@seayoo-web/request": "^3.0.4",
34
- "@seayoo-web/utils": "^3.5.1",
35
- "@seayoo-web/combo-webview": "^2.5.4"
35
+ "@seayoo-web/utils": "^3.5.1"
36
36
  },
37
37
  "scripts": {
38
38
  "prebuild": "pnpm -F request build && pnpm -F combo-webview build",
@@ -57,6 +57,8 @@ export interface Post {
57
57
  title?: string;
58
58
  /** 帖子内容,富文本 HTML 格式 */
59
59
  content: string;
60
+ /** 帖子内容纯文本长度,不含 html 标签部分 */
61
+ content_text_count: number;
60
62
  /** 帖子内容,纯文本格式 */
61
63
  summary: string;
62
64
  /** 点赞数量 */