@budibase/backend-core 2.29.2 → 2.29.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/dist/index.js +14 -14
- package/dist/index.js.map +3 -3
- package/dist/index.js.meta.json +1 -1
- package/dist/package.json +4 -4
- package/dist/plugins.js.map +1 -1
- package/dist/plugins.js.meta.json +1 -1
- package/dist/src/db/constants.d.ts +3 -1
- package/dist/src/db/constants.js +13 -4
- package/dist/src/db/constants.js.map +1 -1
- package/package.json +4 -4
- package/src/db/constants.ts +14 -5
package/dist/src/db/constants.js
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isInternalColumnName = exports.CONSTANT_EXTERNAL_ROW_COLS = exports.CONSTANT_INTERNAL_ROW_COLS = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
exports.CONSTANT_INTERNAL_ROW_COLS = [
|
|
5
|
+
"_id",
|
|
6
|
+
"_rev",
|
|
7
|
+
"type",
|
|
8
|
+
"createdAt",
|
|
9
|
+
"updatedAt",
|
|
10
|
+
"tableId",
|
|
11
|
+
];
|
|
12
|
+
exports.CONSTANT_EXTERNAL_ROW_COLS = ["_id", "_rev", "tableId"];
|
|
13
|
+
function isInternalColumnName(name) {
|
|
14
|
+
return exports.CONSTANT_INTERNAL_ROW_COLS.includes(name);
|
|
15
|
+
}
|
|
16
|
+
exports.isInternalColumnName = isInternalColumnName;
|
|
8
17
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/db/constants.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/db/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG;IACxC,KAAK;IACL,MAAM;IACN,MAAM;IACN,WAAW;IACX,WAAW;IACX,SAAS;CACD,CAAA;AAEG,QAAA,0BAA0B,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,CAAU,CAAA;AAE7E,SAAgB,oBAAoB,CAAC,IAAY;IAC/C,OAAQ,kCAAgD,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/backend-core",
|
|
3
|
-
"version": "2.29.
|
|
3
|
+
"version": "2.29.3",
|
|
4
4
|
"description": "Budibase backend core libraries used in server and worker",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@budibase/nano": "10.1.5",
|
|
25
25
|
"@budibase/pouchdb-replication-stream": "1.2.10",
|
|
26
|
-
"@budibase/shared-core": "2.29.
|
|
27
|
-
"@budibase/types": "2.29.
|
|
26
|
+
"@budibase/shared-core": "2.29.3",
|
|
27
|
+
"@budibase/types": "2.29.3",
|
|
28
28
|
"@govtechsg/passport-openidconnect": "^1.0.2",
|
|
29
29
|
"aws-cloudfront-sign": "3.0.2",
|
|
30
30
|
"aws-sdk": "2.1030.0",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "c2cc9ed214200effd8e97b69a01a3ab0fe811cc3"
|
|
100
100
|
}
|
package/src/db/constants.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export const CONSTANT_INTERNAL_ROW_COLS = [
|
|
2
|
+
"_id",
|
|
3
|
+
"_rev",
|
|
4
|
+
"type",
|
|
5
|
+
"createdAt",
|
|
6
|
+
"updatedAt",
|
|
7
|
+
"tableId",
|
|
8
|
+
] as const
|
|
9
|
+
|
|
10
|
+
export const CONSTANT_EXTERNAL_ROW_COLS = ["_id", "_rev", "tableId"] as const
|
|
11
|
+
|
|
12
|
+
export function isInternalColumnName(name: string): boolean {
|
|
13
|
+
return (CONSTANT_INTERNAL_ROW_COLS as readonly string[]).includes(name)
|
|
14
|
+
}
|