seafile-js 0.2.210-beta → 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 +3 -14
- package/package.json +1 -1
package/lib/seafile-api.js
CHANGED
|
@@ -1599,23 +1599,12 @@ var SeafileAPI = /*#__PURE__*/function () {
|
|
|
1599
1599
|
return this.req["delete"](url);
|
|
1600
1600
|
}
|
|
1601
1601
|
}, {
|
|
1602
|
-
key: "
|
|
1603
|
-
value: function
|
|
1604
|
-
var url = this.server + '/api/v2.1/repos/' + repoID + '/folder-
|
|
1602
|
+
key: "applyFolderExtendedProperties",
|
|
1603
|
+
value: function applyFolderExtendedProperties(repoID, path) {
|
|
1604
|
+
var url = this.server + '/api/v2.1/repos/' + repoID + '/apply-folder-extended-properties/';
|
|
1605
1605
|
var form = new FormData();
|
|
1606
1606
|
form.append('path', path);
|
|
1607
1607
|
return this.req.post(url, form);
|
|
1608
|
-
}
|
|
1609
|
-
}, {
|
|
1610
|
-
key: "queryFolderItemsExtendedPropertiesStatus",
|
|
1611
|
-
value: function queryFolderItemsExtendedPropertiesStatus(repoID, path) {
|
|
1612
|
-
var url = this.server + '/api/v2.1/repos/' + repoID + '/folder-items-extended-properties/status-query/';
|
|
1613
|
-
var params = {
|
|
1614
|
-
path: path
|
|
1615
|
-
};
|
|
1616
|
-
return this.req.get(url, {
|
|
1617
|
-
params: params
|
|
1618
|
-
});
|
|
1619
1608
|
} // file commit api
|
|
1620
1609
|
|
|
1621
1610
|
}, {
|