@unito/integration-api 4.7.0 → 5.0.0

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.
@@ -54,11 +54,6 @@
54
54
  "info": {
55
55
  "type": "string"
56
56
  },
57
- "readOnly": {
58
- "type": "boolean",
59
- "deprecated": true,
60
- "default": false
61
- },
62
57
  "canSetOnCreate": {
63
58
  "type": "boolean",
64
59
  "default": true
@@ -101,7 +101,7 @@ const FieldSchemaDefaultValues = {
101
101
  CAN_SET_ON_CREATE: true,
102
102
  CAN_SET_ON_UPDATE: true,
103
103
  IS_ARRAY: false,
104
- NULLABLE: false,
104
+ NULLABLE: true,
105
105
  };
106
106
 
107
107
  /**
@@ -75,11 +75,6 @@ interface AbstractFieldSchema {
75
75
  * Description of the field. For information purposes only.
76
76
  */
77
77
  info?: string;
78
- /**
79
- * Whether the field is read only.
80
- * @deprecated Use canSetOnCreate/canSetOnUpdate instead.
81
- */
82
- readOnly?: boolean;
83
78
  /**
84
79
  * Whether the field can be set during creation.
85
80
  * Defaults to true.
@@ -614,6 +609,6 @@ export declare const FieldSchemaDefaultValues: {
614
609
  readonly CAN_SET_ON_CREATE: true;
615
610
  readonly CAN_SET_ON_UPDATE: true;
616
611
  readonly IS_ARRAY: false;
617
- readonly NULLABLE: false;
612
+ readonly NULLABLE: true;
618
613
  };
619
614
  export {};
package/dist/src/types.js CHANGED
@@ -99,5 +99,5 @@ export const FieldSchemaDefaultValues = {
99
99
  CAN_SET_ON_CREATE: true,
100
100
  CAN_SET_ON_UPDATE: true,
101
101
  IS_ARRAY: false,
102
- NULLABLE: false,
102
+ NULLABLE: true,
103
103
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-api",
3
- "version": "4.7.0",
3
+ "version": "5.0.0",
4
4
  "description": "The Unito Integration API",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",