@elyx-code/project-logic-tree 0.0.6753 → 0.0.6754

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
@@ -78369,9 +78369,9 @@ function I2(o, p = {}) {
78369
78369
  removeNulls: !1,
78370
78370
  ...p
78371
78371
  };
78372
- if (i.removeNulls && o != null && o.entity && [
78373
- (d.PrimitiveEntity, d.LiteralValue)
78374
- ].includes((n = o == null ? void 0 : o.entity) == null ? void 0 : n.type) && ((s = o == null ? void 0 : o.entity) == null ? void 0 : s.name) === oe.Null)
78372
+ if (i.removeNulls && o != null && o.entity && [d.PrimitiveEntity, d.LiteralValue].includes(
78373
+ (n = o == null ? void 0 : o.entity) == null ? void 0 : n.type
78374
+ ) && ((s = o == null ? void 0 : o.entity) == null ? void 0 : s.name) === oe.Null)
78375
78375
  return [];
78376
78376
  if (!(o != null && o.entity) && !(o != null && o.foreignKeyRef) && !(o != null && o.andChildrenGroup) && (o != null && o.orChildrenGroup)) {
78377
78377
  if ((o == null ? void 0 : o.orChildrenGroup.length) > 1) {
@@ -78435,21 +78435,21 @@ function gD(o, p = !1, i) {
78435
78435
  return n;
78436
78436
  if (n.orChildrenGroup) {
78437
78437
  const s = n.orChildrenGroup.filter(
78438
- (c) => {
78439
- var e, y;
78440
- return !(c.entity && [
78441
- (d.PrimitiveEntity, d.LiteralValue)
78442
- ].includes((e = c.entity) == null ? void 0 : e.type) && ((y = c.entity) == null ? void 0 : y.name) === oe.Null);
78438
+ (e) => {
78439
+ var y, m;
78440
+ return !(e != null && e.entity && [d.PrimitiveEntity, d.LiteralValue].includes(
78441
+ (y = e.entity) == null ? void 0 : y.type
78442
+ ) && ((m = e.entity) == null ? void 0 : m.name) === oe.Null);
78443
78443
  }
78444
78444
  );
78445
78445
  if (s.length > 1) {
78446
- const [c, ...e] = s;
78447
- if (e.filter((m) => {
78448
- const v = Ii(
78449
- c,
78450
- m
78446
+ const [e, ...y] = s;
78447
+ if (y.filter((v) => {
78448
+ const b = Ii(
78449
+ e,
78450
+ v
78451
78451
  );
78452
- return !v.compatible || !v.exact;
78452
+ return !b.compatible || !b.exact;
78453
78453
  }).length > 0) {
78454
78454
  if (p)
78455
78455
  throw new Error(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6753",
3
+ "version": "0.0.6754",
4
4
  "author": "Sergio Herrero",
5
5
  "license": "UNLICENSED",
6
6
  "description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",