@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
@@ -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[];
@@ -34,21 +34,21 @@ export declare function getPropertyBaseSchema(): z.ZodObject<{
34
34
  required: z.ZodBoolean;
35
35
  abstract: z.ZodBoolean;
36
36
  }, "strip", z.ZodTypeAny, {
37
- private: boolean;
38
37
  id: string;
39
38
  type: EntityType.Property;
40
39
  name: string;
41
40
  description: string | null;
42
41
  required: boolean;
42
+ private: boolean;
43
43
  static: boolean;
44
44
  abstract: boolean;
45
45
  }, {
46
- private: boolean;
47
46
  id: string;
48
47
  type: EntityType.Property;
49
48
  name: string;
50
49
  description: string | null;
51
50
  required: boolean;
51
+ private: boolean;
52
52
  static: boolean;
53
53
  abstract: boolean;
54
54
  }>;
@@ -65,23 +65,23 @@ export declare function getPropertyMetaSchema(): z.ZodObject<z.objectUtil.extend
65
65
  version: z.ZodNumber;
66
66
  index: z.ZodNumber;
67
67
  }>, "strip", z.ZodTypeAny, {
68
- private: boolean;
69
68
  id: string;
70
69
  type: EntityType.Property;
71
70
  name: string;
72
71
  description: string | null;
73
72
  required: boolean;
73
+ private: boolean;
74
74
  version: number;
75
75
  index: number;
76
76
  static: boolean;
77
77
  abstract: boolean;
78
78
  }, {
79
- private: boolean;
80
79
  id: string;
81
80
  type: EntityType.Property;
82
81
  name: string;
83
82
  description: string | null;
84
83
  required: boolean;
84
+ private: boolean;
85
85
  version: number;
86
86
  index: number;
87
87
  static: boolean;
@@ -97,21 +97,21 @@ export declare function getPropertyGenerationTargetSchema(): z.ZodObject<z.objec
97
97
  required: z.ZodBoolean;
98
98
  abstract: z.ZodBoolean;
99
99
  }, {}>, "strip", z.ZodTypeAny, {
100
- private: boolean;
101
100
  id: string;
102
101
  type: EntityType.Property;
103
102
  name: string;
104
103
  description: string | null;
105
104
  required: boolean;
105
+ private: boolean;
106
106
  static: boolean;
107
107
  abstract: boolean;
108
108
  }, {
109
- private: boolean;
110
109
  id: string;
111
110
  type: EntityType.Property;
112
111
  name: string;
113
112
  description: string | null;
114
113
  required: boolean;
114
+ private: boolean;
115
115
  static: boolean;
116
116
  abstract: boolean;
117
117
  }>;
@@ -297,7 +297,6 @@ export declare function getPropertySchema(): z.ZodObject<z.objectUtil.extendShap
297
297
  entityId: string;
298
298
  }>]>;
299
299
  }>, "strip", z.ZodTypeAny, {
300
- private: boolean;
301
300
  id: string;
302
301
  type: EntityType.Property;
303
302
  name: string;
@@ -306,6 +305,7 @@ export declare function getPropertySchema(): z.ZodObject<z.objectUtil.extendShap
306
305
  type: EntityType.Property;
307
306
  } | null;
308
307
  required: boolean;
308
+ private: boolean;
309
309
  parent: {
310
310
  id: string;
311
311
  type: EntityType.GenericReference;
@@ -330,7 +330,6 @@ export declare function getPropertySchema(): z.ZodObject<z.objectUtil.extendShap
330
330
  type: EntityType.DataType;
331
331
  };
332
332
  }, {
333
- private: boolean;
334
333
  id: string;
335
334
  type: EntityType.Property;
336
335
  name: string;
@@ -339,6 +338,7 @@ export declare function getPropertySchema(): z.ZodObject<z.objectUtil.extendShap
339
338
  type: EntityType.Property;
340
339
  } | null;
341
340
  required: boolean;
341
+ private: boolean;
342
342
  parent: {
343
343
  id: string;
344
344
  type: EntityType.GenericReference;
@@ -239,12 +239,12 @@ export declare function getReturnDeclarationNestedEntitiesSchema(): z.ZodObject<
239
239
  } | {
240
240
  id: string;
241
241
  type: EntityType.GenericReference;
242
- entityType: EntityType.ReturnStatement;
242
+ entityType: EntityType.Search;
243
243
  entityId: string;
244
244
  } | {
245
245
  id: string;
246
246
  type: EntityType.GenericReference;
247
- entityType: EntityType.Search;
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.ReturnStatement;
287
+ entityType: EntityType.Search;
288
288
  entityId: string;
289
289
  } | {
290
290
  id: string;
291
291
  type: EntityType.GenericReference;
292
- entityType: EntityType.Search;
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.ReturnStatement;
488
+ entityType: EntityType.Search;
489
489
  entityId: string;
490
490
  } | {
491
491
  id: string;
492
492
  type: EntityType.GenericReference;
493
- entityType: EntityType.Search;
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.ReturnStatement;
540
+ entityType: EntityType.Search;
541
541
  entityId: string;
542
542
  } | {
543
543
  id: string;
544
544
  type: EntityType.GenericReference;
545
- entityType: EntityType.Search;
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
  } | {