@nextcloud/files 3.1.1 → 3.2.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/dav/dav.d.ts +2 -1
- package/dist/index.cjs +191 -177
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +195 -180
- package/dist/index.mjs.map +1 -1
- package/dist/vendor.LICENSE.txt +1 -1
- package/package.json +9 -8
package/dist/dav/dav.d.ts
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
*/
|
|
23
23
|
import type { FileStat, WebDAVClient } from 'webdav';
|
|
24
24
|
import type { Node } from '../files/node';
|
|
25
|
+
import { CancelablePromise } from 'cancelable-promise';
|
|
25
26
|
/**
|
|
26
27
|
* The DAV root path for the current user
|
|
27
28
|
*/
|
|
@@ -54,7 +55,7 @@ export declare const davGetClient: (remoteURL?: string, headers?: Record<string,
|
|
|
54
55
|
* const favorites = await getFavoriteNodes(client, '/', davRootPath)
|
|
55
56
|
* ```
|
|
56
57
|
*/
|
|
57
|
-
export declare const getFavoriteNodes: (davClient: WebDAVClient, path?: string, davRoot?: string) =>
|
|
58
|
+
export declare const getFavoriteNodes: (davClient: WebDAVClient, path?: string, davRoot?: string) => CancelablePromise<Node[]>;
|
|
58
59
|
/**
|
|
59
60
|
* Covert DAV result `FileStat` to `Node`
|
|
60
61
|
*
|