seafile-js 0.2.226 → 0.2.227

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.
Files changed (2) hide show
  1. package/lib/seafile-api.js +11 -0
  2. package/package.json +1 -1
@@ -2070,6 +2070,17 @@ var SeafileAPI = /*#__PURE__*/function () {
2070
2070
  form.append('repo_id', repoID);
2071
2071
  return this._sendPostRequest(url, form);
2072
2072
  }
2073
+ }, {
2074
+ key: "deleteLibraryIndex",
2075
+ value: function deleteLibraryIndex(repoID) {
2076
+ var url = this.server + '/api/v2.1/ai/library-sdoc-index/';
2077
+ var params = {
2078
+ repo_id: repoID
2079
+ };
2080
+ return this.req["delete"](url, {
2081
+ data: params
2082
+ });
2083
+ }
2073
2084
  }, {
2074
2085
  key: "queryIndexTaskStatus",
2075
2086
  value: function queryIndexTaskStatus(taskId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seafile-js",
3
- "version": "0.2.226",
3
+ "version": "0.2.227",
4
4
  "private": false,
5
5
  "main": "lib/seafile-api.js",
6
6
  "dependencies": {