@elyx-code/project-logic-tree 0.0.3 → 0.0.4

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 (22) hide show
  1. package/dist/index.js +18628 -16940
  2. package/dist/index.umd.cjs +247 -184
  3. package/dist/tree/state/argument-declaration/validation/validation-schema.d.ts +8 -8
  4. package/dist/tree/state/break-statement/validation/validation-schema.d.ts +32 -32
  5. package/dist/tree/state/condition/validation/validation-schema.d.ts +48 -48
  6. package/dist/tree/state/continue-statement/validation/validation-schema.d.ts +32 -32
  7. package/dist/tree/state/function-call/validation/validation-schema.d.ts +56 -56
  8. package/dist/tree/state/global-event/validation/validation-schema.d.ts +8 -8
  9. package/dist/tree/state/index.d.ts +34 -29
  10. package/dist/tree/state/input-map/validation/validation-schema.d.ts +64 -64
  11. package/dist/tree/state/internal-call/validation/validation-schema.d.ts +56 -56
  12. package/dist/tree/state/loop/validation/validation-schema.d.ts +48 -48
  13. package/dist/tree/state/operation/validation/validation-schema.d.ts +56 -56
  14. package/dist/tree/state/output-map/validation/validation-schema.d.ts +72 -72
  15. package/dist/tree/state/return-declaration/validation/validation-schema.d.ts +16 -16
  16. package/dist/tree/state/return-statement/validation/validation-schema.d.ts +32 -32
  17. package/dist/tree/state/search/validation/validation-schema.d.ts +48 -48
  18. package/dist/tree/state/types/index.d.ts +1 -0
  19. package/dist/tree/state/variable-declaration/validation/validation-schema.d.ts +64 -64
  20. package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +64 -64
  21. package/dist/tree/utils/index.d.ts +1 -1
  22. package/package.json +1 -1
@@ -5167,11 +5167,6 @@ export declare function getInputMapNestedEntitiesSchema(): z.ZodObject<{
5167
5167
  type: EntityType.ArgumentDeclaration;
5168
5168
  } | null;
