@elyx-code/project-logic-tree 0.0.2 → 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 -16939
  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 -28
  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
@@ -777,11 +777,6 @@ 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
- } | {
785
780
  id: string;
786
781
  type: EntityType.GenericReference;
787
782
  entityType: EntityType.Operation;
@@ -816,13 +811,13 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
816
811
  type: EntityType.GenericReference;
817
812
  entityType: EntityType.InternalCall;
818
813
  entityId: string;
819
- })[];
820
- calledByError: ({
814
+ } | {
821
815
  id: string;
822
816
  type: EntityType.GenericReference;
823
817
  entityType: EntityType.Loop;
824
818
  entityId: string;
825
- } | {
819
+ })[];
820
+ calledByError: ({
826
821
  id: string;
827
822
  type: EntityType.GenericReference;
828
823
  entityType: EntityType.Operation;
@@ -857,6 +852,11 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
857
852
  type: EntityType.GenericReference;
858
853
  entityType: EntityType.InternalCall;
859
854
  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.Loop;
892
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
932
+ entityType: EntityType.Loop;
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.Loop;
948
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
988
+ entityType: EntityType.Loop;
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
- } | {
1004
1002
  type: EntityType.ReturnDeclaration;
1005
1003
  } | {
1006
1004
  type: EntityType.VariableDeclaration;
1007
1005
  } | {
1008
1006
  type: EntityType.VariableInstance;
1007
+ } | {
1008
+ type: EntityType.InputMap;
1009
1009
  })[];
1010
1010
  error?: Record<string, any> | {
1011
1011
  type: EntityType.OutputMap;
@@ -1015,11 +1015,6 @@ 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
- } | {
1023
1018
  id: string;
1024
1019
  type: EntityType.GenericReference;
1025
1020
  entityType: EntityType.Operation;
@@ -1054,13 +1049,13 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
1054
1049
  type: EntityType.GenericReference;
1055
1050
  entityType: EntityType.InternalCall;
1056
1051
  entityId: string;
1057
- })[];
1058
- calledByError: ({
1052
+ } | {
1059
1053
  id: string;
1060
1054
  type: EntityType.GenericReference;
1061
1055
  entityType: EntityType.Loop;
1062
1056
  entityId: string;
1063
- } | {
1057
+ })[];
1058
+ calledByError: ({
1064
1059
  id: string;
1065
1060
  type: EntityType.GenericReference;
1066
1061
  entityType: EntityType.Operation;
@@ -1095,6 +1090,11 @@ export declare function getInternalCallNestedEntitiesSchema(): z.ZodObject<{
1095
1090
  type: EntityType.GenericReference;
1096
1091
  entityType: EntityType.InternalCall;
1097
1092
  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.Loop;
1130
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
1170
+ entityType: EntityType.Loop;
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.Loop;
1186
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
1226
+ entityType: EntityType.Loop;
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
- } | {
1242
1240
  type: EntityType.ReturnDeclaration;
1243
1241
  } | {
1244
1242
  type: EntityType.VariableDeclaration;
1245
1243
  } | {
1246
1244
  type: EntityType.VariableInstance;
1245
+ } | {
1246
+ type: EntityType.InputMap;
1247
1247
  })[];
1248
1248
  error?: Record<string, any> | {
1249
1249
  type: EntityType.OutputMap;
@@ -1953,11 +1953,6 @@ 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
- } | {
1961
1956
  id: string;
1962
1957
  type: EntityType.GenericReference;
1963
1958
  entityType: EntityType.Operation;
@@ -1992,13 +1987,13 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
1992
1987
  type: EntityType.GenericReference;
1993
1988
  entityType: EntityType.InternalCall;
1994
1989
  entityId: string;
1995
- })[];
1996
- calledByError: ({
1990
+ } | {
1997
1991
  id: string;
1998
1992
  type: EntityType.GenericReference;
1999
1993
  entityType: EntityType.Loop;
2000
1994
  entityId: string;
2001
- } | {
1995
+ })[];
1996
+ calledByError: ({
2002
1997
  id: string;
2003
1998
  type: EntityType.GenericReference;
2004
1999
  entityType: EntityType.Operation;
@@ -2033,6 +2028,11 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2033
2028
  type: EntityType.GenericReference;
2034
2029
  entityType: EntityType.InternalCall;
2035
2030
  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.Loop;
2070
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
2110
+ entityType: EntityType.Loop;
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.Loop;
2126
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
2166
+ entityType: EntityType.Loop;
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
- } | {
2182
2180
  type: EntityType.ReturnDeclaration;
2183
2181
  } | {
2184
2182
  type: EntityType.VariableDeclaration;
2185
2183
  } | {
2186
2184
  type: EntityType.VariableInstance;
2185
+ } | {
2186
+ type: EntityType.InputMap;
2187
2187
  })[];
