@elyx-code/project-logic-tree 0.0.56 → 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.
- package/dist/index.js +13746 -13755
- package/dist/index.umd.cjs +134 -134
- package/dist/tree/state/argument-declaration/validation/validation-schema.d.ts +8 -8
- package/dist/tree/state/break-statement/validation/validation-schema.d.ts +32 -32
- package/dist/tree/state/condition/validation/validation-schema.d.ts +48 -48
- package/dist/tree/state/continue-statement/validation/validation-schema.d.ts +32 -32
- package/dist/tree/state/function-call/validation/validation-schema.d.ts +56 -56
- package/dist/tree/state/global-event/validation/validation-schema.d.ts +8 -8
- package/dist/tree/state/input-map/validation/validation-schema.d.ts +64 -64
- package/dist/tree/state/internal-call/validation/validation-schema.d.ts +56 -56
- package/dist/tree/state/loop/validation/validation-schema.d.ts +48 -48
- package/dist/tree/state/operation/validation/validation-schema.d.ts +56 -56
- package/dist/tree/state/output-map/validation/validation-schema.d.ts +72 -72
- package/dist/tree/state/project/project.d.ts +6 -0
- package/dist/tree/state/return-declaration/validation/validation-schema.d.ts +16 -16
- package/dist/tree/state/return-statement/validation/validation-schema.d.ts +32 -32
- package/dist/tree/state/search/validation/validation-schema.d.ts +48 -48
- package/dist/tree/state/variable-declaration/validation/validation-schema.d.ts +64 -64
- package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +64 -64
- package/dist/tree/utils/index.d.ts +1 -1
- package/dist/tree/utils/uuid.d.ts +1 -7
- package/package.json +1 -1
|
@@ -258,6 +258,11 @@ 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
|
+
} | {
|
|
261
266
|
id: string;
|
|
262
267
|
type: EntityType.GenericReference;
|
|
263
268
|
entityType: EntityType.Operation;
|
|
@@ -292,11 +297,6 @@ export declare function getOutputMapNestedEntitiesSchema(): z.ZodObject<{
|
|
|
292
297
|
type: EntityType.GenericReference;
|
|
293
298
|
entityType: EntityType.InternalCall;
|
|
294
299
|
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
|
+
} | {
|
|
307
309
|
type: EntityType.ReturnDeclaration;
|
|
308
310
|
} | {
|
|
309
311
|
type: EntityType.VariableDeclaration;
|
|
310
312
|
} | {
|
|
311
313
|
type: EntityType.VariableInstance;
|
|
312
|
-
} | {
|
|
313
|
-
type: EntityType.InputMap;
|
|
314
314
|
})[];
|
|
315
315
|
}, {
|
|
316
316
|
declaration: Record<string, any> | {
|
|
@@ -319,6 +319,11 @@ 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
|
+
} | {
|
|
322
327
|
id: string;
|
|
323
328
|
type: EntityType.GenericReference;
|
|
324
329
|
entityType: EntityType.Operation;
|
|
@@ -353,11 +358,6 @@ export declare function getOutputMapNestedEntitiesSchema(): z.ZodObject<{
|
|
|
353
358
|
type: EntityType.GenericReference;
|
|
354
359
|
entityType: EntityType.InternalCall;
|
|
355
360
|
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
|
+
} | {
|
|
368
370
|
type: EntityType.ReturnDeclaration;
|
|
369
371
|
} | {
|
|
370
372
|
type: EntityType.VariableDeclaration;
|
|
371
373
|
} | {
|
|
372
374
|
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,6 +579,11 @@ 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
|
+
} | {
|
|
582
587
|
id: string;
|
|
583
588
|
type: EntityType.GenericReference;
|
|
584
589
|
entityType: EntityType.Operation;
|
|
@@ -613,11 +618,6 @@ export declare function getOutputMapSchema(): z.ZodObject<z.objectUtil.extendSha
|
|
|
613
618
|
type: EntityType.GenericReference;
|
|
614
619
|
entityType: EntityType.InternalCall;
|
|
615
620
|
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
|
+
} | {
|
|
630
632
|
type: EntityType.ReturnDeclaration;
|
|
631
633
|
} | {
|
|
632
634
|
type: EntityType.VariableDeclaration;
|
|
633
635
|
} | {
|
|
634
636
|
type: EntityType.VariableInstance;
|
|
635
|
-
} | {
|
|
636
|
-
type: EntityType.InputMap;
|
|
637
637
|
})[];
|
|
638
638
|
}, {
|
|
639
639
|
id: string;
|
|
@@ -644,6 +644,11 @@ 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
|
+
} | {
|
|
647
652
|
id: string;
|
|
648
653
|
type: EntityType.GenericReference;
|
|
649
654
|
entityType: EntityType.Operation;
|
|
@@ -678,11 +683,6 @@ export declare function getOutputMapSchema(): z.ZodObject<z.objectUtil.extendSha
|
|
|
678
683
|
type: EntityType.GenericReference;
|
|
679
684
|
entityType: EntityType.InternalCall;
|
|
680
685
|
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
|
+
} | {
|
|
695
697
|
type: EntityType.ReturnDeclaration;
|
|
696
698
|
} | {
|
|
697
699
|
type: EntityType.VariableDeclaration;
|
|
698
700
|
} | {
|
|
699
701
|
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
|
+
} | {
|
|
794
796
|
type: EntityType.ReturnDeclaration;
|
|
795
797
|
} | {
|
|
796
798
|
type: EntityType.VariableDeclaration;
|
|
797
799
|
} | {
|
|
798
800
|
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
|
+
} | {
|
|
818
820
|
type: EntityType.ReturnDeclaration;
|
|
819
821
|
} | {
|
|
820
822
|
type: EntityType.VariableDeclaration;
|
|
821
823
|
} | {
|
|
822
824
|
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
|
+
} | {
|
|
917
919
|
type: EntityType.ReturnDeclaration;
|
|
918
920
|
} | {
|
|
919
921
|
type: EntityType.VariableDeclaration;
|
|
920
922
|
} | {
|
|
921
923
|
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
|
+
} | {
|
|
945
947
|
type: EntityType.ReturnDeclaration;
|
|
946
948
|
} | {
|
|
947
949
|
type: EntityType.VariableDeclaration;
|
|
948
950
|
} | {
|
|
949
951
|
type: EntityType.VariableInstance;
|
|
950
|
-
} | {
|
|
951
|
-
type: EntityType.InputMap;
|
|
952
952
|
})[];
|
|
953
953
|
}>;
|
|
954
954
|
export declare function getActionOutputMapGenerationTargetSchema(): z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -1132,6 +1132,13 @@ 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
|
+
} | {
|
|
1135
1142
|
id: string;
|
|
1136
1143
|
type: EntityType.GenericReference;
|
|
1137
1144
|
entityType: EntityType.Operation;
|
|
@@ -1166,30 +1173,30 @@ export declare function getActionOutputMapNestedEntitiesSchema(): z.ZodObject<{
|
|
|
1166
1173
|
type: EntityType.GenericReference;
|
|
1167
1174
|
entityType: EntityType.InternalCall;
|
|
1168
1175
|
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
|
+
} | {
|
|
1180
1182
|
type: EntityType.ReturnDeclaration;
|
|
1181
1183
|
} | {
|
|
1182
1184
|
type: EntityType.VariableDeclaration;
|
|
1183
1185
|
} | {
|
|
1184
1186
|
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
|
+
} | {
|
|
1193
1200
|
id: string;
|
|
1194
1201
|
type: EntityType.GenericReference;
|
|
1195
1202
|
entityType: EntityType.Operation;
|
|
@@ -1224,24 +1231,17 @@ export declare function getActionOutputMapNestedEntitiesSchema(): z.ZodObject<{
|
|
|
1224
1231
|
type: EntityType.GenericReference;
|
|
1225
1232
|
entityType: EntityType.InternalCall;
|
|
1226
1233
|
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
|
+
} | {
|
|
1238
1240
|
type: EntityType.ReturnDeclaration;
|
|
1239
1241
|
} | {
|
|
1240
1242
|
type: EntityType.VariableDeclaration;
|
|
1241
1243
|
} | {
|
|
1242
1244
|
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,6 +1423,13 @@ 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
|
+
} | {
|
|
1426
1433
|
id: string;
|
|
1427
1434
|
type: EntityType.GenericReference;
|
|
1428
1435
|
entityType: EntityType.Operation;
|
|
@@ -1457,26 +1464,19 @@ export declare function getActionOutputMapSchema(): z.ZodObject<z.objectUtil.ext
|
|
|
1457
1464
|
type: EntityType.GenericReference;
|
|
1458
1465
|
entityType: EntityType.InternalCall;
|
|
1459
1466
|
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
|
+
} | {
|
|
1473
1475
|
type: EntityType.ReturnDeclaration;
|
|
1474
1476
|
} | {
|
|
1475
1477
|
type: EntityType.VariableDeclaration;
|
|
1476
1478
|
} | {
|
|
1477
1479
|
type: EntityType.VariableInstance;
|
|
1478
|
-
} | {
|
|
1479
|
-
type: EntityType.InputMap;
|
|
1480
1480
|
})[];
|
|
1481
1481
|
}, {
|
|
1482
1482
|
id: string;
|
|
@@ -1485,6 +1485,13 @@ 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
|
+
} | {
|
|
1488
1495
|
id: string;
|
|
1489
1496
|
type: EntityType.GenericReference;
|
|
1490
1497
|
entityType: EntityType.Operation;
|
|
@@ -1519,25 +1526,18 @@ export declare function getActionOutputMapSchema(): z.ZodObject<z.objectUtil.ext
|
|
|
1519
1526
|
type: EntityType.GenericReference;
|
|
1520
1527
|
entityType: EntityType.InternalCall;
|
|
1521
1528
|
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
|
+
} | {
|
|
1535
1537
|
type: EntityType.ReturnDeclaration;
|
|
1536
1538
|
} | {
|
|
1537
1539
|
type: EntityType.VariableDeclaration;
|
|
1538
1540
|
} | {
|
|
1539
1541
|
type: EntityType.VariableInstance;
|
|
1540
|
-
} | {
|
|
1541
|
-
type: EntityType.InputMap;
|
|
1542
1542
|
})[];
|
|
1543
1543
|
}>;
|
|
@@ -19,6 +19,10 @@ import { ActionDescriptorState } from '../action-descriptor';
|
|
|
19
19
|
import { ValueDescriptorState } from '../value-descriptor';
|
|
20
20
|
import { IModuleInjection } from '../types';
|
|
21
21
|
|
|
22
|
+
export interface UUIDModule {
|
|
23
|
+
uuid: () => string;
|
|
24
|
+
fromUUID: (uuid: string) => string;
|
|
25
|
+
}
|
|
22
26
|
export declare class ProjectState implements IProject, UserManagedEntityStateFunctionality, BaseState {
|
|
23
27
|
initialData: IProject | IProjectTransfer;
|
|
24
28
|
readonly id: EntityId;
|
|
@@ -57,6 +61,8 @@ export declare class ProjectState implements IProject, UserManagedEntityStateFun
|
|
|
57
61
|
errors: EntityError[];
|
|
58
62
|
references: IGenericReference[];
|
|
59
63
|
constructor(initialProjectData: IProject | IProjectTransfer);
|
|
64
|
+
static UUID: UUIDModule;
|
|
65
|
+
static injectUUIDModule(module: UUIDModule): void;
|
|
60
66
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
61
67
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
62
68
|
static BASE_PROPERTIES: string[];
|
|
@@ -239,12 +239,12 @@ export declare function getReturnDeclarationNestedEntitiesSchema(): z.ZodObject<
|
|
|
239
239
|
} | {
|
|
240
240
|
id: string;
|
|
241
241
|
type: EntityType.GenericReference;
|
|
242
|
-
entityType: EntityType.
|
|
242
|
+
entityType: EntityType.Search;
|
|
243
243
|
entityId: string;
|
|
244
244
|
} | {
|
|
245
245
|
id: string;
|
|
246
246
|
type: EntityType.GenericReference;
|
|
247
|
-
entityType: EntityType.
|
|
247
|
+
entityType: EntityType.ReturnStatement;
|
|
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
|
+
} | {
|
|
261
263
|
type: EntityType.VariableDeclaration;
|
|
262
264
|
} | {
|
|
263
265
|
type: EntityType.VariableInstance;
|
|
264
266
|
} | {
|
|
265
267
|
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.
|
|
287
|
+
entityType: EntityType.Search;
|
|
288
288
|
entityId: string;
|
|
289
289
|
} | {
|
|
290
290
|
id: string;
|
|
291
291
|
type: EntityType.GenericReference;
|
|
292
|
-
entityType: EntityType.
|
|
292
|
+
entityType: EntityType.ReturnStatement;
|
|
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
|
+
} | {
|
|
306
308
|
type: EntityType.VariableDeclaration;
|
|
307
309
|
} | {
|
|
308
310
|
type: EntityType.VariableInstance;
|
|
309
311
|
} | {
|
|
310
312
|
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.
|
|
488
|
+
entityType: EntityType.Search;
|
|
489
489
|
entityId: string;
|
|
490
490
|
} | {
|
|
491
491
|
id: string;
|
|
492
492
|
type: EntityType.GenericReference;
|
|
493
|
-
entityType: EntityType.
|
|
493
|
+
entityType: EntityType.ReturnStatement;
|
|
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
|
+
} | {
|
|
510
512
|
type: EntityType.VariableDeclaration;
|
|
511
513
|
} | {
|
|
512
514
|
type: EntityType.VariableInstance;
|
|
513
515
|
} | {
|
|
514
516
|
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.
|
|
540
|
+
entityType: EntityType.Search;
|
|
541
541
|
entityId: string;
|
|
542
542
|
} | {
|
|
543
543
|
id: string;
|
|
544
544
|
type: EntityType.GenericReference;
|
|
545
|
-
entityType: EntityType.
|
|
545
|
+
entityType: EntityType.ReturnStatement;
|
|
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
|
+
} | {
|
|
562
564
|
type: EntityType.VariableDeclaration;
|
|
563
565
|
} | {
|
|
564
566
|
type: EntityType.VariableInstance;
|
|
565
567
|
} | {
|
|
566
568
|
type: EntityType.ArgumentDeclaration;
|
|
567
|
-
} | {
|
|
568
|
-
type: EntityType.OutputMap;
|
|
569
569
|
} | {
|
|
570
570
|
type: EntityType.Operation;
|
|
571
571
|
} | {
|
|
@@ -400,6 +400,11 @@ 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
|
+
} | {
|
|
403
408
|
id: string;
|
|
404
409
|
type: EntityType.GenericReference;
|
|
405
410
|
entityType: EntityType.Operation;
|
|
@@ -434,13 +439,13 @@ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
|
|
|
434
439
|
type: EntityType.GenericReference;
|
|
435
440
|
entityType: EntityType.InternalCall;
|
|
436
441
|
entityId: string;
|
|
437
|
-
}
|
|
442
|
+
})[];
|
|
443
|
+
calledByError: ({
|
|
438
444
|
id: string;
|
|
439
445
|
type: EntityType.GenericReference;
|
|
440
446
|
entityType: EntityType.Loop;
|
|
441
447
|
entityId: string;
|
|
442
|
-
}
|
|
443
|
-
calledByError: ({
|
|
448
|
+
} | {
|
|
444
449
|
id: string;
|
|
445
450
|
type: EntityType.GenericReference;
|
|
446
451
|
entityType: EntityType.Operation;
|
|
@@ -475,11 +480,6 @@ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
|
|
|
475
480
|
type: EntityType.GenericReference;
|
|
476
481
|
entityType: EntityType.InternalCall;
|
|
477
482
|
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,6 +516,11 @@ 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
|
+
} | {
|
|
519
524
|
id: string;
|
|
520
525
|
type: EntityType.GenericReference;
|
|
521
526
|
entityType: EntityType.Operation;
|
|
@@ -550,13 +555,13 @@ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
|
|
|
550
555
|
type: EntityType.GenericReference;
|
|
551
556
|
entityType: EntityType.InternalCall;
|
|
552
557
|
entityId: string;
|
|
553
|
-
}
|
|
558
|
+
})[];
|
|
559
|
+
calledByError: ({
|
|
554
560
|
id: string;
|
|
555
561
|
type: EntityType.GenericReference;
|
|
556
562
|
entityType: EntityType.Loop;
|
|
557
563
|
entityId: string;
|
|
558
|
-
}
|
|
559
|
-
calledByError: ({
|
|
564
|
+
} | {
|
|
560
565
|
id: string;
|
|
561
566
|
type: EntityType.GenericReference;
|
|
562
567
|
entityType: EntityType.Operation;
|
|
@@ -591,11 +596,6 @@ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
|
|
|
591
596
|
type: EntityType.GenericReference;
|
|
592
597
|
entityType: EntityType.InternalCall;
|
|
593
598
|
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,6 +976,11 @@ 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
|
+
} | {
|
|
979
984
|
id: string;
|
|
980
985
|
type: EntityType.GenericReference;
|
|
981
986
|
entityType: EntityType.Operation;
|
|
@@ -1010,13 +1015,13 @@ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.ext
|
|
|
1010
1015
|
type: EntityType.GenericReference;
|
|
1011
1016
|
entityType: EntityType.InternalCall;
|
|
1012
1017
|
entityId: string;
|
|
1013
|
-
}
|
|
1018
|
+
})[];
|
|
1019
|
+
calledByError: ({
|
|
1014
1020
|
id: string;
|
|
1015
1021
|
type: EntityType.GenericReference;
|
|
1016
1022
|
entityType: EntityType.Loop;
|
|
1017
1023
|
entityId: string;
|
|
1018
|
-
}
|
|
1019
|
-
calledByError: ({
|
|
1024
|
+
} | {
|
|
1020
1025
|
id: string;
|
|
1021
1026
|
type: EntityType.GenericReference;
|
|
1022
1027
|
entityType: EntityType.Operation;
|
|
@@ -1051,11 +1056,6 @@ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.ext
|
|
|
1051
1056
|
type: EntityType.GenericReference;
|
|
1052
1057
|
entityType: EntityType.InternalCall;
|
|
1053
1058
|
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,6 +1097,11 @@ 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
|
+
} | {
|
|
1100
1105
|
id: string;
|
|
1101
1106
|
type: EntityType.GenericReference;
|
|
1102
1107
|
entityType: EntityType.Operation;
|
|
@@ -1131,13 +1136,13 @@ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.ext
|
|
|
1131
1136
|
type: EntityType.GenericReference;
|
|
1132
1137
|
entityType: EntityType.InternalCall;
|
|
1133
1138
|
entityId: string;
|
|
1134
|
-
}
|
|
1139
|
+
})[];
|
|
1140
|
+
calledByError: ({
|
|
1135
1141
|
id: string;
|
|
1136
1142
|
type: EntityType.GenericReference;
|
|
1137
1143
|
entityType: EntityType.Loop;
|
|
1138
1144
|
entityId: string;
|
|
1139
|
-
}
|
|
1140
|
-
calledByError: ({
|
|
1145
|
+
} | {
|
|
1141
1146
|
id: string;
|
|
1142
1147
|
type: EntityType.GenericReference;
|
|
1143
1148
|
entityType: EntityType.Operation;
|
|
@@ -1172,11 +1177,6 @@ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.ext
|
|
|
1172
1177
|
type: EntityType.GenericReference;
|
|
1173
1178
|
entityType: EntityType.InternalCall;
|
|
1174
1179
|
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;
|