5169
5169
  parent: {
5170
- id: string;
5171
- type: EntityType.GenericReference;
5172
- entityType: EntityType.Loop;
5173
- entityId: string;
5174
- } | {
5175
5170
  id: string;
5176
5171
  type: EntityType.GenericReference;
5177
5172
  entityType: EntityType.Operation;
@@ -5206,6 +5201,11 @@ export declare function getInputMapNestedEntitiesSchema(): z.ZodObject<{
5206
5201
  type: EntityType.GenericReference;
5207
5202
  entityType: EntityType.InternalCall;
5208
5203
  entityId: string;
5204
+ } | {
5205
+ id: string;
5206
+ type: EntityType.GenericReference;
5207
+ entityType: EntityType.Loop;
5208
+ entityId: string;
5209
5209
  } | {
5210
5210
  id: string;
5211
5211
  type: EntityType.GenericReference;
@@ -5654,13 +5654,13 @@ export declare function getInputMapNestedEntitiesSchema(): z.ZodObject<{
5654
5654
  type: EntityType.InputMap;
5655
5655
  })[];
5656
5656
  readsValue: Record<string, any> | {
5657
- type: EntityType.OutputMap;
5658
- } | {
5659
5657
  type: EntityType.VariableDeclaration;
5660
5658
  } | {
5661
5659
  type: EntityType.VariableInstance;
5662
5660
  } | {
5663
5661
  type: EntityType.ArgumentDeclaration;
5662
+ } | {
5663
+ type: EntityType.OutputMap;
5664
5664
  } | {
5665
5665
  type: EntityType.Operation;
5666
5666
  } | {
@@ -5675,11 +5675,6 @@ export declare function getInputMapNestedEntitiesSchema(): z.ZodObject<{
5675
5675
  type: EntityType.ArgumentDeclaration;
5676
5676
  } | null;
5677
5677
  parent: {
5678
- id: string;
5679
- type: EntityType.GenericReference;
5680
- entityType: EntityType.Loop;
5681
- entityId: string;
5682
- } | {
5683
5678
  id: string;
5684
5679
  type: EntityType.GenericReference;
5685
5680
  entityType: EntityType.Operation;
@@ -5714,6 +5709,11 @@ export declare function getInputMapNestedEntitiesSchema(): z.ZodObject<{
5714
5709
  type: EntityType.GenericReference;
5715
5710
  entityType: EntityType.InternalCall;
5716
5711
  entityId: string;
5712
+ } | {
5713
+ id: string;
5714
+ type: EntityType.GenericReference;
5715
+ entityType: EntityType.Loop;
5716
+ entityId: string;
5717
5717
  } | {
5718
5718
  id: string;
5719
5719
  type: EntityType.GenericReference;
@@ -6162,13 +6162,13 @@ export declare function getInputMapNestedEntitiesSchema(): z.ZodObject<{
6162
6162
  type: EntityType.InputMap;
6163
6163
  })[];
6164
6164
  readsValue: Record<string, any> | {
6165
- type: EntityType.OutputMap;
6166
- } | {
6167
6165
  type: EntityType.VariableDeclaration;
6168
6166
  } | {
6169
6167
  type: EntityType.VariableInstance;
6170
6168
  } | {
6171
6169
  type: EntityType.ArgumentDeclaration;
6170
+ } | {
6171
+ type: EntityType.OutputMap;
6172
6172
  } | {
6173
6173
  type: EntityType.Operation;
6174
6174
  } | {
@@ -11275,11 +11275,6 @@ export declare function getInputMapSchema(): z.ZodObject<z.objectUtil.extendShap
11275
11275
  type: EntityType.ArgumentDeclaration;
11276
11276
  } | null;
11277
11277
  parent: {
11278
- id: string;
11279
- type: EntityType.GenericReference;
11280
- entityType: EntityType.Loop;
11281
- entityId: string;
11282
- } | {
11283
11278
  id: string;
11284
11279
  type: EntityType.GenericReference;
11285
11280
  entityType: EntityType.Operation;
@@ -11314,6 +11309,11 @@ export declare function getInputMapSchema(): z.ZodObject<z.objectUtil.extendShap
11314
11309
  type: EntityType.GenericReference;
11315
11310
  entityType: EntityType.InternalCall;
11316
11311
  entityId: string;
11312
+ } | {
11313
+ id: string;
11314
+ type: EntityType.GenericReference;
11315
+ entityType: EntityType.Loop;
11316
+ entityId: string;
11317
11317
  } | {
11318
11318
  id: string;
11319
11319
  type: EntityType.GenericReference;
@@ -11764,13 +11764,13 @@ export declare function getInputMapSchema(): z.ZodObject<z.objectUtil.extendShap
11764
11764
  })[];
11765
11765
  index: number;
11766
11766
  readsValue: Record<string, any> | {
11767
- type: EntityType.OutputMap;
11768
- } | {
11769
11767
  type: EntityType.VariableDeclaration;
11770
11768
  } | {
11771
11769
  type: EntityType.VariableInstance;
11772
11770
  } | {
11773
11771
  type: EntityType.ArgumentDeclaration;
11772
+ } | {
11773
+ type: EntityType.OutputMap;
11774
11774
  } | {
11775
11775
  type: EntityType.Operation;
11776
11776
  } | {
@@ -11789,11 +11789,6 @@ export declare function getInputMapSchema(): z.ZodObject<z.objectUtil.extendShap
11789
11789
  type: EntityType.ArgumentDeclaration;
11790
11790
  } | null;
11791
11791
  parent: {
11792
- id: string;
11793
- type: EntityType.GenericReference;
11794
- entityType: EntityType.Loop;
11795
- entityId: string;
11796
- } | {
11797
11792
  id: string;
11798
11793
  type: EntityType.GenericReference;
11799
11794
  entityType: EntityType.Operation;
@@ -11828,6 +11823,11 @@ export declare function getInputMapSchema(): z.ZodObject<z.objectUtil.extendShap
11828
11823
  type: EntityType.GenericReference;
11829
11824
  entityType: EntityType.InternalCall;
11830
11825
  entityId: string;
11826
+ } | {
11827
+ id: string;
11828
+ type: EntityType.GenericReference;
11829
+ entityType: EntityType.Loop;
11830
+ entityId: string;
11831
11831
  } | {
11832
11832
  id: string;
11833
11833
  type: EntityType.GenericReference;
@@ -12278,13 +12278,13 @@ export declare function getInputMapSchema(): z.ZodObject<z.objectUtil.extendShap
12278
12278
  })[];
12279
12279
  index: number;
12280
12280
  readsValue: Record<string, any> | {
12281
- type: EntityType.OutputMap;
12282
- } | {
12283
12281
  type: EntityType.VariableDeclaration;
12284
12282
  } | {
12285
12283
  type: EntityType.VariableInstance;
12286
12284
  } | {
12287
12285
  type: EntityType.ArgumentDeclaration;
12286
+ } | {
12287
+ type: EntityType.OutputMap;
12288
12288
  } | {
12289
12289
  type: EntityType.Operation;
12290
12290
  } | {
@@ -17703,13 +17703,13 @@ export declare function getVariableInputMapNestedEntitiesSchema(): z.ZodObject<{
17703
17703
  type: EntityType.InputMap;
17704
17704
  })[];
17705
17705
  readsValue: Record<string, any> | {
17706
- type: EntityType.OutputMap;
17707
- } | {
17708
17706
  type: EntityType.VariableDeclaration;
17709
17707
  } | {
17710
17708
  type: EntityType.VariableInstance;
17711
17709
  } | {
17712
17710
  type: EntityType.ArgumentDeclaration;
17711
+ } | {
17712
+ type: EntityType.OutputMap;
17713
17713
  } | {
17714
17714
  type: EntityType.Operation;
17715
17715
  } | {
@@ -18169,13 +18169,13 @@ export declare function getVariableInputMapNestedEntitiesSchema(): z.ZodObject<{
18169
18169
  type: EntityType.InputMap;
18170
18170
  })[];
18171
18171
  readsValue: Record<string, any> | {
18172
- type: EntityType.OutputMap;
18173
- } | {
18174
18172
  type: EntityType.VariableDeclaration;
18175
18173
  } | {
18176
18174
  type: EntityType.VariableInstance;
18177
18175
  } | {
18178
18176
  type: EntityType.ArgumentDeclaration;
18177
+ } | {
18178
+ type: EntityType.OutputMap;
18179
18179
  } | {
18180
18180
  type: EntityType.Operation;
18181
18181
  } | {
@@ -23588,13 +23588,13 @@ export declare function getVariableInputMapSchema(): z.ZodObject<z.objectUtil.ex
23588
23588
  })[];
