@elyx-code/project-logic-tree 0.0.55 → 0.0.57

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 (25) hide show
  1. package/dist/index.d.ts +0 -1
  2. package/dist/index.js +10757 -10761
  3. package/dist/index.umd.cjs +130 -130
  4. package/dist/tree/state/argument-declaration/validation/validation-schema.d.ts +8 -8
  5. package/dist/tree/state/break-statement/validation/validation-schema.d.ts +32 -32
  6. package/dist/tree/state/condition/validation/validation-schema.d.ts +48 -48
  7. package/dist/tree/state/continue-statement/validation/validation-schema.d.ts +32 -32
  8. package/dist/tree/state/function-call/validation/validation-schema.d.ts +56 -56
  9. package/dist/tree/state/global-event/validation/validation-schema.d.ts +8 -8
  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/project/project.d.ts +6 -0
  16. package/dist/tree/state/property/validation/validation-schema.d.ts +8 -8
  17. package/dist/tree/state/return-declaration/validation/validation-schema.d.ts +16 -16
  18. package/dist/tree/state/return-statement/validation/validation-schema.d.ts +32 -32
  19. package/dist/tree/state/search/validation/validation-schema.d.ts +48 -48
  20. package/dist/tree/state/variable-declaration/validation/validation-schema.d.ts +64 -64
  21. package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +64 -64
  22. package/dist/tree/utils/index.d.ts +1 -1
  23. package/dist/tree/utils/uuid.d.ts +0 -2
  24. package/package.json +1 -2
  25. package/dist/polyfills.d.ts +0 -1
@@ -400,6 +400,11 @@ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
400
400
  }>]>;
