seafile-js 0.2.210 → 0.2.211
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/lib/seafile-api.js +8 -0
- package/package.json +1 -1
package/lib/seafile-api.js
CHANGED
|
@@ -1597,6 +1597,14 @@ var SeafileAPI = /*#__PURE__*/function () {
|
|
|
1597
1597
|
value: function deleteFileExtendedProperties(repoID, path) {
|
|
1598
1598
|
var url = this.server + '/api/v2.1/repos/' + repoID + '/extended-properties/?path=' + path;
|
|
1599
1599
|
return this.req["delete"](url);
|
|
1600
|
+
}
|
|
1601
|
+
}, {
|
|
1602
|
+
key: "applyFolderExtendedProperties",
|
|
1603
|
+
value: function applyFolderExtendedProperties(repoID, path) {
|
|
1604
|
+
var url = this.server + '/api/v2.1/repos/' + repoID + '/apply-folder-extended-properties/';
|
|
1605
|
+
var form = new FormData();
|
|
1606
|
+
form.append('path', path);
|
|
1607
|
+
return this.req.post(url, form);
|
|
1600
1608
|
} // file commit api
|
|
1601
1609
|
|
|
1602
1610
|
}, {
|