@elyx-code/project-logic-tree 0.0.6747 → 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
@@ -10370,7 +10370,10 @@ export declare function createEntityError(error: IEntityError): {
10370
10370
 
10371
10371
  export declare function createNestedDataTypeForEntity(entity: DefinitionEntityState, parentDataType: DataTypeState, changeSet: ChangeSet | null, parentRelationType?: DataTypeParentChildRelation): IChangeSet<DataTypeState>;
10372
10372
 
10373
- export declare function createOrUpdateRowTransformer(project: ProjectState, diffs: ISQLMigrationsDiffs, changeSet: ChangeSet): {
10373
+ export declare function createOrUpdateRowTransformer(project: ProjectState, diffs: ISQLMigrationsDiffs, changeSet: ChangeSet, offsets?: {
10374
+ x?: number;
10375
+ y?: number;
10376
+ }): {
10374
10377
  rowTransformer: DefinitionEntityState;
10375
10378
  };
10376
10379
 
@@ -14090,11 +14093,18 @@ export declare function flattenDataType(entity: IDataType | IDataTypeTransfer |
14090
14093
  ignoreBuiltInBaseEntities?: boolean;
14091
14094
  }): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
14092
14095
 
14096
+ export declare function flattenDataTypeAndGroup(dataType: DataTypeState | null, shouldThrow?: boolean, errorMessage?: string): DataTypeState | null;
14097
+
14093
14098
  export declare function flattenDataTypeAsync(entity: IDataType | IDataTypeTransfer | IDataTypeShallowTransfer, seenEntities?: Set<EntityId>, options?: {
14094
14099
  ignoreBuiltInBaseEntities?: boolean;
14095
14100
  allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
14096
14101
  } & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
14097
14102
 
14103
+ export declare function flattenDataTypesInOrGroup(dataType: DataTypeState | null, options?: {
14104
+ removeDuplicates?: boolean;
14105
+ removeNulls?: boolean;
14106
+ }): DataTypeState[];
14107
+
14098
14108
  export declare function flattenDefinitionEntity(entity: IDefinitionEntity | IDefinitionEntityTransfer | IDefinitionEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
14099
14109
  ignoreBuiltInBaseEntities?: boolean;
14100
14110
  }): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
@@ -14871,7 +14881,10 @@ export declare function generateIdFromStrategy(entity: EntityState, project: Pro
14871
14881
 
14872
14882
  export declare function generateMutablePropertiesExplanation(entityToUpdate: EntityState): string;
14873
14883
 
14874
- export declare function generateNewRowMigrationDefinition(project: ProjectState, updatedEntity: DefinitionEntityState, lastPublishedEntityVersion: DefinitionEntityState, changeSet: ChangeSet): DefinitionEntityState;
14884
+ export declare function generateNewRowMigrationDefinition(project: ProjectState, updatedEntity: DefinitionEntityState, lastPublishedEntityVersion: DefinitionEntityState, changeSet: ChangeSet, offsets?: {
14885
+ x?: number;
14886
+ y?: number;
14887
+ }): DefinitionEntityState;
14875
14888
 
14876
14889
  export declare function generatePlaceholderValueStore(id: string, project: ProjectState): IValueStoreClient;
14877
14890
 
@@ -30242,6 +30255,14 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
30242
30255
 
30243
30256
  export declare function recursivelyMakeAllNonEditableAndNonDeletableFromGiven(entity: UserManagedEntityState, changeSet: ChangeSet | null): void;
30244
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
+
30245
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;
30246
30267
 
30247
30268
  export declare const relationalDatabaseBuiltInBaseEntity: IBuiltInBaseEntityTransfer;
@@ -31101,6 +31122,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
31101
31122
 
31102
31123
  export declare const secretEncDefault: ILiteralValueTransfer;
31103
31124
 
31125
+ export declare function selectFinalSingleNotNullDataTypeFromOrGroup(dataType: DataTypeState | null, shouldThrow?: boolean, errorMessage?: string): DataTypeState | null;
31126
+
31104
31127
  export declare const sendEmailActionRef: IActionDescriptorReference;
31105
31128
 
31106
31129
  export declare const sendEmailBodyInput: IValueDescriptorTransfer;