@unito/integration-api 4.1.3 → 4.1.5

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.
@@ -10,6 +10,9 @@
10
10
  "minLength": 1,
11
11
  "maxLength": 100
12
12
  },
13
+ "canReadItem": {
14
+ "type": "boolean"
15
+ },
13
16
  "canCreateItem": {
14
17
  "type": "boolean"
15
18
  },
@@ -384,6 +384,11 @@ export interface RelationSchema {
384
384
  * The publicly visible label of one item in this relation.
385
385
  */
386
386
  label: string;
387
+ /**
388
+ * Can we read items?
389
+ * Defaults to true.
390
+ */
391
+ canReadItem?: boolean;
387
392
  /**
388
393
  * Can we create items?
389
394
  */
@@ -398,6 +403,7 @@ export interface RelationSchema {
398
403
  canDeleteItem?: boolean;
399
404
  /**
400
405
  * Can we add fields to the schema?
406
+ * Defaults to false.
401
407
  */
402
408
  canAddFields?: boolean;
403
409
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-api",
3
- "version": "4.1.3",
3
+ "version": "4.1.5",
4
4
  "description": "The Unito Integration API",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",