@elyx-code/project-logic-tree 0.0.56 → 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 (22) hide show
  1. package/dist/index.js +13746 -13755
  2. package/dist/index.umd.cjs +134 -134
  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/input-map/validation/validation-schema.d.ts +64 -64
  10. package/dist/tree/state/internal-call/validation/validation-schema.d.ts +56 -56
  11. package/dist/tree/state/loop/validation/validation-schema.d.ts +48 -48
  12. package/dist/tree/state/operation/validation/validation-schema.d.ts +56 -56
  13. package/dist/tree/state/output-map/validation/validation-schema.d.ts +72 -72
  14. package/dist/tree/state/project/project.d.ts +6 -0
  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/variable-declaration/validation/validation-schema.d.ts +64 -64
  19. package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +64 -64
  20. package/dist/tree/utils/index.d.ts +1 -1
  21. package/dist/tree/utils/uuid.d.ts +1 -7
  22. package/package.json +1 -1
@@ -777,6 +777,11 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
777
777
  type: EntityType.FunctionDeclaration;
778
778
  };
779
779
  calledBySuccess: ({
780
+ id: string;
781
+ type: EntityType.GenericReference;
782
+ entityType: EntityType.Loop;
783
+ entityId: string;
784
+ } | {
780
785
  id: string;
781
786
  type: EntityType.GenericReference;
782
787
  entityType: EntityType.Operation;
@@ -811,13 +816,13 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
811
816
  type: EntityType.GenericReference;
812
817
  entityType: EntityType.InternalCall;
813
818
  entityId: string;
814
- } | {
819
+ })[];
820
+ calledByError: ({
815
821
  id: string;
816
822
  type: EntityType.GenericReference;
817
823
  entityType: EntityType.Loop;
818
824
  entityId: string;
819
- })[];
820
- calledByError: ({
825
+ } | {
821
826
  id: string;
822
827
  type: EntityType.GenericReference;
823
828
  entityType: EntityType.Operation;
@@ -852,11 +857,6 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
852
857
  type: EntityType.GenericReference;
853
858
  entityType: EntityType.InternalCall;
854
859
  entityId: string;
855
- } | {
856
- id: string;
857
- type: EntityType.GenericReference;
858
- entityType: EntityType.Loop;
859
- entityId: string;
860
860
  })[];
