@elyx-code/project-logic-tree 0.0.6852 → 0.0.6854

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 +243 -243
  2. package/dist/index.d.ts +9 -143
  3. package/dist/index.js +32889 -33517
  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: {
@@ -11412,8 +11362,6 @@ export declare enum BaseValueDescriptorIds {
11412
11362
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__COMPARISON_PRIMITIVE_NOT_EQUAL: string;
11413
11363
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__HTTP_REQUEST: string;
11414
11364
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__VALIDATE_ENTITY: string;
11415
- BUILT_INT_OPERATIONS_IMPLEMENTATIONS__EXECUTE_SEQUENTIAL: string;
11416
- BUILT_INT_OPERATIONS_IMPLEMENTATIONS__EXECUTE_PARALLEL: string;
11417
11365
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__EXECUTE_WAIT: string;
11418
11366
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__LIST_JOIN: string;
11419
11367
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__LIST_SPLIT: string;
@@ -13015,8 +12963,6 @@ export declare enum BaseValueDescriptorIds {
13015
12963
  };
13016
12964
 
13017
12965
  export declare enum ExecutionOperations {
13018
- Parallel = "op-execution-parallel",
13019
- Sequential = "op-execution-sequential",
13020
12966
  Wait = "op-execution-wait"
13021
12967
  }
13022
12968
 
@@ -15133,14 +15079,14 @@ export declare enum BaseValueDescriptorIds {
15133
15079
 
15134
15080
  export declare function generateActionExample(actionName: string, properties: Record<string, string>): string;
15135
15081
 
15136
- export declare function generateAllAvailableCalleesExplanation(project: ProjectState, caller: CallerEntityState | null, fromError?: boolean): Promise<{
15082
+ export declare function generateAllAvailableCalleesExplanation(project: ProjectState, caller: CallerEntityState | null, fromError?: boolean, options?: IGetConnectionCompatibilityOptions): Promise<{
15137
15083
  explanations: {
15138
15084
  id: GenerationExplanationIds.AllAvailableCalleeEntitiesForGivenCaller | GenerationExplanationIds.AllAvailableCallableEntities;
15139
15085
  message: string;
15140
15086
  }[];
15141
15087
  }>;
15142
15088
 
15143
- export declare function generateAllAvailableCallersExplanation(project: ProjectState, callee: CallableEntityState | null, fromError?: boolean): Promise<{
15089
+ export declare function generateAllAvailableCallersExplanation(project: ProjectState, callee: CallableEntityState | null, fromError?: boolean, options?: IGetConnectionCompatibilityOptions): Promise<{
15144
15090
  explanations: {
15145
15091
  id: GenerationExplanationIds.AllAvailableCallerEntitiesForGivenCallee | GenerationExplanationIds.AllAvailableCallerEntities;
15146
15092
  message: string;
@@ -15590,14 +15536,14 @@ export declare enum BaseValueDescriptorIds {
15590
15536
 
15591
15537
  export declare function getAllVariablesInScope(project: ProjectState, variableDeclarations: VariableDeclarationState[], targetEntity?: UserManagedEntityState): VariableDeclarationState[];
15592
15538
 
15593
- export declare function getAvailableValueReadersForGivenWritter(project: ProjectState, valueWriterEntity: ValueWritingEntityState): Promise<{
15539
+ export declare function getAvailableValueReadersForGivenWritter(project: ProjectState, valueWriterEntity: ValueWritingEntityState, options?: IGetConnectionCompatibilityOptions): Promise<{
15594
15540
  explanations: {
15595
15541
  id: GenerationExplanationIds.AvailableValueReadersForGivenWriter | GenerationExplanationIds.EntitiesWithValues;
15596
15542
  message: string;
15597
15543
  }[];
15598
15544
  }>;
15599
15545
 
15600
- export declare function getAvailableValueWritersForGivenReader(project: ProjectState, valueReaderEntity: ValueReadingEntityState): Promise<{
15546
+ export declare function getAvailableValueWritersForGivenReader(project: ProjectState, valueReaderEntity: ValueReadingEntityState, options?: IGetConnectionCompatibilityOptions): Promise<{
15601
15547
  explanations: {
15602
15548
  id: GenerationExplanationIds.AvailableValueWritersForGivenReader | GenerationExplanationIds.EntitiesWithValues;
15603
15549
  message: string;
@@ -18814,9 +18760,7 @@ export declare enum BaseValueDescriptorIds {
18814
18760
  *
18815
18761
  * @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
18762
  */
18817
- export declare function getIncompatibleConnectionEntitiesAsync(entity: ArgumentDeclarationState | InputMapState | OutputMapState | LoopState | CallerEntityState | VariableState | ValueDescriptorState | ExecutableEntityState, connectionType: ConnectionNodeType, options?: YieldOptions & {
18818
- allowReadWriteToFixableScope?: boolean;
18819
- }): Promise<IConnectionCompatibilityResult>;
18763
+ export declare function getIncompatibleConnectionEntitiesAsync(entity: ArgumentDeclarationState | InputMapState | OutputMapState | LoopState | CallerEntityState | VariableState | ValueDescriptorState | ExecutableEntityState, connectionType: ConnectionNodeType, options?: IGetConnectionCompatibilityOptions): Promise<IConnectionCompatibilityResult>;
18820
18764
 
18821
18765
  export declare function getIndexItem(list: unknown, index: unknown): any;
18822
18766
 
@@ -22062,6 +22006,10 @@ export declare enum BaseValueDescriptorIds {
22062
22006
  entityId: EntityId;
22063
22007
  }
22064
22008
 
22009
+ export declare interface IGetConnectionCompatibilityOptions extends YieldOptions {
22010
+ allowReadWriteToFixableScope?: boolean;
22011
+ }
22012
+
22065
22013
  export declare interface IGetProjectOptions {
22066
22014
  empty?: boolean;
22067
22015
  authToken?: string | null;
@@ -27540,22 +27488,6 @@ export declare enum BaseValueDescriptorIds {
27540
27488
  };
27541
27489
  }
27542
27490
 
27543
- export declare class OperationsImplementationsExecutionParallelModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
27544
- manifest: ExtensionManifest;
27545
- module: {
27546
- init: (contexts: (DefaultEditorContext | DefaultProjectLogicContext)[]) => void;
27547
- main: (entity: OperationState, _inputs: IDynamicValue[]) => Promise<IPrimitiveExecutionResult>;
27548
- };
27549
- }
27550
-
27551
- export declare class OperationsImplementationsExecutionSequentialModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
27552
- manifest: ExtensionManifest;
27553
- module: {
27554
- init: (contexts: (DefaultEditorContext | DefaultProjectLogicContext)[]) => void;
27555
- main: (entity: OperationState, _inputs: IDynamicValue[]) => Promise<IPrimitiveExecutionResult>;
27556
- };
27557
- }
27558
-
27559
27491
  export declare class OperationsImplementationsExecutionWaitModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
27560
27492
  manifest: ExtensionManifest;
27561
27493
  module: {
@@ -29919,39 +29851,6 @@ export declare enum BaseValueDescriptorIds {
29919
29851
 
29920
29852
  export declare function padStartList(list: unknown, targetLen: unknown, padValue: unknown): any[];
29921
29853
 
29922
- export declare class ParallelExecutionOperation extends ActionDescriptorState {
29923
- readonly id = ExecutionOperations.Parallel;
29924
- readonly name = ExecutionOperations.Parallel;
29925
- readonly description = "Programmatically execute a list of actions one after the other";
29926
- readonly version = "1";
29927
- readonly autoexecutable = true;
29928
- readonly type: EntityType.ActionDescriptor;
29929
- readonly inputs: ValueDescriptorState[];
29930
- readonly dataType: DataTypeState | null;
29931
- readonly error: ValueDescriptorState | null;
29932
- project: ProjectState;
29933
- constructor(parentProjectState: ProjectState);
29934
- }
29935
-
29936
- export declare const parallelExecutionOperation: IActionDescriptorTransfer;
29937
-
29938
- export declare const parallelExecutionOperationListOfFunctionsArgument: IValueDescriptorTransfer;
29939
-
29940
- export declare const parallelExecutionOperationListOfFunctionsArgumentDatatype: IDataTypeTransfer;
29941
-
29942
- export declare const parallelExecutionOperationListOfFunctionsBlueprint: IActionDescriptorTransfer;
29943
-
29944
- /** Blueprint output — new schema: list<any> with empty entity */
29945
- export declare const parallelExecutionOperationListOfFunctionsBlueprintDataType: IDataTypeTransfer;
29946
-
29947
- export declare const parallelExecutionOperationListOfFunctionsBlueprintDynamicInput: IValueDescriptorTransfer;
29948
-
29949
- export declare const parallelExecutionOperationListOfFunctionsBlueprintDynamicInputParentRef: IActionDescriptorReference;
29950
-
29951
- export declare const parallelExecutionOperationListOfFunctionsBlueprintParentRef: IDataTypeReference;
29952
-
29953
- export declare const parallelExecutionOperationResponseDataType: IDataTypeTransfer;
29954
-
29955
29854
  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.";
29956
29855
 
29957
29856
  export declare function parseDate(input: string): ISODateString;
@@ -32114,39 +32013,6 @@ export declare enum BaseValueDescriptorIds {
32114
32013
 
32115
32014
  export declare const sendMessageThreadTsInputDT: IDataTypeTransfer;
32116
32015
 
32117
- export declare class SequentialExecutionOperation extends ActionDescriptorState {
32118
- readonly id = ExecutionOperations.Sequential;
32119
- readonly name = ExecutionOperations.Sequential;
32120
- readonly description = "Programmatically execute a list of actions one after the other";
32121
- readonly version = "1";
32122
- readonly autoexecutable = true;
32123
- readonly type: EntityType.ActionDescriptor;
32124
- readonly inputs: ValueDescriptorState[];
32125
- readonly dataType: DataTypeState | null;
32126
- readonly error: ValueDescriptorState | null;
32127
- project: ProjectState;
32128
- constructor(parentProjectState: ProjectState);
32129
- }
32130
-
32131
- export declare const sequentialExecutionOperation: IActionDescriptorTransfer;
32132
-
32133
- export declare const sequentialExecutionOperationListOfFunctionsArgument: IValueDescriptorTransfer;
32134
-
32135
- export declare const sequentialExecutionOperationListOfFunctionsArgumentDatatype: IDataTypeTransfer;
32136
-
32137
- export declare const sequentialExecutionOperationListOfFunctionsBlueprint: IActionDescriptorTransfer;
32138
-
32139
- /** Blueprint output — new schema: any (entity empty), isList: null */
32140
- export declare const sequentialExecutionOperationListOfFunctionsBlueprintDataType: IDataTypeTransfer;
32141
-
32142
- export declare const sequentialExecutionOperationListOfFunctionsBlueprintDynamicInput: IValueDescriptorTransfer;
32143
-
32144
- export declare const sequentialExecutionOperationListOfFunctionsBlueprintDynamicInputParentRef: IActionDescriptorReference;
32145
-
32146
- export declare const sequentialExecutionOperationListOfFunctionsBlueprintParentRef: IDataTypeReference;
32147
-
32148
- export declare const sequentialExecutionOperationResponseDataType: IDataTypeTransfer;
32149
-
32150
32016
  export declare class ServerlessFunctionInfrastructureResource extends InfrastructureResource implements IServerlessFunctionInfrastructureResource {
32151
32017
  resourceType: InfrastructureResourceType.ServerlessFunction;
32152
32018
  owners: Map<EntityId, DefinitionEntityState>;