@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
@@ -258,11 +258,6 @@ export declare function getOutputMapNestedEntitiesSchema(): z.ZodObject<{
258
258
  type: EntityType.ReturnDeclaration;
259
259
  };
260
260
  parent: {
261
- id: string;
262
- type: EntityType.GenericReference;
263
- entityType: EntityType.Loop;
264
- entityId: string;
265
- } | {
266
261
  id: string;
267
262
  type: EntityType.GenericReference;
268
263
  entityType: EntityType.Operation;
@@ -297,6 +292,11 @@ export declare function getOutputMapNestedEntitiesSchema(): z.ZodObject<{
297
292
  type: EntityType.GenericReference;
298
293
  entityType: EntityType.InternalCall;
299
294
  entityId: string;
295
+ } | {
296
+ id: string;
297
+ type: EntityType.GenericReference;
298
+ entityType: EntityType.Loop;
299
+ entityId: string;
300
300
  } | {
301
301
  id: string;
302
302
  type: EntityType.GenericReference;
@@ -304,13 +304,13 @@ export declare function getOutputMapNestedEntitiesSchema(): z.ZodObject<{
304
304
  entityId: string;
305
305
  };
306
306
  writesValues: (Record<string, any> | {
307
- type: EntityType.InputMap;
308
- } | {
309
307
  type: EntityType.ReturnDeclaration;
310
308
  } | {
311
309
  type: EntityType.VariableDeclaration;
312
310
  } | {
313
311
  type: EntityType.VariableInstance;
312
+ } | {
313
+ type: EntityType.InputMap;
314
314
  })[];
315
315
  }, {
316
316
  declaration: Record<string, any> | {
@@ -319,11 +319,6 @@ export declare function getOutputMapNestedEntitiesSchema(): z.ZodObject<{
319
319
  type: EntityType.ReturnDeclaration;
320
320
  };
321
321
  parent: {
322
- id: string;
323
- type: EntityType.GenericReference;
324
- entityType: EntityType.Loop;
325
- entityId: string;
326
- } | {
327
322
  id: string;
328
323
  type: EntityType.GenericReference;
329
324
  entityType: EntityType.Operation;
@@ -358,6 +353,11 @@ export declare function getOutputMapNestedEntitiesSchema(): z.ZodObject<{
358
353
  type: EntityType.GenericReference;
359
354
  entityType: EntityType.InternalCall;
360
355
  entityId: string;
356
+ } | {
357
+ id: string;
358
+ type: EntityType.GenericReference;
359
+ entityType: EntityType.Loop;
360
+ entityId: string;
361
361
  } | {
362
362
  id: string;
363
363
  type: EntityType.GenericReference;
@@ -365,13 +365,13 @@ export declare function getOutputMapNestedEntitiesSchema(): z.ZodObject<{
365
365
  entityId: string;
366
366
  };
367
367
  writesValues: (Record<string, any> | {
368
- type: EntityType.InputMap;
369
- } | {
370
368
  type: EntityType.ReturnDeclaration;
371
369
  } | {
372
370
  type: EntityType.VariableDeclaration;
373
371
  } | {
374
372
  type: EntityType.VariableInstance;
373
+ } | {
374
+ type: EntityType.InputMap;
375
375
  })[];
376
376
  }>;
377
377
  export declare function getOutputMapSchema(): z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -579,11 +579,6 @@ export declare function getOutputMapSchema(): z.ZodObject<z.objectUtil.extendSha
579
579
  type: EntityType.ReturnDeclaration;
580
580
  };
581
581
  parent: {
582
- id: string;
583
- type: EntityType.GenericReference;
584
- entityType: EntityType.Loop;
585
- entityId: string;
586
- } | {
587
582
  id: string;
588
583
  type: EntityType.GenericReference;
589
584
  entityType: EntityType.Operation;
@@ -618,6 +613,11 @@ export declare function getOutputMapSchema(): z.ZodObject<z.objectUtil.extendSha
618
613
  type: EntityType.GenericReference;
619
614
  entityType: EntityType.InternalCall;
620
615
  entityId: string;
616
+ } | {
617
+ id: string;
618
+ type: EntityType.GenericReference;
619
+ entityType: EntityType.Loop;
620
+ entityId: string;
621
621
  } | {
622
622
  id: string;
623
623
  type: EntityType.GenericReference;
@@ -627,13 +627,13 @@ export declare function getOutputMapSchema(): z.ZodObject<z.objectUtil.extendSha
627
627
  version: number;
628
628
  index: number;
629
629
  writesValues: (Record<string, any> | {
630
- type: EntityType.InputMap;
631
- } | {
632
630
  type: EntityType.ReturnDeclaration;
633
631
  } | {
634
632
  type: EntityType.VariableDeclaration;
635
633
  } | {
636
634
  type: EntityType.VariableInstance;
635
+ } | {
636
+ type: EntityType.InputMap;
637
637
  })[];
638
638
  }, {
639
639
  id: string;
@@ -644,11 +644,6 @@ export declare function getOutputMapSchema(): z.ZodObject<z.objectUtil.extendSha
644
644
  type: EntityType.ReturnDeclaration;
645
645
  };
646
646
  parent: {
647
- id: string;
648
- type: EntityType.GenericReference;
649
- entityType: EntityType.Loop;
650
- entityId: string;
651
- } | {
652
647
  id: string;
653
648
  type: EntityType.GenericReference;
654
649
  entityType: EntityType.Operation;
@@ -683,6 +678,11 @@ export declare function getOutputMapSchema(): z.ZodObject<z.objectUtil.extendSha
683
678
  type: EntityType.GenericReference;
684
679
  entityType: EntityType.InternalCall;
685
680
  entityId: string;
681
+ } | {
682
+ id: string;
683
+ type: EntityType.GenericReference;
684
+ entityType: EntityType.Loop;
685
+ entityId: string;
686
686
  } | {
687
687
  id: string;
688
688
  type: EntityType.GenericReference;
@@ -692,13 +692,13 @@ export declare function getOutputMapSchema(): z.ZodObject<z.objectUtil.extendSha
692
692
  version: number;
693
693
  index: number;
694
694
  writesValues: (Record<string, any> | {
695
- type: EntityType.InputMap;
696
- } | {
697
695
  type: EntityType.ReturnDeclaration;
698
696
  } | {
699
697
  type: EntityType.VariableDeclaration;
700
698
  } | {
701
699
  type: EntityType.VariableInstance;
700
+ } | {
701
+ type: EntityType.InputMap;
702
702
  })[];
703
703
  }>;
704
704
  export declare function getVariableOutputMapGenerationTargetSchema(): z.ZodObject<z.objectUtil.extendShape<{
@@ -791,13 +791,13 @@ export declare function getVariableOutputMapNestedEntitiesSchema(): z.ZodObject<
791
791
  entityId: string;
792
792
  };
793
793
  writesValues: (Record<string, any> | {
794
- type: EntityType.InputMap;
795
- } | {
796
794
  type: EntityType.ReturnDeclaration;
797
795
  } | {
798
796
  type: EntityType.VariableDeclaration;
799
797
  } | {
800
798
  type: EntityType.VariableInstance;
799
+ } | {
800
+ type: EntityType.InputMap;
801
801
  })[];
802
802
  }, {
803
803
  declaration: Record<string, any> | {
@@ -815,13 +815,13 @@ export declare function getVariableOutputMapNestedEntitiesSchema(): z.ZodObject<
815
815
  entityId: string;
816
816
  };
817
817
  writesValues: (Record<string, any> | {
818
- type: EntityType.InputMap;
819
- } | {
820
818
  type: EntityType.ReturnDeclaration;
821
819
  } | {
822
820
  type: EntityType.VariableDeclaration;
823
821
  } | {
824
822
  type: EntityType.VariableInstance;
823
+ } | {
824
+ type: EntityType.InputMap;
825
825
  })[];
826
826
  }>;
827
827
  export declare function getVariableOutputMapSchema(): z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -914,13 +914,13 @@ export declare function getVariableOutputMapSchema(): z.ZodObject<z.objectUtil.e
914
914
  version: number;
915
915
  index: number;
916
916
  writesValues: (Record<string, any> | {
917
- type: EntityType.InputMap;
918
- } | {
919
917
  type: EntityType.ReturnDeclaration;
920
918
  } | {
921
919
  type: EntityType.VariableDeclaration;
922
920
  } | {
923
921
  type: EntityType.VariableInstance;
922
+ } | {
923
+ type: EntityType.InputMap;
924
924
  })[];
925
925
  }, {
926
926
  id: string;
@@ -942,13 +942,13 @@ export declare function getVariableOutputMapSchema(): z.ZodObject<z.objectUtil.e
942
942
  version: number;
943
943
  index: number;
944
944
  writesValues: (Record<string, any> | {
945
- type: EntityType.InputMap;
946
- } | {
947
945
  type: EntityType.ReturnDeclaration;
948
946
  } | {
949
947
  type: EntityType.VariableDeclaration;
950
948
  } | {
951
949
  type: EntityType.VariableInstance;
950
+ } | {
951
+ type: EntityType.InputMap;
952
952
  })[];
953
953
  }>;
954
954
  export declare function getActionOutputMapGenerationTargetSchema(): z.ZodObject<z.objectUtil.extendShape<{
@@ -1132,13 +1132,6 @@ export declare function getActionOutputMapNestedEntitiesSchema(): z.ZodObject<{
1132
1132
  type: EntityType.ReturnDeclaration;
1133
1133
  };
1134
1134
  parent: Record<string, any> | {
1135
- type: EntityType.Loop;
1136
- } | {
1137
- id: string;
1138
- type: EntityType.GenericReference;
1139
- entityType: EntityType.Loop;
1140
- entityId: string;
1141
- } | {
1142
1135
  id: string;
1143
1136
  type: EntityType.GenericReference;
1144
1137
  entityType: EntityType.Operation;
@@ -1173,30 +1166,30 @@ export declare function getActionOutputMapNestedEntitiesSchema(): z.ZodObject<{
1173
1166
  type: EntityType.GenericReference;
1174
1167
  entityType: EntityType.InternalCall;
1175
1168
  entityId: string;
1169
+ } | {
1170
+ id: string;
1171
+ type: EntityType.GenericReference;
1172
+ entityType: EntityType.Loop;
1173
+ entityId: string;
1174
+ } | {
1175
+ type: EntityType.Loop;
1176
1176
  } | {
1177
1177
  type: EntityType.BreakStatement;
1178
1178
  };
1179
1179
  writesValues: (Record<string, any> | {
1180
- type: EntityType.InputMap;
1181
- } | {
1182
1180
  type: EntityType.ReturnDeclaration;
1183
1181
  } | {
1184
1182
  type: EntityType.VariableDeclaration;
1185
1183
  } | {
1186
1184
  type: EntityType.VariableInstance;
1185
+ } | {
1186
+ type: EntityType.InputMap;
1187
1187
  })[];
1188
1188
  }, {
1189
1189
  declaration: Record<string, any> | {
1190
1190
  type: EntityType.ReturnDeclaration;
1191
1191
  };
1192
1192
  parent: Record<string, any> | {
1193
- type: EntityType.Loop;
1194
- } | {
1195
- id: string;
1196
- type: EntityType.GenericReference;
1197
- entityType: EntityType.Loop;
1198
- entityId: string;
1199
- } | {
1200
1193
  id: string;
1201
1194
  type: EntityType.GenericReference;
1202
1195
  entityType: EntityType.Operation;
@@ -1231,17 +1224,24 @@ export declare function getActionOutputMapNestedEntitiesSchema(): z.ZodObject<{
1231
1224
  type: EntityType.GenericReference;
1232
1225
  entityType: EntityType.InternalCall;
1233
1226
  entityId: string;
1227
+ } | {
1228
+ id: string;
1229
+ type: EntityType.GenericReference;
1230
+ entityType: EntityType.Loop;
1231
+ entityId: string;
1232
+ } | {
1233
+ type: EntityType.Loop;
1234
1234
  } | {
1235
1235
  type: EntityType.BreakStatement;
1236
1236
  };
1237
1237
  writesValues: (Record<string, any> | {
1238
- type: EntityType.InputMap;
1239
- } | {
1240
1238
  type: EntityType.ReturnDeclaration;
1241
1239
  } | {
1242
1240
  type: EntityType.VariableDeclaration;
1243
1241
  } | {
1244
1242
  type: EntityType.VariableInstance;
1243
+ } | {
1244
+ type: EntityType.InputMap;
1245
1245
  })[];
1246
1246
  }>;
1247
1247
  export declare function getActionOutputMapSchema(): z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -1423,13 +1423,6 @@ export declare function getActionOutputMapSchema(): z.ZodObject<z.objectUtil.ext
1423
1423
  type: EntityType.ReturnDeclaration;
1424
1424
  };
1425
1425
  parent: Record<string, any> | {
1426
- type: EntityType.Loop;
1427
- } | {
1428
- id: string;
1429
- type: EntityType.GenericReference;
1430
- entityType: EntityType.Loop;
1431
- entityId: string;
1432
- } | {
1433
1426
  id: string;
1434
1427
  type: EntityType.GenericReference;
1435
1428
  entityType: EntityType.Operation;
@@ -1464,19 +1457,26 @@ export declare function getActionOutputMapSchema(): z.ZodObject<z.objectUtil.ext
1464
1457
  type: EntityType.GenericReference;
1465
1458
  entityType: EntityType.InternalCall;
1466
1459
  entityId: string;
1460
+ } | {
1461
+ id: string;
1462
+ type: EntityType.GenericReference;
1463
+ entityType: EntityType.Loop;
1464
+ entityId: string;
1465
+ } | {
1466
+ type: EntityType.Loop;
1467
1467
  } | {
1468
1468
  type: EntityType.BreakStatement;
1469
1469
  };
1470
1470
  version: number;
1471
1471
  index: number;
1472
1472
  writesValues: (Record<string, any> | {
1473
- type: EntityType.InputMap;
1474
- } | {
1475
1473
  type: EntityType.ReturnDeclaration;
1476
1474
  } | {
1477
1475
  type: EntityType.VariableDeclaration;
1478
1476
  } | {
1479
1477
  type: EntityType.VariableInstance;
1478
+ } | {
1479
+ type: EntityType.InputMap;
1480
1480
  })[];
1481
1481
  }, {
1482
1482
  id: string;
@@ -1485,13 +1485,6 @@ export declare function getActionOutputMapSchema(): z.ZodObject<z.objectUtil.ext
1485
1485
  type: EntityType.ReturnDeclaration;
1486
1486
  };
1487
1487
  parent: Record<string, any> | {
1488
- type: EntityType.Loop;
1489
- } | {
1490
- id: string;
1491
- type: EntityType.GenericReference;
1492
- entityType: EntityType.Loop;
1493
- entityId: string;
1494
- } | {
1495
1488
  id: string;
1496
1489
  type: EntityType.GenericReference;
1497
1490
  entityType: EntityType.Operation;
@@ -1526,18 +1519,25 @@ export declare function getActionOutputMapSchema(): z.ZodObject<z.objectUtil.ext
1526
1519
  type: EntityType.GenericReference;
1527
1520
  entityType: EntityType.InternalCall;
1528
1521
  entityId: string;
1522
+ } | {
1523
+ id: string;
1524
+ type: EntityType.GenericReference;
1525
+ entityType: EntityType.Loop;
1526
+ entityId: string;
1527
+ } | {
1528
+ type: EntityType.Loop;
1529
1529
  } | {
1530
1530
  type: EntityType.BreakStatement;
1531
1531
  };
1532
1532
  version: number;
1533
1533
  index: number;
1534
1534
  writesValues: (Record<string, any> | {
1535
- type: EntityType.InputMap;
1536
- } | {
1537
1535
  type: EntityType.ReturnDeclaration;
1538
1536
  } | {
1539
1537
  type: EntityType.VariableDeclaration;
1540
1538
  } | {
1541
1539
  type: EntityType.VariableInstance;
1540
+ } | {
1541
+ type: EntityType.InputMap;
1542
1542
  })[];
1543
1543
  }>;