23589
23589
  index: number;
23590
23590
  readsValue: Record<string, any> | {
23591
- type: EntityType.OutputMap;
23592
- } | {
23593
23591
  type: EntityType.VariableDeclaration;
23594
23592
  } | {
23595
23593
  type: EntityType.VariableInstance;
23596
23594
  } | {
23597
23595
  type: EntityType.ArgumentDeclaration;
23596
+ } | {
23597
+ type: EntityType.OutputMap;
23598
23598
  } | {
23599
23599
  type: EntityType.Operation;
23600
23600
  } | {
@@ -24060,13 +24060,13 @@ export declare function getVariableInputMapSchema(): z.ZodObject<z.objectUtil.ex
24060
24060
  })[];
24061
24061
  index: number;
24062
24062
  readsValue: Record<string, any> | {
24063
- type: EntityType.OutputMap;
24064
- } | {
24065
24063
  type: EntityType.VariableDeclaration;
24066
24064
  } | {
24067
24065
  type: EntityType.VariableInstance;
24068
24066
  } | {
24069
24067
  type: EntityType.ArgumentDeclaration;
24068
+ } | {
24069
+ type: EntityType.OutputMap;
24070
24070
  } | {
24071
24071
  type: EntityType.Operation;
24072
24072
  } | {
@@ -29128,11 +29128,6 @@ export declare function getActionInputMapNestedEntitiesSchema(): z.ZodObject<{
29128
29128
  type: EntityType.ArgumentDeclaration;
29129
29129
  };
29130
29130
  parent: {
29131
- id: string;
29132
- type: EntityType.GenericReference;
29133
- entityType: EntityType.Loop;
29134
- entityId: string;
29135
- } | {
29136
29131
  id: string;
29137
29132
  type: EntityType.GenericReference;
29138
29133
  entityType: EntityType.Operation;
@@ -29157,6 +29152,11 @@ export declare function getActionInputMapNestedEntitiesSchema(): z.ZodObject<{
29157
29152
  type: EntityType.GenericReference;
29158
29153
  entityType: EntityType.InternalCall;
29159
29154
  entityId: string;
29155
+ } | {
29156
+ id: string;
29157
+ type: EntityType.GenericReference;
29158
+ entityType: EntityType.Loop;
29159
+ entityId: string;
29160
29160
  } | {
29161
29161
  id: string;
29162
29162
  type: EntityType.GenericReference;
@@ -29605,13 +29605,13 @@ export declare function getActionInputMapNestedEntitiesSchema(): z.ZodObject<{
29605
29605
  type: EntityType.InputMap;
29606
29606
  })[];
29607
29607
  readsValue: Record<string, any> | {
29608
- type: EntityType.OutputMap;
29609
- } | {
29610
29608
  type: EntityType.VariableDeclaration;
29611
29609
  } | {
29612
29610
  type: EntityType.VariableInstance;
29613
29611
  } | {
29614
29612
  type: EntityType.ArgumentDeclaration;
29613
+ } | {
29614
+ type: EntityType.OutputMap;
29615
29615
  } | {
29616
29616
  type: EntityType.Operation;
29617
29617
  } | {
@@ -29624,11 +29624,6 @@ export declare function getActionInputMapNestedEntitiesSchema(): z.ZodObject<{
29624
29624
  type: EntityType.ArgumentDeclaration;
29625
29625
  };
29626
29626
  parent: {
29627
- id: string;
29628
- type: EntityType.GenericReference;
29629
- entityType: EntityType.Loop;
29630
- entityId: string;
29631
- } | {
29632
29627
  id: string;
29633
29628
  type: EntityType.GenericReference;
29634
29629
  entityType: EntityType.Operation;
@@ -29653,6 +29648,11 @@ export declare function getActionInputMapNestedEntitiesSchema(): z.ZodObject<{
29653
29648
  type: EntityType.GenericReference;
29654
29649
  entityType: EntityType.InternalCall;
29655
29650
  entityId: string;
29651
+ } | {
29652
+ id: string;
29653
+ type: EntityType.GenericReference;
29654
+ entityType: EntityType.Loop;
29655
+ entityId: string;
29656
29656
  } | {
29657
29657
  id: string;
29658
29658
  type: EntityType.GenericReference;
@@ -30101,13 +30101,13 @@ export declare function getActionInputMapNestedEntitiesSchema(): z.ZodObject<{
30101
30101
  type: EntityType.InputMap;
30102
30102
  })[];
30103
30103
  readsValue: Record<string, any> | {
30104
- type: EntityType.OutputMap;
30105
- } | {
30106
30104
  type: EntityType.VariableDeclaration;
30107
30105
  } | {
30108
30106
  type: EntityType.VariableInstance;
30109
30107
  } | {
30110
30108
  type: EntityType.ArgumentDeclaration;
30109
+ } | {
30110
+ type: EntityType.OutputMap;
30111
30111
  } | {
30112
30112
  type: EntityType.Operation;
30113
30113
  } | {
@@ -35161,11 +35161,6 @@ export declare function getActionInputMapSchema(): z.ZodObject<z.objectUtil.exte
35161
35161
  type: EntityType.ArgumentDeclaration;
35162
35162
  };
35163
35163
  parent: {
35164
- id: string;
35165
- type: EntityType.GenericReference;
35166
- entityType: EntityType.Loop;
35167
- entityId: string;
35168
- } | {
35169
35164
  id: string;
35170
35165
  type: EntityType.GenericReference;
35171
35166
  entityType: EntityType.Operation;
@@ -35190,6 +35185,11 @@ export declare function getActionInputMapSchema(): z.ZodObject<z.objectUtil.exte
35190
35185
  type: EntityType.GenericReference;
35191
35186
  entityType: EntityType.InternalCall;
35192
35187
  entityId: string;
35188
+ } | {
35189
+ id: string;
35190
+ type: EntityType.GenericReference;
35191
+ entityType: EntityType.Loop;
35192
+ entityId: string;
35193
35193
  } | {
35194
35194
  id: string;
35195
35195
  type: EntityType.GenericReference;
@@ -35640,13 +35640,13 @@ export declare function getActionInputMapSchema(): z.ZodObject<z.objectUtil.exte
35640
35640
  })[];
35641
35641
  index: number;
35642
35642
  readsValue: Record<string, any> | {
35643
- type: EntityType.OutputMap;
35644
- } | {
35645
35643
  type: EntityType.VariableDeclaration;
35646
35644
  } | {
35647
35645
  type: EntityType.VariableInstance;
35648
35646
  } | {
35649
35647
  type: EntityType.ArgumentDeclaration;
35648
+ } | {
35649
+ type: EntityType.OutputMap;
35650
35650
  } | {
35651
35651
  type: EntityType.Operation;
35652
35652
  } | {
@@ -35663,11 +35663,6 @@ export declare function getActionInputMapSchema(): z.ZodObject<z.objectUtil.exte
35663
35663
  type: EntityType.ArgumentDeclaration;
35664
35664
  };
35665
35665
  parent: {
35666
- id: string;
35667
- type: EntityType.GenericReference;
35668
- entityType: EntityType.Loop;
35669
- entityId: string;
35670
- } | {
35671
35666
  id: string;
35672
35667
  type: EntityType.GenericReference;
35673
35668
  entityType: EntityType.Operation;
@@ -35692,6 +35687,11 @@ export declare function getActionInputMapSchema(): z.ZodObject<z.objectUtil.exte
35692
35687
  type: EntityType.GenericReference;
35693
35688
  entityType: EntityType.InternalCall;
35694
35689
  entityId: string;
35690
+ } | {
35691
+ id: string;
35692
+ type: EntityType.GenericReference;
35693
+ entityType: EntityType.Loop;
35694
+ entityId: string;
35695
35695
  } | {
35696
35696
  id: string;
35697
35697
  type: EntityType.GenericReference;
@@ -36142,13 +36142,13 @@ export declare function getActionInputMapSchema(): z.ZodObject<z.objectUtil.exte
36142
36142
  })[];
36143
36143
  index: number;
36144
36144
  readsValue: Record<string, any> | {
36145
- type: EntityType.OutputMap;
36146
- } | {
36147
36145
  type: EntityType.VariableDeclaration;
36148
36146
  } | {
36149
36147
  type: EntityType.VariableInstance;
36150
36148
  } | {
36151
36149
  type: EntityType.ArgumentDeclaration;
36150
+ } | {
36151
+ type: EntityType.OutputMap;
36152
36152
  } | {
36153
36153
  type: EntityType.Operation;
36154
36154
  } | {