cozy-client 48.24.0 → 48.25.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.
@@ -2844,7 +2844,7 @@ var CozyClient = /*#__PURE__*/function () {
2844
2844
  CozyClient.hooks = CozyClient.hooks || {};
2845
2845
  CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
2846
2846
 
2847
- CozyClient.version = "48.24.0";
2847
+ CozyClient.version = "48.25.0";
2848
2848
 
2849
2849
  _microee.default.mixin(CozyClient);
2850
2850
 
package/dist/types.js CHANGED
@@ -459,6 +459,12 @@ var _dsl = require("./queries/dsl");
459
459
  * @property {string} [noticePeriod] - Notice period of the paper, in days
460
460
  * @property {string} [datetime] - Image EXIF date, if relevant
461
461
  * @property {string} [instanceName] - Name of the instance
462
+ * @property {object} [target] - Information of the target of the shortcut
463
+ * @property {string} [target.title] - The title of the application to which the shortcut redirects
464
+ * @property {string} [target.description] - A brief description of the application
465
+ * @property {string} [target.category] - The category of the application
466
+ * @property {object} [externalDataSource] - Additional information to maintain link with external data source
467
+ * @property {string} [externalDataSource.source] - The space to which the application belongs
462
468
  */
463
469
 
464
470
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-client",
3
- "version": "48.24.0",
3
+ "version": "48.25.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": "9f11577252862bcd7553b5bb20b6fafea38ee5e7"
78
+ "gitHead": "2335cc461075ca1fc55519bcfce80d5a9dc74c0d"
79
79
  }
package/types/types.d.ts CHANGED
@@ -790,6 +790,20 @@ export type FileMetadata = {
790
790
  * - Name of the instance
791
791
  */
792
792
  instanceName?: string;
793
+ /**
794
+ * - Information of the target of the shortcut
795
+ */
796
+ target?: {
797
+ title: string;
798
+ description: string;
799
+ category: string;
800
+ };
801
+ /**
802
+ * - Additional information to maintain link with external data source
803
+ */
804
+ externalDataSource?: {
805
+ source: string;
806
+ };
793
807
  };
794
808
  /**
795
809
  * - An io.cozy.files document
@@ -1,3 +0,0 @@
1
- export function dispatchCreate(client: object, doctype: import("../types").Doctype, couchDBDoc: import("../types").CouchDBDocument): void;
2
- export function dispatchUpdate(client: object, doctype: import("../types").Doctype, couchDBDoc: import("../types").CouchDBDocument): void;
3
- export function dispatchDelete(client: object, doctype: import("../types").Doctype, couchDBDoc: import("../types").CouchDBDocument): void;