From fa7b2a8c179096d6c0bb97ca05a385cc749468cb Mon Sep 17 00:00:00 2001 From: terwer Date: Tue, 5 Nov 2024 10:22:43 +0800 Subject: [PATCH] fix: add doc limit from 128 to 20480 --- libs/zhi-siyuan-api/CHANGELOG.md | 6 ++++++ libs/zhi-siyuan-api/package.json | 2 +- libs/zhi-siyuan-api/src/lib/kernel/siyuanKernelApi.ts | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libs/zhi-siyuan-api/CHANGELOG.md b/libs/zhi-siyuan-api/CHANGELOG.md index eeffb684..2ae295ce 100644 --- a/libs/zhi-siyuan-api/CHANGELOG.md +++ b/libs/zhi-siyuan-api/CHANGELOG.md @@ -1,5 +1,11 @@ # zhi-siyuan-api +## 2.22.0 + +### Minor Changes + +- add doc limit from 128 to 20480 + ## 2.21.0 ### Minor Changes diff --git a/libs/zhi-siyuan-api/package.json b/libs/zhi-siyuan-api/package.json index 18b51e9b..f2b3ecd5 100644 --- a/libs/zhi-siyuan-api/package.json +++ b/libs/zhi-siyuan-api/package.json @@ -1,6 +1,6 @@ { "name": "zhi-siyuan-api", - "version": "2.21.0", + "version": "2.22.0", "type": "module", "description": "a siyuan-note api including both kernel and client", "main": "./dist/index.js", diff --git a/libs/zhi-siyuan-api/src/lib/kernel/siyuanKernelApi.ts b/libs/zhi-siyuan-api/src/lib/kernel/siyuanKernelApi.ts index d2957471..6deb597b 100644 --- a/libs/zhi-siyuan-api/src/lib/kernel/siyuanKernelApi.ts +++ b/libs/zhi-siyuan-api/src/lib/kernel/siyuanKernelApi.ts @@ -294,7 +294,7 @@ class SiyuanKernelApi implements ISiyuanKernelApi { id: docId, isBacklink: false, mode: 0, - size: 128, + size: 20480, } const url = "/api/filetree/getDoc" return await this.siyuanRequest(url, params)