861
861
  calledByEntry: ({
862
862
  id: string;
@@ -889,7 +889,7 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
889
889
  successCalls: ({
890
890
  id: string;
891
891
  type: EntityType.GenericReference;
892
- entityType: EntityType.ReturnStatement;
892
+ entityType: EntityType.Loop;
893
893
  entityId: string;
894
894
  } | {
895
895
  id: string;
@@ -929,7 +929,7 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
929
929
  } | {
930
930
  id: string;
931
931
  type: EntityType.GenericReference;
932
- entityType: EntityType.Loop;
932
+ entityType: EntityType.ReturnStatement;
933
933
  entityId: string;
934
934
  } | {
935
935
  id: string;
@@ -945,7 +945,7 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
945
945
  errorCalls: ({
946
946
  id: string;
947
947
  type: EntityType.GenericReference;
948
- entityType: EntityType.ReturnStatement;
948
+ entityType: EntityType.Loop;
949
949
  entityId: string;
950
950
  } | {
951
951
  id: string;
@@ -985,7 +985,7 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
985
985
  } | {
986
986
  id: string;
987
987
  type: EntityType.GenericReference;
988
- entityType: EntityType.Loop;
988
+ entityType: EntityType.ReturnStatement;
989
989
  entityId: string;
990
990
  } | {
991
991
  id: string;
@@ -999,13 +999,13 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
999
999
  entityId: string;
1000
1000
  })[];
1001
1001
  writesValues: (Record<string, any> | {
1002
+ type: EntityType.InputMap;
1003
+ } | {
1002
1004
  type: EntityType.ReturnDeclaration;
1003
1005
  } | {
1004
1006
  type: EntityType.VariableDeclaration;
1005
1007
  } | {
1006
1008
  type: EntityType.VariableInstance;
1007
- } | {
1008
- type: EntityType.InputMap;
1009
1009
  })[];
1010
1010
  error?: Record<string, any> | {
1011
1011
  type: EntityType.OutputMap;
@@ -1015,6 +1015,11 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
1015
1015
  type: EntityType.FunctionDeclaration;
1016
1016
  };
1017
1017
  calledBySuccess: ({
1018
+ id: string;
1019
+ type: EntityType.GenericReference;
1020
+ entityType: EntityType.Loop;
1021
+ entityId: string;
1022
+ } | {
1018
1023
  id: string;
1019
1024
  type: EntityType.GenericReference;
1020
1025
  entityType: EntityType.Operation;
@@ -1049,13 +1054,13 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
1049
1054
  type: EntityType.GenericReference;
1050
1055
  entityType: EntityType.InternalCall;
1051
1056
  entityId: string;
1052
- } | {
1057
+ })[];
1058
+ calledByError: ({
1053
1059
  id: string;
1054
1060
  type: EntityType.GenericReference;
1055
1061
  entityType: EntityType.Loop;
1056
1062
  entityId: string;
1057
- })[];
1058
- calledByError: ({
1063
+ } | {
1059
1064
  id: string;
1060
1065
  type: EntityType.GenericReference;
1061
1066
  entityType: EntityType.Operation;
@@ -1090,11 +1095,6 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
1090
1095
  type: EntityType.GenericReference;
1091
1096
  entityType: EntityType.InternalCall;
1092
1097
  entityId: string;
1093
- } | {
1094
- id: string;
1095
- type: EntityType.GenericReference;
1096
- entityType: EntityType.Loop;
1097
- entityId: string;
1098
1098
  })[];
1099
1099
  calledByEntry: ({
1100
1100
  id: string;
@@ -1127,7 +1127,7 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
1127
1127
  successCalls: ({
1128
1128
  id: string;
1129
1129
  type: EntityType.GenericReference;
1130
- entityType: EntityType.ReturnStatement;
1130
+ entityType: EntityType.Loop;
1131
1131
  entityId: string;
1132
1132
  } | {
1133
1133
  id: string;
@@ -1167,7 +1167,7 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
1167
1167
  } | {
1168
1168
  id: string;
1169
1169
  type: EntityType.GenericReference;
1170
- entityType: EntityType.Loop;
1170
+ entityType: EntityType.ReturnStatement;
1171
1171
  entityId: string;
1172
1172
  } | {
1173
1173
  id: string;
@@ -1183,7 +1183,7 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
1183
1183
  errorCalls: ({
1184
1184
  id: string;
1185
1185
  type: EntityType.GenericReference;
1186
- entityType: EntityType.ReturnStatement;
1186
+ entityType: EntityType.Loop;
1187
1187
  entityId: string;
1188
1188
  } | {
1189
1189
  id: string;
@@ -1223,7 +1223,7 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
1223
1223
  } | {
1224
1224
  id: string;
1225
1225
  type: EntityType.GenericReference;
1226
- entityType: EntityType.Loop;
1226
+ entityType: EntityType.ReturnStatement;
1227
1227
  entityId: string;
1228
1228
  } | {
1229
1229
  id: string;
@@ -1237,13 +1237,13 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
1237
1237
  entityId: string;
1238
1238
  })[];
1239
1239
  writesValues: (Record<string, any> | {
1240
+ type: EntityType.InputMap;
1241
+ } | {
1240
1242
  type: EntityType.ReturnDeclaration;
1241
1243
  } | {
1242
1244
  type: EntityType.VariableDeclaration;
1243
1245
  } | {
1244
1246
  type: EntityType.VariableInstance;
1245
- } | {
1246
- type: EntityType.InputMap;
1247
1247
  })[];
1248
1248
  error?: Record<string, any> | {
1249
1249
  type: EntityType.OutputMap;
@@ -1953,6 +1953,11 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
1953
1953
  type: EntityType.FunctionDeclaration;
1954
1954
  };
1955
1955
  calledBySuccess: ({
1956
+ id: string;
1957
+ type: EntityType.GenericReference;
1958
+ entityType: EntityType.Loop;
1959
+ entityId: string;
1960
+ } | {
1956
1961
  id: string;
1957
1962
  type: EntityType.GenericReference;
1958
1963
  entityType: EntityType.Operation;
@@ -1987,13 +1992,13 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
1987
1992
  type: EntityType.GenericReference;
1988
1993
  entityType: EntityType.InternalCall;
1989
1994
  entityId: string;
1990
- } | {
1995
+ })[];
1996
+ calledByError: ({
1991
1997
  id: string;
1992
1998
  type: EntityType.GenericReference;
1993
1999
  entityType: EntityType.Loop;
1994
2000
  entityId: string;
1995
- })[];
1996
- calledByError: ({
2001
+ } | {
1997
2002
  id: string;
1998
2003
  type: EntityType.GenericReference;
1999
2004
  entityType: EntityType.Operation;
@@ -2028,11 +2033,6 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2028
2033
  type: EntityType.GenericReference;
2029
2034
  entityType: EntityType.InternalCall;
2030
2035
  entityId: string;
2031
- } | {
2032
- id: string;
2033
- type: EntityType.GenericReference;
2034
- entityType: EntityType.Loop;
2035
- entityId: string;
2036
2036
  })[];
2037
2037
  calledByEntry: ({
2038
2038
  id: string;
@@ -2067,7 +2067,7 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2067
2067
  successCalls: ({
2068
2068
  id: string;
2069
2069
  type: EntityType.GenericReference;
2070
- entityType: EntityType.ReturnStatement;
2070
+ entityType: EntityType.Loop;
2071
2071
  entityId: string;
2072
2072
  } | {
2073
2073
  id: string;
@@ -2107,7 +2107,7 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2107
2107
  } | {
2108
2108
  id: string;
2109
2109
  type: EntityType.GenericReference;
2110
- entityType: EntityType.Loop;
2110
+ entityType: EntityType.ReturnStatement;
2111
2111
  entityId: string;
2112
2112
  } | {
2113
2113
  id: string;
@@ -2123,7 +2123,7 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2123
2123
  errorCalls: ({
2124
2124
  id: string;
2125
2125
  type: EntityType.GenericReference;
2126
- entityType: EntityType.ReturnStatement;
2126
+ entityType: EntityType.Loop;
2127
2127
  entityId: string;
2128
2128
  } | {
2129
2129
  id: string;
@@ -2163,7 +2163,7 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2163
2163
  } | {
2164
2164
  id: string;
2165
2165
  type: EntityType.GenericReference;
2166
- entityType: EntityType.Loop;
2166
+ entityType: EntityType.ReturnStatement;
2167
2167
  entityId: string;
2168
2168
  } | {
2169
2169
  id: string;
@@ -2177,13 +2177,13 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2177
2177
  entityId: string;
2178
2178
  })[];
2179
2179
  writesValues: (Record<string, any> | {
2180
+ type: EntityType.InputMap;
2181
+ } | {
2180
2182
  type: EntityType.ReturnDeclaration;
2181
2183
  } | {
2182
2184
  type: EntityType.VariableDeclaration;
2183
2185
  } | {
2184
2186
  type: EntityType.VariableInstance;
2185
- } | {
2186
- type: EntityType.InputMap;
2187
2187
  })[];
2188
2188
  error?: Record<string, any> | {
2189
2189
  type: EntityType.OutputMap;
@@ -2195,6 +2195,11 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2195
2195
  type: EntityType.FunctionDeclaration;
2196
2196
  };
2197
2197
  calledBySuccess: ({
2198
+ id: string;
2199
+ type: EntityType.GenericReference;
2200
+ entityType: EntityType.Loop;
2201
+ entityId: string;
2202
+ } | {
2198
2203
  id: string;
2199
2204
  type: EntityType.GenericReference;
2200
2205
  entityType: EntityType.Operation;
@@ -2229,13 +2234,13 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2229
2234
  type: EntityType.GenericReference;
2230
2235
  entityType: EntityType.InternalCall;
2231
2236
  entityId: string;
2232
- } | {
2237
+ })[];
2238
+ calledByError: ({
2233
2239
  id: string;
2234
2240
  type: EntityType.GenericReference;
2235
2241
  entityType: EntityType.Loop;
2236
2242
  entityId: string;
2237
- })[];
2238
- calledByError: ({
2243
+ } | {
2239
2244
  id: string;
2240
2245
  type: EntityType.GenericReference;
2241
2246
  entityType: EntityType.Operation;
@@ -2270,11 +2275,6 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2270
2275
  type: EntityType.GenericReference;
2271
2276
  entityType: EntityType.InternalCall;
2272
2277
  entityId: string;
2273
- } | {
2274
- id: string;
2275
- type: EntityType.GenericReference;
2276
- entityType: EntityType.Loop;
2277
- entityId: string;
2278
2278
  })[];
2279
2279
  calledByEntry: ({
2280
2280
  id: string;
@@ -2309,7 +2309,7 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2309
2309
  successCalls: ({
2310
2310
  id: string;
2311
2311
  type: EntityType.GenericReference;
2312
- entityType: EntityType.ReturnStatement;
2312
+ entityType: EntityType.Loop;
2313
2313
  entityId: string;
2314
2314
  } | {
2315
2315
  id: string;
@@ -2349,7 +2349,7 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2349
2349
  } | {
2350
2350
  id: string;
2351
2351
  type: EntityType.GenericReference;
2352
- entityType: EntityType.Loop;
2352
+ entityType: EntityType.ReturnStatement;
2353
2353
  entityId: string;
2354
2354
  } | {
2355
2355
  id: string;
@@ -2365,7 +2365,7 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2365
2365
  errorCalls: ({
2366
2366
  id: string;
2367
2367
  type: EntityType.GenericReference;
2368
- entityType: EntityType.ReturnStatement;
2368
+ entityType: EntityType.Loop;
2369
2369
  entityId: string;
2370
2370
  } | {
2371
2371
  id: string;
@@ -2405,7 +2405,7 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2405
2405
  } | {
2406
2406
  id: string;
2407
2407
  type: EntityType.GenericReference;
2408
- entityType: EntityType.Loop;
2408
+ entityType: EntityType.ReturnStatement;
2409
2409
  entityId: string;
2410
2410
  } | {
2411
2411
  id: string;
@@ -2419,13 +2419,13 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2419
2419
  entityId: string;
2420
2420
  })[];
2421
2421
  writesValues: (Record<string, any> | {
2422
+ type: EntityType.InputMap;
2423
+ } | {
2422
2424
  type: EntityType.ReturnDeclaration;
2423
2425
  } | {
2424
2426
  type: EntityType.VariableDeclaration;
2425
2427
  } | {
2426
2428
  type: EntityType.VariableInstance;
2427
- } | {
2428
- type: EntityType.InputMap;
2429
2429
  })[];
2430
2430
  error?: Record<string, any> | {
2431
2431
  type: EntityType.OutputMap;
@@ -799,6 +799,11 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
799
799
  type: EntityType.ActionDescriptor;
800
800
  };
801
801
  calledBySuccess: ({
802
+ id: string;
803
+ type: EntityType.GenericReference;
804
+ entityType: EntityType.Loop;
805
+ entityId: string;
806
+ } | {
802
807
  id: string;
803
808
  type: EntityType.GenericReference;
804
809
  entityType: EntityType.Operation;
@@ -833,13 +838,13 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
833
838
  type: EntityType.GenericReference;
834
839
  entityType: EntityType.InternalCall;
835
840
  entityId: string;
836
- } | {
841
+ })[];
842
+ calledByError: ({
837
843
  id: string;
838
844
  type: EntityType.GenericReference;
839
845
  entityType: EntityType.Loop;
840
846
  entityId: string;
841
- })[];
842
- calledByError: ({
847
+ } | {
843
848
  id: string;
844
849
  type: EntityType.GenericReference;
845
850
  entityType: EntityType.Operation;
@@ -874,11 +879,6 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
874
879
  type: EntityType.GenericReference;
875
880
  entityType: EntityType.InternalCall;
876
881
  entityId: string;
877
- } | {
878
- id: string;
879
- type: EntityType.GenericReference;
880
- entityType: EntityType.Loop;
881
- entityId: string;
882
882
  })[];
883
883
  calledByEntry: ({
884
884
  id: string;
@@ -924,7 +924,7 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
924
924
  successCalls: ({
925
925
  id: string;
926
926
  type: EntityType.GenericReference;
927
- entityType: EntityType.ReturnStatement;
927
+ entityType: EntityType.Loop;
928
928
  entityId: string;
929
929
  } | {
930
930
  id: string;
@@ -964,7 +964,7 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
964
964
  } | {
965
965
  id: string;
966
966
  type: EntityType.GenericReference;
967
- entityType: EntityType.Loop;
967
+ entityType: EntityType.ReturnStatement;
968
968
  entityId: string;
969
969
  } | {
970
970
  id: string;
@@ -980,7 +980,7 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
980
980
  errorCalls: ({
981
981
  id: string;
982
982
  type: EntityType.GenericReference;
983
- entityType: EntityType.ReturnStatement;
983
+ entityType: EntityType.Loop;
984
984
  entityId: string;
985
985
  } | {
986
986
  id: string;
@@ -1020,7 +1020,7 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
1020
1020
  } | {
1021
1021
  id: string;
1022
1022
  type: EntityType.GenericReference;
1023
- entityType: EntityType.Loop;
1023
+ entityType: EntityType.ReturnStatement;
1024
1024
  entityId: string;
1025
1025
  } | {
1026
1026
  id: string;
@@ -1047,6 +1047,11 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
1047
1047
  type: EntityType.ActionDescriptor;
1048
1048
  };
1049
1049
  calledBySuccess: ({
1050
+ id: string;
1051
+ type: EntityType.GenericReference;
1052
+ entityType: EntityType.Loop;
1053
+ entityId: string;
1054
+ } | {
1050
1055
  id: string;
1051
1056
  type: EntityType.GenericReference;
1052
1057
  entityType: EntityType.Operation;
@@ -1081,13 +1086,13 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
1081
1086
  type: EntityType.GenericReference;
1082
1087
  entityType: EntityType.InternalCall;
1083
1088
  entityId: string;
1084
- } | {
1089
+ })[];
1090
+ calledByError: ({
1085
1091
  id: string;
1086
1092
  type: EntityType.GenericReference;
1087
1093
  entityType: EntityType.Loop;
1088
1094
  entityId: string;
1089
- })[];
1090
- calledByError: ({
1095
+ } | {
1091
1096
  id: string;
1092
1097
  type: EntityType.GenericReference;
1093
1098
  entityType: EntityType.Operation;
@@ -1122,11 +1127,6 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
1122
1127
  type: EntityType.GenericReference;
1123
1128
  entityType: EntityType.InternalCall;
1124
1129
  entityId: string;
1125
- } | {
1126
- id: string;
1127
- type: EntityType.GenericReference;
1128
- entityType: EntityType.Loop;
1129
- entityId: string;
1130
1130
  })[];
1131
1131
  calledByEntry: ({
1132
1132
  id: string;
@@ -1172,7 +1172,7 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
1172
1172
  successCalls: ({
1173
1173
  id: string;
1174
1174
  type: EntityType.GenericReference;
1175
- entityType: EntityType.ReturnStatement;
1175
+ entityType: EntityType.Loop;
1176
1176
  entityId: string;
1177
1177
  } | {
1178
1178
  id: string;
@@ -1212,7 +1212,7 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
1212
1212
  } | {
1213
1213
  id: string;
1214
1214
  type: EntityType.GenericReference;
1215
- entityType: EntityType.Loop;
1215
+ entityType: EntityType.ReturnStatement;
1216
1216
  entityId: string;
1217
1217
  } | {
1218
1218
  id: string;
@@ -1228,7 +1228,7 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
1228
1228
  errorCalls: ({
1229
1229
  id: string;
1230
1230
  type: EntityType.GenericReference;
1231
- entityType: EntityType.ReturnStatement;
1231
+ entityType: EntityType.Loop;
1232
1232
  entityId: string;
1233
1233
  } | {
1234
1234
  id: string;
@@ -1268,7 +1268,7 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
1268
1268
  } | {
1269
1269
  id: string;
1270
1270
  type: EntityType.GenericReference;
1271
- entityType: EntityType.Loop;
1271
+ entityType: EntityType.ReturnStatement;
1272
1272
  entityId: string;
1273
1273
  } | {
1274
1274
  id: string;
@@ -2021,6 +2021,11 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2021
2021
  type: EntityType.ActionDescriptor;
2022
2022
  };
2023
2023
  calledBySuccess: ({
2024
+ id: string;
2025
+ type: EntityType.GenericReference;
2026
+ entityType: EntityType.Loop;
2027
+ entityId: string;
2028
+ } | {
2024
2029
  id: string;
2025
2030
  type: EntityType.GenericReference;
2026
2031
  entityType: EntityType.Operation;
@@ -2055,13 +2060,13 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2055
2060
  type: EntityType.GenericReference;
2056
2061
  entityType: EntityType.InternalCall;
2057
2062
  entityId: string;
2058
- } | {
2063
+ })[];
2064
+ calledByError: ({
2059
2065
  id: string;
2060
2066
  type: EntityType.GenericReference;
2061
2067
  entityType: EntityType.Loop;
2062
2068
  entityId: string;
2063
- })[];
2064
- calledByError: ({
2069
+ } | {
2065
2070
  id: string;
2066
2071
  type: EntityType.GenericReference;
2067
2072
  entityType: EntityType.Operation;
@@ -2096,11 +2101,6 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2096
2101
  type: EntityType.GenericReference;
2097
2102
  entityType: EntityType.InternalCall;
2098
2103
  entityId: string;
2099
- } | {
2100
- id: string;
2101
- type: EntityType.GenericReference;
2102
- entityType: EntityType.Loop;
2103
- entityId: string;
2104
2104
  })[];
2105
2105
  calledByEntry: ({
2106
2106
  id: string;
@@ -2149,7 +2149,7 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2149
2149
  successCalls: ({
2150
2150
  id: string;
2151
2151
  type: EntityType.GenericReference;
2152
- entityType: EntityType.ReturnStatement;
2152
+ entityType: EntityType.Loop;
2153
2153
  entityId: string;
2154
2154
  } | {
2155
2155
  id: string;
@@ -2189,7 +2189,7 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2189
2189
  } | {
2190
2190
  id: string;
2191
2191
  type: EntityType.GenericReference;
2192
- entityType: EntityType.Loop;
2192
+ entityType: EntityType.ReturnStatement;
2193
2193
  entityId: string;
2194
2194
  } | {
2195
2195
  id: string;
@@ -2205,7 +2205,7 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2205
2205
  errorCalls: ({
2206
2206
  id: string;
2207
2207
  type: EntityType.GenericReference;
2208
- entityType: EntityType.ReturnStatement;
2208
+ entityType: EntityType.Loop;
2209
2209
  entityId: string;
2210
2210
  } | {
2211
2211
  id: string;
@@ -2245,7 +2245,7 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2245
2245
  } | {
2246
2246
  id: string;
2247
2247
  type: EntityType.GenericReference;
2248
- entityType: EntityType.Loop;
2248
+ entityType: EntityType.ReturnStatement;
2249
2249
  entityId: string;
2250
2250
  } | {
2251
2251
  id: string;
@@ -2274,6 +2274,11 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2274
2274
  type: EntityType.ActionDescriptor;
2275
2275
  };
2276
2276
  calledBySuccess: ({
2277
+ id: string;
2278
+ type: EntityType.GenericReference;
2279
+ entityType: EntityType.Loop;
2280
+ entityId: string;
2281
+ } | {
2277
2282
  id: string;
2278
2283
  type: EntityType.GenericReference;
2279
2284
  entityType: EntityType.Operation;
@@ -2308,13 +2313,13 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2308
2313
  type: EntityType.GenericReference;
2309
2314
  entityType: EntityType.InternalCall;
2310
2315
  entityId: string;
2311
- } | {
2316
+ })[];
2317
+ calledByError: ({
2312
2318
  id: string;
2313
2319
  type: EntityType.GenericReference;
2314
2320
  entityType: EntityType.Loop;
2315
2321
  entityId: string;
2316
- })[];
2317
- calledByError: ({
2322
+ } | {
2318
2323
  id: string;
2319
2324
  type: EntityType.GenericReference;
2320
2325
  entityType: EntityType.Operation;
@@ -2349,11 +2354,6 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2349
2354
  type: EntityType.GenericReference;
2350
2355
  entityType: EntityType.InternalCall;
2351
2356
  entityId: string;
2352
- } | {
2353
- id: string;
2354
- type: EntityType.GenericReference;
2355
- entityType: EntityType.Loop;
2356
- entityId: string;
2357
2357
  })[];
2358
2358
  calledByEntry: ({
2359
2359
  id: string;
@@ -2402,7 +2402,7 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2402
2402
  successCalls: ({
2403
2403
  id: string;
2404
2404
  type: EntityType.GenericReference;
2405
- entityType: EntityType.ReturnStatement;
2405
+ entityType: EntityType.Loop;
2406
2406
  entityId: string;
2407
2407
  } | {
2408
2408
  id: string;
@@ -2442,7 +2442,7 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2442
2442
  } | {
2443
2443
  id: string;
2444
2444
  type: EntityType.GenericReference;
2445
- entityType: EntityType.Loop;
2445
+ entityType: EntityType.ReturnStatement;
2446
2446
  entityId: string;
2447
2447
  } | {
2448
2448
  id: string;
@@ -2458,7 +2458,7 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2458
2458
  errorCalls: ({
2459
2459
  id: string;
2460
2460
  type: EntityType.GenericReference;
2461
- entityType: EntityType.ReturnStatement;
2461
+ entityType: EntityType.Loop;
2462
2462
  entityId: string;
2463
2463
  } | {
2464
2464
  id: string;
@@ -2498,7 +2498,7 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2498
2498
  } | {
2499
2499
  id: string;
2500
2500
  type: EntityType.GenericReference;
2501
- entityType: EntityType.Loop;
2501
+ entityType: EntityType.ReturnStatement;
2502
2502
  entityId: string;
2503
2503
  } | {
2504
2504
  id: string;