@elyx-code/project-logic-tree 0.0.6748 → 0.0.6749

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
@@ -14093,13 +14093,18 @@ export declare function flattenDataType(entity: IDataType | IDataTypeTransfer |
14093
14093
  ignoreBuiltInBaseEntities?: boolean;
14094
14094
  }): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
14095
14095
 
14096
- export declare function flattenDataTypeAndGroup(dataType: DataTypeState | null, errorMessage: string): DataTypeState | null;
14096
+ export declare function flattenDataTypeAndGroup(dataType: DataTypeState | null, shouldThrow?: boolean, errorMessage?: string): DataTypeState | null;
14097
14097
 
14098
14098
  export declare function flattenDataTypeAsync(entity: IDataType | IDataTypeTransfer | IDataTypeShallowTransfer, seenEntities?: Set<EntityId>, options?: {
14099
14099
  ignoreBuiltInBaseEntities?: boolean;
14100
14100
  allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
14101
14101
  } & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
14102
14102
 
14103
+ export declare function flattenDataTypesInOrGroup(dataType: DataTypeState | null, options?: {
14104
+ removeDuplicates?: boolean;
14105
+ removeNulls?: boolean;
14106
+ }): DataTypeState[];
14107
+
14103
14108
  export declare function flattenDefinitionEntity(entity: IDefinitionEntity | IDefinitionEntityTransfer | IDefinitionEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
14104
14109
  ignoreBuiltInBaseEntities?: boolean;
14105
14110
  }): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
@@ -30250,6 +30255,14 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
30250
30255
 
30251
30256
  export declare function recursivelyMakeAllNonEditableAndNonDeletableFromGiven(entity: UserManagedEntityState, changeSet: ChangeSet | null): void;
30252
30257
 
30258
+ /**
30259
+ * Given a data-type, recursively selects an option, which isn't a group
30260
+ * And optionally that doesn't match (meaning, is incompatible with) a provided data-types to avoid
30261
+ */
30262
+ export declare function recursivelySelectDataTypeOption(selectionSource: DataTypeState, avoidDataTypes?: DataTypeState[]): {
30263
+ selectedDataType: DataTypeState | null;
30264
+ };
30265
+
30253
30266
  export declare type Reference = IGenericReference | IFunctionDeclarationReference | IInstalledProjectReference | IDataTypeReference | IVariableDeclarationReference | IVariableInstanceReference | IOperationReference | IDefinitionEntityReference | IPrimitiveEntityReference | IProjectReference | IGlobalEventReference | IFunctionDeclarationReference | IFunctionDeclarationReference | IPropertyReference | IFunctionCallReference | IArgumentDeclarationReference | IInputMapReference | IOutputMapReference | IConditionReference | IReturnStatementReference | IBreakStatementReference | IContinueStatementReference | ILoopReference | IActionDescriptorReference | ISearchReference | ILiteralValueReference | IBuiltInBaseEntityReference | IValueDescriptorReference | IInternalCallReference;
30254
30267
 
30255
30268
  export declare const relationalDatabaseBuiltInBaseEntity: IBuiltInBaseEntityTransfer;
@@ -31109,7 +31122,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
31109
31122
 
31110
31123
  export declare const secretEncDefault: ILiteralValueTransfer;
31111
31124
 
31112
- export declare function selectFinalSingleNotNullDataTypeFromOrGroup(dataType: DataTypeState | null, errorMessage: string): DataTypeState | null;
31125
+ export declare function selectFinalSingleNotNullDataTypeFromOrGroup(dataType: DataTypeState | null, shouldThrow?: boolean, errorMessage?: string): DataTypeState | null;
31113
31126
 
31114
31127
  export declare const sendEmailActionRef: IActionDescriptorReference;
31115
31128