@elyx-code/project-logic-tree 0.0.6607 → 0.0.6609

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
@@ -208,6 +208,19 @@ export declare class ActionOutputMapState extends OutputMapState implements IAct
208
208
  toJSON(seenEntities?: Set<EntityId>): IActionOutputMap | IOutputMapReference;
209
209
  }
210
210
 
211
+ /**
212
+ * Modifies the given transformer so the arguments of the 'up' method's body match the properties of the old entity state
213
+ * The returned structure matches that of the new entity state
214
+ *
215
+ * And does the oposite to the 'down' method's body so the return is the old entity and the input args are the new entity
216
+ *
217
+ * @param {EditorService} editor
218
+ * @param {DefinitionEntityState} transformer
219
+ * @param {DefinitionEntityState} newEntityState
220
+ * @param {DefinitionEntityState} oldEntityState
221
+ */
222
+ export declare function addDifferencesToRowTransformer(project: ProjectState, transformer: DefinitionEntityState, newEntityState: DefinitionEntityState, oldEntityState: DefinitionEntityState, changeSet: ChangeSet): void;
223
+
211
224
  export declare function addDisabledReasons(existingDisbledResons: CanvasEntityDisabledReason[], newReasons: CanvasEntityDisabledReason[]): {
212
225
  hasChanged: boolean;
213
226
  reasons: CanvasEntityDisabledReason[];
@@ -7720,6 +7733,8 @@ export declare function generateIdFromStrategy(entity: EntityState, project: Pro
7720
7733
 
7721
7734
  export declare function generateMutablePropertiesExplanation(entityToUpdate: EntityState): string;
7722
7735
 
7736
+ export declare function generateNewRowMigrationDefinition(project: ProjectState, updatedEntity: DefinitionEntityState, lastPublishedEntityVersion: DefinitionEntityState, changeSet: ChangeSet): DefinitionEntityState;
7737
+
7723
7738
  export declare function generatePlaceholderValueStore(id: string, project: ProjectState): IValueStoreClient;
7724
7739
 
7725
7740
  export declare const generateRandomAlphanumericOperation: IActionDescriptorTransfer;
@@ -18559,6 +18574,34 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
18559
18574
 
18560
18575
  export declare function resolveSearchName(search: SearchState): string;
18561
18576
 
18577
+ export declare function resolveSQLMigrationsDiffs(project: ProjectState, lastPublishedProjectState: ProjectState | null, entity: DefinitionEntityState): {
18578
+ changesSinceLastPublication: boolean;
18579
+ rowTransformerNeeded: boolean;
18580
+ newestOpenRowTransformer: DefinitionEntityState | null;
18581
+ newRequiredProperties: PropertyState[];
18582
+ newNonRequiredProperties: PropertyState[];
18583
+ deletedProperties: PropertyState[];
18584
+ lastPublishedEntityVersion: DefinitionEntityState | null;
18585
+ propChanges: Map<EntityId, {
18586
+ castableDataTypeEntity?: {
18587
+ fromId: EntityId;
18588
+ toId: EntityId;
18589
+ };
18590
+ nonCastableDataTypeEntity?: {
18591
+ fromId: EntityId;
18592
+ toId: EntityId;
18593
+ };
18594
+ nameChange?: {
18595
+ from: string;
18596
+ to: string;
18597
+ };
18598
+ requiredChange?: {
18599
+ from: boolean;
18600
+ to: boolean;
18601
+ };
18602
+ }>;
18603
+ };
18604
+
18562
18605
  export declare function resolveTerminationEntityValue(entity: TerminationEntityState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
18563
18606
 
18564
18607
  export declare function resolveValue(entity: EntityWithValueState | PropertyState | ValueDescriptorState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;