@elyx-code/project-logic-tree 0.0.7063 → 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.