monorise 1.1.0-dev.6 → 1.1.0-dev.7

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,47 +9547,19 @@ var DependencyContainer = class {
9547
9547
  }
9548
9548
  };
9549
9549
 
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
- };
9550
+ // ../base/transactional.ts
9579
9551
  var transactional = {
9580
9552
  createEntity: (entityType, payload) => {
9581
- const _a = payload, { entityId } = _a, rest = __objRest2(_a, ["entityId"]);
9582
- return __spreadValues2({
9553
+ const _a = payload, { entityId } = _a, rest = __objRest(_a, ["entityId"]);
9554
+ return __spreadValues({
9583
9555
  operation: "createEntity",
9584
9556
  entityType,
9585
9557
  payload: rest
9586
9558
  }, entityId && { entityId });
9587
9559
  },
9588
9560
  updateEntity: (entityType, entityId, payload) => {
9589
- const _a = payload, { $condition } = _a, rest = __objRest2(_a, ["$condition"]);
9590
- return __spreadValues2({
9561
+ const _a = payload, { $condition } = _a, rest = __objRest(_a, ["$condition"]);
9562
+ return __spreadValues({
9591
9563
  operation: "updateEntity",
9592
9564
  entityType,
9593
9565
  entityId,
@@ -9595,8 +9567,8 @@ var transactional = {
9595
9567
  }, $condition && { condition: $condition });
9596
9568
  },
9597
9569
  adjustEntity: (entityType, entityId, adjustments) => {
9598
- const _a = adjustments, { $condition } = _a, rest = __objRest2(_a, ["$condition"]);
9599
- return __spreadValues2({
9570
+ const _a = adjustments, { $condition } = _a, rest = __objRest(_a, ["$condition"]);
9571
+ return __spreadValues({
9600
9572
  operation: "adjustEntity",
9601
9573
  entityType,
9602
9574
  entityId,