@unito/integration-api 0.46.3 → 0.48.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.
@@ -14,6 +14,9 @@
14
14
  "items": {
15
15
  "$ref": "https://unito.io/integration_api/relation.schema.json"
16
16
  }
17
+ },
18
+ "canonicalPath": {
19
+ "type": "string"
17
20
  }
18
21
  }
19
22
  }
@@ -24,6 +24,9 @@
24
24
  },
25
25
  "requestSchema": {
26
26
  "$ref": "https://unito.io/integration_api/requestSchema.schema.json"
27
+ },
28
+ "canonicalPath": {
29
+ "type": "string"
27
30
  }
28
31
  }
29
32
  }
@@ -31,6 +31,9 @@ exports.FieldValueType = void 0;
31
31
  */
32
32
  exports.Semantic = void 0;
33
33
  (function (Semantic) {
34
+ /**
35
+ * @deprecated Use `canonicalPath` at item / item summary level instead.
36
+ */
34
37
  Semantic["CANONICAL_PATH"] = "canonicalPath";
35
38
  Semantic["CREATED_AT"] = "createdAt";
36
39
  Semantic["DESCRIPTION"] = "description";
@@ -191,6 +191,9 @@ export declare enum FieldValueType {
191
191
  * by the consumers of the spec to better understand what that value means.
192
192
  */
193
193
  export declare enum Semantic {
194
+ /**
195
+ * @deprecated Use `canonicalPath` at item / item summary level instead.
196
+ */
194
197
  CANONICAL_PATH = "canonicalPath",
195
198
  CREATED_AT = "createdAt",
196
199
  DESCRIPTION = "description",
@@ -242,6 +245,11 @@ export interface Item {
242
245
  * The relations of the item
243
246
  */
244
247
  relations: Relation[];
248
+ /**
249
+ * The canonical path of the item. This is the path / id that uniquely identifies the item in a provider.
250
+ * Even if the item is moved in the graph, the canonical path should remain the same.
251
+ */
252
+ canonicalPath?: string;
245
253
  }
246
254
  /**
247
255
  * An ItemSummary is a constituent of a collection.
@@ -268,6 +276,11 @@ export interface ItemSummary {
268
276
  relations?: {
269
277
  [k: string]: string;
270
278
  };
279
+ /**
280
+ * The canonical path of the item. This is the path / id that uniquely identifies the item in a provider.
281
+ * Even if the item is moved in the graph, the canonical path should remain the same.
282
+ */
283
+ canonicalPath?: string;
271
284
  }
272
285
  /**
273
286
  * A BlobSummary contains a path to download the corresponding Blob.
package/dist/src/types.js CHANGED
@@ -29,6 +29,9 @@ export var FieldValueType;
29
29
  */
30
30
  export var Semantic;
31
31
  (function (Semantic) {
32
+ /**
33
+ * @deprecated Use `canonicalPath` at item / item summary level instead.
34
+ */
32
35
  Semantic["CANONICAL_PATH"] = "canonicalPath";
33
36
  Semantic["CREATED_AT"] = "createdAt";
34
37
  Semantic["DESCRIPTION"] = "description";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-api",
3
- "version": "0.46.3",
3
+ "version": "0.48.0",
4
4
  "description": "The Unito Integration API",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",
@@ -16,7 +16,7 @@
16
16
  "dist/schemas/**/*"
17
17
  ],
18
18
  "engines": {
19
- "node": ">=18",
19
+ "node": ">=20",
20
20
  "npm": ">=10"
21
21
  },
22
22
  "scripts": {