@proteos/sdk 0.87.0 → 0.88.0
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.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -2
- package/dist/index.d.ts +15 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/knowledge/index.ts +1 -0
- package/src/knowledge/nodes.ts +12 -2
- package/src/knowledge/types.ts +14 -0
package/dist/index.cjs
CHANGED
|
@@ -3718,9 +3718,10 @@ var NodeServiceImpl = class {
|
|
|
3718
3718
|
async getContent(id) {
|
|
3719
3719
|
return this.client.request("GET", `${NODES_BASE_PATH}/${id}/content`);
|
|
3720
3720
|
}
|
|
3721
|
-
async writeContent(id, content) {
|
|
3721
|
+
async writeContent(id, content, options = {}) {
|
|
3722
3722
|
return this.client.request("PUT", `${NODES_BASE_PATH}/${id}/content`, {
|
|
3723
|
-
content
|
|
3723
|
+
content,
|
|
3724
|
+
...options
|
|
3724
3725
|
});
|
|
3725
3726
|
}
|
|
3726
3727
|
async editContent(id, request) {
|