@budibase/backend-core 3.2.29 → 3.2.30
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 +15 -5
- package/dist/index.js.map +2 -2
- package/dist/index.js.meta.json +1 -1
- package/dist/package.json +2 -2
- package/dist/plugins.js.map +1 -1
- package/dist/plugins.js.meta.json +1 -1
- package/dist/src/sql/utils.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -16383,6 +16383,7 @@ __export(views_exports, {
|
|
|
16383
16383
|
isBasicViewField: () => isBasicViewField,
|
|
16384
16384
|
isCalculationField: () => isCalculationField,
|
|
16385
16385
|
isCalculationView: () => isCalculationView,
|
|
16386
|
+
isV2: () => isV2,
|
|
16386
16387
|
isVisible: () => isVisible
|
|
16387
16388
|
});
|
|
16388
16389
|
var import_lodash2 = require("lodash");
|
|
@@ -16410,6 +16411,9 @@ function basicFields(view, opts) {
|
|
|
16410
16411
|
return !isCalculationField(field) && (!visible || isVisible(field));
|
|
16411
16412
|
});
|
|
16412
16413
|
}
|
|
16414
|
+
function isV2(view) {
|
|
16415
|
+
return view.version === 2;
|
|
16416
|
+
}
|
|
16413
16417
|
|
|
16414
16418
|
// ../shared-core/src/helpers/roles.ts
|
|
16415
16419
|
var roles_exports = {};
|
|
@@ -17157,15 +17161,17 @@ function getProdAppID(appId) {
|
|
|
17157
17161
|
var automations_exports = {};
|
|
17158
17162
|
__export(automations_exports, {
|
|
17159
17163
|
isAppAction: () => isAppAction,
|
|
17160
|
-
isRowAction: () => isRowAction
|
|
17164
|
+
isRowAction: () => isRowAction,
|
|
17165
|
+
isWebhookAction: () => isWebhookAction
|
|
17161
17166
|
});
|
|
17162
17167
|
function isRowAction(automation) {
|
|
17163
|
-
|
|
17164
|
-
|
|
17168
|
+
return automation.definition.trigger?.stepId === "ROW_ACTION" /* ROW_ACTION */;
|
|
17169
|
+
}
|
|
17170
|
+
function isWebhookAction(automation) {
|
|
17171
|
+
return automation.definition.trigger?.stepId === "WEBHOOK" /* WEBHOOK */;
|
|
17165
17172
|
}
|
|
17166
17173
|
function isAppAction(automation) {
|
|
17167
|
-
|
|
17168
|
-
return result;
|
|
17174
|
+
return automation.definition.trigger?.stepId === "APP" /* APP */;
|
|
17169
17175
|
}
|
|
17170
17176
|
|
|
17171
17177
|
// ../shared-core/src/sdk/documents/users.ts
|
|
@@ -18259,6 +18265,7 @@ __export(utils_exports3, {
|
|
|
18259
18265
|
buildExternalTableId: () => buildExternalTableId,
|
|
18260
18266
|
convertRowId: () => convertRowId,
|
|
18261
18267
|
encodeTableId: () => encodeTableId,
|
|
18268
|
+
encodeViewId: () => encodeViewId,
|
|
18262
18269
|
generateRowIdField: () => generateRowIdField,
|
|
18263
18270
|
getNativeSql: () => getNativeSql,
|
|
18264
18271
|
isExternalTable: () => isExternalTable,
|
|
@@ -21171,6 +21178,9 @@ function encodeTableId(tableId) {
|
|
|
21171
21178
|
return tableId;
|
|
21172
21179
|
}
|
|
21173
21180
|
}
|
|
21181
|
+
function encodeViewId(viewId) {
|
|
21182
|
+
return encodeURIComponent(viewId);
|
|
21183
|
+
}
|
|
21174
21184
|
function breakExternalTableId(tableId) {
|
|
21175
21185
|
const parts = tableId.split(DOUBLE_SEPARATOR);
|
|
21176
21186
|
let datasourceId = parts.shift();
|