@budibase/server 2.4.1 → 2.4.3
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/builder/assets/{index.94d6a32e.js → index.a1e40531.js} +223 -223
- package/builder/index.html +1 -1
- package/dist/integrations/utils.js +3 -2
- package/dist/package.json +6 -6
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utilities/global.js +1 -4
- package/package.json +7 -7
- package/src/integrations/utils.ts +3 -2
- package/src/utilities/global.ts +0 -2
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.a1e40531.js"></script>
|
|
14
14
|
<link rel="stylesheet" href="/builder/assets/index.65065f82.css">
|
|
15
15
|
</head>
|
|
16
16
|
<body id="app">
|
|
@@ -202,14 +202,15 @@ function shouldCopyRelationship(column, tableIds) {
|
|
|
202
202
|
* @param fetchedColumn The fetched column to check for the type in the external database.
|
|
203
203
|
*/
|
|
204
204
|
function shouldCopySpecialColumn(column, fetchedColumn) {
|
|
205
|
+
const isFormula = column.type === constants_1.FieldTypes.FORMULA;
|
|
205
206
|
const specialTypes = [
|
|
206
207
|
constants_1.FieldTypes.OPTIONS,
|
|
207
208
|
constants_1.FieldTypes.LONGFORM,
|
|
208
209
|
constants_1.FieldTypes.ARRAY,
|
|
209
210
|
constants_1.FieldTypes.FORMULA,
|
|
210
211
|
];
|
|
211
|
-
// column has been deleted, remove
|
|
212
|
-
if (column && !fetchedColumn) {
|
|
212
|
+
// column has been deleted, remove - formulas will never exist, always copy
|
|
213
|
+
if (!isFormula && column && !fetchedColumn) {
|
|
213
214
|
return false;
|
|
214
215
|
}
|
|
215
216
|
const fetchedIsNumber = !fetchedColumn || fetchedColumn.type === constants_1.FieldTypes.NUMBER;
|
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.2",
|
|
5
5
|
"description": "Budibase Web Server",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -43,11 +43,11 @@
|
|
|
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/string-templates": "^2.4.
|
|
50
|
-
"@budibase/types": "^2.4.
|
|
46
|
+
"@budibase/backend-core": "^2.4.2",
|
|
47
|
+
"@budibase/client": "^2.4.2",
|
|
48
|
+
"@budibase/pro": "2.4.2",
|
|
49
|
+
"@budibase/string-templates": "^2.4.2",
|
|
50
|
+
"@budibase/types": "^2.4.2",
|
|
51
51
|
"@bull-board/api": "3.7.0",
|
|
52
52
|
"@bull-board/koa": "3.9.4",
|
|
53
53
|
"@elastic/elasticsearch": "7.10.0",
|