2188
2188
  error?: Record<string, any> | {
2189
2189
  type: EntityType.OutputMap;
@@ -2195,11 +2195,6 @@ 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
- } | {
2203
2198
  id: string;
2204
2199
  type: EntityType.GenericReference;
2205
2200
  entityType: EntityType.Operation;
@@ -2234,13 +2229,13 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2234
2229
  type: EntityType.GenericReference;
2235
2230
  entityType: EntityType.InternalCall;
2236
2231
  entityId: string;
2237
- })[];
2238
- calledByError: ({
2232
+ } | {
2239
2233
  id: string;
2240
2234
  type: EntityType.GenericReference;
2241
2235
  entityType: EntityType.Loop;
2242
2236
  entityId: string;
2243
- } | {
2237
+ })[];
2238
+ calledByError: ({
2244
2239
  id: string;
2245
2240
  type: EntityType.GenericReference;
2246
2241
  entityType: EntityType.Operation;
@@ -2275,6 +2270,11 @@ export declare function getInternalCallSchema(): z.ZodObject<z.objectUtil.extend
2275
2270
  type: EntityType.GenericReference;
2276
2271
  entityType: EntityType.InternalCall;
2277
2272
  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.Loop;
2312
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
2352
+ entityType: EntityType.Loop;
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.Loop;
2368
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
2408
+ entityType: EntityType.Loop;
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
- } | {
2424
2422
  type: EntityType.ReturnDeclaration;
2425
2423
  } | {
2426
2424
  type: EntityType.VariableDeclaration;
2427
2425
  } | {
2428
2426
  type: EntityType.VariableInstance;
2427
+ } | {
2428
+ type: EntityType.InputMap;
2429
2429
  })[];
