@elyx-code/project-logic-tree 0.0.7024 → 0.0.7025

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.d.ts CHANGED
@@ -14671,6 +14671,7 @@ export declare enum BaseValueDescriptorIds {
14671
14671
  export declare function flattenDataTypesInOrGroup(dataType: DataTypeState | null, options?: {
14672
14672
  removeDuplicates?: boolean;
14673
14673
  removeNulls?: boolean;
14674
+ excludeSelf?: boolean;
14674
14675
  }): DataTypeState[];
14675
14676
 
14676
14677
  export declare function flattenDefinitionEntity(entity: IDefinitionEntity | IDefinitionEntityTransfer | IDefinitionEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
package/dist/index.js CHANGED
@@ -79286,7 +79286,11 @@ function Ci(s, u, i) {
79286
79286
  type: "a-no-match-with-b-or-options"
79287
79287
  /* ANoMatchWithBOrOptions */
79288
79288
  };
79289
- const Qe = Ze.exact && Rui(Ge, De, f);
79289
+ const Qe = Ze.exact && Rui(
79290
+ Ge,
79291
+ De,
79292
+ f
79293
+ );
79290
79294
  return {
79291
79295
  ...Ze,
79292
79296
  exact: Qe
@@ -79566,6 +79570,7 @@ function Ds(s, u = {}) {
79566
79570
  const i = {
79567
79571
  removeDuplicates: !1,
79568
79572
  removeNulls: !1,
79573
+ excludeSelf: !1,
79569
79574
  ...u || {}
79570
79575
  };
79571
79576
  if (i.removeNulls && s != null && s.entity && [d.PrimitiveEntity, d.LiteralValue].includes(
@@ -79593,7 +79598,7 @@ function Ds(s, u = {}) {
79593
79598
  i
79594
79599
  );
79595
79600
  }
79596
- return s ? [s] : [];
79601
+ return i.excludeSelf ? [] : s ? [s] : [];
79597
79602
  }
79598
79603
  function Mui(s, u = []) {
79599
79604
  const i = Cs(s);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.7024",
3
+ "version": "0.0.7025",
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",