@budibase/server 2.7.7 → 2.7.11

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/query.js CHANGED
@@ -7067,6 +7067,9 @@ var _QueryBuilder = class {
7067
7067
  return contains(key, value, "OR");
7068
7068
  };
7069
7069
  const oneOf = (key, value) => {
7070
+ if (!value) {
7071
+ return `*:*`;
7072
+ }
7070
7073
  if (!Array.isArray(value)) {
7071
7074
  if (typeof value === "string") {
7072
7075
  value = value.split(",");
@@ -23422,7 +23425,7 @@ function mergeConfigs(update7, old) {
23422
23425
  }
23423
23426
  if (hasAuthConfigs(update7)) {
23424
23427
  const configs = update7.config.authConfigs;
23425
- const oldConfigs = (_a = old.config) == null ? void 0 : _a.authConfigs;
23428
+ const oldConfigs = ((_a = old.config) == null ? void 0 : _a.authConfigs) || [];
23426
23429
  for (let config of configs) {
23427
23430
  if (config.type !== "basic" /* BASIC */) {
23428
23431
  continue;