@unito/integration-api 1.0.1 → 1.0.3
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.
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
"minLength": 1,
|
|
17
17
|
"maxLength": 100
|
|
18
18
|
},
|
|
19
|
+
"aggregatePath": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"format": "uri-reference",
|
|
22
|
+
"pattern": "^\/.*$"
|
|
23
|
+
},
|
|
19
24
|
"semantic": {
|
|
20
25
|
"$ref": "https://unito.io/integration_api/definitions.schema.json#/$defs/relationSemantic"
|
|
21
26
|
},
|
package/dist/src/types.d.ts
CHANGED
|
@@ -75,10 +75,6 @@ interface AbstractFieldSchema {
|
|
|
75
75
|
* Description of the field. For information purposes only.
|
|
76
76
|
*/
|
|
77
77
|
info?: string;
|
|
78
|
-
/**
|
|
79
|
-
* Category of the field. Used to group fields together when displayed.
|
|
80
|
-
*/
|
|
81
|
-
category?: string;
|
|
82
78
|
/**
|
|
83
79
|
* Whether the field is read only.
|
|
84
80
|
*/
|
|
@@ -321,7 +317,7 @@ export interface Relation {
|
|
|
321
317
|
schema: RelationSchema;
|
|
322
318
|
}
|
|
323
319
|
/**
|
|
324
|
-
* A
|
|
320
|
+
* A RelationSummary describes the common properties of a relation expected to be found on each item of a relation.
|
|
325
321
|
*/
|
|
326
322
|
export type RelationSummary = {
|
|
327
323
|
/**
|
|
@@ -332,6 +328,11 @@ export type RelationSummary = {
|
|
|
332
328
|
* The publicly visible label of the relation.
|
|
333
329
|
*/
|
|
334
330
|
label: string;
|
|
331
|
+
/**
|
|
332
|
+
* When provided, provides a way to retrieve all the items described by this relation summary.
|
|
333
|
+
* This needs to be used in conjunction with a field having a PARENT semantic.
|
|
334
|
+
*/
|
|
335
|
+
aggregatePath?: string;
|
|
335
336
|
/**
|
|
336
337
|
* The semantic of the relation.
|
|
337
338
|
*/
|
package/package.json
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unito/integration-api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "The Unito Integration API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/src/index.d.ts",
|
|
7
7
|
"exports": {
|
|
8
8
|
"./package.json": "./package.json",
|
|
9
9
|
".": {
|
|
10
|
-
"import":
|
|
11
|
-
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./dist/src/index.d.ts",
|
|
12
|
+
"default": "./dist/src/index.js"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./dist/src/index.d.ts",
|
|
16
|
+
"default": "./dist/src/index.cjs"
|
|
17
|
+
}
|
|
12
18
|
}
|
|
13
19
|
},
|
|
14
20
|
"files": [
|