monorise 1.1.0-dev.4 → 1.1.0-dev.6

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.
@@ -9547,19 +9547,47 @@ var DependencyContainer = class {
9547
9547
  }
9548
9548
  };
9549
9549
 
9550
- // ../base/transactional.ts
9550
+ // ../base/dist/index.js
9551
+ var __defProp = Object.defineProperty;
9552
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9553
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9554
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
9555
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9556
+ var __spreadValues2 = (a, b) => {
9557
+ for (var prop in b || (b = {}))
9558
+ if (__hasOwnProp.call(b, prop))
9559
+ __defNormalProp(a, prop, b[prop]);
9560
+ if (__getOwnPropSymbols)
9561
+ for (var prop of __getOwnPropSymbols(b)) {
9562
+ if (__propIsEnum.call(b, prop))
9563
+ __defNormalProp(a, prop, b[prop]);
9564
+ }
9565
+ return a;
9566
+ };
9567
+ var __objRest2 = (source, exclude) => {
9568
+ var target = {};
9569
+ for (var prop in source)
9570
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
9571
+ target[prop] = source[prop];
9572
+ if (source != null && __getOwnPropSymbols)
9573
+ for (var prop of __getOwnPropSymbols(source)) {
9574
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
9575
+ target[prop] = source[prop];
9576
+ }
9577
+ return target;
9578
+ };
9551
9579
  var transactional = {
9552
9580
  createEntity: (entityType, payload) => {
9553
- const _a = payload, { entityId } = _a, rest = __objRest(_a, ["entityId"]);
9554
- return __spreadValues({
9581
+ const _a = payload, { entityId } = _a, rest = __objRest2(_a, ["entityId"]);
9582
+ return __spreadValues2({
9555
9583
  operation: "createEntity",
9556
9584
  entityType,
9557
9585
  payload: rest
9558
9586
  }, entityId && { entityId });
9559
9587
  },
9560
9588
  updateEntity: (entityType, entityId, payload) => {
9561
- const _a = payload, { $condition } = _a, rest = __objRest(_a, ["$condition"]);
9562
- return __spreadValues({
9589
+ const _a = payload, { $condition } = _a, rest = __objRest2(_a, ["$condition"]);
9590
+ return __spreadValues2({
9563
9591
  operation: "updateEntity",
9564
9592
  entityType,
9565
9593
  entityId,
@@ -9567,8 +9595,8 @@ var transactional = {
9567
9595
  }, $condition && { condition: $condition });
9568
9596
  },
9569
9597
  adjustEntity: (entityType, entityId, adjustments) => {
9570
- const _a = adjustments, { $condition } = _a, rest = __objRest(_a, ["$condition"]);
9571
- return __spreadValues({
9598
+ const _a = adjustments, { $condition } = _a, rest = __objRest2(_a, ["$condition"]);
9599
+ return __spreadValues2({
9572
9600
  operation: "adjustEntity",
9573
9601
  entityType,
9574
9602
  entityId,