@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.
- package/__mocks__/node-fetch.ts +6 -1
- package/builder/assets/{index.3d64bc07.js → index.8b377b88.js} +216 -216
- package/builder/index.html +1 -1
- package/dist/api/controllers/row/utils.js +4 -3
- package/dist/package.json +7 -7
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utilities/fileSystem/filesystem.js +0 -4
- package/jest.config.ts +1 -0
- package/package.json +8 -8
- package/scripts/test.sh +6 -4
- package/src/api/controllers/row/utils.ts +4 -3
- package/src/api/routes/tests/appSync.spec.ts +31 -0
- package/src/api/routes/tests/internalSearch.spec.js +2 -1
- package/src/integration-test/postgres.spec.ts +46 -52
- package/src/integrations/tests/googlesheets.spec.ts +9 -13
- package/src/tests/jestEnv.ts +1 -0
- package/src/tests/utilities/TestConfiguration.ts +11 -0
- package/src/utilities/fileSystem/filesystem.ts +0 -4
package/builder/index.html
CHANGED
|
@@ -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.
|
|
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
|
|
99
|
-
const
|
|
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.
|
|
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.
|
|
47
|
-
"@budibase/client": "^2.4.
|
|
48
|
-
"@budibase/pro": "2.4.
|
|
49
|
-
"@budibase/shared-core": "^2.4.
|
|
50
|
-
"@budibase/string-templates": "^2.4.
|
|
51
|
-
"@budibase/types": "^2.4.
|
|
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",
|