@unito/integration-api 4.1.3 → 4.1.4
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/src/types.d.ts +6 -0
- package/package.json +1 -1
package/dist/src/types.d.ts
CHANGED
|
@@ -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
|
/**
|