@elyx-code/project-logic-tree 0.0.56 → 0.0.58

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 (27) hide show
  1. package/dist/index.js +13761 -13758
  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/base.d.ts +1 -0
  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/input-map.d.ts +1 -0
  11. package/dist/tree/state/input-map/validation/validation-schema.d.ts +64 -64
  12. package/dist/tree/state/internal-call/validation/validation-schema.d.ts +56 -56
  13. package/dist/tree/state/loop/validation/validation-schema.d.ts +48 -48
  14. package/dist/tree/state/operation/validation/validation-schema.d.ts +56 -56
  15. package/dist/tree/state/output-map/validation/validation-schema.d.ts +72 -72
  16. package/dist/tree/state/project/project.d.ts +6 -0
  17. package/dist/tree/state/return-declaration/return-declaration.d.ts +1 -0
  18. package/dist/tree/state/return-declaration/validation/validation-schema.d.ts +16 -16
  19. package/dist/tree/state/return-statement/validation/validation-schema.d.ts +32 -32
  20. package/dist/tree/state/search/validation/validation-schema.d.ts +48 -48
  21. package/dist/tree/state/variable-declaration/validation/validation-schema.d.ts +64 -64
  22. package/dist/tree/state/variable-declaration/variable-declaration.d.ts +1 -0
  23. package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +64 -64
  24. package/dist/tree/state/variable-instance/variable-instance.d.ts +1 -0
  25. package/dist/tree/utils/index.d.ts +1 -1
  26. package/dist/tree/utils/uuid.d.ts +1 -7
  27. package/package.json +1 -1
@@ -801,6 +801,11 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
801
801
  type: EntityType.ActionDescriptor;
802
802
  };
803
803
  calledBySuccess: ({
804
+ id: string;
805
+ type: EntityType.GenericReference;
806
+ entityType: EntityType.Loop;
807
+ entityId: string;
808
+ } | {
804
809
  id: string;
805
810
  type: EntityType.GenericReference;
806
811
  entityType: EntityType.Operation;
@@ -835,13 +840,13 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
835
840
  type: EntityType.GenericReference;
836
841
  entityType: EntityType.InternalCall;
837
842
  entityId: string;
838
- } | {
843
+ })[];
844
+ calledByError: ({
839
845
  id: string;
840
846
  type: EntityType.GenericReference;
841
847
  entityType: EntityType.Loop;
842
848
  entityId: string;
843
- })[];
844
- calledByError: ({
849
+ } | {
845
850
  id: string;
846
851
  type: EntityType.GenericReference;
847
852
  entityType: EntityType.Operation;
@@ -876,11 +881,6 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
876
881
  type: EntityType.GenericReference;
877
882
  entityType: EntityType.InternalCall;
878
883
  entityId: string;
879
- } | {
880
- id: string;
881
- type: EntityType.GenericReference;
882
- entityType: EntityType.Loop;
883
- entityId: string;
884
884
  })[];
