@nextcloud/files 3.6.0 → 3.7.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/fileListFilters.d.ts +86 -0
- package/dist/index.cjs +549 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -4
- package/dist/index.mjs +549 -13
- package/dist/index.mjs.map +1 -1
- package/dist/navigation/index.d.ts +7 -0
- package/dist/utils/fileSorting.d.ts +2 -1
- package/dist/utils/sorting.d.ts +1 -1
- package/dist/vendor.LICENSE.txt +8 -0
- package/package.json +8 -6
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { INode } from '../files/node';
|
|
2
|
+
import { SortingOrder } from './sorting';
|
|
2
3
|
|
|
3
4
|
export declare enum FilesSortingMode {
|
|
4
5
|
Name = "basename",
|
|
@@ -14,7 +15,7 @@ export interface FilesSortingOptions {
|
|
|
14
15
|
/**
|
|
15
16
|
* @default 'asc'
|
|
16
17
|
*/
|
|
17
|
-
sortingOrder?:
|
|
18
|
+
sortingOrder?: SortingOrder;
|
|
18
19
|
/**
|
|
19
20
|
* If set to true nodes marked as favorites are ordered on top of all other nodes
|
|
20
21
|
* @default false
|
package/dist/utils/sorting.d.ts
CHANGED
package/dist/vendor.LICENSE.txt
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
Included dependencies:
|
|
2
2
|
|
|
3
|
+
@nextcloud/event-bus
|
|
4
|
+
version: 3.3.1
|
|
5
|
+
license: GPL-3.0-or-later
|
|
6
|
+
|
|
3
7
|
fast-xml-parser
|
|
4
8
|
version: 4.4.0
|
|
5
9
|
license: MIT
|
|
@@ -8,6 +12,10 @@ is-svg
|
|
|
8
12
|
version: 5.0.1
|
|
9
13
|
license: MIT
|
|
10
14
|
|
|
15
|
+
semver
|
|
16
|
+
version: 7.6.3
|
|
17
|
+
license: ISC
|
|
18
|
+
|
|
11
19
|
strnum
|
|
12
20
|
version: 1.0.5
|
|
13
21
|
license: MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextcloud/files",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "Nextcloud files utils",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "vite --mode production build",
|
|
32
|
-
"build:doc": "typedoc
|
|
32
|
+
"build:doc": "typedoc && touch dist/doc/.nojekyll",
|
|
33
33
|
"dev": "vite --mode development build",
|
|
34
34
|
"watch": "vite --mode development build --watch",
|
|
35
35
|
"lint": "eslint .",
|
|
@@ -53,16 +53,17 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@codecov/vite-plugin": "^0.0.1-beta.10",
|
|
55
55
|
"@nextcloud/eslint-config": "^8.4.1",
|
|
56
|
+
"@nextcloud/event-bus": "^3.3.1",
|
|
56
57
|
"@nextcloud/typings": "^1.9.1",
|
|
57
58
|
"@nextcloud/vite-config": "^2.1.0",
|
|
58
|
-
"@types/node": "^20.14.
|
|
59
|
-
"@vitest/coverage-istanbul": "^2.0.
|
|
59
|
+
"@types/node": "^20.14.11",
|
|
60
|
+
"@vitest/coverage-istanbul": "^2.0.3",
|
|
60
61
|
"fast-xml-parser": "^4.4.0",
|
|
61
62
|
"jsdom": "^24.1.0",
|
|
62
63
|
"tslib": "^2.6.3",
|
|
63
64
|
"typedoc": "^0.26.4",
|
|
64
65
|
"typescript": "^5.5.3",
|
|
65
|
-
"vite": "^5.3.
|
|
66
|
+
"vite": "^5.3.4",
|
|
66
67
|
"vitest": "^2.0.2"
|
|
67
68
|
},
|
|
68
69
|
"dependencies": {
|
|
@@ -70,11 +71,12 @@
|
|
|
70
71
|
"@nextcloud/capabilities": "^1.2.0",
|
|
71
72
|
"@nextcloud/l10n": "^3.1.0",
|
|
72
73
|
"@nextcloud/logger": "^3.0.2",
|
|
73
|
-
"@nextcloud/paths": "^2.
|
|
74
|
+
"@nextcloud/paths": "^2.2.0",
|
|
74
75
|
"@nextcloud/router": "^3.0.1",
|
|
75
76
|
"@nextcloud/sharing": "^0.2.2",
|
|
76
77
|
"cancelable-promise": "^4.3.1",
|
|
77
78
|
"is-svg": "^5.0.1",
|
|
79
|
+
"typedoc-plugin-missing-exports": "^3.0.0",
|
|
78
80
|
"typescript-event-target": "^1.1.1",
|
|
79
81
|
"webdav": "^5.6.0"
|
|
80
82
|
}
|