@budibase/backend-core 3.2.37 → 3.2.38
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
CHANGED
|
@@ -11598,10 +11598,6 @@ var TenantResolutionStrategy = /* @__PURE__ */ ((TenantResolutionStrategy2) => {
|
|
|
11598
11598
|
|
|
11599
11599
|
// ../types/src/sdk/featureFlag.ts
|
|
11600
11600
|
var FeatureFlagDefaults = {
|
|
11601
|
-
["DEFAULT_VALUES" /* DEFAULT_VALUES */]: true,
|
|
11602
|
-
["AUTOMATION_BRANCHING" /* AUTOMATION_BRANCHING */]: true,
|
|
11603
|
-
["AI_CUSTOM_CONFIGS" /* AI_CUSTOM_CONFIGS */]: true,
|
|
11604
|
-
["BUDIBASE_AI" /* BUDIBASE_AI */]: true,
|
|
11605
11601
|
["USE_ZOD_VALIDATOR" /* USE_ZOD_VALIDATOR */]: false
|
|
11606
11602
|
};
|
|
11607
11603
|
|
|
@@ -17086,7 +17082,7 @@ function sort(docs, sort2, sortOrder, sortType = "string" /* STRING */) {
|
|
|
17086
17082
|
});
|
|
17087
17083
|
}
|
|
17088
17084
|
function limit(docs, limit2) {
|
|
17089
|
-
const numLimit = parseFloat(limit2);
|
|
17085
|
+
const numLimit = typeof limit2 === "number" ? limit2 : parseFloat(limit2);
|
|
17090
17086
|
if (isNaN(numLimit)) {
|
|
17091
17087
|
return docs;
|
|
17092
17088
|
}
|