@elyx-code/project-logic-tree 0.0.6612 → 0.0.6614
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 +16 -4
- package/dist/index.js +15792 -15260
- 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,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
13539
13543
|
|
|
13540
13544
|
export declare interface IDataTypeGenerationTarget extends IDataType_base, IChildEntityGenerationTarget {
|
|
13541
13545
|
entity: EntityId | null;
|
|
13546
|
+
foreignKeyRef: EntityId | null;
|
|
13542
13547
|
parent: EntityId;
|
|
13543
13548
|
}
|
|
13544
13549
|
|
|
@@ -13553,6 +13558,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
13553
13558
|
|
|
13554
13559
|
export declare interface IDataTypeShallowTransfer extends IDataType_meta, IChildEntityShallowTransfer {
|
|
13555
13560
|
entity: DataTypeEntityReferenceOption | null;
|
|
13561
|
+
foreignKeyRef: IPropertyReference | null;
|
|
13556
13562
|
andChildrenGroup: IDataTypeReference[] | null;
|
|
13557
13563
|
orChildrenGroup: IDataTypeReference[] | null;
|
|
13558
13564
|
parent: IVariableDeclarationReference | IArgumentDeclarationReference | IReturnStatementReference | IBreakStatementReference | IContinueStatementReference | IPropertyReference | IValueDescriptorReference | IInputMapReference | IOutputMapReference | IDataTypeReference | IFunctionDeclarationReference | IActionDescriptorReference | ILoopReference | ISearchReference | IDefinitionEntityReference | IBuiltInBaseEntityReference;
|
|
@@ -13560,6 +13566,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
13560
13566
|
|
|
13561
13567
|
export declare interface IDataTypeTransfer extends IDataType_meta, IChildEntityTransfer {
|
|
13562
13568
|
entity: IDefinitionEntityReference | DataTypeEntityTransferOption | null;
|
|
13569
|
+
foreignKeyRef: IPropertyReference | IProperty | IPropertyTransfer | null;
|
|
13563
13570
|
andChildrenGroup: IDataTypeTransfer[] | null;
|
|
13564
13571
|
orChildrenGroup: IDataTypeTransfer[] | null;
|
|
13565
13572
|
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 +15038,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
15031
15038
|
abstract: boolean;
|
|
15032
15039
|
interactive: boolean;
|
|
15033
15040
|
static: boolean;
|
|
15041
|
+
unique: boolean;
|
|
15034
15042
|
required: boolean;
|
|
15035
15043
|
constant: boolean;
|
|
15036
15044
|
parentRelationType?: PropertyParentChildRelation | null;
|
|
@@ -15042,6 +15050,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
15042
15050
|
abstract?: boolean;
|
|
15043
15051
|
static?: boolean;
|
|
15044
15052
|
required?: boolean;
|
|
15053
|
+
constant?: boolean;
|
|
15054
|
+
unique?: boolean;
|
|
15045
15055
|
parentRelationType?: PropertyParentChildRelation | null;
|
|
15046
15056
|
implements?: EntityId[];
|
|
15047
15057
|
interactive?: boolean;
|
|
@@ -17908,6 +17918,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
17908
17918
|
abstract: boolean;
|
|
17909
17919
|
index: number;
|
|
17910
17920
|
static: boolean;
|
|
17921
|
+
unique: boolean;
|
|
17911
17922
|
required: boolean;
|
|
17912
17923
|
constant: boolean;
|
|
17913
17924
|
interactive: boolean;
|
|
@@ -19660,7 +19671,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
19660
19671
|
RemoveAllCallers = "remove-all-callers",
|
|
19661
19672
|
RemoveAllErrorCalls = "remove-all-error-calls",
|
|
19662
19673
|
SetDataTypeEntityValue = "set-data-type-entity-value",
|
|
19663
|
-
MergeDataTypes = "merge-data-types"
|
|
19674
|
+
MergeDataTypes = "merge-data-types",
|
|
19675
|
+
SetDataTypeForeignKeyRef = "set-data-type-foreign-key-ref"
|
|
19664
19676
|
}
|
|
19665
19677
|
|
|
19666
19678
|
export declare enum StateMutationErrorCode {
|