2430
2430
  error?: Record<string, any> | {
2431
2431
  type: EntityType.OutputMap;
@@ -799,11 +799,6 @@ 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
- } | {
807
802
  id: string;
808
803
  type: EntityType.GenericReference;
809
804
  entityType: EntityType.Operation;
@@ -838,13 +833,13 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
838
833
  type: EntityType.GenericReference;
839
834
  entityType: EntityType.InternalCall;
840
835
  entityId: string;
841
- })[];
842
- calledByError: ({
836
+ } | {
843
837
  id: string;
844
838
  type: EntityType.GenericReference;
845
839
  entityType: EntityType.Loop;
846
840
  entityId: string;
847
- } | {
841
+ })[];
842
+ calledByError: ({
848
843
  id: string;
849
844
  type: EntityType.GenericReference;
850
845
  entityType: EntityType.Operation;
@@ -879,6 +874,11 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
879
874
  type: EntityType.GenericReference;
880
875
  entityType: EntityType.InternalCall;
881
876
  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.Loop;
927
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
967
+ entityType: EntityType.Loop;
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.Loop;
983
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
1023
+ entityType: EntityType.Loop;
1024
1024
  entityId: string;
1025
1025
  } | {
1026
1026
  id: string;
@@ -1047,11 +1047,6 @@ 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
- } | {
1055
1050
  id: string;
1056
1051
  type: EntityType.GenericReference;
1057
1052
  entityType: EntityType.Operation;
@@ -1086,13 +1081,13 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
1086
1081
  type: EntityType.GenericReference;
1087
1082
  entityType: EntityType.InternalCall;
1088
1083
  entityId: string;
1089
- })[];
1090
- calledByError: ({
1084
+ } | {
1091
1085
  id: string;
1092
1086
  type: EntityType.GenericReference;
1093
1087
  entityType: EntityType.Loop;
1094
1088
  entityId: string;
1095
- } | {
1089
+ })[];
1090
+ calledByError: ({
1096
1091
  id: string;
1097
1092
  type: EntityType.GenericReference;
1098
1093
  entityType: EntityType.Operation;
@@ -1127,6 +1122,11 @@ export declare function getLoopNestedEntitiesSchema(): z.ZodObject<{
1127
1122
  type: EntityType.GenericReference;
1128
1123
  entityType: EntityType.InternalCall;
1129
1124
  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.Loop;
1175
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
1215
+ entityType: EntityType.Loop;
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.Loop;
1231
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
1271
+ entityType: EntityType.Loop;
1272
1272
  entityId: string;
1273
1273
  } | {
1274
1274
  id: string;
@@ -2021,11 +2021,6 @@ 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
- } | {
2029
2024
  id: string;
2030
2025
  type: EntityType.GenericReference;
2031
2026
  entityType: EntityType.Operation;
@@ -2060,13 +2055,13 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2060
2055
  type: EntityType.GenericReference;
2061
2056
  entityType: EntityType.InternalCall;
2062
2057
  entityId: string;
2063
- })[];
2064
- calledByError: ({
2058
+ } | {
2065
2059
  id: string;
2066
2060
  type: EntityType.GenericReference;
2067
2061
  entityType: EntityType.Loop;
2068
2062
  entityId: string;
2069
- } | {
2063
+ })[];
2064
+ calledByError: ({
2070
2065
  id: string;
2071
2066
  type: EntityType.GenericReference;
2072
2067
  entityType: EntityType.Operation;
@@ -2101,6 +2096,11 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2101
2096
  type: EntityType.GenericReference;
2102
2097
  entityType: EntityType.InternalCall;
2103
2098
  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.Loop;
2152
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
2192
+ entityType: EntityType.Loop;
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.Loop;
2208
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
2248
+ entityType: EntityType.Loop;
2249
2249
  entityId: string;
2250
2250
  } | {
2251
2251
  id: string;
@@ -2274,11 +2274,6 @@ 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
- } | {
2282
2277
  id: string;
2283
2278
  type: EntityType.GenericReference;
2284
2279
  entityType: EntityType.Operation;
@@ -2313,13 +2308,13 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2313
2308
  type: EntityType.GenericReference;
2314
2309
  entityType: EntityType.InternalCall;
2315
2310
  entityId: string;
2316
- })[];
2317
- calledByError: ({
2311
+ } | {
2318
2312
  id: string;
2319
2313
  type: EntityType.GenericReference;
2320
2314
  entityType: EntityType.Loop;
2321
2315
  entityId: string;
2322
- } | {
2316
+ })[];
2317
+ calledByError: ({
2323
2318
  id: string;
2324
2319
  type: EntityType.GenericReference;
2325
2320
  entityType: EntityType.Operation;
@@ -2354,6 +2349,11 @@ export declare function getLoopSchema(): z.ZodObject<z.objectUtil.extendShape<z.
2354
2349
  type: EntityType.GenericReference;
2355
2350
  entityType: EntityType.InternalCall;
2356
2351
  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.Loop;
2405
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
2445
+ entityType: EntityType.Loop;
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.Loop;
2461
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
2501
+ entityType: EntityType.Loop;
2502
2502
  entityId: string;
2503
2503
  } | {
2504
2504
  id: string;