@unito/integration-api 0.43.4 → 0.43.6

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.
@@ -42,6 +42,7 @@
42
42
  "type": ["string", "null"],
43
43
  "enum": [
44
44
  "comments",
45
+ "users",
45
46
  null
46
47
  ]
47
48
  },
@@ -19,6 +19,9 @@
19
19
  "canDeleteItem": {
20
20
  "type": "boolean"
21
21
  },
22
+ "canAddFields": {
23
+ "type": "boolean"
24
+ },
22
25
  "fields": {
23
26
  "type": "array",
24
27
  "items": {
@@ -47,6 +47,7 @@ exports.Semantic = void 0;
47
47
  exports.RelationSemantic = void 0;
48
48
  (function (RelationSemantic) {
49
49
  RelationSemantic["COMMENTS"] = "comments";
50
+ RelationSemantic["USERS"] = "users";
50
51
  })(exports.RelationSemantic || (exports.RelationSemantic = {}));
51
52
  /**
52
53
  * An OperatorType represents an operator used in a filter.
@@ -202,7 +202,8 @@ export declare enum Semantic {
202
202
  * the consumers of the spec for specific usage.
203
203
  */
204
204
  export declare enum RelationSemantic {
205
- COMMENTS = "comments"
205
+ COMMENTS = "comments",
206
+ USERS = "users"
206
207
  }
207
208
  /**
208
209
  * An OperatorType represents an operator used in a filter.
@@ -313,6 +314,10 @@ export interface RelationSchema {
313
314
  * Can we delete items?
314
315
  */
315
316
  canDeleteItem?: boolean;
317
+ /**
318
+ * Can we add fields to the schema?
319
+ */
320
+ canAddFields?: boolean;
316
321
  /**
317
322
  * The shape of the fields.
318
323
  */
package/dist/src/types.js CHANGED
@@ -45,6 +45,7 @@ export var Semantic;
45
45
  export var RelationSemantic;
46
46
  (function (RelationSemantic) {
47
47
  RelationSemantic["COMMENTS"] = "comments";
48
+ RelationSemantic["USERS"] = "users";
48
49
  })(RelationSemantic || (RelationSemantic = {}));
49
50
  /**
50
51
  * An OperatorType represents an operator used in a filter.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-api",
3
- "version": "0.43.4",
3
+ "version": "0.43.6",
4
4
  "description": "The Unito Integration API",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",