@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.
- package/dist/schemas/item.json +3 -0
- package/dist/schemas/itemSummary.json +3 -0
- package/dist/src/index.cjs +3 -0
- package/dist/src/types.d.ts +13 -0
- package/dist/src/types.js +3 -0
- package/package.json +2 -2
package/dist/schemas/item.json
CHANGED
package/dist/src/index.cjs
CHANGED
|
@@ -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";
|
package/dist/src/types.d.ts
CHANGED
|
@@ -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.
|
|
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": ">=
|
|
19
|
+
"node": ">=20",
|
|
20
20
|
"npm": ">=10"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|