@budibase/backend-core 2.20.7 → 2.20.12

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
@@ -2881,7 +2881,7 @@ var require_object = __commonJS({
2881
2881
  return Object.keys(value).filter((key) => known.indexOf(key) === -1);
2882
2882
  }
2883
2883
  var defaultSort = (0, _sortByKeyOrder.default)([]);
2884
- var ObjectSchema2 = class extends _schema.default {
2884
+ var ObjectSchema = class extends _schema.default {
2885
2885
  constructor(spec) {
2886
2886
  super({
2887
2887
  type: "object"
@@ -3150,11 +3150,11 @@ var require_object = __commonJS({
3150
3150
  return base;
3151
3151
  }
3152
3152
  };
3153
- exports.default = ObjectSchema2;
3153
+ exports.default = ObjectSchema;
3154
3154
  function create(spec) {
3155
- return new ObjectSchema2(spec);
3155
+ return new ObjectSchema(spec);
3156
3156
  }
3157
- create.prototype = ObjectSchema2.prototype;
3157
+ create.prototype = ObjectSchema.prototype;
3158
3158
  }
3159
3159
  });
3160
3160
 
@@ -56225,6 +56225,7 @@ var Databases = /* @__PURE__ */ ((Databases2) => {
56225
56225
  Databases2["WRITE_THROUGH"] = "writeThrough";
56226
56226
  Databases2["LOCKS"] = "locks";
56227
56227
  Databases2["SOCKET_IO"] = "socket_io";
56228
+ Databases2["BPM_EVENTS"] = "bpmEvents";
56228
56229
  return Databases2;
56229
56230
  })(Databases || {});
56230
56231
  var SelectableDatabase = /* @__PURE__ */ ((SelectableDatabase2) => {
@@ -65403,7 +65404,6 @@ function validate(schema, property) {
65403
65404
  const { error } = schema.validate(params2);
65404
65405
  if (error) {
65405
65406
  ctx.throw(400, `Invalid ${property} - ${error.message}`);
65406
- return;
65407
65407
  }
65408
65408
  return next();
65409
65409
  };