@elyx-code/project-logic-tree 0.0.7062 → 0.0.7065

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
@@ -10076,6 +10076,19 @@ export declare enum BaseValueDescriptorIds {
10076
10076
  exactDataType?: boolean;
10077
10077
  }): boolean;
10078
10078
 
10079
+ /**
10080
+ * Checks if the enum has changed between the new data type and the last published data type
10081
+ * Returns null if any of the data types are not enums, if they are enums, it returns `true` or `false` as well as the the diffs between the options
10082
+ * @param newDt New data type
10083
+ * @param lastDt Last published data type
10084
+ */
10085
+ export declare function checkEnumHasChanged(newDt: DataTypeState | null, lastDt: DataTypeState | null): {
10086
+ changed: null | boolean;
10087
+ newOptions: string[];
10088
+ removedOptions: string[];
10089
+ allFinalOptions: string[];
10090
+ };
10091
+
10079
10092
  /**
10080
10093
  * Recursively checks if all branches of a target entity come from the same caller
10081
10094
  * This is useful to determine if the caller entity can be considered a single caller ancestor of the given target entity.
@@ -14872,9 +14885,9 @@ export declare enum BaseValueDescriptorIds {
14872
14885
 
14873
14886
  export declare function findEntityTypeWithFieldName(fieldName: string): Map<EntityType, EntityFieldType>;
14874
14887
 
14875
- export declare function findNextAvailableName(baseName: string, allEntitiesOfType: EntityWithNames[]): string;
14888
+ export declare function findNextAvailableName(baseName: string, allEntitiesOfType: EntityWithNames[], spacer?: string): string;
14876
14889
 
14877
- export declare function findNextAvailableNameString(baseName: string, takenNames: string[]): string;
14890
+ export declare function findNextAvailableNameString(baseName: string, takenNames: string[], spacer?: string): string;
14878
14891
 
14879
14892
  export declare function findNextCombinedSingleCallerAncestor(targetA: CallableEntityState | CallerEntityState, targetB: CallableEntityState | CallerEntityState, from?: CallerEntityState): {
14880
14893
  ancestor: CallerEntityState | null;