401
401
  }, "strip", z.ZodTypeAny, {
402
402
  calledBySuccess: ({
403
+ id: string;
404
+ type: EntityType.GenericReference;
405
+ entityType: EntityType.Loop;
406
+ entityId: string;
407
+ } | {
403
408
  id: string;
404
409
  type: EntityType.GenericReference;
405
410
  entityType: EntityType.Operation;
@@ -434,13 +439,13 @@ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
434
439
  type: EntityType.GenericReference;
435
440
  entityType: EntityType.InternalCall;
436
441
  entityId: string;
437
- } | {
442
+ })[];
443
+ calledByError: ({
438
444
  id: string;
439
445
  type: EntityType.GenericReference;
440
446
  entityType: EntityType.Loop;
441
447
  entityId: string;
442
- })[];
443
- calledByError: ({
448
+ } | {
444
449
  id: string;
445
450
  type: EntityType.GenericReference;
446
451
  entityType: EntityType.Operation;
@@ -475,11 +480,6 @@ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
475
480
  type: EntityType.GenericReference;
476
481
  entityType: EntityType.InternalCall;
477
482
  entityId: string;
478
- } | {
479
- id: string;
480
- type: EntityType.GenericReference;
481
- entityType: EntityType.Loop;
482
- entityId: string;
483
483
  })[];
484
484
  calledByEntry: ({
485
485
  id: string;
@@ -516,6 +516,11 @@ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
516
516
  } | undefined;
517
517
  }, {
518
518
  calledBySuccess: ({
519
+ id: string;
520
+ type: EntityType.GenericReference;
521
+ entityType: EntityType.Loop;
522
+ entityId: string;
523
+ } | {
519
524
  id: string;
520
525
  type: EntityType.GenericReference;
521
526
  entityType: EntityType.Operation;
@@ -550,13 +555,13 @@ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
550
555
  type: EntityType.GenericReference;
551
556
  entityType: EntityType.InternalCall;
552
557
  entityId: string;
553
- } | {
558
+ })[];
559
+ calledByError: ({
554
560
  id: string;
555
561
  type: EntityType.GenericReference;
556
562
  entityType: EntityType.Loop;
557
563
  entityId: string;
558
- })[];
559
- calledByError: ({
564
+ } | {
560
565
  id: string;
561
566
  type: EntityType.GenericReference;
562
567
  entityType: EntityType.Operation;
@@ -591,11 +596,6 @@ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
591
596
  type: EntityType.GenericReference;
592
597
  entityType: EntityType.InternalCall;
593
598
  entityId: string;
594
- } | {
595
- id: string;
596
- type: EntityType.GenericReference;
597
- entityType: EntityType.Loop;
598
- entityId: string;
599
599
  })[];
600
600
  calledByEntry: ({
601
601
  id: string;
@@ -976,6 +976,11 @@ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.ext
976
976
  id: string;
977
977
  type: EntityType.ReturnStatement;
978
978
  calledBySuccess: ({
979
+ id: string;
980
+ type: EntityType.GenericReference;
981
+ entityType: EntityType.Loop;
982
+ entityId: string;
983
+ } | {
979
984
  id: string;
980
985
  type: EntityType.GenericReference;
981
986
  entityType: EntityType.Operation;
@@ -1010,13 +1015,13 @@ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.ext
1010
1015
  type: EntityType.GenericReference;
1011
1016
  entityType: EntityType.InternalCall;
1012
1017
  entityId: string;
1013
- } | {
1018
+ })[];
1019
+ calledByError: ({
1014
1020
  id: string;
1015
1021
  type: EntityType.GenericReference;
1016
1022
  entityType: EntityType.Loop;
1017
1023
  entityId: string;
1018
- })[];
1019
- calledByError: ({
1024
+ } | {
1020
1025
  id: string;
1021
1026
  type: EntityType.GenericReference;
1022
1027
  entityType: EntityType.Operation;
@@ -1051,11 +1056,6 @@ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.ext
1051
1056
  type: EntityType.GenericReference;
1052
1057
  entityType: EntityType.InternalCall;
1053
1058
  entityId: string;
1054
- } | {
1055
- id: string;
1056
- type: EntityType.GenericReference;
1057
- entityType: EntityType.Loop;
1058
- entityId: string;
1059
1059
  })[];
1060
1060
  calledByEntry: ({
1061
1061
  id: string;
@@ -1097,6 +1097,11 @@ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.ext
1097
1097
  id: string;
1098
1098
  type: EntityType.ReturnStatement;
1099
1099
  calledBySuccess: ({
1100
+ id: string;
1101
+ type: EntityType.GenericReference;
1102
+ entityType: EntityType.Loop;
1103
+ entityId: string;
1104
+ } | {
1100
1105
  id: string;
1101
1106
  type: EntityType.GenericReference;
1102
1107
  entityType: EntityType.Operation;
@@ -1131,13 +1136,13 @@ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.ext
1131
1136
  type: EntityType.GenericReference;
1132
1137
  entityType: EntityType.InternalCall;
1133
1138
  entityId: string;
1134
- } | {
1139
+ })[];
1140
+ calledByError: ({
1135
1141
  id: string;
1136
1142
  type: EntityType.GenericReference;
1137
1143
  entityType: EntityType.Loop;
1138
1144
  entityId: string;
1139
- })[];
1140
- calledByError: ({
1145
+ } | {
1141
1146
  id: string;
1142
1147
  type: EntityType.GenericReference;
1143
1148
  entityType: EntityType.Operation;
@@ -1172,11 +1177,6 @@ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.ext
1172
1177
  type: EntityType.GenericReference;
1173
1178
  entityType: EntityType.InternalCall;
1174
1179
  entityId: string;
1175
- } | {
1176
- id: string;
1177
- type: EntityType.GenericReference;
1178
- entityType: EntityType.Loop;
1179
- entityId: string;
1180
1180
  })[];
1181
1181
  calledByEntry: ({
1182
1182
  id: string;
@@ -795,6 +795,11 @@ export declare function getSearchNestedEntitiesSchema(): z.ZodObject<{
795
795
  }>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
796
796
  }, "strip", z.ZodTypeAny, {
797
797
  calledBySuccess: ({
798
+ id: string;
799
+ type: EntityType.GenericReference;
800
+ entityType: EntityType.Loop;
801
+ entityId: string;
802
+ } | {
798
803
  id: string;
799
804
  type: EntityType.GenericReference;
800
805
  entityType: EntityType.Operation;
@@ -829,13 +834,13 @@ export declare function getSearchNestedEntitiesSchema(): z.ZodObject<{
829
834
  type: EntityType.GenericReference;
830
835
  entityType: EntityType.InternalCall;
831
836
  entityId: string;
832
- } | {
837
+ })[];
838
+ calledByError: ({
833
839
  id: string;
834
840
  type: EntityType.GenericReference;
835
841
  entityType: EntityType.Loop;
836
842
  entityId: string;
837
- })[];
838
- calledByError: ({
843
+ } | {
839
844
  id: string;
840
845
  type: EntityType.GenericReference;
841
846
  entityType: EntityType.Operation;
@@ -870,11 +875,6 @@ export declare function getSearchNestedEntitiesSchema(): z.ZodObject<{
870
875
  type: EntityType.GenericReference;
871
876
  entityType: EntityType.InternalCall;
872
877
  entityId: string;
873
- } | {
874
- id: string;
875
- type: EntityType.GenericReference;
876
- entityType: EntityType.Loop;
877
- entityId: string;
878
878
  })[];
879
879
  calledByEntry: ({
880
880
  id: string;
@@ -920,7 +920,7 @@ export declare function getSearchNestedEntitiesSchema(): z.ZodObject<{
920
920
  successCalls: ({
921
921
  id: string;
922
922
  type: EntityType.GenericReference;
923
- entityType: EntityType.ReturnStatement;
923
+ entityType: EntityType.Loop;
924
924
  entityId: string;
925
925
  } | {
926
926
  id: string;
@@ -960,7 +960,7 @@ export declare function getSearchNestedEntitiesSchema(): z.ZodObject<{
960
960
  } | {
961
961
  id: string;
962
962
  type: EntityType.GenericReference;
963
- entityType: EntityType.Loop;
963
+ entityType: EntityType.ReturnStatement;
964
964
  entityId: string;
965
965
  } | {
966
966
  id: string;
@@ -976,7 +976,7 @@ export declare function getSearchNestedEntitiesSchema(): z.ZodObject<{
976
976
  errorCalls: ({
977
977
  id: string;
978
978
  type: EntityType.GenericReference;
979
- entityType: EntityType.ReturnStatement;
979
+ entityType: EntityType.Loop;
980
980
  entityId: string;
981
981
  } | {
982
982
  id: string;
@@ -1016,7 +1016,7 @@ export declare function getSearchNestedEntitiesSchema(): z.ZodObject<{
1016
1016
  } | {
1017
1017
  id: string;
1018
1018
  type: EntityType.GenericReference;
1019
- entityType: EntityType.Loop;
1019
+ entityType: EntityType.ReturnStatement;
1020
1020
  entityId: string;
1021
1021
  } | {
1022
1022
  id: string;
@@ -1037,6 +1037,11 @@ export declare function getSearchNestedEntitiesSchema(): z.ZodObject<{
1037
1037
  })[];
1038
1038
  }, {
1039
1039
  calledBySuccess: ({
1040
+ id: string;
1041
+ type: EntityType.GenericReference;
1042
+ entityType: EntityType.Loop;
1043
+ entityId: string;
1044
+ } | {
1040
1045
  id: string;
1041
1046
  type: EntityType.GenericReference;
1042
1047
  entityType: EntityType.Operation;
@@ -1071,13 +1076,13 @@ export declare function getSearchNestedEntitiesSchema(): z.ZodObject<{
1071
1076
  type: EntityType.GenericReference;
1072
1077
  entityType: EntityType.InternalCall;
1073
1078
  entityId: string;
1074
- } | {
1079
+ })[];
1080
+ calledByError: ({
1075
1081
  id: string;
1076
1082
  type: EntityType.GenericReference;
1077
1083
  entityType: EntityType.Loop;
1078
1084
  entityId: string;
1079
- })[];
1080
- calledByError: ({
1085
+ } | {
1081
1086
  id: string;
1082
1087
  type: EntityType.GenericReference;
1083
1088
  entityType: EntityType.Operation;
@@ -1112,11 +1117,6 @@ export declare function getSearchNestedEntitiesSchema(): z.ZodObject<{
1112
1117
  type: EntityType.GenericReference;
1113
1118
  entityType: EntityType.InternalCall;
1114
1119
  entityId: string;
1115
- } | {
1116
- id: string;
1117
- type: EntityType.GenericReference;
1118
- entityType: EntityType.Loop;
1119
- entityId: string;
1120
1120
  })[];
1121
1121
  calledByEntry: ({
1122
1122
  id: string;
@@ -1162,7 +1162,7 @@ export declare function getSearchNestedEntitiesSchema(): z.ZodObject<{
1162
1162
  successCalls: ({
1163
1163
  id: string;
1164
1164
  type: EntityType.GenericReference;
1165
- entityType: EntityType.ReturnStatement;
1165
+ entityType: EntityType.Loop;
1166
1166
  entityId: string;
1167
1167
  } | {
1168
1168
  id: string;
@@ -1202,7 +1202,7 @@ export declare function getSearchNestedEntitiesSchema(): z.ZodObject<{
1202
1202
  } | {
1203
1203
  id: string;
1204
1204
  type: EntityType.GenericReference;
1205
- entityType: EntityType.Loop;
1205
+ entityType: EntityType.ReturnStatement;
1206
1206
  entityId: string;
1207
1207
  } | {
1208
1208
  id: string;
@@ -1218,7 +1218,7 @@ export declare function getSearchNestedEntitiesSchema(): z.ZodObject<{
1218
1218
  errorCalls: ({
1219
1219
  id: string;
1220
1220
  type: EntityType.GenericReference;
1221
- entityType: EntityType.ReturnStatement;
1221
+ entityType: EntityType.Loop;
1222
1222
  entityId: string;
1223
1223
  } | {
1224
1224
  id: string;
@@ -1258,7 +1258,7 @@ export declare function getSearchNestedEntitiesSchema(): z.ZodObject<{
1258
1258
  } | {
1259
1259
  id: string;
1260
1260
  type: EntityType.GenericReference;
1261
- entityType: EntityType.Loop;
1261
+ entityType: EntityType.ReturnStatement;
1262
1262
  entityId: string;
1263
1263
  } | {
1264
1264
  id: string;
@@ -1994,6 +1994,11 @@ export declare function getSearchSchema(): z.ZodObject<z.objectUtil.extendShape<
1994
1994
  id: string;
1995
1995
  type: EntityType.Search;
1996
1996
  calledBySuccess: ({
1997
+ id: string;
1998
+ type: EntityType.GenericReference;
1999
+ entityType: EntityType.Loop;
2000
+ entityId: string;
2001
+ } | {
1997
2002
  id: string;
1998
2003
  type: EntityType.GenericReference;
1999
2004
  entityType: EntityType.Operation;
@@ -2028,13 +2033,13 @@ export declare function getSearchSchema(): z.ZodObject<z.objectUtil.extendShape<
2028
2033
  type: EntityType.GenericReference;
2029
2034
  entityType: EntityType.InternalCall;
2030
2035
  entityId: string;
2031
- } | {
2036
+ })[];
2037
+ calledByError: ({
2032
2038
  id: string;
2033
2039
  type: EntityType.GenericReference;
2034
2040
  entityType: EntityType.Loop;
2035
2041
  entityId: string;
2036
- })[];
2037
- calledByError: ({
2042
+ } | {
2038
2043
  id: string;
2039
2044
  type: EntityType.GenericReference;
2040
2045
  entityType: EntityType.Operation;
@@ -2069,11 +2074,6 @@ export declare function getSearchSchema(): z.ZodObject<z.objectUtil.extendShape<
2069
2074
  type: EntityType.GenericReference;
2070
2075
  entityType: EntityType.InternalCall;
2071
2076
  entityId: string;
2072
- } | {
2073
- id: string;
2074
- type: EntityType.GenericReference;
2075
- entityType: EntityType.Loop;
2076
- entityId: string;
2077
2077
  })[];
2078
2078
  calledByEntry: ({
2079
2079
  id: string;
@@ -2124,7 +2124,7 @@ export declare function getSearchSchema(): z.ZodObject<z.objectUtil.extendShape<
2124
2124
  successCalls: ({
2125
2125
  id: string;
2126
2126
  type: EntityType.GenericReference;
2127
- entityType: EntityType.ReturnStatement;
2127
+ entityType: EntityType.Loop;
2128
2128
  entityId: string;
2129
2129
  } | {
2130
2130
  id: string;
@@ -2164,7 +2164,7 @@ export declare function getSearchSchema(): z.ZodObject<z.objectUtil.extendShape<
2164
2164
  } | {
2165
2165
  id: string;
2166
2166
  type: EntityType.GenericReference;
2167
- entityType: EntityType.Loop;
2167
+ entityType: EntityType.ReturnStatement;
2168
2168
  entityId: string;
2169
2169
  } | {
2170
2170
  id: string;
@@ -2180,7 +2180,7 @@ export declare function getSearchSchema(): z.ZodObject<z.objectUtil.extendShape<
2180
2180
  errorCalls: ({
2181
2181
  id: string;
2182
2182
  type: EntityType.GenericReference;
2183
- entityType: EntityType.ReturnStatement;
2183
+ entityType: EntityType.Loop;
2184
2184
  entityId: string;
2185
2185
  } | {
2186
2186
  id: string;
@@ -2220,7 +2220,7 @@ export declare function getSearchSchema(): z.ZodObject<z.objectUtil.extendShape<
2220
2220
  } | {
2221
2221
  id: string;
2222
2222
  type: EntityType.GenericReference;
2223
- entityType: EntityType.Loop;
2223
+ entityType: EntityType.ReturnStatement;
2224
2224
  entityId: string;
2225
2225
  } | {
2226
2226
  id: string;
@@ -2244,6 +2244,11 @@ export declare function getSearchSchema(): z.ZodObject<z.objectUtil.extendShape<
2244
2244
  id: string;
2245
2245
  type: EntityType.Search;
2246
2246
  calledBySuccess: ({
2247
+ id: string;
2248
+ type: EntityType.GenericReference;
2249
+ entityType: EntityType.Loop;
2250
+ entityId: string;
2251
+ } | {
2247
2252
  id: string;
2248
2253
  type: EntityType.GenericReference;
2249
2254
  entityType: EntityType.Operation;
@@ -2278,13 +2283,13 @@ export declare function getSearchSchema(): z.ZodObject<z.objectUtil.extendShape<
2278
2283
  type: EntityType.GenericReference;
2279
2284
  entityType: EntityType.InternalCall;
2280
2285
  entityId: string;
2281
- } | {
2286
+ })[];
2287
+ calledByError: ({
2282
2288
  id: string;
2283
2289
  type: EntityType.GenericReference;
2284
2290
  entityType: EntityType.Loop;
2285
2291
  entityId: string;
2286
- })[];
2287
- calledByError: ({
2292
+ } | {
2288
2293
  id: string;
2289
2294
  type: EntityType.GenericReference;
2290
2295
  entityType: EntityType.Operation;
@@ -2319,11 +2324,6 @@ export declare function getSearchSchema(): z.ZodObject<z.objectUtil.extendShape<
2319
2324
  type: EntityType.GenericReference;
2320
2325
  entityType: EntityType.InternalCall;
2321
2326
  entityId: string;
2322
- } | {
2323
- id: string;
2324
- type: EntityType.GenericReference;
2325
- entityType: EntityType.Loop;
2326
- entityId: string;
2327
2327
  })[];
2328
2328
  calledByEntry: ({
2329
2329
  id: string;
@@ -2374,7 +2374,7 @@ export declare function getSearchSchema(): z.ZodObject<z.objectUtil.extendShape<
2374
2374
  successCalls: ({
2375
2375
  id: string;
2376
2376
  type: EntityType.GenericReference;
2377
- entityType: EntityType.ReturnStatement;
2377
+ entityType: EntityType.Loop;
2378
2378
  entityId: string;
2379
2379
  } | {
2380
2380
  id: string;
@@ -2414,7 +2414,7 @@ export declare function getSearchSchema(): z.ZodObject<z.objectUtil.extendShape<
2414
2414
  } | {
2415
2415
  id: string;
2416
2416
  type: EntityType.GenericReference;
2417
- entityType: EntityType.Loop;
2417
+ entityType: EntityType.ReturnStatement;
2418
2418
  entityId: string;
2419
2419
  } | {
2420
2420
  id: string;
@@ -2430,7 +2430,7 @@ export declare function getSearchSchema(): z.ZodObject<z.objectUtil.extendShape<
2430
2430
  errorCalls: ({
2431
2431
  id: string;
2432
2432
  type: EntityType.GenericReference;
2433
- entityType: EntityType.ReturnStatement;
2433
+ entityType: EntityType.Loop;
2434
2434
  entityId: string;
2435
2435
  } | {
2436
2436
  id: string;
@@ -2470,7 +2470,7 @@ export declare function getSearchSchema(): z.ZodObject<z.objectUtil.extendShape<
2470
2470
  } | {
2471
2471
  id: string;
2472
2472
  type: EntityType.GenericReference;
2473
- entityType: EntityType.Loop;
2473
+ entityType: EntityType.ReturnStatement;
2474
2474
  entityId: string;
2475
2475
  } | {
2476
2476
  id: string;