@unito/integration-api 0.43.13 → 0.43.15

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.
@@ -73,6 +73,12 @@
73
73
  "nullable": {
74
74
  "type": "boolean",
75
75
  "default": true
76
+ },
77
+ "relations": {
78
+ "type": "array",
79
+ "items": {
80
+ "$ref": "https://unito.io/integration_api/relationSummary.schema.json"
81
+ }
76
82
  }
77
83
  }
78
84
  },
@@ -104,10 +104,6 @@ export interface BlobFieldSchema extends AbstractFieldSchema {
104
104
  * The type of the field.
105
105
  */
106
106
  type: FieldValueType.BLOB;
107
- /**
108
- * Cannot be an array.
109
- */
110
- isArray?: false;
111
107
  }
112
108
  export interface ReferenceFieldSchema extends AbstractFieldSchema {
113
109
  /**
@@ -126,6 +122,10 @@ export interface ReferenceFieldSchema extends AbstractFieldSchema {
126
122
  * Describe the schema of the referenced collection.
127
123
  */
128
124
  fields: FieldSchema[];
125
+ /**
126
+ * Summaries of the relations expected to be found on the referenced items.
127
+ */
128
+ relations?: RelationSummary[];
129
129
  }
130
130
  export interface DatetimeRangeFieldSchema extends AbstractFieldSchema {
131
131
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-api",
3
- "version": "0.43.13",
3
+ "version": "0.43.15",
4
4
  "description": "The Unito Integration API",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",