@budibase/server 2.4.42 → 2.4.43

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,7 +10,7 @@
10
10
  href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
11
11
  rel="stylesheet"
12
12
  />
13
- <script type="module" crossorigin src="/builder/assets/index.3d64bc07.js"></script>
13
+ <script type="module" crossorigin src="/builder/assets/index.8b377b88.js"></script>
14
14
  <link rel="stylesheet" href="/builder/assets/index.b0e3aca6.css">
15
15
  </head>
16
16
  <body id="app">
@@ -95,10 +95,11 @@ function validate({ tableId, row, table, }) {
95
95
  }
96
96
  const errors = {};
97
97
  for (let fieldName of Object.keys(fetchedTable.schema)) {
98
- const constraints = cloneDeep(fetchedTable.schema[fieldName].constraints);
99
- const type = fetchedTable.schema[fieldName].type;
98
+ const column = fetchedTable.schema[fieldName];
99
+ const constraints = cloneDeep(column.constraints);
100
+ const type = column.type;
100
101
  // formulas shouldn't validated, data will be deleted anyway
101
- if (type === constants_1.FieldTypes.FORMULA) {
102
+ if (type === constants_1.FieldTypes.FORMULA || column.autocolumn) {
102
103
  continue;
103
104
  }
104
105
  // special case for options, need to always allow unselected (null)
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.4.41",
4
+ "version": "2.4.42",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -43,12 +43,12 @@
43
43
  "license": "GPL-3.0",
44
44
  "dependencies": {
45
45
  "@apidevtools/swagger-parser": "10.0.3",
46
- "@budibase/backend-core": "^2.4.41",
47
- "@budibase/client": "^2.4.41",
48
- "@budibase/pro": "2.4.41",
49
- "@budibase/shared-core": "^2.4.41",
50
- "@budibase/string-templates": "^2.4.41",
51
- "@budibase/types": "^2.4.41",
46
+ "@budibase/backend-core": "^2.4.42",
47
+ "@budibase/client": "^2.4.42",
48
+ "@budibase/pro": "2.4.42",
49
+ "@budibase/shared-core": "^2.4.42",
50
+ "@budibase/string-templates": "^2.4.42",
51
+ "@budibase/types": "^2.4.42",
52
52
  "@bull-board/api": "3.7.0",
53
53
  "@bull-board/koa": "3.9.4",
54
54
  "@elastic/elasticsearch": "7.10.0",