@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
@@ -801,11 +801,6 @@ 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
- } | {
809
804
  id: string;
810
805
  type: EntityType.GenericReference;
811
806
  entityType: EntityType.Operation;
@@ -840,13 +835,13 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
840
835
  type: EntityType.GenericReference;
841
836
  entityType: EntityType.InternalCall;
842
837
  entityId: string;
843
- })[];
844
- calledByError: ({
838
+ } | {
845
839
  id: string;
846
840
  type: EntityType.GenericReference;
847
841
  entityType: EntityType.Loop;
848
842
  entityId: string;
849
- } | {
843
+ })[];
844
+ calledByError: ({
850
845
  id: string;
851
846
  type: EntityType.GenericReference;
852
847
  entityType: EntityType.Operation;
@@ -881,6 +876,11 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
881
876
  type: EntityType.GenericReference;
882
877
  entityType: EntityType.InternalCall;
883
878
  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.Loop;
932
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
972
+ entityType: EntityType.Loop;
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.Loop;
988
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
1028
+ entityType: EntityType.Loop;
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
- } | {
1044
1042
  type: EntityType.ReturnDeclaration;
1045
1043
  } | {
1046
1044
  type: EntityType.VariableDeclaration;
1047
1045
  } | {
1048
1046
  type: EntityType.VariableInstance;
1047
+ } | {
1048
+ type: EntityType.InputMap;
1049
1049
  })[];
1050
1050
  }, {
1051
1051
  id: string;
@@ -1054,11 +1054,6 @@ 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
- } | {
1062
1057
  id: string;
1063
1058
  type: EntityType.GenericReference;
1064
1059
  entityType: EntityType.Operation;
@@ -1093,13 +1088,13 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
1093
1088
  type: EntityType.GenericReference;
1094
1089
  entityType: EntityType.InternalCall;
1095
1090
  entityId: string;
1096
- })[];
1097
- calledByError: ({
1091
+ } | {
1098
1092
  id: string;
1099
1093
  type: EntityType.GenericReference;
1100
1094
  entityType: EntityType.Loop;
1101
1095
  entityId: string;
1102
- } | {
1096
+ })[];
1097
+ calledByError: ({
1103
1098
  id: string;
1104
1099
  type: EntityType.GenericReference;
1105
1100
  entityType: EntityType.Operation;
@@ -1134,6 +1129,11 @@ export declare function getOperationNestedEntitiesSchema(): z.ZodObject<z.object
1134
1129
  type: EntityType.GenericReference;
1135
1130
  entityType: EntityType.InternalCall;
1136
1131
  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.Loop;
1185
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
1225
+ entityType: EntityType.Loop;
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.Loop;
1241
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
1281
+ entityType: EntityType.Loop;
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
- } | {
1297
1295
  type: EntityType.ReturnDeclaration;
1298
1296
  } | {
1299
1297
  type: EntityType.VariableDeclaration;
1300
1298
  } | {
1301
1299
  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,11 +2045,6 @@ 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
- } | {
2053
2048
  id: string;
2054
2049
  type: EntityType.GenericReference;
2055
2050
  entityType: EntityType.Operation;
@@ -2084,13 +2079,13 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2084
2079
  type: EntityType.GenericReference;
2085
2080
  entityType: EntityType.InternalCall;
2086
2081
  entityId: string;
2087
- })[];
2088
- calledByError: ({
2082
+ } | {
2089
2083
  id: string;
2090
2084
  type: EntityType.GenericReference;
2091
2085
  entityType: EntityType.Loop;
2092
2086
  entityId: string;
2093
- } | {
2087
+ })[];
2088
+ calledByError: ({
2094
2089
  id: string;
2095
2090
  type: EntityType.GenericReference;
2096
2091
  entityType: EntityType.Operation;
@@ -2125,6 +2120,11 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2125
2120
  type: EntityType.GenericReference;
2126
2121
  entityType: EntityType.InternalCall;
2127
2122
  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.Loop;
2179
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
2219
+ entityType: EntityType.Loop;
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.Loop;
2235
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
2275
+ entityType: EntityType.Loop;
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
- } | {
2291
2289
  type: EntityType.ReturnDeclaration;
2292
2290
  } | {
2293
2291
  type: EntityType.VariableDeclaration;
2294
2292
  } | {
2295
2293
  type: EntityType.VariableInstance;
2294
+ } | {
2295
+ type: EntityType.InputMap;
2296
2296
  })[];
2297
2297
  }, {
2298
2298
  id: string;
@@ -2301,11 +2301,6 @@ 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
- } | {
2309
2304
  id: string;
2310
2305
  type: EntityType.GenericReference;
2311
2306
  entityType: EntityType.Operation;
@@ -2340,13 +2335,13 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2340
2335
  type: EntityType.GenericReference;
2341
2336
  entityType: EntityType.InternalCall;
2342
2337
  entityId: string;
2343
- })[];
2344
- calledByError: ({
2338
+ } | {
2345
2339
  id: string;
2346
2340
  type: EntityType.GenericReference;
2347
2341
  entityType: EntityType.Loop;
2348
2342
  entityId: string;
2349
- } | {
2343
+ })[];
2344
+ calledByError: ({
2350
2345
  id: string;
2351
2346
  type: EntityType.GenericReference;
2352
2347
  entityType: EntityType.Operation;
@@ -2381,6 +2376,11 @@ export declare function getOperationSchema(): z.ZodObject<z.objectUtil.extendSha
2381
2376
  type: EntityType.GenericReference;
2382
2377
  entityType: EntityType.InternalCall;
2383
2378
  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.Loop;
2435
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
2475
+ entityType: EntityType.Loop;
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.Loop;
2491
+ entityType: EntityType.ReturnStatement;
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.ReturnStatement;
2531
+ entityType: EntityType.Loop;
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
- } | {
2547
2545
  type: EntityType.ReturnDeclaration;
2548
2546
  } | {
2549
2547
  type: EntityType.VariableDeclaration;
2550
2548
  } | {
2551
2549
  type: EntityType.VariableInstance;
2550
+ } | {
2551
+ type: EntityType.InputMap;
2552
2552
  })[];
2553
2553
  }>;