@nextcloud/files 3.8.0 → 3.9.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.
@@ -28,8 +28,11 @@ interface ViewData {
28
28
  getContents: (path: string) => Promise<ContentsWithRoot>;
29
29
  /** The view icon as an inline svg */
30
30
  icon: string;
31
- /** The view order */
32
- order: number;
31
+ /**
32
+ * The view order.
33
+ * If not set will be natural sorted by view name.
34
+ */
35
+ order?: number;
33
36
  /**
34
37
  * Custom params to give to the router on click
35
38
  * If defined, will be treated as a dummy view and
@@ -73,8 +76,8 @@ export declare class View implements ViewData {
73
76
  get getContents(): (path: string) => Promise<ContentsWithRoot>;
74
77
  get icon(): string;
75
78
  set icon(icon: string);
76
- get order(): number;
77
- set order(order: number);
79
+ get order(): number | undefined;
80
+ set order(order: number | undefined);
78
81
  get params(): Record<string, string> | undefined;
79
82
  set params(params: Record<string, string> | undefined);
80
83
  get columns(): Column[] | undefined;
@@ -9,7 +9,7 @@ version: 4.4.1
9
9
  license: MIT
10
10
 
11
11
  is-svg
12
- version: 5.0.1
12
+ version: 5.1.0
13
13
  license: MIT
14
14
 
15
15
  semver
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextcloud/files",
3
- "version": "3.8.0",
3
+ "version": "3.9.0",
4
4
  "description": "Nextcloud files utils",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -55,19 +55,19 @@
55
55
  "@nextcloud/eslint-config": "^8.4.1",
56
56
  "@nextcloud/event-bus": "^3.3.1",
57
57
  "@nextcloud/typings": "^1.9.1",
58
- "@nextcloud/vite-config": "^2.1.0",
59
- "@types/node": "^22.1.0",
58
+ "@nextcloud/vite-config": "^2.2.2",
59
+ "@types/node": "^22.5.1",
60
60
  "@vitest/coverage-istanbul": "^2.0.5",
61
61
  "fast-xml-parser": "^4.4.1",
62
- "jsdom": "^24.1.1",
63
- "tslib": "^2.6.3",
64
- "typedoc": "^0.26.5",
62
+ "jsdom": "^25.0.0",
63
+ "tslib": "^2.7.0",
64
+ "typedoc": "^0.26.6",
65
65
  "typescript": "^5.5.4",
66
- "vite": "^5.3.5",
66
+ "vite": "^5.4.2",
67
67
  "vitest": "^2.0.2"
68
68
  },
69
69
  "dependencies": {
70
- "@nextcloud/auth": "^2.3.0",
70
+ "@nextcloud/auth": "^2.4.0",
71
71
  "@nextcloud/capabilities": "^1.2.0",
72
72
  "@nextcloud/l10n": "^3.1.0",
73
73
  "@nextcloud/logger": "^3.0.2",
@@ -75,9 +75,9 @@
75
75
  "@nextcloud/router": "^3.0.1",
76
76
  "@nextcloud/sharing": "^0.2.3",
77
77
  "cancelable-promise": "^4.3.1",
78
- "is-svg": "^5.0.1",
78
+ "is-svg": "^5.1.0",
79
79
  "typedoc-plugin-missing-exports": "^3.0.0",
80
80
  "typescript-event-target": "^1.1.1",
81
- "webdav": "^5.7.0"
81
+ "webdav": "^5.7.1"
82
82
  }
83
83
  }