@@ -239,12 +239,12 @@ export declare function getReturnDeclarationNestedEntitiesSchema(): z.ZodObject<
239
239
  } | {
240
240
  id: string;
241
241
  type: EntityType.GenericReference;
242
- entityType: EntityType.Search;
242
+ entityType: EntityType.ReturnStatement;
243
243
  entityId: string;
244
244
  } | {
245
245
  id: string;
246
246
  type: EntityType.GenericReference;
247
- entityType: EntityType.ReturnStatement;
247
+ entityType: EntityType.Search;
248
248
  entityId: string;
249
249
  } | {
250
250
  id: string;
@@ -258,13 +258,13 @@ export declare function getReturnDeclarationNestedEntitiesSchema(): z.ZodObject<
258
258
  entityId: string;
259
259
  };
260
260
  readsValue: Record<string, any> | {
261
- type: EntityType.OutputMap;
262
- } | {
263
261
  type: EntityType.VariableDeclaration;
264
262
  } | {
265
263
  type: EntityType.VariableInstance;
266
264
  } | {
267
265
  type: EntityType.ArgumentDeclaration;
266
+ } | {
267
+ type: EntityType.OutputMap;
268
268
  } | {
269
269
  type: EntityType.Operation;
270
270
  } | {
@@ -284,12 +284,12 @@ export declare function getReturnDeclarationNestedEntitiesSchema(): z.ZodObject<
284
284
  } | {
285
285
  id: string;
286
286
  type: EntityType.GenericReference;
287
- entityType: EntityType.Search;
287
+ entityType: EntityType.ReturnStatement;
288
288
  entityId: string;
289
289
  } | {
290
290
  id: string;
291
291
  type: EntityType.GenericReference;
292
- entityType: EntityType.ReturnStatement;
292
+ entityType: EntityType.Search;
293
293
  entityId: string;
294
294
  } | {
295
295
  id: string;
@@ -303,13 +303,13 @@ export declare function getReturnDeclarationNestedEntitiesSchema(): z.ZodObject<
303
303
  entityId: string;
304
304
  };
