@elyx-code/project-logic-tree 0.0.6854 → 0.0.6856
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.cjs +257 -257
- package/dist/index.d.ts +17 -9
- package/dist/index.js +15391 -15325
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9501,7 +9501,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
9501
9501
|
CannotConnectToItself = "cannot-connect-to-itself",
|
|
9502
9502
|
CannotWriteValueToAncestor = "cannot-write-value-to-ancestor",
|
|
9503
9503
|
NotInScope = "not-in-scope",
|
|
9504
|
-
|
|
9504
|
+
IsNotValueWritingEntity = "is-not-value-writing-entity",
|
|
9505
9505
|
IsNotValueReadingEntity = "is-not-value-reading-entity",
|
|
9506
9506
|
ContinueOrBreakStatementCalledFromOutsideLoop = "continue-or-break-statement-called-from-outside-loop",
|
|
9507
9507
|
ElementInLoopBodyCallingOutsideLoop = "element-in-loop-body-calling-outside-loop",
|
|
@@ -9516,6 +9516,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
9516
9516
|
SuccessOutputMapCannotBeConnectedToParentErrorBranchCallees = "success-output-map-cannot-be-connected-to-parent-error-branch-callees",
|
|
9517
9517
|
CannotInteractWithInputInVariableWithInternalCalls = "cannot-interact-with-input-in-variable-with-internal-calls",
|
|
9518
9518
|
CannotInteractWithOutputInVariableWithInternalCalls = "cannot-interact-with-output-in-variable-with-internal-calls",
|
|
9519
|
+
CannotInteractWithInputInGlobalVariableDeclaration = "cannot-interact-with-input-in-global-variable-declaration",
|
|
9519
9520
|
PropertyIsConstantItsValueCantBeReset = "property-is-constant-its-value-cant-be-reset",
|
|
9520
9521
|
CannotWriteValueOfGlobalVariableDeclaration = "cannot-write-value-of-global-variable-declaration",
|
|
9521
9522
|
CannotCallGlobalVariableDeclaration = "cannot-call-global-variable-declaration",
|
|
@@ -9532,7 +9533,11 @@ export declare enum BaseValueDescriptorIds {
|
|
|
9532
9533
|
WouldMakeAnEarlierNodeBeCalledBeforeItsDeclaration = "would-make-an-earlier-node-be-called-before-its-declaration",
|
|
9533
9534
|
CannotBeCalledBeforeDeclaration = "cannot-be-called-before-declaration",
|
|
9534
9535
|
CannotBeCalledInParallelBranchToDeclaration = "cannot-be-called-in-parallel-branch-to-declaration",
|
|
9535
|
-
CannotBeHigherScopeThanDeclaration = "cannot-be-higher-scope-than-declaration"
|
|
9536
|
+
CannotBeHigherScopeThanDeclaration = "cannot-be-higher-scope-than-declaration",
|
|
9537
|
+
NotAConnectableEntityType = "not-a-connectable-entity-type",
|
|
9538
|
+
IsNotCallerEntity = "is-not-caller-entity",
|
|
9539
|
+
IsNotPassThroughCallableEntity = "is-not-pass-through-callable-entity",
|
|
9540
|
+
IsNotCallableEntity = "is-not-callable-entity"
|
|
9536
9541
|
}
|
|
9537
9542
|
|
|
9538
9543
|
export declare type CanvasEntityDisabledReason = CanvasEntityConnectionDisabledReason | CanvasEntityTestingDisabledReason | CanvasEntityOtherDisabledReason | StateMutationErrorCode;
|
|
@@ -10216,6 +10221,8 @@ export declare enum BaseValueDescriptorIds {
|
|
|
10216
10221
|
}
|
|
10217
10222
|
export { conditionValidation }
|
|
10218
10223
|
|
|
10224
|
+
export declare const CONNECTABLE_TYPES: EntityType[][];
|
|
10225
|
+
|
|
10219
10226
|
export declare enum ConnectionNodeType {
|
|
10220
10227
|
PropertyOut = "property-out",
|
|
10221
10228
|
PropertyIn = "property-in",
|
|
@@ -15532,8 +15539,6 @@ export declare enum BaseValueDescriptorIds {
|
|
|
15532
15539
|
|
|
15533
15540
|
export declare function getAllValueWritingEntities(project: ProjectState, options?: YieldOptions): Promise<ValueWritingEntityState[]>;
|
|
15534
15541
|
|
|
15535
|
-
export declare function getAllValueWrittingChildren(entity: CanvasEntityState | InternalCallState): ValueWritingEntityState[];
|
|
15536
|
-
|
|
15537
15542
|
export declare function getAllVariablesInScope(project: ProjectState, variableDeclarations: VariableDeclarationState[], targetEntity?: UserManagedEntityState): VariableDeclarationState[];
|
|
15538
15543
|
|
|
15539
15544
|
export declare function getAvailableValueReadersForGivenWritter(project: ProjectState, valueWriterEntity: ValueWritingEntityState, options?: IGetConnectionCompatibilityOptions): Promise<{
|
|
@@ -15571,7 +15576,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
15571
15576
|
|
|
15572
15577
|
export declare function getCallableEntitiesDerivedFromInternalCalls(entity: VariableState): CallableEntityState[];
|
|
15573
15578
|
|
|
15574
|
-
export declare function getCallableEntitiesDerivedFromWrites(
|
|
15579
|
+
export declare function getCallableEntitiesDerivedFromWrites(valueWritingEntity: ValueWritingEntityState): CallableEntityState[];
|
|
15575
15580
|
|
|
15576
15581
|
export declare function getCallableEntityReferenceSchema(): z_2.ZodUnion<[z_2.ZodUnion<[z_2.ZodObject<{
|
|
15577
15582
|
id: z_2.ZodString;
|
|
@@ -16042,7 +16047,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
16042
16047
|
|
|
16043
16048
|
export declare function getCanvasEntitiesDerivedFromInternalCalls(entity: VariableState): CanvasEntityState[];
|
|
16044
16049
|
|
|
16045
|
-
export declare function getCanvasEntitiesDerivedFromWrites(
|
|
16050
|
+
export declare function getCanvasEntitiesDerivedFromWrites(valueWritingEntity: ValueWritingEntityState): CanvasEntityState[];
|
|
16046
16051
|
|
|
16047
16052
|
export declare function getCanvasEntityDerivedFromValueReadingEntity(valueReadingEntity: ValueReadingEntityState): CanvasEntityState | null;
|
|
16048
16053
|
|
|
@@ -18760,7 +18765,9 @@ export declare enum BaseValueDescriptorIds {
|
|
|
18760
18765
|
*
|
|
18761
18766
|
* @returns {Promise<IConnectionCompatibilityResult>} An object containing two lists: one for compatible entities and one for incompatible entities, each with the reasons for their compatibility or incompatibility
|
|
18762
18767
|
*/
|
|
18763
|
-
export declare function getIncompatibleConnectionEntitiesAsync(entity: ArgumentDeclarationState | InputMapState | OutputMapState | LoopState | CallerEntityState | VariableState | ValueDescriptorState | ExecutableEntityState, connectionType: ConnectionNodeType, options?:
|
|
18768
|
+
export declare function getIncompatibleConnectionEntitiesAsync(entity: ArgumentDeclarationState | InputMapState | OutputMapState | LoopState | CallerEntityState | VariableState | ValueDescriptorState | ExecutableEntityState, connectionType: ConnectionNodeType, options?: YieldOptions & {
|
|
18769
|
+
allowReadWriteToFixableScope?: boolean;
|
|
18770
|
+
}): Promise<IConnectionCompatibilityResult>;
|
|
18764
18771
|
|
|
18765
18772
|
export declare function getIndexItem(list: unknown, index: unknown): any;
|
|
18766
18773
|
|
|
@@ -30563,7 +30570,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
30563
30570
|
|
|
30564
30571
|
export declare const PROPERTY_IMPLEMENTATION_AND_EXTENSION_AUTO_ENRICHMENT_EXPLANATION = "When a 'property' entity is added to a 'definition-entity', the system will automatically enrich the property based on the parent definition-entity's implemented and extended entities.\nThis means that if a property is required, the parent 'definition-entity' will have auto-generated it. If a manually added property can fit into a parent, it will be auto-enriched with any required 'implementation' or 'extension' references, and the data-type will be recalculated or constrained based on said extensions and implementations.\nThis means that manually adding an 'extends' field to a new property is not necessary, and only specific, non-required 'implements' references need to be added manually if needed.";
|
|
30565
30572
|
|
|
30566
|
-
export declare const PROPERTY_NOT_VALUE_READER_WRITER_EXPLANATION = "A property entity, is neither a value reading, or a value
|
|
30573
|
+
export declare const PROPERTY_NOT_VALUE_READER_WRITER_EXPLANATION = "A property entity, is neither a value reading, or a value writing entity, but they are often confused with one.\nBecause a 'property' can have a default value.\nThe 'property' entity only represents the data field in the declaration, and it can't write or read values.\nWhen a 'definition-entity' is instantiated as a variable, any writes or reads to its properties are done through 'input-map's and 'output-map's.";
|
|
30567
30574
|
|
|
30568
30575
|
export declare enum PropertyDependencyField {
|
|
30569
30576
|
PropertyImplements = "property-implements-field",
|
|
@@ -32727,7 +32734,8 @@ export declare enum BaseValueDescriptorIds {
|
|
|
32727
32734
|
CannotValueWriteItself = "cannot-value-write-itself",
|
|
32728
32735
|
CannotBeCalledBeforeDeclaration = "cannot-be-called-before-declaration",
|
|
32729
32736
|
CannotBeCalledInParallelBranchToDeclaration = "cannot-be-called-in-parallel-branch-to-declaration",
|
|
32730
|
-
CannotBeHigherScopeThanDeclaration = "cannot-be-higher-scope-than-declaration"
|
|
32737
|
+
CannotBeHigherScopeThanDeclaration = "cannot-be-higher-scope-than-declaration",
|
|
32738
|
+
InputsInGlobalVariableDeclarationsCannotReadValues = "inputs-in-global-variable-declarations-cannot-read-values"
|
|
32731
32739
|
}
|
|
32732
32740
|
|
|
32733
32741
|
export declare const STATIC_PROPERTY_HEIGHT = 49;
|