listpage_cli 0.0.307 → 0.0.308

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.
@@ -68,13 +68,14 @@ async function handleUpdateBlockCommand(input, client, fs) {
68
68
  // 6. 添加新内容
69
69
  if (newBlocks.length > 0) {
70
70
  console.log("插入新的内容到高亮块...");
71
- await client.docx.documentBlockChildren.create({
71
+ await client.docx.documentBlockDescendant.create({
72
72
  path: {
73
73
  document_id: docToken,
74
74
  block_id: targetBlock.block_id,
75
75
  },
76
76
  data: {
77
- children: newBlocks,
77
+ children_id: convertRes.data?.first_level_block_ids || [],
78
+ descendants: newBlocks,
78
79
  index: -1,
79
80
  },
80
81
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "listpage_cli",
3
- "version": "0.0.307",
3
+ "version": "0.0.308",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "listpage_cli": "bin/cli.js"
@@ -25,7 +25,7 @@
25
25
  "class-transformer": "^0.5.1",
26
26
  "class-validator": "~0.14.2",
27
27
  "rxjs": "^7.8.1",
28
- "listpage-next-nest": "~0.0.307"
28
+ "listpage-next-nest": "~0.0.308"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@nestjs/schematics": "^11.0.0",
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "react": "^19.2.0",
14
14
  "react-dom": "^19.2.0",
15
- "listpage-next": "~0.0.307",
15
+ "listpage-next": "~0.0.308",
16
16
  "react-router-dom": ">=6.0.0",
17
17
  "@ant-design/v5-patch-for-react-19": "~1.0.3",
18
18
  "ahooks": "^3.9.5",
@@ -23,7 +23,7 @@
23
23
  "styled-components": "^6.1.19",
24
24
  "mobx": "~6.15.0",
25
25
  "@ant-design/icons": "~6.0.2",
26
- "listpage-components": "~0.0.307",
26
+ "listpage-components": "~0.0.308",
27
27
  "lucide-react": "~0.575.0"
28
28
  "mobx-react-lite": "~4.1.1"
29
29
  },