@elyx-code/project-logic-tree 0.0.6611 → 0.0.6613
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 +18 -4
- package/dist/index.js +15795 -15261
- package/dist/index.umd.cjs +83 -85
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4411,7 +4411,8 @@ export declare enum DataTypeCompatibilityTypes {
|
|
|
4411
4411
|
}
|
|
4412
4412
|
|
|
4413
4413
|
export declare enum DataTypeDependencyField {
|
|
4414
|
-
|
|
4414
|
+
EntityField = "entity-field",
|
|
4415
|
+
ForeignKeyRefField = "foreign-key-ref-field"
|
|
4415
4416
|
}
|
|
4416
4417
|
|
|
4417
4418
|
export declare type DataTypeEntityOption = IDefinitionEntity | IPrimitiveEntity | IActionDescriptor | IBuiltInBaseEntity | ILiteralValue;
|
|
@@ -4445,6 +4446,7 @@ export declare class DataTypeState extends UserManagedVersionedState implements
|
|
|
4445
4446
|
actionEntities: boolean | null;
|
|
4446
4447
|
index: number | null;
|
|
4447
4448
|
entity: DataTypeStateEntityOption | null;
|
|
4449
|
+
foreignKeyRef: PropertyState | null;
|
|
4448
4450
|
andChildrenGroup: DataTypeState[] | null;
|
|
4449
4451
|
orChildrenGroup: DataTypeState[] | null;
|
|
4450
4452
|
project: ProjectState;
|
|
@@ -4497,8 +4499,8 @@ export declare class DataTypeState extends UserManagedVersionedState implements
|
|
|
4497
4499
|
field: string;
|
|
4498
4500
|
}[]): UserManagedEntityState;
|
|
4499
4501
|
syncDependents(changeSet?: ChangeSet | null): IChangeSet<UserManagedEntityState>;
|
|
4500
|
-
onDetachedDependencyRemoved(
|
|
4501
|
-
onDetachedDependencyRestored(
|
|
4502
|
+
onDetachedDependencyRemoved(_dependency: UserManagedEntityState, field: string, changeSet: ChangeSet | null): IChangeSet<UserManagedEntityState>;
|
|
4503
|
+
onDetachedDependencyRestored(dependency: UserManagedEntityState, field: string, changeSet: ChangeSet | null): IChangeSet<UserManagedEntityState>;
|
|
4502
4504
|
unsubscribeFromDependencies(): UserManagedEntityState;
|
|
4503
4505
|
subscribeToDependencies(): UserManagedEntityState;
|
|
4504
4506
|
increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
|
|
@@ -4546,6 +4548,7 @@ export declare class DataTypeState extends UserManagedVersionedState implements
|
|
|
4546
4548
|
merge(sourceEntity: DataTypeState | null, changeSet?: ChangeSet | null): IChangeSet<DataTypeState>;
|
|
4547
4549
|
addToAndGroup(child: DataTypeState, changeSet?: ChangeSet | null): DataTypeState;
|
|
4548
4550
|
addToOrGroup(child: DataTypeState, changeSet?: ChangeSet | null): DataTypeState;
|
|
4551
|
+
setForeignKeyRef(foreignKeyRef: PropertyState | null, changeSet?: ChangeSet | null): DataTypeState;
|
|
4549
4552
|
setEntity(entity: DataTypeStateEntityOption | null, changeSet?: ChangeSet | null): DataTypeState;
|
|
4550
4553
|
isObject(): boolean;
|
|
4551
4554
|
canBeObject(): boolean;
|
|
@@ -13493,6 +13496,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
13493
13496
|
|
|
13494
13497
|
export declare interface IDataType extends IDataTypeTransfer, IChildEntity {
|
|
13495
13498
|
entity: DataTypeEntityOption | null;
|
|
13499
|
+
foreignKeyRef: IProperty | null;
|
|
13496
13500
|
andChildrenGroup: IDataType[] | null;
|
|
13497
13501
|
orChildrenGroup: IDataType[] | null;
|
|
13498
13502
|
parent: IVariableDeclaration | IArgumentDeclaration | IReturnStatement | IBreakStatement | IContinueStatement | IProperty | IValueDescriptor | IInputMap | IOutputMap | IDataType | IFunctionDeclaration | IActionDescriptor | ILoop | ISearch | IDefinitionEntity | IBuiltInBaseEntity;
|
|
@@ -13539,6 +13543,9 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
13539
13543
|
|
|
13540
13544
|
export declare interface IDataTypeGenerationTarget extends IDataType_base, IChildEntityGenerationTarget {
|
|
13541
13545
|
entity: EntityId | null;
|
|
13546
|
+
andChildrenGroup: EntityId[] | null;
|
|
13547
|
+
orChildrenGroup: EntityId[] | null;
|
|
13548
|
+
foreignKeyRef: EntityId | null;
|
|
13542
13549
|
parent: EntityId;
|
|
13543
13550
|
}
|
|
13544
13551
|
|
|
@@ -13553,6 +13560,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
13553
13560
|
|
|
13554
13561
|
export declare interface IDataTypeShallowTransfer extends IDataType_meta, IChildEntityShallowTransfer {
|
|
13555
13562
|
entity: DataTypeEntityReferenceOption | null;
|
|
13563
|
+
foreignKeyRef: IPropertyReference | null;
|
|
13556
13564
|
andChildrenGroup: IDataTypeReference[] | null;
|
|
13557
13565
|
orChildrenGroup: IDataTypeReference[] | null;
|
|
13558
13566
|
parent: IVariableDeclarationReference | IArgumentDeclarationReference | IReturnStatementReference | IBreakStatementReference | IContinueStatementReference | IPropertyReference | IValueDescriptorReference | IInputMapReference | IOutputMapReference | IDataTypeReference | IFunctionDeclarationReference | IActionDescriptorReference | ILoopReference | ISearchReference | IDefinitionEntityReference | IBuiltInBaseEntityReference;
|
|
@@ -13560,6 +13568,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
13560
13568
|
|
|
13561
13569
|
export declare interface IDataTypeTransfer extends IDataType_meta, IChildEntityTransfer {
|
|
13562
13570
|
entity: IDefinitionEntityReference | DataTypeEntityTransferOption | null;
|
|
13571
|
+
foreignKeyRef: IPropertyReference | IProperty | IPropertyTransfer | null;
|
|
13563
13572
|
andChildrenGroup: IDataTypeTransfer[] | null;
|
|
13564
13573
|
orChildrenGroup: IDataTypeTransfer[] | null;
|
|
13565
13574
|
parent: IVariableDeclaration | IVariableDeclarationReference | IArgumentDeclaration | IArgumentDeclarationReference | IReturnStatement | IReturnStatementReference | IBreakStatement | IBreakStatementReference | IContinueStatement | IContinueStatementReference | IProperty | IPropertyReference | IValueDescriptor | IValueDescriptorReference | IInputMap | IInputMapReference | IOutputMap | IOutputMapReference | IDataType | IDataTypeReference | IFunctionDeclaration | IFunctionDeclarationReference | IActionDescriptor | IActionDescriptorReference | ILoop | ILoopReference | ISearch | ISearchReference | IDefinitionEntity | IDefinitionEntityReference | IBuiltInBaseEntity | IBuiltInBaseEntityReference;
|
|
@@ -15031,6 +15040,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
15031
15040
|
abstract: boolean;
|
|
15032
15041
|
interactive: boolean;
|
|
15033
15042
|
static: boolean;
|
|
15043
|
+
unique: boolean;
|
|
15034
15044
|
required: boolean;
|
|
15035
15045
|
constant: boolean;
|
|
15036
15046
|
parentRelationType?: PropertyParentChildRelation | null;
|
|
@@ -15042,6 +15052,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
15042
15052
|
abstract?: boolean;
|
|
15043
15053
|
static?: boolean;
|
|
15044
15054
|
required?: boolean;
|
|
15055
|
+
constant?: boolean;
|
|
15056
|
+
unique?: boolean;
|
|
15045
15057
|
parentRelationType?: PropertyParentChildRelation | null;
|
|
15046
15058
|
implements?: EntityId[];
|
|
15047
15059
|
interactive?: boolean;
|
|
@@ -17908,6 +17920,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
17908
17920
|
abstract: boolean;
|
|
17909
17921
|
index: number;
|
|
17910
17922
|
static: boolean;
|
|
17923
|
+
unique: boolean;
|
|
17911
17924
|
required: boolean;
|
|
17912
17925
|
constant: boolean;
|
|
17913
17926
|
interactive: boolean;
|
|
@@ -19660,7 +19673,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
19660
19673
|
RemoveAllCallers = "remove-all-callers",
|
|
19661
19674
|
RemoveAllErrorCalls = "remove-all-error-calls",
|
|
19662
19675
|
SetDataTypeEntityValue = "set-data-type-entity-value",
|
|
19663
|
-
MergeDataTypes = "merge-data-types"
|
|
19676
|
+
MergeDataTypes = "merge-data-types",
|
|
19677
|
+
SetDataTypeForeignKeyRef = "set-data-type-foreign-key-ref"
|
|
19664
19678
|
}
|
|
19665
19679
|
|
|
19666
19680
|
export declare enum StateMutationErrorCode {
|