@elyx-code/project-logic-tree 0.0.6645 → 0.0.6647
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 +44 -27
- package/dist/index.js +30688 -30617
- package/dist/index.umd.cjs +204 -204
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9617,6 +9617,10 @@ export declare function checkIsNestedScope(parent: EntityWithLogicScopeState | P
|
|
|
9617
9617
|
|
|
9618
9618
|
export declare function checkIsRequiredValue(entity: EntityWithValueState | PropertyState | ValueDescriptorState): boolean;
|
|
9619
9619
|
|
|
9620
|
+
export declare function checkIsRowTransformerUpToDate(newestOpenRowTransformer: DefinitionEntityState, entity: DefinitionEntityState, lastPublishedEntityVersion: DefinitionEntityState): {
|
|
9621
|
+
isPreexistingRowTransformerUpToDate: boolean;
|
|
9622
|
+
};
|
|
9623
|
+
|
|
9620
9624
|
export declare function checkParentEntryPointRequiresTermination(self: PassThroughCallableEntityState): boolean;
|
|
9621
9625
|
|
|
9622
9626
|
export declare function checkReachesOrIsTarget(entity: ExecutableEntityState, target: CallableEntityState): 'success' | 'error' | 'entry' | 'loop-body' | 'same-entity' | null;
|
|
@@ -10224,6 +10228,10 @@ export declare function createEntityError(error: IEntityError): {
|
|
|
10224
10228
|
|
|
10225
10229
|
export declare function createNestedDataTypeForEntity(entity: DefinitionEntityState, parentDataType: DataTypeState, changeSet: ChangeSet | null, parentRelationType?: DataTypeParentChildRelation): IChangeSet<DataTypeState>;
|
|
10226
10230
|
|
|
10231
|
+
export declare function createOrUpdateRowTransformer(project: ProjectState, diffs: ISQLMigrationsDiffs, changeSet: ChangeSet): {
|
|
10232
|
+
rowTransformer: DefinitionEntityState;
|
|
10233
|
+
};
|
|
10234
|
+
|
|
10227
10235
|
export declare const createPersistedEntityMethod: IActionDescriptorTransfer;
|
|
10228
10236
|
|
|
10229
10237
|
export declare const createPersistedEntityMethodParentRef: IBuiltInBaseEntityReference;
|
|
@@ -22269,6 +22277,41 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
22269
22277
|
|
|
22270
22278
|
export declare function isPromise(obj: any): obj is Promise<any>;
|
|
22271
22279
|
|
|
22280
|
+
export declare interface ISQLMigrationsDiffs {
|
|
22281
|
+
changesSinceLastPublication: boolean;
|
|
22282
|
+
rowTransformerNeeded: boolean;
|
|
22283
|
+
newestOpenRowTransformer: DefinitionEntityState | null;
|
|
22284
|
+
newRowTransformerNeeded: boolean;
|
|
22285
|
+
newRequiredProperties: PropertyState[];
|
|
22286
|
+
newNonRequiredProperties: PropertyState[];
|
|
22287
|
+
deletedProperties: PropertyState[];
|
|
22288
|
+
lastPublishedEntityVersion: DefinitionEntityState | null;
|
|
22289
|
+
updatedEntityVersion: DefinitionEntityState;
|
|
22290
|
+
propChanges: Map<EntityId, {
|
|
22291
|
+
castableDataTypeEntity?: {
|
|
22292
|
+
fromId: EntityId;
|
|
22293
|
+
toId: EntityId;
|
|
22294
|
+
};
|
|
22295
|
+
nonCastableDataTypeEntity?: {
|
|
22296
|
+
fromId: EntityId;
|
|
22297
|
+
toId: EntityId;
|
|
22298
|
+
};
|
|
22299
|
+
newForeignKeyRef?: PropertyState;
|
|
22300
|
+
oldForeignKeyRef?: PropertyState;
|
|
22301
|
+
nameChange?: {
|
|
22302
|
+
from: string;
|
|
22303
|
+
to: string;
|
|
22304
|
+
};
|
|
22305
|
+
requiredChange?: {
|
|
22306
|
+
from: boolean;
|
|
22307
|
+
to: boolean;
|
|
22308
|
+
};
|
|
22309
|
+
property: PropertyState;
|
|
22310
|
+
oldProperty: PropertyState;
|
|
22311
|
+
}>;
|
|
22312
|
+
isPreexistingRowTransformerUpToDate: boolean | null;
|
|
22313
|
+
}
|
|
22314
|
+
|
|
22272
22315
|
export declare function isSame(a: ISODateString, b: ISODateString, unit?: default_3.OpUnitType): boolean;
|
|
22273
22316
|
|
|
22274
22317
|
export declare function isSameOrAfter(a: ISODateString, b: ISODateString, unit?: default_3.OpUnitType): boolean;
|
|
@@ -29918,33 +29961,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
29918
29961
|
|
|
29919
29962
|
export declare function resolveSearchName(search: SearchState): string;
|
|
29920
29963
|
|
|
29921
|
-
export declare function resolveSQLMigrationsDiffs(project: ProjectState, lastPublishedProjectState: ProjectState | null, entity: DefinitionEntityState):
|
|
29922
|
-
changesSinceLastPublication: boolean;
|
|
29923
|
-
rowTransformerNeeded: boolean;
|
|
29924
|
-
newestOpenRowTransformer: DefinitionEntityState | null;
|
|
29925
|
-
newRequiredProperties: PropertyState[];
|
|
29926
|
-
newNonRequiredProperties: PropertyState[];
|
|
29927
|
-
deletedProperties: PropertyState[];
|
|
29928
|
-
lastPublishedEntityVersion: DefinitionEntityState | null;
|
|
29929
|
-
propChanges: Map<EntityId, {
|
|
29930
|
-
castableDataTypeEntity?: {
|
|
29931
|
-
fromId: EntityId;
|
|
29932
|
-
toId: EntityId;
|
|
29933
|
-
};
|
|
29934
|
-
nonCastableDataTypeEntity?: {
|
|
29935
|
-
fromId: EntityId;
|
|
29936
|
-
toId: EntityId;
|
|
29937
|
-
};
|
|
29938
|
-
nameChange?: {
|
|
29939
|
-
from: string;
|
|
29940
|
-
to: string;
|
|
29941
|
-
};
|
|
29942
|
-
requiredChange?: {
|
|
29943
|
-
from: boolean;
|
|
29944
|
-
to: boolean;
|
|
29945
|
-
};
|
|
29946
|
-
}>;
|
|
29947
|
-
};
|
|
29964
|
+
export declare function resolveSQLMigrationsDiffs(project: ProjectState, lastPublishedProjectState: ProjectState | null, entity: DefinitionEntityState): ISQLMigrationsDiffs;
|
|
29948
29965
|
|
|
29949
29966
|
export declare function resolveTerminationEntityValue(entity: TerminationEntityState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
|
|
29950
29967
|
|