@elyx-code/project-logic-tree 0.0.6853 → 0.0.6855

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.
Files changed (4) hide show
  1. package/dist/index.cjs +310 -310
  2. package/dist/index.d.ts +15 -144
  3. package/dist/index.js +38943 -39533
  4. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4495,56 +4495,6 @@ export declare enum BaseValueDescriptorIds {
4495
4495
  id: string;
4496
4496
  };
4497
4497
  };
4498
- "op-execution-sequential": {
4499
- id: ExecutionOperations;
4500
- inputs: {
4501
- listOfActions: {
4502
- id: string;
4503
- dataType: {
4504
- id: string;
4505
- entity: {
4506
- id: string;
4507
- dataType: {
4508
- id: string;
4509
- };
4510
- inputs: {
4511
- dynamicInput: {
4512
- id: string;
4513
- };
4514
- };
4515
- };
4516
- };
4517
- };
4518
- };
4519
- dataType: {
4520
- id: string;
4521
- };
4522
- };
4523
- "op-execution-parallel": {
4524
- id: ExecutionOperations;
4525
- inputs: {
4526
- listOfActions: {
4527
- id: string;
4528
- dataType: {
4529
- id: string;
4530
- entity: {
4531
- id: string;
4532
- dataType: {
4533
- id: string;
4534
- };
4535
- inputs: {
4536
- dynamicInput: {
4537
- id: string;
4538
- };
4539
- };
4540
- };
4541
- };
4542
- };
4543
- };
4544
- dataType: {
4545
- id: string;
4546
- };
4547
- };
4548
4498
  "op-generate-random-bytes": {
4549
4499
  id: RandomnessOperations;
4550
4500
  inputs: {
@@ -9551,7 +9501,7 @@ export declare enum BaseValueDescriptorIds {
9551
9501
  CannotConnectToItself = "cannot-connect-to-itself",
9552
9502
  CannotWriteValueToAncestor = "cannot-write-value-to-ancestor",
9553
9503
  NotInScope = "not-in-scope",
9554
- IsNotValueWrittingEntity = "is-not-value-writting-entity",
9504
+ IsNotValueWritingEntity = "is-not-value-writing-entity",
9555
9505
  IsNotValueReadingEntity = "is-not-value-reading-entity",
9556
9506
  ContinueOrBreakStatementCalledFromOutsideLoop = "continue-or-break-statement-called-from-outside-loop",
9557
9507
  ElementInLoopBodyCallingOutsideLoop = "element-in-loop-body-calling-outside-loop",
@@ -9566,6 +9516,7 @@ export declare enum BaseValueDescriptorIds {
9566
9516
  SuccessOutputMapCannotBeConnectedToParentErrorBranchCallees = "success-output-map-cannot-be-connected-to-parent-error-branch-callees",
9567
9517
  CannotInteractWithInputInVariableWithInternalCalls = "cannot-interact-with-input-in-variable-with-internal-calls",
9568
9518
  CannotInteractWithOutputInVariableWithInternalCalls = "cannot-interact-with-output-in-variable-with-internal-calls",
9519
+ CannotInteractWithInputInGlobalVariableDeclaration = "cannot-interact-with-input-in-global-variable-declaration",
9569
9520
  PropertyIsConstantItsValueCantBeReset = "property-is-constant-its-value-cant-be-reset",
9570
9521
  CannotWriteValueOfGlobalVariableDeclaration = "cannot-write-value-of-global-variable-declaration",
9571
9522
  CannotCallGlobalVariableDeclaration = "cannot-call-global-variable-declaration",
@@ -9582,7 +9533,11 @@ export declare enum BaseValueDescriptorIds {
9582
9533
  WouldMakeAnEarlierNodeBeCalledBeforeItsDeclaration = "would-make-an-earlier-node-be-called-before-its-declaration",
9583
9534
  CannotBeCalledBeforeDeclaration = "cannot-be-called-before-declaration",
9584
9535
  CannotBeCalledInParallelBranchToDeclaration = "cannot-be-called-in-parallel-branch-to-declaration",
9585
- 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"
9586
9541
  }
9587
9542
 
9588
9543
  export declare type CanvasEntityDisabledReason = CanvasEntityConnectionDisabledReason | CanvasEntityTestingDisabledReason | CanvasEntityOtherDisabledReason | StateMutationErrorCode;
@@ -10266,6 +10221,8 @@ export declare enum BaseValueDescriptorIds {
10266
10221
  }
10267
10222
  export { conditionValidation }
10268
10223
 
10224
+ export declare const CONNECTABLE_TYPES: EntityType[][];
10225
+
10269
10226
  export declare enum ConnectionNodeType {
10270
10227
  PropertyOut = "property-out",
10271
10228
  PropertyIn = "property-in",
@@ -11412,8 +11369,6 @@ export declare enum BaseValueDescriptorIds {
11412
11369
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__COMPARISON_PRIMITIVE_NOT_EQUAL: string;
11413
11370
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__HTTP_REQUEST: string;
11414
11371
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__VALIDATE_ENTITY: string;
11415
- BUILT_INT_OPERATIONS_IMPLEMENTATIONS__EXECUTE_SEQUENTIAL: string;
11416
- BUILT_INT_OPERATIONS_IMPLEMENTATIONS__EXECUTE_PARALLEL: string;
11417
11372
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__EXECUTE_WAIT: string;
11418
11373
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__LIST_JOIN: string;
11419
11374
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__LIST_SPLIT: string;
@@ -13015,8 +12970,6 @@ export declare enum BaseValueDescriptorIds {
13015
12970
  };
13016
12971
 
13017
12972
  export declare enum ExecutionOperations {
13018
- Parallel = "op-execution-parallel",
13019
- Sequential = "op-execution-sequential",
13020
12973
  Wait = "op-execution-wait"
13021
12974
  }
13022
12975
 
@@ -15586,8 +15539,6 @@ export declare enum BaseValueDescriptorIds {
15586
15539
 
15587
15540
  export declare function getAllValueWritingEntities(project: ProjectState, options?: YieldOptions): Promise<ValueWritingEntityState[]>;
15588
15541
 
15589
- export declare function getAllValueWrittingChildren(entity: CanvasEntityState | InternalCallState): ValueWritingEntityState[];
15590
-
15591
15542
  export declare function getAllVariablesInScope(project: ProjectState, variableDeclarations: VariableDeclarationState[], targetEntity?: UserManagedEntityState): VariableDeclarationState[];
15592
15543
 
15593
15544
  export declare function getAvailableValueReadersForGivenWritter(project: ProjectState, valueWriterEntity: ValueWritingEntityState, options?: IGetConnectionCompatibilityOptions): Promise<{
@@ -15625,7 +15576,7 @@ export declare enum BaseValueDescriptorIds {
15625
15576
 
15626
15577
  export declare function getCallableEntitiesDerivedFromInternalCalls(entity: VariableState): CallableEntityState[];
15627
15578
 
15628
- export declare function getCallableEntitiesDerivedFromWrites(valueWrittingEntity: ValueWritingEntityState): CallableEntityState[];
15579
+ export declare function getCallableEntitiesDerivedFromWrites(valueWritingEntity: ValueWritingEntityState): CallableEntityState[];
15629
15580
 
15630
15581
  export declare function getCallableEntityReferenceSchema(): z_2.ZodUnion<[z_2.ZodUnion<[z_2.ZodObject<{
15631
15582
  id: z_2.ZodString;
@@ -16096,7 +16047,7 @@ export declare enum BaseValueDescriptorIds {
16096
16047
 
16097
16048
  export declare function getCanvasEntitiesDerivedFromInternalCalls(entity: VariableState): CanvasEntityState[];
16098
16049
 
16099
- export declare function getCanvasEntitiesDerivedFromWrites(valueWrittingEntity: ValueWritingEntityState): CanvasEntityState[];
16050
+ export declare function getCanvasEntitiesDerivedFromWrites(valueWritingEntity: ValueWritingEntityState): CanvasEntityState[];
16100
16051
 
16101
16052
  export declare function getCanvasEntityDerivedFromValueReadingEntity(valueReadingEntity: ValueReadingEntityState): CanvasEntityState | null;
16102
16053
 
@@ -18814,7 +18765,9 @@ export declare enum BaseValueDescriptorIds {
18814
18765
  *
18815
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
18816
18767
  */
18817
- export declare function getIncompatibleConnectionEntitiesAsync(entity: ArgumentDeclarationState | InputMapState | OutputMapState | LoopState | CallerEntityState | VariableState | ValueDescriptorState | ExecutableEntityState, connectionType: ConnectionNodeType, options?: IGetConnectionCompatibilityOptions): Promise<IConnectionCompatibilityResult>;
18768
+ export declare function getIncompatibleConnectionEntitiesAsync(entity: ArgumentDeclarationState | InputMapState | OutputMapState | LoopState | CallerEntityState | VariableState | ValueDescriptorState | ExecutableEntityState, connectionType: ConnectionNodeType, options?: YieldOptions & {
18769
+ allowReadWriteToFixableScope?: boolean;
18770
+ }): Promise<IConnectionCompatibilityResult>;
18818
18771
 
18819
18772
  export declare function getIndexItem(list: unknown, index: unknown): any;
18820
18773
 
@@ -27542,22 +27495,6 @@ export declare enum BaseValueDescriptorIds {
27542
27495
  };
27543
27496
  }
27544
27497
 
27545
- export declare class OperationsImplementationsExecutionParallelModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
27546
- manifest: ExtensionManifest;
27547
- module: {
27548
- init: (contexts: (DefaultEditorContext | DefaultProjectLogicContext)[]) => void;
27549
- main: (entity: OperationState, _inputs: IDynamicValue[]) => Promise<IPrimitiveExecutionResult>;
27550
- };
27551
- }
27552
-
27553
- export declare class OperationsImplementationsExecutionSequentialModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
27554
- manifest: ExtensionManifest;
27555
- module: {
27556
- init: (contexts: (DefaultEditorContext | DefaultProjectLogicContext)[]) => void;
27557
- main: (entity: OperationState, _inputs: IDynamicValue[]) => Promise<IPrimitiveExecutionResult>;
27558
- };
27559
- }
27560
-
27561
27498
  export declare class OperationsImplementationsExecutionWaitModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
27562
27499
  manifest: ExtensionManifest;
27563
27500
  module: {
@@ -29921,39 +29858,6 @@ export declare enum BaseValueDescriptorIds {
29921
29858
 
29922
29859
  export declare function padStartList(list: unknown, targetLen: unknown, padValue: unknown): any[];
29923
29860
 
29924
- export declare class ParallelExecutionOperation extends ActionDescriptorState {
29925
- readonly id = ExecutionOperations.Parallel;
29926
- readonly name = ExecutionOperations.Parallel;
29927
- readonly description = "Programmatically execute a list of actions one after the other";
29928
- readonly version = "1";
29929
- readonly autoexecutable = true;
29930
- readonly type: EntityType.ActionDescriptor;
29931
- readonly inputs: ValueDescriptorState[];
29932
- readonly dataType: DataTypeState | null;
29933
- readonly error: ValueDescriptorState | null;
29934
- project: ProjectState;
29935
- constructor(parentProjectState: ProjectState);
29936
- }
29937
-
29938
- export declare const parallelExecutionOperation: IActionDescriptorTransfer;
29939
-
29940
- export declare const parallelExecutionOperationListOfFunctionsArgument: IValueDescriptorTransfer;
29941
-
29942
- export declare const parallelExecutionOperationListOfFunctionsArgumentDatatype: IDataTypeTransfer;
29943
-
29944
- export declare const parallelExecutionOperationListOfFunctionsBlueprint: IActionDescriptorTransfer;
29945
-
29946
- /** Blueprint output — new schema: list<any> with empty entity */
29947
- export declare const parallelExecutionOperationListOfFunctionsBlueprintDataType: IDataTypeTransfer;
29948
-
29949
- export declare const parallelExecutionOperationListOfFunctionsBlueprintDynamicInput: IValueDescriptorTransfer;
29950
-
29951
- export declare const parallelExecutionOperationListOfFunctionsBlueprintDynamicInputParentRef: IActionDescriptorReference;
29952
-
29953
- export declare const parallelExecutionOperationListOfFunctionsBlueprintParentRef: IDataTypeReference;
29954
-
29955
- export declare const parallelExecutionOperationResponseDataType: IDataTypeTransfer;
29956
-
29957
29861
  export declare const PARENT_AUTO_CALCULATION_FROM_CALLER_EXPLANATION = "If an explicit 'parent' isn't given for a callable entity, the scope will be auto-calculated to match the parent scope of the caller entity.\nIf the entity that should be the parent of a callable entity is unclear, you can always skip the 'parent' property and the system will automatically calculate the parent based on the caller entity.";
29958
29862
 
29959
29863
  export declare function parseDate(input: string): ISODateString;
@@ -30666,7 +30570,7 @@ export declare enum BaseValueDescriptorIds {
30666
30570
 
30667
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.";
30668
30572
 
30669
- export declare const PROPERTY_NOT_VALUE_READER_WRITER_EXPLANATION = "A property entity, is neither a value reading, or a value writting 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.";
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.";
30670
30574
 
30671
30575
  export declare enum PropertyDependencyField {
30672
30576
  PropertyImplements = "property-implements-field",
@@ -32116,39 +32020,6 @@ export declare enum BaseValueDescriptorIds {
32116
32020
 
32117
32021
  export declare const sendMessageThreadTsInputDT: IDataTypeTransfer;
32118
32022
 
32119
- export declare class SequentialExecutionOperation extends ActionDescriptorState {
32120
- readonly id = ExecutionOperations.Sequential;
32121
- readonly name = ExecutionOperations.Sequential;
32122
- readonly description = "Programmatically execute a list of actions one after the other";
32123
- readonly version = "1";
32124
- readonly autoexecutable = true;
32125
- readonly type: EntityType.ActionDescriptor;
32126
- readonly inputs: ValueDescriptorState[];
32127
- readonly dataType: DataTypeState | null;
32128
- readonly error: ValueDescriptorState | null;
32129
- project: ProjectState;
32130
- constructor(parentProjectState: ProjectState);
32131
- }
32132
-
32133
- export declare const sequentialExecutionOperation: IActionDescriptorTransfer;
32134
-
32135
- export declare const sequentialExecutionOperationListOfFunctionsArgument: IValueDescriptorTransfer;
32136
-
32137
- export declare const sequentialExecutionOperationListOfFunctionsArgumentDatatype: IDataTypeTransfer;
32138
-
32139
- export declare const sequentialExecutionOperationListOfFunctionsBlueprint: IActionDescriptorTransfer;
32140
-
32141
- /** Blueprint output — new schema: any (entity empty), isList: null */
32142
- export declare const sequentialExecutionOperationListOfFunctionsBlueprintDataType: IDataTypeTransfer;
32143
-
32144
- export declare const sequentialExecutionOperationListOfFunctionsBlueprintDynamicInput: IValueDescriptorTransfer;
32145
-
32146
- export declare const sequentialExecutionOperationListOfFunctionsBlueprintDynamicInputParentRef: IActionDescriptorReference;
32147
-
32148
- export declare const sequentialExecutionOperationListOfFunctionsBlueprintParentRef: IDataTypeReference;
32149
-
32150
- export declare const sequentialExecutionOperationResponseDataType: IDataTypeTransfer;
32151
-
32152
32023
  export declare class ServerlessFunctionInfrastructureResource extends InfrastructureResource implements IServerlessFunctionInfrastructureResource {
32153
32024
  resourceType: InfrastructureResourceType.ServerlessFunction;
32154
32025
  owners: Map<EntityId, DefinitionEntityState>;