@elyx-code/project-logic-tree 0.0.6646 → 0.0.6648
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 +53 -32
- package/dist/index.js +30729 -30652
- package/dist/index.umd.cjs +204 -204
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -668,6 +668,14 @@ export declare enum BaseEntityNames {
|
|
|
668
668
|
JIRA_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_JIRA_AUTH"
|
|
669
669
|
}
|
|
670
670
|
|
|
671
|
+
export declare class BaseExtensionState implements IExtensionState {
|
|
672
|
+
private state;
|
|
673
|
+
constructor(initialState?: Record<string, any>);
|
|
674
|
+
get(key: string): any | undefined;
|
|
675
|
+
set(key: string, value: any): void;
|
|
676
|
+
delete(key: string): void;
|
|
677
|
+
}
|
|
678
|
+
|
|
671
679
|
export declare class BaseRegisteredExtension<T = any> implements IRegisteredExtension<T> {
|
|
672
680
|
readonly extensionsRegistry: ExtensionsRegistry;
|
|
673
681
|
manifest: ExtensionManifest;
|
|
@@ -9617,6 +9625,10 @@ export declare function checkIsNestedScope(parent: EntityWithLogicScopeState | P
|
|
|
9617
9625
|
|
|
9618
9626
|
export declare function checkIsRequiredValue(entity: EntityWithValueState | PropertyState | ValueDescriptorState): boolean;
|
|
9619
9627
|
|
|
9628
|
+
export declare function checkIsRowTransformerUpToDate(newestOpenRowTransformer: DefinitionEntityState, entity: DefinitionEntityState, lastPublishedEntityVersion: DefinitionEntityState): {
|
|
9629
|
+
isPreexistingRowTransformerUpToDate: boolean;
|
|
9630
|
+
};
|
|
9631
|
+
|
|
9620
9632
|
export declare function checkParentEntryPointRequiresTermination(self: PassThroughCallableEntityState): boolean;
|
|
9621
9633
|
|
|
9622
9634
|
export declare function checkReachesOrIsTarget(entity: ExecutableEntityState, target: CallableEntityState): 'success' | 'error' | 'entry' | 'loop-body' | 'same-entity' | null;
|
|
@@ -10224,6 +10236,10 @@ export declare function createEntityError(error: IEntityError): {
|
|
|
10224
10236
|
|
|
10225
10237
|
export declare function createNestedDataTypeForEntity(entity: DefinitionEntityState, parentDataType: DataTypeState, changeSet: ChangeSet | null, parentRelationType?: DataTypeParentChildRelation): IChangeSet<DataTypeState>;
|
|
10226
10238
|
|
|
10239
|
+
export declare function createOrUpdateRowTransformer(project: ProjectState, diffs: ISQLMigrationsDiffs, changeSet: ChangeSet): {
|
|
10240
|
+
rowTransformer: DefinitionEntityState;
|
|
10241
|
+
};
|
|
10242
|
+
|
|
10227
10243
|
export declare const createPersistedEntityMethod: IActionDescriptorTransfer;
|
|
10228
10244
|
|
|
10229
10245
|
export declare const createPersistedEntityMethodParentRef: IBuiltInBaseEntityReference;
|
|
@@ -12666,13 +12682,9 @@ export declare class ExtensionsRegistry<TEditorContext extends Omit<IEditorConte
|
|
|
12666
12682
|
setValueTypePreference(valueOwnerId: EntityId, valueTypePreference: DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null): void;
|
|
12667
12683
|
}
|
|
12668
12684
|
|
|
12669
|
-
export declare class ExtensionState implements IExtensionState {
|
|
12685
|
+
export declare class ExtensionState extends BaseExtensionState implements IExtensionState {
|
|
12670
12686
|
parentExtension: IRegisteredExtension;
|
|
12671
|
-
private state;
|
|
12672
12687
|
constructor(parentExtension: IRegisteredExtension, initialState?: Record<string, any>);
|
|
12673
|
-
get(key: string): any | undefined;
|
|
12674
|
-
set(key: string, value: any): void;
|
|
12675
|
-
delete(key: string): void;
|
|
12676
12688
|
}
|
|
12677
12689
|
|
|
12678
12690
|
export declare enum ExtentionPriority {
|
|
@@ -22269,6 +22281,41 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
22269
22281
|
|
|
22270
22282
|
export declare function isPromise(obj: any): obj is Promise<any>;
|
|
22271
22283
|
|
|
22284
|
+
export declare interface ISQLMigrationsDiffs {
|
|
22285
|
+
changesSinceLastPublication: boolean;
|
|
22286
|
+
rowTransformerNeeded: boolean;
|
|
22287
|
+
newestOpenRowTransformer: DefinitionEntityState | null;
|
|
22288
|
+
newRowTransformerNeeded: boolean;
|
|
22289
|
+
newRequiredProperties: PropertyState[];
|
|
22290
|
+
newNonRequiredProperties: PropertyState[];
|
|
22291
|
+
deletedProperties: PropertyState[];
|
|
22292
|
+
lastPublishedEntityVersion: DefinitionEntityState | null;
|
|
22293
|
+
updatedEntityVersion: DefinitionEntityState;
|
|
22294
|
+
propChanges: Map<EntityId, {
|
|
22295
|
+
castableDataTypeEntity?: {
|
|
22296
|
+
fromId: EntityId;
|
|
22297
|
+
toId: EntityId;
|
|
22298
|
+
};
|
|
22299
|
+
nonCastableDataTypeEntity?: {
|
|
22300
|
+
fromId: EntityId;
|
|
22301
|
+
toId: EntityId;
|
|
22302
|
+
};
|
|
22303
|
+
newForeignKeyRef?: PropertyState;
|
|
22304
|
+
oldForeignKeyRef?: PropertyState;
|
|
22305
|
+
nameChange?: {
|
|
22306
|
+
from: string;
|
|
22307
|
+
to: string;
|
|
22308
|
+
};
|
|
22309
|
+
requiredChange?: {
|
|
22310
|
+
from: boolean;
|
|
22311
|
+
to: boolean;
|
|
22312
|
+
};
|
|
22313
|
+
property: PropertyState;
|
|
22314
|
+
oldProperty: PropertyState;
|
|
22315
|
+
}>;
|
|
22316
|
+
isPreexistingRowTransformerUpToDate: boolean | null;
|
|
22317
|
+
}
|
|
22318
|
+
|
|
22272
22319
|
export declare function isSame(a: ISODateString, b: ISODateString, unit?: default_3.OpUnitType): boolean;
|
|
22273
22320
|
|
|
22274
22321
|
export declare function isSameOrAfter(a: ISODateString, b: ISODateString, unit?: default_3.OpUnitType): boolean;
|
|
@@ -29918,33 +29965,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
29918
29965
|
|
|
29919
29966
|
export declare function resolveSearchName(search: SearchState): string;
|
|
29920
29967
|
|
|
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
|
-
};
|
|
29968
|
+
export declare function resolveSQLMigrationsDiffs(project: ProjectState, lastPublishedProjectState: ProjectState | null, entity: DefinitionEntityState): ISQLMigrationsDiffs;
|
|
29948
29969
|
|
|
29949
29970
|
export declare function resolveTerminationEntityValue(entity: TerminationEntityState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
|
|
29950
29971
|
|