885
885
  calledByEntry: ({
886
886
  id: string;
@@ -929,7 +929,7 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
929
929
  successCalls: ({
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;
@@ -969,7 +969,7 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
969
969
  } | {
970
970
  id: string;
971
971
  type: EntityType.GenericReference;
972
- entityType: EntityType.Loop;
972
+ entityType: EntityType.ReturnStatement;
973
973
  entityId: string;
974
974
  } | {
975
975
  id: string;
@@ -985,7 +985,7 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
985
985
  errorCalls: ({
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;
@@ -1025,7 +1025,7 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
1025
1025
  } | {
1026
1026
  id: string;
1027
1027
  type: EntityType.GenericReference;
1028
- entityType: EntityType.Loop;
1028
+ entityType: EntityType.ReturnStatement;
1029
1029
  entityId: string;
1030
1030
  } | {
1031
1031
  id: string;
@@ -1039,13 +1039,13 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
1039
1039
  entityId: string;
1040
1040
  })[];
1041
1041
  writesValues: (Record<string, any> | {
1042
+ type: EntityType.InputMap;
1043
+ } | {
1042
1044
  type: EntityType.ReturnDeclaration;
1043
1045
  } | {
1044
1046
  type: EntityType.VariableDeclaration;
1045
1047
  } | {
1046
1048
  type: EntityType.VariableInstance;
1047
- } | {
1048
- type: EntityType.InputMap;
1049
1049
  })[];
1050
1050
  }, {
1051
1051
  id: string;
@@ -1054,6 +1054,11 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
1054
1054
  type: EntityType.ActionDescriptor;
1055
1055
  };
1056
1056
  calledBySuccess: ({
1057
+ id: string;
1058
+ type: EntityType.GenericReference;
1059
+ entityType: EntityType.Loop;
1060
+ entityId: string;
1061
+ } | {
1057
1062
  id: string;
1058
1063
  type: EntityType.GenericReference;
1059
1064
  entityType: EntityType.Operation;
@@ -1088,13 +1093,13 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
1088
1093
  type: EntityType.GenericReference;
1089
1094
  entityType: EntityType.InternalCall;
1090
1095
  entityId: string;
1091
- } | {
1096
+ })[];
1097
+ calledByError: ({
1092
1098
  id: string;
1093
1099
  type: EntityType.GenericReference;
1094
1100
  entityType: EntityType.Loop;
1095
1101
  entityId: string;
1096
- })[];
1097
- calledByError: ({
1102
+ } | {
1098
1103
  id: string;
1099
1104
  type: EntityType.GenericReference;
1100
1105
  entityType: EntityType.Operation;
@@ -1129,11 +1134,6 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
1129
1134
  type: EntityType.GenericReference;
1130
1135
  entityType: EntityType.InternalCall;
1131
1136
  entityId: string;
1132
- } | {
1133
- id: string;
1134
- type: EntityType.GenericReference;
1135
- entityType: EntityType.Loop;
1136
- entityId: string;
1137
1137
  })[];
1138
1138
  calledByEntry: ({
1139
1139
  id: string;
@@ -1182,7 +1182,7 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
1182
1182
  successCalls: ({
1183
1183
  id: string;
1184
1184
  type: EntityType.GenericReference;
1185
- entityType: EntityType.ReturnStatement;
1185
+ entityType: EntityType.Loop;
1186
1186
  entityId: string;
1187
1187
  } | {
1188
1188
  id: string;
@@ -1222,7 +1222,7 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
1222
1222
  } | {
1223
1223
  id: string;
1224
1224
  type: EntityType.GenericReference;
1225
- entityType: EntityType.Loop;
1225
+ entityType: EntityType.ReturnStatement;
1226
1226
  entityId: string;
1227
1227
  } | {
1228
1228
  id: string;
@@ -1238,7 +1238,7 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
1238
1238
  errorCalls: ({
1239
1239
  id: string;
1240
1240
  type: EntityType.GenericReference;
1241
- entityType: EntityType.ReturnStatement;
1241
+ entityType: EntityType.Loop;
1242
1242
  entityId: string;
1243
1243
  } | {
1244
1244
  id: string;
@@ -1278,7 +1278,7 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
1278
1278
  } | {
1279
1279
  id: string;
1280
1280
  type: EntityType.GenericReference;
1281
- entityType: EntityType.Loop;
1281
+ entityType: EntityType.ReturnStatement;
1282
1282
  entityId: string;
1283
1283
  } | {
1284
1284
  id: string;
@@ -1292,13 +1292,13 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
1292
1292
  entityId: string;
1293
1293
  })[];
1294
1294
  writesValues: (Record<string, any> | {
1295
+ type: EntityType.InputMap;
1296
+ } | {
1295
1297
  type: EntityType.ReturnDeclaration;
1296
1298
  } | {
1297
1299
  type: EntityType.VariableDeclaration;
1298
1300
  } | {
1299
1301
  type: EntityType.VariableInstance;
1300
- } | {
1301
- type: EntityType.InputMap;
1302
1302
  })[];
1303
1303
  }>;
1304
1304
  export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -2045,6 +2045,11 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2045
2045
  type: EntityType.ActionDescriptor;
2046
2046
  };
2047
2047
  calledBySuccess: ({
2048
+ id: string;
2049
+ type: EntityType.GenericReference;
2050
+ entityType: EntityType.Loop;
2051
+ entityId: string;
2052
+ } | {
2048
2053
  id: string;
2049
2054
  type: EntityType.GenericReference;
2050
2055
  entityType: EntityType.Operation;
@@ -2079,13 +2084,13 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2079
2084
  type: EntityType.GenericReference;
2080
2085
  entityType: EntityType.InternalCall;
2081
2086
  entityId: string;
2082
- } | {
2087
+ })[];
2088
+ calledByError: ({
2083
2089
  id: string;
2084
2090
  type: EntityType.GenericReference;
2085
2091
  entityType: EntityType.Loop;
2086
2092
  entityId: string;
2087
- })[];
2088
- calledByError: ({
2093
+ } | {
2089
2094
  id: string;
2090
2095
  type: EntityType.GenericReference;
2091
2096
  entityType: EntityType.Operation;
@@ -2120,11 +2125,6 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2120
2125
  type: EntityType.GenericReference;
2121
2126
  entityType: EntityType.InternalCall;
2122
2127
  entityId: string;
2123
- } | {
2124
- id: string;
2125
- type: EntityType.GenericReference;
2126
- entityType: EntityType.Loop;
2127
- entityId: string;
2128
2128
  })[];
2129
2129
  calledByEntry: ({
2130
2130
  id: string;
@@ -2176,7 +2176,7 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2176
2176
  successCalls: ({
2177
2177
  id: string;
2178
2178
  type: EntityType.GenericReference;
2179
- entityType: EntityType.ReturnStatement;
2179
+ entityType: EntityType.Loop;
2180
2180
  entityId: string;
2181
2181
  } | {
2182
2182
  id: string;
@@ -2216,7 +2216,7 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2216
2216
  } | {
2217
2217
  id: string;
2218
2218
  type: EntityType.GenericReference;
2219
- entityType: EntityType.Loop;
2219
+ entityType: EntityType.ReturnStatement;
2220
2220
  entityId: string;
2221
2221
  } | {
2222
2222
  id: string;
@@ -2232,7 +2232,7 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2232
2232
  errorCalls: ({
2233
2233
  id: string;
2234
2234
  type: EntityType.GenericReference;
2235
- entityType: EntityType.ReturnStatement;
2235
+ entityType: EntityType.Loop;
2236
2236
  entityId: string;
2237
2237
  } | {
2238
2238
  id: string;
@@ -2272,7 +2272,7 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2272
2272
  } | {
2273
2273
  id: string;
2274
2274
  type: EntityType.GenericReference;
2275
- entityType: EntityType.Loop;
2275
+ entityType: EntityType.ReturnStatement;
2276
2276
  entityId: string;
2277
2277
  } | {
2278
2278
  id: string;
@@ -2286,13 +2286,13 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2286
2286
  entityId: string;
2287
2287
  })[];
2288
2288
  writesValues: (Record<string, any> | {
2289
+ type: EntityType.InputMap;
2290
+ } | {
2289
2291
  type: EntityType.ReturnDeclaration;
2290
2292
  } | {
2291
2293
  type: EntityType.VariableDeclaration;
2292
2294
  } | {
2293
2295
  type: EntityType.VariableInstance;
2294
- } | {
2295
- type: EntityType.InputMap;
2296
2296
  })[];
2297
2297
  }, {
2298
2298
  id: string;
@@ -2301,6 +2301,11 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2301
2301
  type: EntityType.ActionDescriptor;
2302
2302
  };
2303
2303
  calledBySuccess: ({
2304
+ id: string;
2305
+ type: EntityType.GenericReference;
2306
+ entityType: EntityType.Loop;
2307
+ entityId: string;
2308
+ } | {
2304
2309
  id: string;
2305
2310
  type: EntityType.GenericReference;
2306
2311
  entityType: EntityType.Operation;
@@ -2335,13 +2340,13 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2335
2340
  type: EntityType.GenericReference;
2336
2341
  entityType: EntityType.InternalCall;
2337
2342
  entityId: string;
2338
- } | {
2343
+ })[];
2344
+ calledByError: ({
2339
2345
  id: string;
2340
2346
  type: EntityType.GenericReference;
2341
2347
  entityType: EntityType.Loop;
2342
2348
  entityId: string;
2343
- })[];
2344
- calledByError: ({
2349
+ } | {
2345
2350
  id: string;
2346
2351
  type: EntityType.GenericReference;
2347
2352
  entityType: EntityType.Operation;
@@ -2376,11 +2381,6 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2376
2381
  type: EntityType.GenericReference;
2377
2382
  entityType: EntityType.InternalCall;
2378
2383
  entityId: string;
2379
- } | {
2380
- id: string;
2381
- type: EntityType.GenericReference;
2382
- entityType: EntityType.Loop;
2383
- entityId: string;
2384
2384
  })[];
2385
2385
  calledByEntry: ({
2386
2386
  id: string;
@@ -2432,7 +2432,7 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2432
2432
  successCalls: ({
2433
2433
  id: string;
2434
2434
  type: EntityType.GenericReference;
2435
- entityType: EntityType.ReturnStatement;
2435
+ entityType: EntityType.Loop;
2436
2436
  entityId: string;
2437
2437
  } | {
2438
2438
  id: string;
@@ -2472,7 +2472,7 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2472
2472
  } | {
2473
2473
  id: string;
2474
2474
  type: EntityType.GenericReference;
2475
- entityType: EntityType.Loop;
2475
+ entityType: EntityType.ReturnStatement;
2476
2476
  entityId: string;
2477
2477
  } | {
2478
2478
  id: string;
@@ -2488,7 +2488,7 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2488
2488
  errorCalls: ({
2489
2489
  id: string;
2490
2490
  type: EntityType.GenericReference;
2491
- entityType: EntityType.ReturnStatement;
2491
+ entityType: EntityType.Loop;
2492
2492
  entityId: string;
2493
2493
  } | {
2494
2494
  id: string;
@@ -2528,7 +2528,7 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2528
2528
  } | {
2529
2529
  id: string;
2530
2530
  type: EntityType.GenericReference;
2531
- entityType: EntityType.Loop;
2531
+ entityType: EntityType.ReturnStatement;
2532
2532
  entityId: string;
2533
2533
  } | {
2534
2534
  id: string;
@@ -2542,12 +2542,12 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2542
2542
  entityId: string;
2543
2543
  })[];
2544
2544
  writesValues: (Record<string, any> | {
2545
+ type: EntityType.InputMap;
2546
+ } | {
2545
2547
  type: EntityType.ReturnDeclaration;
2546
2548
  } | {
2547
2549
  type: EntityType.VariableDeclaration;
2548
2550
  } | {
2549
2551
  type: EntityType.VariableInstance;
2550
- } | {
2551
- type: EntityType.InputMap;
2552
2552
  })[];
2553
2553
  }>;