@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
@@ -847,6 +847,11 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
847
847
  }>]>;
848
848
  }, "strip", z.ZodTypeAny, {
849
849
  calledBySuccess: ({
850
+ id: string;
851
+ type: EntityType.GenericReference;
852
+ entityType: EntityType.Loop;
853
+ entityId: string;
854
+ } | {
850
855
  id: string;
851
856
  type: EntityType.GenericReference;
852
857
  entityType: EntityType.Operation;
@@ -881,13 +886,13 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
881
886
  type: EntityType.GenericReference;
882
887
  entityType: EntityType.InternalCall;
883
888
  entityId: string;
884
- } | {
889
+ })[];
890
+ calledByError: ({
885
891
  id: string;
886
892
  type: EntityType.GenericReference;
887
893
  entityType: EntityType.Loop;
888
894
  entityId: string;
889
- })[];
890
- calledByError: ({
895
+ } | {
891
896
  id: string;
892
897
  type: EntityType.GenericReference;
893
898
  entityType: EntityType.Operation;
@@ -922,11 +927,6 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
922
927
  type: EntityType.GenericReference;
923
928
  entityType: EntityType.InternalCall;
924
929
  entityId: string;
925
- } | {
926
- id: string;
927
- type: EntityType.GenericReference;
928
- entityType: EntityType.Loop;
929
- entityId: string;
930
930
  })[];
931
931
  calledByEntry: ({
932
932
  id: string;
@@ -961,13 +961,13 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
961
961
  entityId: string;
962
962
  };
963
963
  readsValue: Record<string, any> | {
964
+ type: EntityType.OutputMap;
965
+ } | {
964
966
  type: EntityType.VariableDeclaration;
965
967
  } | {
966
968
  type: EntityType.VariableInstance;
967
969
  } | {
968
970
  type: EntityType.ArgumentDeclaration;
969
- } | {
970
- type: EntityType.OutputMap;
971
971
  } | {
972
972
  type: EntityType.Operation;
973
973
  } | {
@@ -984,7 +984,7 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
984
984
  successCalls: ({
985
985
  id: string;
986
986
  type: EntityType.GenericReference;
987
- entityType: EntityType.ReturnStatement;
987
+ entityType: EntityType.Loop;
988
988
  entityId: string;
989
989
  } | {
990
990
  id: string;
@@ -1024,7 +1024,7 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
1024
1024
  } | {
1025
1025
  id: string;
1026
1026
  type: EntityType.GenericReference;
1027
- entityType: EntityType.Loop;
1027
+ entityType: EntityType.ReturnStatement;
1028
1028
  entityId: string;
1029
1029
  } | {
1030
1030
  id: string;
@@ -1040,7 +1040,7 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
1040
1040
  errorCalls: ({
1041
1041
  id: string;
1042
1042
  type: EntityType.GenericReference;
1043
- entityType: EntityType.ReturnStatement;
1043
+ entityType: EntityType.Loop;
1044
1044
  entityId: string;
1045
1045
  } | {
1046
1046
  id: string;
@@ -1080,7 +1080,7 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
1080
1080
  } | {
1081
1081
  id: string;
1082
1082
  type: EntityType.GenericReference;
1083
- entityType: EntityType.Loop;
1083
+ entityType: EntityType.ReturnStatement;
1084
1084
  entityId: string;
1085
1085
  } | {
1086
1086
  id: string;
@@ -1097,19 +1097,24 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
1097
1097
  type: EntityType.DataType;
1098
1098
  } | null;
1099
1099
  writesValues: (Record<string, any> | {
1100
+ type: EntityType.InputMap;
1101
+ } | {
1100
1102
  type: EntityType.ReturnDeclaration;
1101
1103
  } | {
1102
1104
  type: EntityType.VariableDeclaration;
1103
1105
  } | {
1104
1106
  type: EntityType.VariableInstance;
1105
- } | {
1106
- type: EntityType.InputMap;
1107
1107
  })[];
1108
1108
  internalCalls: (Record<string, any> | {
1109
1109
  type: EntityType.InternalCall;
1110
1110
  })[];
1111
1111
  }, {
1112
1112
  calledBySuccess: ({
1113
+ id: string;
1114
+ type: EntityType.GenericReference;
1115
+ entityType: EntityType.Loop;
1116
+ entityId: string;
1117
+ } | {
1113
1118
  id: string;
1114
1119
  type: EntityType.GenericReference;
1115
1120
  entityType: EntityType.Operation;
@@ -1144,13 +1149,13 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
1144
1149
  type: EntityType.GenericReference;
1145
1150
  entityType: EntityType.InternalCall;
1146
1151
  entityId: string;
1147
- } | {
1152
+ })[];
1153
+ calledByError: ({
1148
1154
  id: string;
1149
1155
  type: EntityType.GenericReference;
1150
1156
  entityType: EntityType.Loop;
1151
1157
  entityId: string;
1152
- })[];
1153
- calledByError: ({
1158
+ } | {
1154
1159
  id: string;
1155
1160
  type: EntityType.GenericReference;
1156
1161
  entityType: EntityType.Operation;
@@ -1185,11 +1190,6 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
1185
1190
  type: EntityType.GenericReference;
1186
1191
  entityType: EntityType.InternalCall;
1187
1192
  entityId: string;
1188
- } | {
1189
- id: string;
1190
- type: EntityType.GenericReference;
1191
- entityType: EntityType.Loop;
1192
- entityId: string;
1193
1193
  })[];
1194
1194
  calledByEntry: ({
1195
1195
  id: string;
@@ -1224,13 +1224,13 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
1224
1224
  entityId: string;
1225
1225
  };
1226
1226
  readsValue: Record<string, any> | {
1227
+ type: EntityType.OutputMap;
1228
+ } | {
1227
1229
  type: EntityType.VariableDeclaration;
1228
1230
  } | {
1229
1231
  type: EntityType.VariableInstance;
1230
1232
  } | {
1231
1233
  type: EntityType.ArgumentDeclaration;
1232
- } | {
1233
- type: EntityType.OutputMap;
1234
1234
  } | {
1235
1235
  type: EntityType.Operation;
1236
1236
  } | {
@@ -1247,7 +1247,7 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
1247
1247
  successCalls: ({
1248
1248
  id: string;
1249
1249
  type: EntityType.GenericReference;
1250
- entityType: EntityType.ReturnStatement;
1250
+ entityType: EntityType.Loop;
1251
1251
  entityId: string;
1252
1252
  } | {
1253
1253
  id: string;
@@ -1287,7 +1287,7 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
1287
1287
  } | {
1288
1288
  id: string;
1289
1289
  type: EntityType.GenericReference;
1290
- entityType: EntityType.Loop;
1290
+ entityType: EntityType.ReturnStatement;
1291
1291
  entityId: string;
1292
1292
  } | {
1293
1293
  id: string;
@@ -1303,7 +1303,7 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
1303
1303
  errorCalls: ({
1304
1304
  id: string;
1305
1305
  type: EntityType.GenericReference;
1306
- entityType: EntityType.ReturnStatement;
1306
+ entityType: EntityType.Loop;
1307
1307
  entityId: string;
1308
1308
  } | {
1309
1309
  id: string;
@@ -1343,7 +1343,7 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
1343
1343
  } | {
1344
1344
  id: string;
1345
1345
  type: EntityType.GenericReference;
1346
- entityType: EntityType.Loop;
1346
+ entityType: EntityType.ReturnStatement;
1347
1347
  entityId: string;
1348
1348
  } | {
1349
1349
  id: string;
@@ -1360,13 +1360,13 @@ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObjec
1360
1360
  type: EntityType.DataType;
1361
1361
  } | null;
1362
1362
  writesValues: (Record<string, any> | {
1363
+ type: EntityType.InputMap;
1364
+ } | {
1363
1365
  type: EntityType.ReturnDeclaration;
1364
1366
  } | {
1365
1367
  type: EntityType.VariableDeclaration;
1366
1368
  } | {
1367
1369
  type: EntityType.VariableInstance;
1368
- } | {
1369
- type: EntityType.InputMap;
1370
1370
  })[];
1371
1371
  internalCalls: (Record<string, any> | {
1372
1372
  type: EntityType.InternalCall;
@@ -2148,6 +2148,11 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2148
2148
  id: string;
2149
2149
  type: EntityType.VariableDeclaration;
2150
2150
  calledBySuccess: ({
2151
+ id: string;
2152
+ type: EntityType.GenericReference;
2153
+ entityType: EntityType.Loop;
2154
+ entityId: string;
2155
+ } | {
2151
2156
  id: string;
2152
2157
  type: EntityType.GenericReference;
2153
2158
  entityType: EntityType.Operation;
@@ -2182,13 +2187,13 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2182
2187
  type: EntityType.GenericReference;
2183
2188
  entityType: EntityType.InternalCall;
2184
2189
  entityId: string;
2185
- } | {
2190
+ })[];
2191
+ calledByError: ({
2186
2192
  id: string;
2187
2193
  type: EntityType.GenericReference;
2188
2194
  entityType: EntityType.Loop;
2189
2195
  entityId: string;
2190
- })[];
2191
- calledByError: ({
2196
+ } | {
2192
2197
  id: string;
2193
2198
  type: EntityType.GenericReference;
2194
2199
  entityType: EntityType.Operation;
@@ -2223,11 +2228,6 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2223
2228
  type: EntityType.GenericReference;
2224
2229
  entityType: EntityType.InternalCall;
2225
2230
  entityId: string;
2226
- } | {
2227
- id: string;
2228
- type: EntityType.GenericReference;
2229
- entityType: EntityType.Loop;
2230
- entityId: string;
2231
2231
  })[];
2232
2232
  calledByEntry: ({
2233
2233
  id: string;
@@ -2265,13 +2265,13 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2265
2265
  };
2266
2266
  version: number;
2267
2267
  readsValue: Record<string, any> | {
2268
+ type: EntityType.OutputMap;
2269
+ } | {
2268
2270
  type: EntityType.VariableDeclaration;
2269
2271
  } | {
2270
2272
  type: EntityType.VariableInstance;
2271
2273
  } | {
2272
2274
  type: EntityType.ArgumentDeclaration;
2273
- } | {
2274
- type: EntityType.OutputMap;
2275
2275
  } | {
2276
2276
  type: EntityType.Operation;
2277
2277
  } | {
@@ -2290,7 +2290,7 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2290
2290
  successCalls: ({
2291
2291
  id: string;
2292
2292
  type: EntityType.GenericReference;
2293
- entityType: EntityType.ReturnStatement;
2293
+ entityType: EntityType.Loop;
2294
2294
  entityId: string;
2295
2295
  } | {
2296
2296
  id: string;
@@ -2330,7 +2330,7 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2330
2330
  } | {
2331
2331
  id: string;
2332
2332
  type: EntityType.GenericReference;
2333
- entityType: EntityType.Loop;
2333
+ entityType: EntityType.ReturnStatement;
2334
2334
  entityId: string;
2335
2335
  } | {
2336
2336
  id: string;
@@ -2346,7 +2346,7 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2346
2346
  errorCalls: ({
2347
2347
  id: string;
2348
2348
  type: EntityType.GenericReference;
2349
- entityType: EntityType.ReturnStatement;
2349
+ entityType: EntityType.Loop;
2350
2350
  entityId: string;
2351
2351
  } | {
2352
2352
  id: string;
@@ -2386,7 +2386,7 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2386
2386
  } | {
2387
2387
  id: string;
2388
2388
  type: EntityType.GenericReference;
2389
- entityType: EntityType.Loop;
2389
+ entityType: EntityType.ReturnStatement;
2390
2390
  entityId: string;
2391
2391
  } | {
2392
2392
  id: string;
@@ -2403,13 +2403,13 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2403
2403
  type: EntityType.DataType;
2404
2404
  } | null;
2405
2405
  writesValues: (Record<string, any> | {
2406
+ type: EntityType.InputMap;
2407
+ } | {
2406
2408
  type: EntityType.ReturnDeclaration;
2407
2409
  } | {
2408
2410
  type: EntityType.VariableDeclaration;
2409
2411
  } | {
2410
2412
  type: EntityType.VariableInstance;
2411
- } | {
2412
- type: EntityType.InputMap;
2413
2413
  })[];
2414
2414
  internalCalls: (Record<string, any> | {
2415
2415
  type: EntityType.InternalCall;
@@ -2418,6 +2418,11 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2418
2418
  id: string;
2419
2419
  type: EntityType.VariableDeclaration;
2420
2420
  calledBySuccess: ({
2421
+ id: string;
2422
+ type: EntityType.GenericReference;
2423
+ entityType: EntityType.Loop;
2424
+ entityId: string;
2425
+ } | {
2421
2426
  id: string;
2422
2427
  type: EntityType.GenericReference;
2423
2428
  entityType: EntityType.Operation;
@@ -2452,13 +2457,13 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2452
2457
  type: EntityType.GenericReference;
2453
2458
  entityType: EntityType.InternalCall;
2454
2459
  entityId: string;
2455
- } | {
2460
+ })[];
2461
+ calledByError: ({
2456
2462
  id: string;
2457
2463
  type: EntityType.GenericReference;
2458
2464
  entityType: EntityType.Loop;
2459
2465
  entityId: string;
2460
- })[];
2461
- calledByError: ({
2466
+ } | {
2462
2467
  id: string;
2463
2468
  type: EntityType.GenericReference;
2464
2469
  entityType: EntityType.Operation;
@@ -2493,11 +2498,6 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2493
2498
  type: EntityType.GenericReference;
2494
2499
  entityType: EntityType.InternalCall;
2495
2500
  entityId: string;
2496
- } | {
2497
- id: string;
2498
- type: EntityType.GenericReference;
2499
- entityType: EntityType.Loop;
2500
- entityId: string;
2501
2501
  })[];
2502
2502
  calledByEntry: ({
2503
2503
  id: string;
@@ -2535,13 +2535,13 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2535
2535
  };
2536
2536
  version: number;
2537
2537
  readsValue: Record<string, any> | {
2538
+ type: EntityType.OutputMap;
2539
+ } | {
2538
2540
  type: EntityType.VariableDeclaration;
2539
2541
  } | {
2540
2542
  type: EntityType.VariableInstance;
2541
2543
  } | {
2542
2544
  type: EntityType.ArgumentDeclaration;
2543
- } | {
2544
- type: EntityType.OutputMap;
2545
2545
  } | {
2546
2546
  type: EntityType.Operation;
2547
2547
  } | {
@@ -2560,7 +2560,7 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2560
2560
  successCalls: ({
2561
2561
  id: string;
2562
2562
  type: EntityType.GenericReference;
2563
- entityType: EntityType.ReturnStatement;
2563
+ entityType: EntityType.Loop;
2564
2564
  entityId: string;
2565
2565
  } | {
2566
2566
  id: string;
@@ -2600,7 +2600,7 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2600
2600
  } | {
2601
2601
  id: string;
2602
2602
  type: EntityType.GenericReference;
2603
- entityType: EntityType.Loop;
2603
+ entityType: EntityType.ReturnStatement;
2604
2604
  entityId: string;
2605
2605
  } | {
2606
2606
  id: string;
@@ -2616,7 +2616,7 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2616
2616
  errorCalls: ({
2617
2617
  id: string;
2618
2618
  type: EntityType.GenericReference;
2619
- entityType: EntityType.ReturnStatement;
2619
+ entityType: EntityType.Loop;
2620
2620
  entityId: string;
2621
2621
  } | {
2622
2622
  id: string;
@@ -2656,7 +2656,7 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2656
2656
  } | {
2657
2657
  id: string;
2658
2658
  type: EntityType.GenericReference;
2659
- entityType: EntityType.Loop;
2659
+ entityType: EntityType.ReturnStatement;
2660
2660
  entityId: string;
2661
2661
  } | {
2662
2662
  id: string;
@@ -2673,13 +2673,13 @@ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil
2673
2673
  type: EntityType.DataType;
2674
2674
  } | null;
2675
2675
  writesValues: (Record<string, any> | {
2676
+ type: EntityType.InputMap;
2677
+ } | {
2676
2678
  type: EntityType.ReturnDeclaration;
2677
2679
  } | {
2678
2680
  type: EntityType.VariableDeclaration;
2679
2681
  } | {
2680
2682
  type: EntityType.VariableInstance;
2681
- } | {
2682
- type: EntityType.InputMap;
2683
2683
  })[];
2684
2684
  internalCalls: (Record<string, any> | {
2685
2685
  type: EntityType.InternalCall;