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

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)[];
@@ -14881,6 +14886,8 @@ export declare function generateNewRowMigrationDefinition(project: ProjectState,
14881
14886
  y?: number;
14882
14887
  }): DefinitionEntityState;
14883
14888
 
14889
+ export declare function generatePlaceholderValueResolutionContext(project: ProjectState): IValueResolutionContext;
14890
+
14884
14891
  export declare function generatePlaceholderValueStore(id: string, project: ProjectState): IValueStoreClient;
14885
14892
 
14886
14893
  export declare const generateRandomAlphanumericOperation: IActionDescriptorTransfer;
@@ -30250,6 +30257,14 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
30250
30257
 
30251
30258
  export declare function recursivelyMakeAllNonEditableAndNonDeletableFromGiven(entity: UserManagedEntityState, changeSet: ChangeSet | null): void;
30252
30259
 
30260
+ /**
30261
+ * Given a data-type, recursively selects an option, which isn't a group
30262
+ * And optionally that doesn't match (meaning, is incompatible with) a provided data-types to avoid
30263
+ */
30264
+ export declare function recursivelySelectDataTypeOption(selectionSource: DataTypeState, avoidDataTypes?: DataTypeState[]): {
30265
+ selectedDataType: DataTypeState | null;
30266
+ };
30267
+
30253
30268
  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
30269
 
30255
30270
  export declare const relationalDatabaseBuiltInBaseEntity: IBuiltInBaseEntityTransfer;
@@ -31109,7 +31124,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
31109
31124
 
31110
31125
  export declare const secretEncDefault: ILiteralValueTransfer;
31111
31126
 
31112
- export declare function selectFinalSingleNotNullDataTypeFromOrGroup(dataType: DataTypeState | null, errorMessage: string): DataTypeState | null;
31127
+ export declare function selectFinalSingleNotNullDataTypeFromOrGroup(dataType: DataTypeState | null, shouldThrow?: boolean, errorMessage?: string): DataTypeState | null;
31113
31128
 
31114
31129
  export declare const sendEmailActionRef: IActionDescriptorReference;
31115
31130