305
305
  readsValue: Record<string, any> | {
306
- type: EntityType.OutputMap;
307
- } | {
308
306
  type: EntityType.VariableDeclaration;
309
307
  } | {
310
308
  type: EntityType.VariableInstance;
311
309
  } | {
312
310
  type: EntityType.ArgumentDeclaration;
311
+ } | {
312
+ type: EntityType.OutputMap;
313
313
  } | {
314
314
  type: EntityType.Operation;
315
315
  } | {
@@ -485,12 +485,12 @@ export declare function getReturnDeclarationSchema(): z.ZodObject<z.objectUtil.e
485
485
  } | {
486
486
  id: string;
487
487
  type: EntityType.GenericReference;
488
- entityType: EntityType.Search;
488
+ entityType: EntityType.ReturnStatement;
489
489
  entityId: string;
490
490
  } | {
491
491
  id: string;
492
492
  type: EntityType.GenericReference;
493
- entityType: EntityType.ReturnStatement;
493
+ entityType: EntityType.Search;
494
494
  entityId: string;
495
495
  } | {
496
496
  id: string;
@@ -507,13 +507,13 @@ export declare function getReturnDeclarationSchema(): z.ZodObject<z.objectUtil.e
507
507
  version: number;
508
508
  index: number;
509
509
  readsValue: Record<string, any> | {
510
- type: EntityType.OutputMap;
511
- } | {
512
510
  type: EntityType.VariableDeclaration;
513
511
  } | {
514
512
  type: EntityType.VariableInstance;
515
513
  } | {
516
514
  type: EntityType.ArgumentDeclaration;
515
+ } | {
516
+ type: EntityType.OutputMap;
517
517
  } | {
518
518
  type: EntityType.Operation;
519
519
  } | {
@@ -537,12 +537,12 @@ export declare function getReturnDeclarationSchema(): z.ZodObject<z.objectUtil.e
537
537
  } | {
538
538
  id: string;
539
539
  type: EntityType.GenericReference;
540
- entityType: EntityType.Search;
540
+ entityType: EntityType.ReturnStatement;
541
541
  entityId: string;
542
542
  } | {
543
543
  id: string;
544
544
  type: EntityType.GenericReference;
545
- entityType: EntityType.ReturnStatement;
545
+ entityType: EntityType.Search;
546
546
  entityId: string;
547
547
  } | {
548
548
  id: string;
@@ -559,13 +559,13 @@ export declare function getReturnDeclarationSchema(): z.ZodObject<z.objectUtil.e
559
559
  version: number;
560
560
  index: number;
561
561
  readsValue: Record<string, any> | {
562
- type: EntityType.OutputMap;
563
- } | {
564
562
  type: EntityType.VariableDeclaration;
565
563
  } | {
566
564
  type: EntityType.VariableInstance;
567
565
  } | {
568
566
  type: EntityType.ArgumentDeclaration;
567
+ } | {
568
+ type: EntityType.OutputMap;
569
569
  } | {
570
570
  type: EntityType.Operation;
571
571
  } | {
@@ -400,11 +400,6 @@ 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
- } | {
408
403
  id: string;
409
404
  type: EntityType.GenericReference;
410
405
  entityType: EntityType.Operation;
@@ -439,13 +434,13 @@ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
439
434
  type: EntityType.GenericReference;
440
435
  entityType: EntityType.InternalCall;
441
436
  entityId: string;
442
- })[];
443
- calledByError: ({
437
+ } | {
444
438
  id: string;
445
439
  type: EntityType.GenericReference;
446
440
  entityType: EntityType.Loop;
447
441
  entityId: string;
448
- } | {
442
+ })[];
443
+ calledByError: ({
449
444
  id: string;
450
445
  type: EntityType.GenericReference;
451
446
  entityType: EntityType.Operation;
@@ -480,6 +475,11 @@ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
480
475
  type: EntityType.GenericReference;
481
476
  entityType: EntityType.InternalCall;
482
477
  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,11 +516,6 @@ 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
- } | {
524
519
  id: string;
525
520
  type: EntityType.GenericReference;
526
521
  entityType: EntityType.Operation;
@@ -555,13 +550,13 @@ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
555
550
  type: EntityType.GenericReference;
556
551
  entityType: EntityType.InternalCall;
557
552
  entityId: string;
558
- })[];
559
- calledByError: ({
553
+ } | {
560
554
  id: string;
561
555
  type: EntityType.GenericReference;
562
556
  entityType: EntityType.Loop;
563
557
  entityId: string;
564
- } | {
558
+ })[];
559
+ calledByError: ({
565
560
  id: string;
566
561
  type: EntityType.GenericReference;
567
562
  entityType: EntityType.Operation;
@@ -596,6 +591,11 @@ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
596
591
  type: EntityType.GenericReference;
597
592
  entityType: EntityType.InternalCall;
598
593
  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,11 +976,6 @@ 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
- } | {
984
979
  id: string;
985
980
  type: EntityType.GenericReference;
986
981
  entityType: EntityType.Operation;
@@ -1015,13 +1010,13 @@ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.ext
1015
1010
  type: EntityType.GenericReference;
1016
1011
  entityType: EntityType.InternalCall;
1017
1012
  entityId: string;
1018
- })[];
1019
- calledByError: ({
1013
+ } | {
1020
1014
  id: string;
1021
1015
  type: EntityType.GenericReference;
1022
1016
  entityType: EntityType.Loop;
1023
1017
  entityId: string;
1024
- } | {
1018
+ })[];
1019
+ calledByError: ({
1025
1020
  id: string;
1026
1021
  type: EntityType.GenericReference;
1027
1022
  entityType: EntityType.Operation;
@@ -1056,6 +1051,11 @@ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.ext
1056
1051
  type: EntityType.GenericReference;
1057
1052
  entityType: EntityType.InternalCall;
1058
1053
  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,11 +1097,6 @@ 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
- } | {
1105
1100
  id: string;
1106
1101
  type: EntityType.GenericReference;
1107
1102
  entityType: EntityType.Operation;
@@ -1136,13 +1131,13 @@ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.ext
1136
1131
  type: EntityType.GenericReference;
1137
1132
  entityType: EntityType.InternalCall;
1138
1133
  entityId: string;
1139
- })[];
1140
- calledByError: ({
1134
+ } | {
1141
1135
  id: string;
1142
1136
  type: EntityType.GenericReference;
1143
1137
  entityType: EntityType.Loop;
1144
1138
  entityId: string;
1145
- } | {
1139
+ })[];
1140
+ calledByError: ({
1146
1141
  id: string;
1147
1142
  type: EntityType.GenericReference;
1148
1143
  entityType: EntityType.Operation;
@@ -1177,6 +1172,11 @@ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.ext
1177
1172
  type: EntityType.GenericReference;
1178
1173
  entityType: EntityType.InternalCall;
1179
1174
  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;