cozy-client 48.9.0 → 48.11.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/CozyClient.js +1 -1
- package/dist/types.js +2 -0
- package/package.json +2 -2
- package/types/types.d.ts +10 -0
package/dist/CozyClient.js
CHANGED
|
@@ -2830,7 +2830,7 @@ var CozyClient = /*#__PURE__*/function () {
|
|
|
2830
2830
|
CozyClient.hooks = CozyClient.hooks || {};
|
|
2831
2831
|
CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
|
|
2832
2832
|
|
|
2833
|
-
CozyClient.version = "48.
|
|
2833
|
+
CozyClient.version = "48.11.0";
|
|
2834
2834
|
|
|
2835
2835
|
_microee.default.mixin(CozyClient);
|
|
2836
2836
|
|
package/dist/types.js
CHANGED
|
@@ -486,9 +486,11 @@ var _dsl = require("./queries/dsl");
|
|
|
486
486
|
* @property {string} name - Name of the file
|
|
487
487
|
* @property {string} path - Path to the file
|
|
488
488
|
* @property {string} parentPath - Path to the folder containing the file
|
|
489
|
+
* @property {string} [restore_path] - Old path when the file is in the trash
|
|
489
490
|
* @property {'file'|'directory'} type - Type of the file
|
|
490
491
|
* @property {object} cozyMetadata - Mime of the file
|
|
491
492
|
* @property {string} cozyMetadata.sourceAccount - Id of the io.cozy.account associated to the Nextcloud
|
|
493
|
+
* @property {{self: string}} links - Links to the file into nextcloud server
|
|
492
494
|
*/
|
|
493
495
|
|
|
494
496
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-client",
|
|
3
|
-
"version": "48.
|
|
3
|
+
"version": "48.11.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.node.js",
|
|
6
6
|
"browser": "dist/index.js",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"react-native-ios11-devicecheck": "https://github.com/cozy/react-native-devicecheck#app-attest-v0.1"
|
|
76
76
|
},
|
|
77
77
|
"sideEffects": false,
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "556aef794fd9cdb577b7c22860f932187c355856"
|
|
79
79
|
}
|
package/types/types.d.ts
CHANGED
|
@@ -902,6 +902,10 @@ export type NextcloudFile = {
|
|
|
902
902
|
* - Path to the folder containing the file
|
|
903
903
|
*/
|
|
904
904
|
parentPath: string;
|
|
905
|
+
/**
|
|
906
|
+
* - Old path when the file is in the trash
|
|
907
|
+
*/
|
|
908
|
+
restore_path?: string;
|
|
905
909
|
/**
|
|
906
910
|
* - Type of the file
|
|
907
911
|
*/
|
|
@@ -912,6 +916,12 @@ export type NextcloudFile = {
|
|
|
912
916
|
cozyMetadata: {
|
|
913
917
|
sourceAccount: string;
|
|
914
918
|
};
|
|
919
|
+
/**
|
|
920
|
+
* - Links to the file into nextcloud server
|
|
921
|
+
*/
|
|
922
|
+
links: {
|
|
923
|
+
self: string;
|
|
924
|
+
};
|
|
915
925
|
};
|
|
916
926
|
/**
|
|
917
927
|
* - An io.cozy.oauth.clients document
|