@elyx-code/project-logic-tree 0.0.6161 → 0.0.6162

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 (63) hide show
  1. package/dist/definitions/mock/default-mock/installed-projects/mock-third-party-project.d.ts +0 -1
  2. package/dist/definitions/types/event.d.ts +1 -4
  3. package/dist/definitions/types/function.d.ts +1 -4
  4. package/dist/definitions/types/loop.d.ts +1 -7
  5. package/dist/definitions/types/primitives.d.ts +8 -4
  6. package/dist/index.js +38870 -32143
  7. package/dist/index.umd.cjs +262 -260
  8. package/dist/tree/built-in/operations/definition-entity/validate-data.d.ts +7 -7
  9. package/dist/tree/state/action-descriptor/action-descriptor.d.ts +30 -24
  10. package/dist/tree/state/argument-declaration/argument-declaration.d.ts +32 -22
  11. package/dist/tree/state/argument-declaration/validation/validation-schema.d.ts +4 -4
  12. package/dist/tree/state/base.d.ts +26 -15
  13. package/dist/tree/state/break-statement/break-statement.d.ts +34 -25
  14. package/dist/tree/state/break-statement/validation/validation-schema.d.ts +4 -4
  15. package/dist/tree/state/built-in-base-entity/built-in-base-entity.d.ts +2 -14
  16. package/dist/tree/state/change-set.d.ts +71 -0
  17. package/dist/tree/state/change-set.test.d.ts +1 -0
  18. package/dist/tree/state/condition/condition.d.ts +36 -27
  19. package/dist/tree/state/condition/validation/validation-schema.d.ts +4 -4
  20. package/dist/tree/state/continue-statement/continue-statement.d.ts +34 -25
  21. package/dist/tree/state/continue-statement/validation/validation-schema.d.ts +4 -4
  22. package/dist/tree/state/data-type/data-type.d.ts +31 -22
  23. package/dist/tree/state/data-type/validation/validation-schema.d.ts +2657 -237
  24. package/dist/tree/state/definition-entity/definition-entity.d.ts +35 -25
  25. package/dist/tree/state/definition-entity/validation/validation-schema.d.ts +8 -8
  26. package/dist/tree/state/function-call/function-call.d.ts +39 -29
  27. package/dist/tree/state/function-call/validation/validation-schema.d.ts +4 -4
  28. package/dist/tree/state/function-declaration/function-declaration.d.ts +33 -24
  29. package/dist/tree/state/function-declaration/validation/validation-schema.d.ts +6 -6
  30. package/dist/tree/state/global-event/global-event.d.ts +30 -24
  31. package/dist/tree/state/global-event/validation/validation-schema.d.ts +4 -4
  32. package/dist/tree/state/index.d.ts +1 -0
  33. package/dist/tree/state/input-map/input-map.d.ts +31 -21
  34. package/dist/tree/state/input-map/validation/validation-schema.d.ts +8825 -1565
  35. package/dist/tree/state/installed-project/installed-project.d.ts +27 -21
  36. package/dist/tree/state/installed-project/validation/validation-schema.d.ts +4 -4
  37. package/dist/tree/state/internal-call/internal-call.d.ts +38 -29
  38. package/dist/tree/state/literal-value/literal-value.d.ts +35 -23
  39. package/dist/tree/state/literal-value/validation/validation-schema.d.ts +1976 -182
  40. package/dist/tree/state/loop/loop.d.ts +48 -39
  41. package/dist/tree/state/loop/validation/validation-schema.d.ts +4 -4
  42. package/dist/tree/state/operation/operation.d.ts +38 -29
  43. package/dist/tree/state/operation/validation/validation-schema.d.ts +4 -4
  44. package/dist/tree/state/output-map/output-map.d.ts +31 -21
  45. package/dist/tree/state/primitive-entity/primitive-entity.d.ts +0 -13
  46. package/dist/tree/state/project/project.d.ts +39 -24
  47. package/dist/tree/state/property/property.d.ts +32 -22
  48. package/dist/tree/state/return-declaration/return-declaration.d.ts +32 -22
  49. package/dist/tree/state/return-statement/return-statement.d.ts +34 -25
  50. package/dist/tree/state/return-statement/validation/validation-schema.d.ts +4 -4
  51. package/dist/tree/state/search/search.d.ts +36 -27
  52. package/dist/tree/state/search/validation/validation-schema.d.ts +4 -4
  53. package/dist/tree/state/types/index.d.ts +0 -26
  54. package/dist/tree/state/value-descriptor/value-descriptor.d.ts +30 -21
  55. package/dist/tree/state/variable-declaration/validation/validation-schema.d.ts +4 -4
  56. package/dist/tree/state/variable-declaration/variable-declaration.d.ts +40 -32
  57. package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +4 -4
  58. package/dist/tree/state/variable-instance/variable-instance.d.ts +39 -28
  59. package/dist/tree/state/version.d.ts +1 -1
  60. package/dist/tree/utils/data-type.d.ts +2 -2
  61. package/dist/tree/utils/index.d.ts +2 -1
  62. package/dist/tree/utils/shared-data-structure-entity.d.ts +7 -7
  63. package/package.json +1 -1
@@ -1204,7 +1204,53 @@ export declare function getLiteralValueGenericSchema(): z.ZodObject<{
1204
1204
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
1205
1205
  type: z.ZodLiteral<EntityType.LiteralValue>;
1206
1206
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
1207
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
1207
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1208
+ id: z.ZodString;
1209
+ type: z.ZodLiteral<EntityType.GenericReference>;
1210
+ entityId: z.ZodString;
1211
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
1212
+ }, "strip", z.ZodTypeAny, {
1213
+ id: string;
1214
+ type: EntityType.GenericReference;
1215
+ entityType: EntityType.DefinitionEntity;
1216
+ entityId: string;
1217
+ }, {
1218
+ id: string;
1219
+ type: EntityType.GenericReference;
1220
+ entityType: EntityType.DefinitionEntity;
1221
+ entityId: string;
1222
+ }>, z.ZodObject<{
1223
+ id: z.ZodString;
1224
+ type: z.ZodLiteral<EntityType.GenericReference>;
1225
+ entityId: z.ZodString;
1226
+ entityType: z.ZodLiteral<EntityType.Operation>;
1227
+ }, "strip", z.ZodTypeAny, {
1228
+ id: string;
1229
+ type: EntityType.GenericReference;
1230
+ entityType: EntityType.Operation;
1231
+ entityId: string;
1232
+ }, {
1233
+ id: string;
1234
+ type: EntityType.GenericReference;
1235
+ entityType: EntityType.Operation;
1236
+ entityId: string;
1237
+ }>, z.ZodObject<{
1238
+ id: z.ZodString;
1239
+ type: z.ZodLiteral<EntityType.GenericReference>;
1240
+ entityId: z.ZodString;
1241
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
1242
+ }, "strip", z.ZodTypeAny, {
1243
+ id: string;
1244
+ type: EntityType.GenericReference;
1245
+ entityType: EntityType.FunctionDeclaration;
1246
+ entityId: string;
1247
+ }, {
1248
+ id: string;
1249
+ type: EntityType.GenericReference;
1250
+ entityType: EntityType.FunctionDeclaration;
1251
+ entityId: string;
1252
+ }>]>, "many">>;
1253
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
1208
1254
  id: z.ZodString;
1209
1255
  type: z.ZodLiteral<EntityType.GenericReference>;
1210
1256
  entityId: z.ZodString;
@@ -1535,7 +1581,7 @@ export declare function getLiteralValueGenericSchema(): z.ZodObject<{
1535
1581
  id: string;
1536
1582
  type: EntityType.LiteralValue;
1537
1583
  name: PrimitiveTypes.EntityTemplate | PrimitiveTypes.ActionDescriptor | PrimitiveTypes.String | PrimitiveTypes.Number | PrimitiveTypes.Boolean | PrimitiveTypes.Null | PrimitiveTypes.Enum | PrimitiveTypes.KeyValue | PrimitiveTypes.Date | PrimitiveTypes.UUID | PrimitiveTypes.File;
1538
- valueAsType: {
1584
+ valueAsTypeSingle: {
1539
1585
  id: string;
1540
1586
  type: EntityType.GenericReference;
1541
1587
  entityType: EntityType.DefinitionEntity;
@@ -1551,6 +1597,22 @@ export declare function getLiteralValueGenericSchema(): z.ZodObject<{
1551
1597
  entityType: EntityType.FunctionDeclaration;
1552
1598
  entityId: string;
1553
1599
  } | null;
1600
+ valueAsTypeList: ({
1601
+ id: string;
1602
+ type: EntityType.GenericReference;
1603
+ entityType: EntityType.DefinitionEntity;
1604
+ entityId: string;
1605
+ } | {
1606
+ id: string;
1607
+ type: EntityType.GenericReference;
1608
+ entityType: EntityType.Operation;
1609
+ entityId: string;
1610
+ } | {
1611
+ id: string;
1612
+ type: EntityType.GenericReference;
1613
+ entityType: EntityType.FunctionDeclaration;
1614
+ entityId: string;
1615
+ })[] | null;
1554
1616
  parent: {
1555
1617
  id: string;
1556
1618
  type: EntityType.GenericReference;
@@ -1617,7 +1679,7 @@ export declare function getLiteralValueGenericSchema(): z.ZodObject<{
1617
1679
  id: string;
1618
1680
  type: EntityType.LiteralValue;
1619
1681
  name: PrimitiveTypes.EntityTemplate | PrimitiveTypes.ActionDescriptor | PrimitiveTypes.String | PrimitiveTypes.Number | PrimitiveTypes.Boolean | PrimitiveTypes.Null | PrimitiveTypes.Enum | PrimitiveTypes.KeyValue | PrimitiveTypes.Date | PrimitiveTypes.UUID | PrimitiveTypes.File;
1620
- valueAsType: {
1682
+ valueAsTypeSingle: {
1621
1683
  id: string;
1622
1684
  type: EntityType.GenericReference;
1623
1685
  entityType: EntityType.DefinitionEntity;
@@ -1633,6 +1695,22 @@ export declare function getLiteralValueGenericSchema(): z.ZodObject<{
1633
1695
  entityType: EntityType.FunctionDeclaration;
1634
1696
  entityId: string;
1635
1697
  } | null;
1698
+ valueAsTypeList: ({
1699
+ id: string;
1700
+ type: EntityType.GenericReference;
1701
+ entityType: EntityType.DefinitionEntity;
1702
+ entityId: string;
1703
+ } | {
1704
+ id: string;
1705
+ type: EntityType.GenericReference;
1706
+ entityType: EntityType.Operation;
1707
+ entityId: string;
1708
+ } | {
1709
+ id: string;
1710
+ type: EntityType.GenericReference;
1711
+ entityType: EntityType.FunctionDeclaration;
1712
+ entityId: string;
1713
+ })[] | null;
1636
1714
  parent: {
1637
1715
  id: string;
1638
1716
  type: EntityType.GenericReference;
@@ -1702,7 +1780,53 @@ export declare function getPrimitiveStringValueSchema(): z.ZodObject<z.objectUti
1702
1780
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
1703
1781
  type: z.ZodLiteral<EntityType.LiteralValue>;
1704
1782
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
1705
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
1783
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1784
+ id: z.ZodString;
1785
+ type: z.ZodLiteral<EntityType.GenericReference>;
1786
+ entityId: z.ZodString;
1787
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
1788
+ }, "strip", z.ZodTypeAny, {
1789
+ id: string;
1790
+ type: EntityType.GenericReference;
1791
+ entityType: EntityType.DefinitionEntity;
1792
+ entityId: string;
1793
+ }, {
1794
+ id: string;
1795
+ type: EntityType.GenericReference;
1796
+ entityType: EntityType.DefinitionEntity;
1797
+ entityId: string;
1798
+ }>, z.ZodObject<{
1799
+ id: z.ZodString;
1800
+ type: z.ZodLiteral<EntityType.GenericReference>;
1801
+ entityId: z.ZodString;
1802
+ entityType: z.ZodLiteral<EntityType.Operation>;
1803
+ }, "strip", z.ZodTypeAny, {
1804
+ id: string;
1805
+ type: EntityType.GenericReference;
1806
+ entityType: EntityType.Operation;
1807
+ entityId: string;
1808
+ }, {
1809
+ id: string;
1810
+ type: EntityType.GenericReference;
1811
+ entityType: EntityType.Operation;
1812
+ entityId: string;
1813
+ }>, z.ZodObject<{
1814
+ id: z.ZodString;
1815
+ type: z.ZodLiteral<EntityType.GenericReference>;
1816
+ entityId: z.ZodString;
1817
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
1818
+ }, "strip", z.ZodTypeAny, {
1819
+ id: string;
1820
+ type: EntityType.GenericReference;
1821
+ entityType: EntityType.FunctionDeclaration;
1822
+ entityId: string;
1823
+ }, {
1824
+ id: string;
1825
+ type: EntityType.GenericReference;
1826
+ entityType: EntityType.FunctionDeclaration;
1827
+ entityId: string;
1828
+ }>]>, "many">>;
1829
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
1706
1830
  id: z.ZodString;
1707
1831
  type: z.ZodLiteral<EntityType.GenericReference>;
1708
1832
  entityId: z.ZodString;
@@ -2103,7 +2227,7 @@ export declare function getPrimitiveStringValueSchema(): z.ZodObject<z.objectUti
2103
2227
  id: string;
2104
2228
  type: EntityType.LiteralValue;
2105
2229
  name: PrimitiveTypes.String;
2106
- valueAsType: {
2230
+ valueAsTypeSingle: {
2107
2231
  id: string;
2108
2232
  type: EntityType.GenericReference;
2109
2233
  entityType: EntityType.DefinitionEntity;
@@ -2119,6 +2243,22 @@ export declare function getPrimitiveStringValueSchema(): z.ZodObject<z.objectUti
2119
2243
  entityType: EntityType.FunctionDeclaration;
2120
2244
  entityId: string;
2121
2245
  } | null;
2246
+ valueAsTypeList: ({
2247
+ id: string;
2248
+ type: EntityType.GenericReference;
2249
+ entityType: EntityType.DefinitionEntity;
2250
+ entityId: string;
2251
+ } | {
2252
+ id: string;
2253
+ type: EntityType.GenericReference;
2254
+ entityType: EntityType.Operation;
2255
+ entityId: string;
2256
+ } | {
2257
+ id: string;
2258
+ type: EntityType.GenericReference;
2259
+ entityType: EntityType.FunctionDeclaration;
2260
+ entityId: string;
2261
+ })[] | null;
2122
2262
  parent: {
2123
2263
  id: string;
2124
2264
  type: EntityType.GenericReference;
@@ -2149,7 +2289,7 @@ export declare function getPrimitiveStringValueSchema(): z.ZodObject<z.objectUti
2149
2289
  id: string;
2150
2290
  type: EntityType.LiteralValue;
2151
2291
  name: PrimitiveTypes.String;
2152
- valueAsType: {
2292
+ valueAsTypeSingle: {
2153
2293
  id: string;
2154
2294
  type: EntityType.GenericReference;
2155
2295
  entityType: EntityType.DefinitionEntity;
@@ -2165,6 +2305,22 @@ export declare function getPrimitiveStringValueSchema(): z.ZodObject<z.objectUti
2165
2305
  entityType: EntityType.FunctionDeclaration;
2166
2306
  entityId: string;
2167
2307
  } | null;
2308
+ valueAsTypeList: ({
2309
+ id: string;
2310
+ type: EntityType.GenericReference;
2311
+ entityType: EntityType.DefinitionEntity;
2312
+ entityId: string;
2313
+ } | {
2314
+ id: string;
2315
+ type: EntityType.GenericReference;
2316
+ entityType: EntityType.Operation;
2317
+ entityId: string;
2318
+ } | {
2319
+ id: string;
2320
+ type: EntityType.GenericReference;
2321
+ entityType: EntityType.FunctionDeclaration;
2322
+ entityId: string;
2323
+ })[] | null;
2168
2324
  parent: {
2169
2325
  id: string;
2170
2326
  type: EntityType.GenericReference;
@@ -2198,7 +2354,53 @@ export declare function getPrimitiveNumberValueSchema(): z.ZodObject<z.objectUti
2198
2354
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
2199
2355
  type: z.ZodLiteral<EntityType.LiteralValue>;
2200
2356
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
2201
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2357
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2358
+ id: z.ZodString;
2359
+ type: z.ZodLiteral<EntityType.GenericReference>;
2360
+ entityId: z.ZodString;
2361
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
2362
+ }, "strip", z.ZodTypeAny, {
2363
+ id: string;
2364
+ type: EntityType.GenericReference;
2365
+ entityType: EntityType.DefinitionEntity;
2366
+ entityId: string;
2367
+ }, {
2368
+ id: string;
2369
+ type: EntityType.GenericReference;
2370
+ entityType: EntityType.DefinitionEntity;
2371
+ entityId: string;
2372
+ }>, z.ZodObject<{
2373
+ id: z.ZodString;
2374
+ type: z.ZodLiteral<EntityType.GenericReference>;
2375
+ entityId: z.ZodString;
2376
+ entityType: z.ZodLiteral<EntityType.Operation>;
2377
+ }, "strip", z.ZodTypeAny, {
2378
+ id: string;
2379
+ type: EntityType.GenericReference;
2380
+ entityType: EntityType.Operation;
2381
+ entityId: string;
2382
+ }, {
2383
+ id: string;
2384
+ type: EntityType.GenericReference;
2385
+ entityType: EntityType.Operation;
2386
+ entityId: string;
2387
+ }>, z.ZodObject<{
2388
+ id: z.ZodString;
2389
+ type: z.ZodLiteral<EntityType.GenericReference>;
2390
+ entityId: z.ZodString;
2391
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
2392
+ }, "strip", z.ZodTypeAny, {
2393
+ id: string;
2394
+ type: EntityType.GenericReference;
2395
+ entityType: EntityType.FunctionDeclaration;
2396
+ entityId: string;
2397
+ }, {
2398
+ id: string;
2399
+ type: EntityType.GenericReference;
2400
+ entityType: EntityType.FunctionDeclaration;
2401
+ entityId: string;
2402
+ }>]>, "many">>;
2403
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2202
2404
  id: z.ZodString;
2203
2405
  type: z.ZodLiteral<EntityType.GenericReference>;
2204
2406
  entityId: z.ZodString;
@@ -2599,7 +2801,7 @@ export declare function getPrimitiveNumberValueSchema(): z.ZodObject<z.objectUti
2599
2801
  id: string;
2600
2802
  type: EntityType.LiteralValue;
2601
2803
  name: PrimitiveTypes.Number;
2602
- valueAsType: {
2804
+ valueAsTypeSingle: {
2603
2805
  id: string;
2604
2806
  type: EntityType.GenericReference;
2605
2807
  entityType: EntityType.DefinitionEntity;
@@ -2615,6 +2817,22 @@ export declare function getPrimitiveNumberValueSchema(): z.ZodObject<z.objectUti
2615
2817
  entityType: EntityType.FunctionDeclaration;
2616
2818
  entityId: string;
2617
2819
  } | null;
2820
+ valueAsTypeList: ({
2821
+ id: string;
2822
+ type: EntityType.GenericReference;
2823
+ entityType: EntityType.DefinitionEntity;
2824
+ entityId: string;
2825
+ } | {
2826
+ id: string;
2827
+ type: EntityType.GenericReference;
2828
+ entityType: EntityType.Operation;
2829
+ entityId: string;
2830
+ } | {
2831
+ id: string;
2832
+ type: EntityType.GenericReference;
2833
+ entityType: EntityType.FunctionDeclaration;
2834
+ entityId: string;
2835
+ })[] | null;
2618
2836
  parent: {
2619
2837
  id: string;
2620
2838
  type: EntityType.GenericReference;
@@ -2645,7 +2863,7 @@ export declare function getPrimitiveNumberValueSchema(): z.ZodObject<z.objectUti
2645
2863
  id: string;
2646
2864
  type: EntityType.LiteralValue;
2647
2865
  name: PrimitiveTypes.Number;
2648
- valueAsType: {
2866
+ valueAsTypeSingle: {
2649
2867
  id: string;
2650
2868
  type: EntityType.GenericReference;
2651
2869
  entityType: EntityType.DefinitionEntity;
@@ -2661,6 +2879,22 @@ export declare function getPrimitiveNumberValueSchema(): z.ZodObject<z.objectUti
2661
2879
  entityType: EntityType.FunctionDeclaration;
2662
2880
  entityId: string;
2663
2881
  } | null;
2882
+ valueAsTypeList: ({
2883
+ id: string;
2884
+ type: EntityType.GenericReference;
2885
+ entityType: EntityType.DefinitionEntity;
2886
+ entityId: string;
2887
+ } | {
2888
+ id: string;
2889
+ type: EntityType.GenericReference;
2890
+ entityType: EntityType.Operation;
2891
+ entityId: string;
2892
+ } | {
2893
+ id: string;
2894
+ type: EntityType.GenericReference;
2895
+ entityType: EntityType.FunctionDeclaration;
2896
+ entityId: string;
2897
+ })[] | null;
2664
2898
  parent: {
2665
2899
  id: string;
2666
2900
  type: EntityType.GenericReference;
@@ -2694,7 +2928,7 @@ export declare function getPrimitiveBooleanValueSchema(): z.ZodObject<z.objectUt
2694
2928
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
2695
2929
  type: z.ZodLiteral<EntityType.LiteralValue>;
2696
2930
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
2697
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2931
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2698
2932
  id: z.ZodString;
2699
2933
  type: z.ZodLiteral<EntityType.GenericReference>;
2700
2934
  entityId: z.ZodString;
@@ -2739,38 +2973,84 @@ export declare function getPrimitiveBooleanValueSchema(): z.ZodObject<z.objectUt
2739
2973
  type: EntityType.GenericReference;
2740
2974
  entityType: EntityType.FunctionDeclaration;
2741
2975
  entityId: string;
2742
- }>]>>;
2743
- autogeneration: z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2744
- type: z.ZodEnum<[import("@src/definitions").ValueAutogenerationType.CurrentDateAndTime, import("@src/definitions").ValueAutogenerationType.Random, import("@src/definitions").ValueAutogenerationType.Unique]>;
2745
- rangeStart: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>>;
2746
- rangeEnd: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>>;
2747
- }, {
2748
- type: z.ZodLiteral<import("@src/definitions").ValueAutogenerationType.Random>;
2749
- rangeStart: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>;
2750
- rangeEnd: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>;
2751
- }>, {
2752
- rangeStart: z.ZodNullable<z.ZodNumber>;
2753
- rangeEnd: z.ZodNullable<z.ZodNumber>;
2754
- }>, {
2755
- rangeStart: z.ZodNumber;
2756
- rangeEnd: z.ZodNull;
2757
- }>, "strip", z.ZodTypeAny, {
2758
- type: import("@src/definitions").ValueAutogenerationType.Random;
2759
- rangeStart: number;
2760
- rangeEnd: null;
2761
- }, {
2762
- type: import("@src/definitions").ValueAutogenerationType.Random;
2763
- rangeStart: number;
2764
- rangeEnd: null;
2765
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2766
- type: z.ZodEnum<[import("@src/definitions").ValueAutogenerationType.CurrentDateAndTime, import("@src/definitions").ValueAutogenerationType.Random, import("@src/definitions").ValueAutogenerationType.Unique]>;
2767
- rangeStart: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>>;
2768
- rangeEnd: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>>;
2976
+ }>]>, "many">>;
2977
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2978
+ id: z.ZodString;
2979
+ type: z.ZodLiteral<EntityType.GenericReference>;
2980
+ entityId: z.ZodString;
2981
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
2982
+ }, "strip", z.ZodTypeAny, {
2983
+ id: string;
2984
+ type: EntityType.GenericReference;
2985
+ entityType: EntityType.DefinitionEntity;
2986
+ entityId: string;
2769
2987
  }, {
2770
- type: z.ZodLiteral<import("@src/definitions").ValueAutogenerationType.Random>;
2771
- rangeStart: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>;
2772
- rangeEnd: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>;
2773
- }>, {
2988
+ id: string;
2989
+ type: EntityType.GenericReference;
2990
+ entityType: EntityType.DefinitionEntity;
2991
+ entityId: string;
2992
+ }>, z.ZodObject<{
2993
+ id: z.ZodString;
2994
+ type: z.ZodLiteral<EntityType.GenericReference>;
2995
+ entityId: z.ZodString;
2996
+ entityType: z.ZodLiteral<EntityType.Operation>;
2997
+ }, "strip", z.ZodTypeAny, {
2998
+ id: string;
2999
+ type: EntityType.GenericReference;
3000
+ entityType: EntityType.Operation;
3001
+ entityId: string;
3002
+ }, {
3003
+ id: string;
3004
+ type: EntityType.GenericReference;
3005
+ entityType: EntityType.Operation;
3006
+ entityId: string;
3007
+ }>, z.ZodObject<{
3008
+ id: z.ZodString;
3009
+ type: z.ZodLiteral<EntityType.GenericReference>;
3010
+ entityId: z.ZodString;
3011
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
3012
+ }, "strip", z.ZodTypeAny, {
3013
+ id: string;
3014
+ type: EntityType.GenericReference;
3015
+ entityType: EntityType.FunctionDeclaration;
3016
+ entityId: string;
3017
+ }, {
3018
+ id: string;
3019
+ type: EntityType.GenericReference;
3020
+ entityType: EntityType.FunctionDeclaration;
3021
+ entityId: string;
3022
+ }>]>>;
3023
+ autogeneration: z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3024
+ type: z.ZodEnum<[import("@src/definitions").ValueAutogenerationType.CurrentDateAndTime, import("@src/definitions").ValueAutogenerationType.Random, import("@src/definitions").ValueAutogenerationType.Unique]>;
3025
+ rangeStart: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>>;
3026
+ rangeEnd: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>>;
3027
+ }, {
3028
+ type: z.ZodLiteral<import("@src/definitions").ValueAutogenerationType.Random>;
3029
+ rangeStart: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>;
3030
+ rangeEnd: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>;
3031
+ }>, {
3032
+ rangeStart: z.ZodNullable<z.ZodNumber>;
3033
+ rangeEnd: z.ZodNullable<z.ZodNumber>;
3034
+ }>, {
3035
+ rangeStart: z.ZodNumber;
3036
+ rangeEnd: z.ZodNull;
3037
+ }>, "strip", z.ZodTypeAny, {
3038
+ type: import("@src/definitions").ValueAutogenerationType.Random;
3039
+ rangeStart: number;
3040
+ rangeEnd: null;
3041
+ }, {
3042
+ type: import("@src/definitions").ValueAutogenerationType.Random;
3043
+ rangeStart: number;
3044
+ rangeEnd: null;
3045
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3046
+ type: z.ZodEnum<[import("@src/definitions").ValueAutogenerationType.CurrentDateAndTime, import("@src/definitions").ValueAutogenerationType.Random, import("@src/definitions").ValueAutogenerationType.Unique]>;
3047
+ rangeStart: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>>;
3048
+ rangeEnd: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>>;
3049
+ }, {
3050
+ type: z.ZodLiteral<import("@src/definitions").ValueAutogenerationType.Random>;
3051
+ rangeStart: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>;
3052
+ rangeEnd: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>;
3053
+ }>, {
2774
3054
  rangeStart: z.ZodNullable<z.ZodNumber>;
2775
3055
  rangeEnd: z.ZodNullable<z.ZodNumber>;
2776
3056
  }>, {
@@ -3048,7 +3328,7 @@ export declare function getPrimitiveBooleanValueSchema(): z.ZodObject<z.objectUt
3048
3328
  id: string;
3049
3329
  type: EntityType.LiteralValue;
3050
3330
  name: PrimitiveTypes.Boolean;
3051
- valueAsType: {
3331
+ valueAsTypeSingle: {
3052
3332
  id: string;
3053
3333
  type: EntityType.GenericReference;
3054
3334
  entityType: EntityType.DefinitionEntity;
@@ -3064,6 +3344,22 @@ export declare function getPrimitiveBooleanValueSchema(): z.ZodObject<z.objectUt
3064
3344
  entityType: EntityType.FunctionDeclaration;
3065
3345
  entityId: string;
3066
3346
  } | null;
3347
+ valueAsTypeList: ({
3348
+ id: string;
3349
+ type: EntityType.GenericReference;
3350
+ entityType: EntityType.DefinitionEntity;
3351
+ entityId: string;
3352
+ } | {
3353
+ id: string;
3354
+ type: EntityType.GenericReference;
3355
+ entityType: EntityType.Operation;
3356
+ entityId: string;
3357
+ } | {
3358
+ id: string;
3359
+ type: EntityType.GenericReference;
3360
+ entityType: EntityType.FunctionDeclaration;
3361
+ entityId: string;
3362
+ })[] | null;
3067
3363
  parent: {
3068
3364
  id: string;
3069
3365
  type: EntityType.GenericReference;
@@ -3086,7 +3382,7 @@ export declare function getPrimitiveBooleanValueSchema(): z.ZodObject<z.objectUt
3086
3382
  id: string;
3087
3383
  type: EntityType.LiteralValue;
3088
3384
  name: PrimitiveTypes.Boolean;
3089
- valueAsType: {
3385
+ valueAsTypeSingle: {
3090
3386
  id: string;
3091
3387
  type: EntityType.GenericReference;
3092
3388
  entityType: EntityType.DefinitionEntity;
@@ -3102,6 +3398,22 @@ export declare function getPrimitiveBooleanValueSchema(): z.ZodObject<z.objectUt
3102
3398
  entityType: EntityType.FunctionDeclaration;
3103
3399
  entityId: string;
3104
3400
  } | null;
3401
+ valueAsTypeList: ({
3402
+ id: string;
3403
+ type: EntityType.GenericReference;
3404
+ entityType: EntityType.DefinitionEntity;
3405
+ entityId: string;
3406
+ } | {
3407
+ id: string;
3408
+ type: EntityType.GenericReference;
3409
+ entityType: EntityType.Operation;
3410
+ entityId: string;
3411
+ } | {
3412
+ id: string;
3413
+ type: EntityType.GenericReference;
3414
+ entityType: EntityType.FunctionDeclaration;
3415
+ entityId: string;
3416
+ })[] | null;
3105
3417
  parent: {
3106
3418
  id: string;
3107
3419
  type: EntityType.GenericReference;
@@ -3127,7 +3439,53 @@ export declare function getPrimitiveNullValueSchema(): z.ZodObject<z.objectUtil.
3127
3439
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
3128
3440
  type: z.ZodLiteral<EntityType.LiteralValue>;
3129
3441
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
3130
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
3442
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
3443
+ id: z.ZodString;
3444
+ type: z.ZodLiteral<EntityType.GenericReference>;
3445
+ entityId: z.ZodString;
3446
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
3447
+ }, "strip", z.ZodTypeAny, {
3448
+ id: string;
3449
+ type: EntityType.GenericReference;
3450
+ entityType: EntityType.DefinitionEntity;
3451
+ entityId: string;
3452
+ }, {
3453
+ id: string;
3454
+ type: EntityType.GenericReference;
3455
+ entityType: EntityType.DefinitionEntity;
3456
+ entityId: string;
3457
+ }>, z.ZodObject<{
3458
+ id: z.ZodString;
3459
+ type: z.ZodLiteral<EntityType.GenericReference>;
3460
+ entityId: z.ZodString;
3461
+ entityType: z.ZodLiteral<EntityType.Operation>;
3462
+ }, "strip", z.ZodTypeAny, {
3463
+ id: string;
3464
+ type: EntityType.GenericReference;
3465
+ entityType: EntityType.Operation;
3466
+ entityId: string;
3467
+ }, {
3468
+ id: string;
3469
+ type: EntityType.GenericReference;
3470
+ entityType: EntityType.Operation;
3471
+ entityId: string;
3472
+ }>, z.ZodObject<{
3473
+ id: z.ZodString;
3474
+ type: z.ZodLiteral<EntityType.GenericReference>;
3475
+ entityId: z.ZodString;
3476
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
3477
+ }, "strip", z.ZodTypeAny, {
3478
+ id: string;
3479
+ type: EntityType.GenericReference;
3480
+ entityType: EntityType.FunctionDeclaration;
3481
+ entityId: string;
3482
+ }, {
3483
+ id: string;
3484
+ type: EntityType.GenericReference;
3485
+ entityType: EntityType.FunctionDeclaration;
3486
+ entityId: string;
3487
+ }>]>, "many">>;
3488
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
3131
3489
  id: z.ZodString;
3132
3490
  type: z.ZodLiteral<EntityType.GenericReference>;
3133
3491
  entityId: z.ZodString;
@@ -3462,7 +3820,7 @@ export declare function getPrimitiveNullValueSchema(): z.ZodObject<z.objectUtil.
3462
3820
  id: string;
3463
3821
  type: EntityType.LiteralValue;
3464
3822
  name: PrimitiveTypes.Null;
3465
- valueAsType: {
3823
+ valueAsTypeSingle: {
3466
3824
  id: string;
3467
3825
  type: EntityType.GenericReference;
3468
3826
  entityType: EntityType.DefinitionEntity;
@@ -3478,6 +3836,22 @@ export declare function getPrimitiveNullValueSchema(): z.ZodObject<z.objectUtil.
3478
3836
  entityType: EntityType.FunctionDeclaration;
3479
3837
  entityId: string;
3480
3838
  } | null;
3839
+ valueAsTypeList: ({
3840
+ id: string;
3841
+ type: EntityType.GenericReference;
3842
+ entityType: EntityType.DefinitionEntity;
3843
+ entityId: string;
3844
+ } | {
3845
+ id: string;
3846
+ type: EntityType.GenericReference;
3847
+ entityType: EntityType.Operation;
3848
+ entityId: string;
3849
+ } | {
3850
+ id: string;
3851
+ type: EntityType.GenericReference;
3852
+ entityType: EntityType.FunctionDeclaration;
3853
+ entityId: string;
3854
+ })[] | null;
3481
3855
  parent: {
3482
3856
  id: string;
3483
3857
  type: EntityType.GenericReference;
@@ -3496,7 +3870,7 @@ export declare function getPrimitiveNullValueSchema(): z.ZodObject<z.objectUtil.
3496
3870
  id: string;
3497
3871
  type: EntityType.LiteralValue;
3498
3872
  name: PrimitiveTypes.Null;
3499
- valueAsType: {
3873
+ valueAsTypeSingle: {
3500
3874
  id: string;
3501
3875
  type: EntityType.GenericReference;
3502
3876
  entityType: EntityType.DefinitionEntity;
@@ -3512,6 +3886,22 @@ export declare function getPrimitiveNullValueSchema(): z.ZodObject<z.objectUtil.
3512
3886
  entityType: EntityType.FunctionDeclaration;
3513
3887
  entityId: string;
3514
3888
  } | null;
3889
+ valueAsTypeList: ({
3890
+ id: string;
3891
+ type: EntityType.GenericReference;
3892
+ entityType: EntityType.DefinitionEntity;
3893
+ entityId: string;
3894
+ } | {
3895
+ id: string;
3896
+ type: EntityType.GenericReference;
3897
+ entityType: EntityType.Operation;
3898
+ entityId: string;
3899
+ } | {
3900
+ id: string;
3901
+ type: EntityType.GenericReference;
3902
+ entityType: EntityType.FunctionDeclaration;
3903
+ entityId: string;
3904
+ })[] | null;
3515
3905
  parent: {
3516
3906
  id: string;
3517
3907
  type: EntityType.GenericReference;
@@ -3533,7 +3923,53 @@ export declare function getPrimitiveDateValueSchema(): z.ZodObject<z.objectUtil.
3533
3923
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
3534
3924
  type: z.ZodLiteral<EntityType.LiteralValue>;
3535
3925
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
3536
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
3926
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
3927
+ id: z.ZodString;
3928
+ type: z.ZodLiteral<EntityType.GenericReference>;
3929
+ entityId: z.ZodString;
3930
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
3931
+ }, "strip", z.ZodTypeAny, {
3932
+ id: string;
3933
+ type: EntityType.GenericReference;
3934
+ entityType: EntityType.DefinitionEntity;
3935
+ entityId: string;
3936
+ }, {
3937
+ id: string;
3938
+ type: EntityType.GenericReference;
3939
+ entityType: EntityType.DefinitionEntity;
3940
+ entityId: string;
3941
+ }>, z.ZodObject<{
3942
+ id: z.ZodString;
3943
+ type: z.ZodLiteral<EntityType.GenericReference>;
3944
+ entityId: z.ZodString;
3945
+ entityType: z.ZodLiteral<EntityType.Operation>;
3946
+ }, "strip", z.ZodTypeAny, {
3947
+ id: string;
3948
+ type: EntityType.GenericReference;
3949
+ entityType: EntityType.Operation;
3950
+ entityId: string;
3951
+ }, {
3952
+ id: string;
3953
+ type: EntityType.GenericReference;
3954
+ entityType: EntityType.Operation;
3955
+ entityId: string;
3956
+ }>, z.ZodObject<{
3957
+ id: z.ZodString;
3958
+ type: z.ZodLiteral<EntityType.GenericReference>;
3959
+ entityId: z.ZodString;
3960
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
3961
+ }, "strip", z.ZodTypeAny, {
3962
+ id: string;
3963
+ type: EntityType.GenericReference;
3964
+ entityType: EntityType.FunctionDeclaration;
3965
+ entityId: string;
3966
+ }, {
3967
+ id: string;
3968
+ type: EntityType.GenericReference;
3969
+ entityType: EntityType.FunctionDeclaration;
3970
+ entityId: string;
3971
+ }>]>, "many">>;
3972
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
3537
3973
  id: z.ZodString;
3538
3974
  type: z.ZodLiteral<EntityType.GenericReference>;
3539
3975
  entityId: z.ZodString;
@@ -3950,7 +4386,7 @@ export declare function getPrimitiveDateValueSchema(): z.ZodObject<z.objectUtil.
3950
4386
  id: string;
3951
4387
  type: EntityType.LiteralValue;
3952
4388
  name: PrimitiveTypes.Date;
3953
- valueAsType: {
4389
+ valueAsTypeSingle: {
3954
4390
  id: string;
3955
4391
  type: EntityType.GenericReference;
3956
4392
  entityType: EntityType.DefinitionEntity;
@@ -3966,6 +4402,22 @@ export declare function getPrimitiveDateValueSchema(): z.ZodObject<z.objectUtil.
3966
4402
  entityType: EntityType.FunctionDeclaration;
3967
4403
  entityId: string;
3968
4404
  } | null;
4405
+ valueAsTypeList: ({
4406
+ id: string;
4407
+ type: EntityType.GenericReference;
4408
+ entityType: EntityType.DefinitionEntity;
4409
+ entityId: string;
4410
+ } | {
4411
+ id: string;
4412
+ type: EntityType.GenericReference;
4413
+ entityType: EntityType.Operation;
4414
+ entityId: string;
4415
+ } | {
4416
+ id: string;
4417
+ type: EntityType.GenericReference;
4418
+ entityType: EntityType.FunctionDeclaration;
4419
+ entityId: string;
4420
+ })[] | null;
3969
4421
  parent: {
3970
4422
  id: string;
3971
4423
  type: EntityType.GenericReference;
@@ -4000,7 +4452,7 @@ export declare function getPrimitiveDateValueSchema(): z.ZodObject<z.objectUtil.
4000
4452
  id: string;
4001
4453
  type: EntityType.LiteralValue;
4002
4454
  name: PrimitiveTypes.Date;
4003
- valueAsType: {
4455
+ valueAsTypeSingle: {
4004
4456
  id: string;
4005
4457
  type: EntityType.GenericReference;
4006
4458
  entityType: EntityType.DefinitionEntity;
@@ -4016,6 +4468,22 @@ export declare function getPrimitiveDateValueSchema(): z.ZodObject<z.objectUtil.
4016
4468
  entityType: EntityType.FunctionDeclaration;
4017
4469
  entityId: string;
4018
4470
  } | null;
4471
+ valueAsTypeList: ({
4472
+ id: string;
4473
+ type: EntityType.GenericReference;
4474
+ entityType: EntityType.DefinitionEntity;
4475
+ entityId: string;
4476
+ } | {
4477
+ id: string;
4478
+ type: EntityType.GenericReference;
4479
+ entityType: EntityType.Operation;
4480
+ entityId: string;
4481
+ } | {
4482
+ id: string;
4483
+ type: EntityType.GenericReference;
4484
+ entityType: EntityType.FunctionDeclaration;
4485
+ entityId: string;
4486
+ })[] | null;
4019
4487
  parent: {
4020
4488
  id: string;
4021
4489
  type: EntityType.GenericReference;
@@ -4053,7 +4521,7 @@ export declare function getPrimitiveJSONValueSchema(): z.ZodObject<z.objectUtil.
4053
4521
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
4054
4522
  type: z.ZodLiteral<EntityType.LiteralValue>;
4055
4523
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
4056
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
4524
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
4057
4525
  id: z.ZodString;
4058
4526
  type: z.ZodLiteral<EntityType.GenericReference>;
4059
4527
  entityId: z.ZodString;
@@ -4098,16 +4566,62 @@ export declare function getPrimitiveJSONValueSchema(): z.ZodObject<z.objectUtil.
4098
4566
  type: EntityType.GenericReference;
4099
4567
  entityType: EntityType.FunctionDeclaration;
4100
4568
  entityId: string;
4101
- }>]>>;
4102
- autogeneration: z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4103
- type: z.ZodEnum<[import("@src/definitions").ValueAutogenerationType.CurrentDateAndTime, import("@src/definitions").ValueAutogenerationType.Random, import("@src/definitions").ValueAutogenerationType.Unique]>;
4104
- rangeStart: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>>;
4105
- rangeEnd: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>>;
4569
+ }>]>, "many">>;
4570
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
4571
+ id: z.ZodString;
4572
+ type: z.ZodLiteral<EntityType.GenericReference>;
4573
+ entityId: z.ZodString;
4574
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
4575
+ }, "strip", z.ZodTypeAny, {
4576
+ id: string;
4577
+ type: EntityType.GenericReference;
4578
+ entityType: EntityType.DefinitionEntity;
4579
+ entityId: string;
4106
4580
  }, {
4107
- type: z.ZodLiteral<import("@src/definitions").ValueAutogenerationType.Random>;
4108
- rangeStart: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>;
4109
- rangeEnd: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>;
4110
- }>, {
4581
+ id: string;
4582
+ type: EntityType.GenericReference;
4583
+ entityType: EntityType.DefinitionEntity;
4584
+ entityId: string;
4585
+ }>, z.ZodObject<{
4586
+ id: z.ZodString;
4587
+ type: z.ZodLiteral<EntityType.GenericReference>;
4588
+ entityId: z.ZodString;
4589
+ entityType: z.ZodLiteral<EntityType.Operation>;
4590
+ }, "strip", z.ZodTypeAny, {
4591
+ id: string;
4592
+ type: EntityType.GenericReference;
4593
+ entityType: EntityType.Operation;
4594
+ entityId: string;
4595
+ }, {
4596
+ id: string;
4597
+ type: EntityType.GenericReference;
4598
+ entityType: EntityType.Operation;
4599
+ entityId: string;
4600
+ }>, z.ZodObject<{
4601
+ id: z.ZodString;
4602
+ type: z.ZodLiteral<EntityType.GenericReference>;
4603
+ entityId: z.ZodString;
4604
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
4605
+ }, "strip", z.ZodTypeAny, {
4606
+ id: string;
4607
+ type: EntityType.GenericReference;
4608
+ entityType: EntityType.FunctionDeclaration;
4609
+ entityId: string;
4610
+ }, {
4611
+ id: string;
4612
+ type: EntityType.GenericReference;
4613
+ entityType: EntityType.FunctionDeclaration;
4614
+ entityId: string;
4615
+ }>]>>;
4616
+ autogeneration: z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4617
+ type: z.ZodEnum<[import("@src/definitions").ValueAutogenerationType.CurrentDateAndTime, import("@src/definitions").ValueAutogenerationType.Random, import("@src/definitions").ValueAutogenerationType.Unique]>;
4618
+ rangeStart: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>>;
4619
+ rangeEnd: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>>;
4620
+ }, {
4621
+ type: z.ZodLiteral<import("@src/definitions").ValueAutogenerationType.Random>;
4622
+ rangeStart: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>;
4623
+ rangeEnd: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate]>;
4624
+ }>, {
4111
4625
  rangeStart: z.ZodNullable<z.ZodNumber>;
4112
4626
  rangeEnd: z.ZodNullable<z.ZodNumber>;
4113
4627
  }>, {
@@ -4388,7 +4902,7 @@ export declare function getPrimitiveJSONValueSchema(): z.ZodObject<z.objectUtil.
4388
4902
  id: string;
4389
4903
  type: EntityType.LiteralValue;
4390
4904
  name: PrimitiveTypes.KeyValue;
4391
- valueAsType: {
4905
+ valueAsTypeSingle: {
4392
4906
  id: string;
4393
4907
  type: EntityType.GenericReference;
4394
4908
  entityType: EntityType.DefinitionEntity;
@@ -4404,6 +4918,22 @@ export declare function getPrimitiveJSONValueSchema(): z.ZodObject<z.objectUtil.
4404
4918
  entityType: EntityType.FunctionDeclaration;
4405
4919
  entityId: string;
4406
4920
  } | null;
4921
+ valueAsTypeList: ({
4922
+ id: string;
4923
+ type: EntityType.GenericReference;
4924
+ entityType: EntityType.DefinitionEntity;
4925
+ entityId: string;
4926
+ } | {
4927
+ id: string;
4928
+ type: EntityType.GenericReference;
4929
+ entityType: EntityType.Operation;
4930
+ entityId: string;
4931
+ } | {
4932
+ id: string;
4933
+ type: EntityType.GenericReference;
4934
+ entityType: EntityType.FunctionDeclaration;
4935
+ entityId: string;
4936
+ })[] | null;
4407
4937
  parent: {
4408
4938
  id: string;
4409
4939
  type: EntityType.GenericReference;
@@ -4422,7 +4952,7 @@ export declare function getPrimitiveJSONValueSchema(): z.ZodObject<z.objectUtil.
4422
4952
  id: string;
4423
4953
  type: EntityType.LiteralValue;
4424
4954
  name: PrimitiveTypes.KeyValue;
4425
- valueAsType: {
4955
+ valueAsTypeSingle: {
4426
4956
  id: string;
4427
4957
  type: EntityType.GenericReference;
4428
4958
  entityType: EntityType.DefinitionEntity;
@@ -4438,6 +4968,22 @@ export declare function getPrimitiveJSONValueSchema(): z.ZodObject<z.objectUtil.
4438
4968
  entityType: EntityType.FunctionDeclaration;
4439
4969
  entityId: string;
4440
4970
  } | null;
4971
+ valueAsTypeList: ({
4972
+ id: string;
4973
+ type: EntityType.GenericReference;
4974
+ entityType: EntityType.DefinitionEntity;
4975
+ entityId: string;
4976
+ } | {
4977
+ id: string;
4978
+ type: EntityType.GenericReference;
4979
+ entityType: EntityType.Operation;
4980
+ entityId: string;
4981
+ } | {
4982
+ id: string;
4983
+ type: EntityType.GenericReference;
4984
+ entityType: EntityType.FunctionDeclaration;
4985
+ entityId: string;
4986
+ })[] | null;
4441
4987
  parent: {
4442
4988
  id: string;
4443
4989
  type: EntityType.GenericReference;
@@ -4459,7 +5005,53 @@ export declare function getPrimitiveEnumValueSchema(): z.ZodObject<z.objectUtil.
4459
5005
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
4460
5006
  type: z.ZodLiteral<EntityType.LiteralValue>;
4461
5007
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
4462
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
5008
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
5009
+ id: z.ZodString;
5010
+ type: z.ZodLiteral<EntityType.GenericReference>;
5011
+ entityId: z.ZodString;
5012
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
5013
+ }, "strip", z.ZodTypeAny, {
5014
+ id: string;
5015
+ type: EntityType.GenericReference;
5016
+ entityType: EntityType.DefinitionEntity;
5017
+ entityId: string;
5018
+ }, {
5019
+ id: string;
5020
+ type: EntityType.GenericReference;
5021
+ entityType: EntityType.DefinitionEntity;
5022
+ entityId: string;
5023
+ }>, z.ZodObject<{
5024
+ id: z.ZodString;
5025
+ type: z.ZodLiteral<EntityType.GenericReference>;
5026
+ entityId: z.ZodString;
5027
+ entityType: z.ZodLiteral<EntityType.Operation>;
5028
+ }, "strip", z.ZodTypeAny, {
5029
+ id: string;
5030
+ type: EntityType.GenericReference;
5031
+ entityType: EntityType.Operation;
5032
+ entityId: string;
5033
+ }, {
5034
+ id: string;
5035
+ type: EntityType.GenericReference;
5036
+ entityType: EntityType.Operation;
5037
+ entityId: string;
5038
+ }>, z.ZodObject<{
5039
+ id: z.ZodString;
5040
+ type: z.ZodLiteral<EntityType.GenericReference>;
5041
+ entityId: z.ZodString;
5042
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
5043
+ }, "strip", z.ZodTypeAny, {
5044
+ id: string;
5045
+ type: EntityType.GenericReference;
5046
+ entityType: EntityType.FunctionDeclaration;
5047
+ entityId: string;
5048
+ }, {
5049
+ id: string;
5050
+ type: EntityType.GenericReference;
5051
+ entityType: EntityType.FunctionDeclaration;
5052
+ entityId: string;
5053
+ }>]>, "many">>;
5054
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
4463
5055
  id: z.ZodString;
4464
5056
  type: z.ZodLiteral<EntityType.GenericReference>;
4465
5057
  entityId: z.ZodString;
@@ -4794,7 +5386,7 @@ export declare function getPrimitiveEnumValueSchema(): z.ZodObject<z.objectUtil.
4794
5386
  id: string;
4795
5387
  type: EntityType.LiteralValue;
4796
5388
  name: PrimitiveTypes.Enum;
4797
- valueAsType: {
5389
+ valueAsTypeSingle: {
4798
5390
  id: string;
4799
5391
  type: EntityType.GenericReference;
4800
5392
  entityType: EntityType.DefinitionEntity;
@@ -4810,6 +5402,22 @@ export declare function getPrimitiveEnumValueSchema(): z.ZodObject<z.objectUtil.
4810
5402
  entityType: EntityType.FunctionDeclaration;
4811
5403
  entityId: string;
4812
5404
  } | null;
5405
+ valueAsTypeList: ({
5406
+ id: string;
5407
+ type: EntityType.GenericReference;
5408
+ entityType: EntityType.DefinitionEntity;
5409
+ entityId: string;
5410
+ } | {
5411
+ id: string;
5412
+ type: EntityType.GenericReference;
5413
+ entityType: EntityType.Operation;
5414
+ entityId: string;
5415
+ } | {
5416
+ id: string;
5417
+ type: EntityType.GenericReference;
5418
+ entityType: EntityType.FunctionDeclaration;
5419
+ entityId: string;
5420
+ })[] | null;
4813
5421
  parent: {
4814
5422
  id: string;
4815
5423
  type: EntityType.GenericReference;
@@ -4828,7 +5436,7 @@ export declare function getPrimitiveEnumValueSchema(): z.ZodObject<z.objectUtil.
4828
5436
  id: string;
4829
5437
  type: EntityType.LiteralValue;
4830
5438
  name: PrimitiveTypes.Enum;
4831
- valueAsType: {
5439
+ valueAsTypeSingle: {
4832
5440
  id: string;
4833
5441
  type: EntityType.GenericReference;
4834
5442
  entityType: EntityType.DefinitionEntity;
@@ -4844,6 +5452,22 @@ export declare function getPrimitiveEnumValueSchema(): z.ZodObject<z.objectUtil.
4844
5452
  entityType: EntityType.FunctionDeclaration;
4845
5453
  entityId: string;
4846
5454
  } | null;
5455
+ valueAsTypeList: ({
5456
+ id: string;
5457
+ type: EntityType.GenericReference;
5458
+ entityType: EntityType.DefinitionEntity;
5459
+ entityId: string;
5460
+ } | {
5461
+ id: string;
5462
+ type: EntityType.GenericReference;
5463
+ entityType: EntityType.Operation;
5464
+ entityId: string;
5465
+ } | {
5466
+ id: string;
5467
+ type: EntityType.GenericReference;
5468
+ entityType: EntityType.FunctionDeclaration;
5469
+ entityId: string;
5470
+ })[] | null;
4847
5471
  parent: {
4848
5472
  id: string;
4849
5473
  type: EntityType.GenericReference;
@@ -4865,7 +5489,53 @@ export declare function getPrimitiveFileValueSchema(): z.ZodObject<z.objectUtil.
4865
5489
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
4866
5490
  type: z.ZodLiteral<EntityType.LiteralValue>;
4867
5491
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
4868
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
5492
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
5493
+ id: z.ZodString;
5494
+ type: z.ZodLiteral<EntityType.GenericReference>;
5495
+ entityId: z.ZodString;
5496
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
5497
+ }, "strip", z.ZodTypeAny, {
5498
+ id: string;
5499
+ type: EntityType.GenericReference;
5500
+ entityType: EntityType.DefinitionEntity;
5501
+ entityId: string;
5502
+ }, {
5503
+ id: string;
5504
+ type: EntityType.GenericReference;
5505
+ entityType: EntityType.DefinitionEntity;
5506
+ entityId: string;
5507
+ }>, z.ZodObject<{
5508
+ id: z.ZodString;
5509
+ type: z.ZodLiteral<EntityType.GenericReference>;
5510
+ entityId: z.ZodString;
5511
+ entityType: z.ZodLiteral<EntityType.Operation>;
5512
+ }, "strip", z.ZodTypeAny, {
5513
+ id: string;
5514
+ type: EntityType.GenericReference;
5515
+ entityType: EntityType.Operation;
5516
+ entityId: string;
5517
+ }, {
5518
+ id: string;
5519
+ type: EntityType.GenericReference;
5520
+ entityType: EntityType.Operation;
5521
+ entityId: string;
5522
+ }>, z.ZodObject<{
5523
+ id: z.ZodString;
5524
+ type: z.ZodLiteral<EntityType.GenericReference>;
5525
+ entityId: z.ZodString;
5526
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
5527
+ }, "strip", z.ZodTypeAny, {
5528
+ id: string;
5529
+ type: EntityType.GenericReference;
5530
+ entityType: EntityType.FunctionDeclaration;
5531
+ entityId: string;
5532
+ }, {
5533
+ id: string;
5534
+ type: EntityType.GenericReference;
5535
+ entityType: EntityType.FunctionDeclaration;
5536
+ entityId: string;
5537
+ }>]>, "many">>;
5538
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
4869
5539
  id: z.ZodString;
4870
5540
  type: z.ZodLiteral<EntityType.GenericReference>;
4871
5541
  entityId: z.ZodString;
@@ -5200,7 +5870,7 @@ export declare function getPrimitiveFileValueSchema(): z.ZodObject<z.objectUtil.
5200
5870
  id: string;
5201
5871
  type: EntityType.LiteralValue;
5202
5872
  name: PrimitiveTypes.File;
5203
- valueAsType: {
5873
+ valueAsTypeSingle: {
5204
5874
  id: string;
5205
5875
  type: EntityType.GenericReference;
5206
5876
  entityType: EntityType.DefinitionEntity;
@@ -5216,6 +5886,22 @@ export declare function getPrimitiveFileValueSchema(): z.ZodObject<z.objectUtil.
5216
5886
  entityType: EntityType.FunctionDeclaration;
5217
5887
  entityId: string;
5218
5888
  } | null;
5889
+ valueAsTypeList: ({
5890
+ id: string;
5891
+ type: EntityType.GenericReference;
5892
+ entityType: EntityType.DefinitionEntity;
5893
+ entityId: string;
5894
+ } | {
5895
+ id: string;
5896
+ type: EntityType.GenericReference;
5897
+ entityType: EntityType.Operation;
5898
+ entityId: string;
5899
+ } | {
5900
+ id: string;
5901
+ type: EntityType.GenericReference;
5902
+ entityType: EntityType.FunctionDeclaration;
5903
+ entityId: string;
5904
+ })[] | null;
5219
5905
  parent: {
5220
5906
  id: string;
5221
5907
  type: EntityType.GenericReference;
@@ -5234,7 +5920,7 @@ export declare function getPrimitiveFileValueSchema(): z.ZodObject<z.objectUtil.
5234
5920
  id: string;
5235
5921
  type: EntityType.LiteralValue;
5236
5922
  name: PrimitiveTypes.File;
5237
- valueAsType: {
5923
+ valueAsTypeSingle: {
5238
5924
  id: string;
5239
5925
  type: EntityType.GenericReference;
5240
5926
  entityType: EntityType.DefinitionEntity;
@@ -5250,6 +5936,22 @@ export declare function getPrimitiveFileValueSchema(): z.ZodObject<z.objectUtil.
5250
5936
  entityType: EntityType.FunctionDeclaration;
5251
5937
  entityId: string;
5252
5938
  } | null;
5939
+ valueAsTypeList: ({
5940
+ id: string;
5941
+ type: EntityType.GenericReference;
5942
+ entityType: EntityType.DefinitionEntity;
5943
+ entityId: string;
5944
+ } | {
5945
+ id: string;
5946
+ type: EntityType.GenericReference;
5947
+ entityType: EntityType.Operation;
5948
+ entityId: string;
5949
+ } | {
5950
+ id: string;
5951
+ type: EntityType.GenericReference;
5952
+ entityType: EntityType.FunctionDeclaration;
5953
+ entityId: string;
5954
+ })[] | null;
5253
5955
  parent: {
5254
5956
  id: string;
5255
5957
  type: EntityType.GenericReference;
@@ -5271,7 +5973,53 @@ export declare function getPrimitiveUUIDValueSchema(): z.ZodObject<z.objectUtil.
5271
5973
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
5272
5974
  type: z.ZodLiteral<EntityType.LiteralValue>;
5273
5975
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
5274
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
5976
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
5977
+ id: z.ZodString;
5978
+ type: z.ZodLiteral<EntityType.GenericReference>;
5979
+ entityId: z.ZodString;
5980
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
5981
+ }, "strip", z.ZodTypeAny, {
5982
+ id: string;
5983
+ type: EntityType.GenericReference;
5984
+ entityType: EntityType.DefinitionEntity;
5985
+ entityId: string;
5986
+ }, {
5987
+ id: string;
5988
+ type: EntityType.GenericReference;
5989
+ entityType: EntityType.DefinitionEntity;
5990
+ entityId: string;
5991
+ }>, z.ZodObject<{
5992
+ id: z.ZodString;
5993
+ type: z.ZodLiteral<EntityType.GenericReference>;
5994
+ entityId: z.ZodString;
5995
+ entityType: z.ZodLiteral<EntityType.Operation>;
5996
+ }, "strip", z.ZodTypeAny, {
5997
+ id: string;
5998
+ type: EntityType.GenericReference;
5999
+ entityType: EntityType.Operation;
6000
+ entityId: string;
6001
+ }, {
6002
+ id: string;
6003
+ type: EntityType.GenericReference;
6004
+ entityType: EntityType.Operation;
6005
+ entityId: string;
6006
+ }>, z.ZodObject<{
6007
+ id: z.ZodString;
6008
+ type: z.ZodLiteral<EntityType.GenericReference>;
6009
+ entityId: z.ZodString;
6010
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
6011
+ }, "strip", z.ZodTypeAny, {
6012
+ id: string;
6013
+ type: EntityType.GenericReference;
6014
+ entityType: EntityType.FunctionDeclaration;
6015
+ entityId: string;
6016
+ }, {
6017
+ id: string;
6018
+ type: EntityType.GenericReference;
6019
+ entityType: EntityType.FunctionDeclaration;
6020
+ entityId: string;
6021
+ }>]>, "many">>;
6022
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
5275
6023
  id: z.ZodString;
5276
6024
  type: z.ZodLiteral<EntityType.GenericReference>;
5277
6025
  entityId: z.ZodString;
@@ -5622,7 +6370,7 @@ export declare function getPrimitiveUUIDValueSchema(): z.ZodObject<z.objectUtil.
5622
6370
  id: string;
5623
6371
  type: EntityType.LiteralValue;
5624
6372
  name: PrimitiveTypes.UUID;
5625
- valueAsType: {
6373
+ valueAsTypeSingle: {
5626
6374
  id: string;
5627
6375
  type: EntityType.GenericReference;
5628
6376
  entityType: EntityType.DefinitionEntity;
@@ -5638,6 +6386,22 @@ export declare function getPrimitiveUUIDValueSchema(): z.ZodObject<z.objectUtil.
5638
6386
  entityType: EntityType.FunctionDeclaration;
5639
6387
  entityId: string;
5640
6388
  } | null;
6389
+ valueAsTypeList: ({
6390
+ id: string;
6391
+ type: EntityType.GenericReference;
6392
+ entityType: EntityType.DefinitionEntity;
6393
+ entityId: string;
6394
+ } | {
6395
+ id: string;
6396
+ type: EntityType.GenericReference;
6397
+ entityType: EntityType.Operation;
6398
+ entityId: string;
6399
+ } | {
6400
+ id: string;
6401
+ type: EntityType.GenericReference;
6402
+ entityType: EntityType.FunctionDeclaration;
6403
+ entityId: string;
6404
+ })[] | null;
5641
6405
  parent: {
5642
6406
  id: string;
5643
6407
  type: EntityType.GenericReference;
@@ -5660,7 +6424,7 @@ export declare function getPrimitiveUUIDValueSchema(): z.ZodObject<z.objectUtil.
5660
6424
  id: string;
5661
6425
  type: EntityType.LiteralValue;
5662
6426
  name: PrimitiveTypes.UUID;
5663
- valueAsType: {
6427
+ valueAsTypeSingle: {
5664
6428
  id: string;
5665
6429
  type: EntityType.GenericReference;
5666
6430
  entityType: EntityType.DefinitionEntity;
@@ -5676,32 +6440,94 @@ export declare function getPrimitiveUUIDValueSchema(): z.ZodObject<z.objectUtil.
5676
6440
  entityType: EntityType.FunctionDeclaration;
5677
6441
  entityId: string;
5678
6442
  } | null;
6443
+ valueAsTypeList: ({
6444
+ id: string;
6445
+ type: EntityType.GenericReference;
6446
+ entityType: EntityType.DefinitionEntity;
6447
+ entityId: string;
6448
+ } | {
6449
+ id: string;
6450
+ type: EntityType.GenericReference;
6451
+ entityType: EntityType.Operation;
6452
+ entityId: string;
6453
+ } | {
6454
+ id: string;
6455
+ type: EntityType.GenericReference;
6456
+ entityType: EntityType.FunctionDeclaration;
6457
+ entityId: string;
6458
+ })[] | null;
5679
6459
  parent: {
5680
6460
  id: string;
5681
6461
  type: EntityType.GenericReference;
5682
- entityType: EntityType.InputMap;
6462
+ entityType: EntityType.InputMap;
6463
+ entityId: string;
6464
+ } | {
6465
+ id: string;
6466
+ type: EntityType.GenericReference;
6467
+ entityType: EntityType.DataType;
6468
+ entityId: string;
6469
+ };
6470
+ version: number;
6471
+ autogeneration: {
6472
+ type: import("@src/definitions").ValueAutogenerationType.Unique;
6473
+ rangeStart: null;
6474
+ rangeEnd: null;
6475
+ } | null;
6476
+ value: string;
6477
+ }>;
6478
+ export declare function getPrimitiveEntityTemplateValueSchema(): z.ZodObject<z.objectUtil.extendShape<{
6479
+ id: z.ZodString;
6480
+ version: z.ZodNumber;
6481
+ name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
6482
+ type: z.ZodLiteral<EntityType.LiteralValue>;
6483
+ value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
6484
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
6485
+ id: z.ZodString;
6486
+ type: z.ZodLiteral<EntityType.GenericReference>;
6487
+ entityId: z.ZodString;
6488
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
6489
+ }, "strip", z.ZodTypeAny, {
6490
+ id: string;
6491
+ type: EntityType.GenericReference;
6492
+ entityType: EntityType.DefinitionEntity;
6493
+ entityId: string;
6494
+ }, {
6495
+ id: string;
6496
+ type: EntityType.GenericReference;
6497
+ entityType: EntityType.DefinitionEntity;
6498
+ entityId: string;
6499
+ }>, z.ZodObject<{
6500
+ id: z.ZodString;
6501
+ type: z.ZodLiteral<EntityType.GenericReference>;
6502
+ entityId: z.ZodString;
6503
+ entityType: z.ZodLiteral<EntityType.Operation>;
6504
+ }, "strip", z.ZodTypeAny, {
6505
+ id: string;
6506
+ type: EntityType.GenericReference;
6507
+ entityType: EntityType.Operation;
6508
+ entityId: string;
6509
+ }, {
6510
+ id: string;
6511
+ type: EntityType.GenericReference;
6512
+ entityType: EntityType.Operation;
6513
+ entityId: string;
6514
+ }>, z.ZodObject<{
6515
+ id: z.ZodString;
6516
+ type: z.ZodLiteral<EntityType.GenericReference>;
6517
+ entityId: z.ZodString;
6518
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
6519
+ }, "strip", z.ZodTypeAny, {
6520
+ id: string;
6521
+ type: EntityType.GenericReference;
6522
+ entityType: EntityType.FunctionDeclaration;
5683
6523
  entityId: string;
5684
- } | {
6524
+ }, {
5685
6525
  id: string;
5686
6526
  type: EntityType.GenericReference;
5687
- entityType: EntityType.DataType;
6527
+ entityType: EntityType.FunctionDeclaration;
5688
6528
  entityId: string;
5689
- };
5690
- version: number;
5691
- autogeneration: {
5692
- type: import("@src/definitions").ValueAutogenerationType.Unique;
5693
- rangeStart: null;
5694
- rangeEnd: null;
5695
- } | null;
5696
- value: string;
5697
- }>;
5698
- export declare function getPrimitiveEntityTemplateValueSchema(): z.ZodObject<z.objectUtil.extendShape<{
5699
- id: z.ZodString;
5700
- version: z.ZodNumber;
5701
- name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
5702
- type: z.ZodLiteral<EntityType.LiteralValue>;
5703
- value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
5704
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
6529
+ }>]>, "many">>;
6530
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
5705
6531
  id: z.ZodString;
5706
6532
  type: z.ZodLiteral<EntityType.GenericReference>;
5707
6533
  entityId: z.ZodString;
@@ -6051,7 +6877,7 @@ export declare function getPrimitiveEntityTemplateValueSchema(): z.ZodObject<z.o
6051
6877
  id: string;
6052
6878
  type: EntityType.LiteralValue;
6053
6879
  name: PrimitiveTypes.EntityTemplate;
6054
- valueAsType: {
6880
+ valueAsTypeSingle: {
6055
6881
  id: string;
6056
6882
  type: EntityType.GenericReference;
6057
6883
  entityType: EntityType.DefinitionEntity;
@@ -6067,6 +6893,22 @@ export declare function getPrimitiveEntityTemplateValueSchema(): z.ZodObject<z.o
6067
6893
  entityType: EntityType.FunctionDeclaration;
6068
6894
  entityId: string;
6069
6895
  } | null;
6896
+ valueAsTypeList: ({
6897
+ id: string;
6898
+ type: EntityType.GenericReference;
6899
+ entityType: EntityType.DefinitionEntity;
6900
+ entityId: string;
6901
+ } | {
6902
+ id: string;
6903
+ type: EntityType.GenericReference;
6904
+ entityType: EntityType.Operation;
6905
+ entityId: string;
6906
+ } | {
6907
+ id: string;
6908
+ type: EntityType.GenericReference;
6909
+ entityType: EntityType.FunctionDeclaration;
6910
+ entityId: string;
6911
+ })[] | null;
6070
6912
  parent: {
6071
6913
  id: string;
6072
6914
  type: EntityType.GenericReference;
@@ -6090,7 +6932,7 @@ export declare function getPrimitiveEntityTemplateValueSchema(): z.ZodObject<z.o
6090
6932
  id: string;
6091
6933
  type: EntityType.LiteralValue;
6092
6934
  name: PrimitiveTypes.EntityTemplate;
6093
- valueAsType: {
6935
+ valueAsTypeSingle: {
6094
6936
  id: string;
6095
6937
  type: EntityType.GenericReference;
6096
6938
  entityType: EntityType.DefinitionEntity;
@@ -6106,6 +6948,22 @@ export declare function getPrimitiveEntityTemplateValueSchema(): z.ZodObject<z.o
6106
6948
  entityType: EntityType.FunctionDeclaration;
6107
6949
  entityId: string;
6108
6950
  } | null;
6951
+ valueAsTypeList: ({
6952
+ id: string;
6953
+ type: EntityType.GenericReference;
6954
+ entityType: EntityType.DefinitionEntity;
6955
+ entityId: string;
6956
+ } | {
6957
+ id: string;
6958
+ type: EntityType.GenericReference;
6959
+ entityType: EntityType.Operation;
6960
+ entityId: string;
6961
+ } | {
6962
+ id: string;
6963
+ type: EntityType.GenericReference;
6964
+ entityType: EntityType.FunctionDeclaration;
6965
+ entityId: string;
6966
+ })[] | null;
6109
6967
  parent: {
6110
6968
  id: string;
6111
6969
  type: EntityType.GenericReference;
@@ -6132,7 +6990,53 @@ export declare function getPrimitiveActionDescriptorValueSchema(): z.ZodObject<z
6132
6990
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
6133
6991
  type: z.ZodLiteral<EntityType.LiteralValue>;
6134
6992
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
6135
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
6993
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
6994
+ id: z.ZodString;
6995
+ type: z.ZodLiteral<EntityType.GenericReference>;
6996
+ entityId: z.ZodString;
6997
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
6998
+ }, "strip", z.ZodTypeAny, {
6999
+ id: string;
7000
+ type: EntityType.GenericReference;
7001
+ entityType: EntityType.DefinitionEntity;
7002
+ entityId: string;
7003
+ }, {
7004
+ id: string;
7005
+ type: EntityType.GenericReference;
7006
+ entityType: EntityType.DefinitionEntity;
7007
+ entityId: string;
7008
+ }>, z.ZodObject<{
7009
+ id: z.ZodString;
7010
+ type: z.ZodLiteral<EntityType.GenericReference>;
7011
+ entityId: z.ZodString;
7012
+ entityType: z.ZodLiteral<EntityType.Operation>;
7013
+ }, "strip", z.ZodTypeAny, {
7014
+ id: string;
7015
+ type: EntityType.GenericReference;
7016
+ entityType: EntityType.Operation;
7017
+ entityId: string;
7018
+ }, {
7019
+ id: string;
7020
+ type: EntityType.GenericReference;
7021
+ entityType: EntityType.Operation;
7022
+ entityId: string;
7023
+ }>, z.ZodObject<{
7024
+ id: z.ZodString;
7025
+ type: z.ZodLiteral<EntityType.GenericReference>;
7026
+ entityId: z.ZodString;
7027
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
7028
+ }, "strip", z.ZodTypeAny, {
7029
+ id: string;
7030
+ type: EntityType.GenericReference;
7031
+ entityType: EntityType.FunctionDeclaration;
7032
+ entityId: string;
7033
+ }, {
7034
+ id: string;
7035
+ type: EntityType.GenericReference;
7036
+ entityType: EntityType.FunctionDeclaration;
7037
+ entityId: string;
7038
+ }>]>, "many">>;
7039
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
6136
7040
  id: z.ZodString;
6137
7041
  type: z.ZodLiteral<EntityType.GenericReference>;
6138
7042
  entityId: z.ZodString;
@@ -6482,7 +7386,7 @@ export declare function getPrimitiveActionDescriptorValueSchema(): z.ZodObject<z
6482
7386
  id: string;
6483
7387
  type: EntityType.LiteralValue;
6484
7388
  name: PrimitiveTypes.ActionDescriptor;
6485
- valueAsType: {
7389
+ valueAsTypeSingle: {
6486
7390
  id: string;
6487
7391
  type: EntityType.GenericReference;
6488
7392
  entityType: EntityType.DefinitionEntity;
@@ -6498,6 +7402,22 @@ export declare function getPrimitiveActionDescriptorValueSchema(): z.ZodObject<z
6498
7402
  entityType: EntityType.FunctionDeclaration;
6499
7403
  entityId: string;
6500
7404
  } | null;
7405
+ valueAsTypeList: ({
7406
+ id: string;
7407
+ type: EntityType.GenericReference;
7408
+ entityType: EntityType.DefinitionEntity;
7409
+ entityId: string;
7410
+ } | {
7411
+ id: string;
7412
+ type: EntityType.GenericReference;
7413
+ entityType: EntityType.Operation;
7414
+ entityId: string;
7415
+ } | {
7416
+ id: string;
7417
+ type: EntityType.GenericReference;
7418
+ entityType: EntityType.FunctionDeclaration;
7419
+ entityId: string;
7420
+ })[] | null;
6501
7421
  parent: {
6502
7422
  id: string;
6503
7423
  type: EntityType.GenericReference;
@@ -6521,7 +7441,7 @@ export declare function getPrimitiveActionDescriptorValueSchema(): z.ZodObject<z
6521
7441
  id: string;
6522
7442
  type: EntityType.LiteralValue;
6523
7443
  name: PrimitiveTypes.ActionDescriptor;
6524
- valueAsType: {
7444
+ valueAsTypeSingle: {
6525
7445
  id: string;
6526
7446
  type: EntityType.GenericReference;
6527
7447
  entityType: EntityType.DefinitionEntity;
@@ -6537,6 +7457,22 @@ export declare function getPrimitiveActionDescriptorValueSchema(): z.ZodObject<z
6537
7457
  entityType: EntityType.FunctionDeclaration;
6538
7458
  entityId: string;
6539
7459
  } | null;
7460
+ valueAsTypeList: ({
7461
+ id: string;
7462
+ type: EntityType.GenericReference;
7463
+ entityType: EntityType.DefinitionEntity;
7464
+ entityId: string;
7465
+ } | {
7466
+ id: string;
7467
+ type: EntityType.GenericReference;
7468
+ entityType: EntityType.Operation;
7469
+ entityId: string;
7470
+ } | {
7471
+ id: string;
7472
+ type: EntityType.GenericReference;
7473
+ entityType: EntityType.FunctionDeclaration;
7474
+ entityId: string;
7475
+ })[] | null;
6540
7476
  parent: {
6541
7477
  id: string;
6542
7478
  type: EntityType.GenericReference;
@@ -6563,7 +7499,53 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
6563
7499
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
6564
7500
  type: z.ZodLiteral<EntityType.LiteralValue>;
6565
7501
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
6566
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
7502
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
7503
+ id: z.ZodString;
7504
+ type: z.ZodLiteral<EntityType.GenericReference>;
7505
+ entityId: z.ZodString;
7506
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
7507
+ }, "strip", z.ZodTypeAny, {
7508
+ id: string;
7509
+ type: EntityType.GenericReference;
7510
+ entityType: EntityType.DefinitionEntity;
7511
+ entityId: string;
7512
+ }, {
7513
+ id: string;
7514
+ type: EntityType.GenericReference;
7515
+ entityType: EntityType.DefinitionEntity;
7516
+ entityId: string;
7517
+ }>, z.ZodObject<{
7518
+ id: z.ZodString;
7519
+ type: z.ZodLiteral<EntityType.GenericReference>;
7520
+ entityId: z.ZodString;
7521
+ entityType: z.ZodLiteral<EntityType.Operation>;
7522
+ }, "strip", z.ZodTypeAny, {
7523
+ id: string;
7524
+ type: EntityType.GenericReference;
7525
+ entityType: EntityType.Operation;
7526
+ entityId: string;
7527
+ }, {
7528
+ id: string;
7529
+ type: EntityType.GenericReference;
7530
+ entityType: EntityType.Operation;
7531
+ entityId: string;
7532
+ }>, z.ZodObject<{
7533
+ id: z.ZodString;
7534
+ type: z.ZodLiteral<EntityType.GenericReference>;
7535
+ entityId: z.ZodString;
7536
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
7537
+ }, "strip", z.ZodTypeAny, {
7538
+ id: string;
7539
+ type: EntityType.GenericReference;
7540
+ entityType: EntityType.FunctionDeclaration;
7541
+ entityId: string;
7542
+ }, {
7543
+ id: string;
7544
+ type: EntityType.GenericReference;
7545
+ entityType: EntityType.FunctionDeclaration;
7546
+ entityId: string;
7547
+ }>]>, "many">>;
7548
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
6567
7549
  id: z.ZodString;
6568
7550
  type: z.ZodLiteral<EntityType.GenericReference>;
6569
7551
  entityId: z.ZodString;
@@ -6964,7 +7946,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
6964
7946
  id: string;
6965
7947
  type: EntityType.LiteralValue;
6966
7948
  name: PrimitiveTypes.String;
6967
- valueAsType: {
7949
+ valueAsTypeSingle: {
6968
7950
  id: string;
6969
7951
  type: EntityType.GenericReference;
6970
7952
  entityType: EntityType.DefinitionEntity;
@@ -6980,6 +7962,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
6980
7962
  entityType: EntityType.FunctionDeclaration;
6981
7963
  entityId: string;
6982
7964
  } | null;
7965
+ valueAsTypeList: ({
7966
+ id: string;
7967
+ type: EntityType.GenericReference;
7968
+ entityType: EntityType.DefinitionEntity;
7969
+ entityId: string;
7970
+ } | {
7971
+ id: string;
7972
+ type: EntityType.GenericReference;
7973
+ entityType: EntityType.Operation;
7974
+ entityId: string;
7975
+ } | {
7976
+ id: string;
7977
+ type: EntityType.GenericReference;
7978
+ entityType: EntityType.FunctionDeclaration;
7979
+ entityId: string;
7980
+ })[] | null;
6983
7981
  parent: {
6984
7982
  id: string;
6985
7983
  type: EntityType.GenericReference;
@@ -7010,7 +8008,23 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
7010
8008
  id: string;
7011
8009
  type: EntityType.LiteralValue;
7012
8010
  name: PrimitiveTypes.String;
7013
- valueAsType: {
8011
+ valueAsTypeSingle: {
8012
+ id: string;
8013
+ type: EntityType.GenericReference;
8014
+ entityType: EntityType.DefinitionEntity;
8015
+ entityId: string;
8016
+ } | {
8017
+ id: string;
8018
+ type: EntityType.GenericReference;
8019
+ entityType: EntityType.Operation;
8020
+ entityId: string;
8021
+ } | {
8022
+ id: string;
8023
+ type: EntityType.GenericReference;
8024
+ entityType: EntityType.FunctionDeclaration;
8025
+ entityId: string;
8026
+ } | null;
8027
+ valueAsTypeList: ({
7014
8028
  id: string;
7015
8029
  type: EntityType.GenericReference;
7016
8030
  entityType: EntityType.DefinitionEntity;
@@ -7025,40 +8039,86 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
7025
8039
  type: EntityType.GenericReference;
7026
8040
  entityType: EntityType.FunctionDeclaration;
7027
8041
  entityId: string;
7028
- } | null;
7029
- parent: {
8042
+ })[] | null;
8043
+ parent: {
8044
+ id: string;
8045
+ type: EntityType.GenericReference;
8046
+ entityType: EntityType.InputMap;
8047
+ entityId: string;
8048
+ } | {
8049
+ id: string;
8050
+ type: EntityType.GenericReference;
8051
+ entityType: EntityType.DataType;
8052
+ entityId: string;
8053
+ };
8054
+ version: number;
8055
+ autogeneration: {
8056
+ type: import("@src/definitions").ValueAutogenerationType.Random;
8057
+ rangeStart: number;
8058
+ rangeEnd: null;
8059
+ } | {
8060
+ type: import("@src/definitions").ValueAutogenerationType.Random;
8061
+ rangeStart: null;
8062
+ rangeEnd: number;
8063
+ } | {
8064
+ type: import("@src/definitions").ValueAutogenerationType.Random;
8065
+ rangeStart: number;
8066
+ rangeEnd: number;
8067
+ } | null;
8068
+ value: string;
8069
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8070
+ id: z.ZodString;
8071
+ version: z.ZodNumber;
8072
+ name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
8073
+ type: z.ZodLiteral<EntityType.LiteralValue>;
8074
+ value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
8075
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
8076
+ id: z.ZodString;
8077
+ type: z.ZodLiteral<EntityType.GenericReference>;
8078
+ entityId: z.ZodString;
8079
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
8080
+ }, "strip", z.ZodTypeAny, {
8081
+ id: string;
8082
+ type: EntityType.GenericReference;
8083
+ entityType: EntityType.DefinitionEntity;
8084
+ entityId: string;
8085
+ }, {
8086
+ id: string;
8087
+ type: EntityType.GenericReference;
8088
+ entityType: EntityType.DefinitionEntity;
8089
+ entityId: string;
8090
+ }>, z.ZodObject<{
8091
+ id: z.ZodString;
8092
+ type: z.ZodLiteral<EntityType.GenericReference>;
8093
+ entityId: z.ZodString;
8094
+ entityType: z.ZodLiteral<EntityType.Operation>;
8095
+ }, "strip", z.ZodTypeAny, {
8096
+ id: string;
8097
+ type: EntityType.GenericReference;
8098
+ entityType: EntityType.Operation;
8099
+ entityId: string;
8100
+ }, {
8101
+ id: string;
8102
+ type: EntityType.GenericReference;
8103
+ entityType: EntityType.Operation;
8104
+ entityId: string;
8105
+ }>, z.ZodObject<{
8106
+ id: z.ZodString;
8107
+ type: z.ZodLiteral<EntityType.GenericReference>;
8108
+ entityId: z.ZodString;
8109
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
8110
+ }, "strip", z.ZodTypeAny, {
7030
8111
  id: string;
7031
8112
  type: EntityType.GenericReference;
7032
- entityType: EntityType.InputMap;
8113
+ entityType: EntityType.FunctionDeclaration;
7033
8114
  entityId: string;
7034
- } | {
8115
+ }, {
7035
8116
  id: string;
7036
8117
  type: EntityType.GenericReference;
7037
- entityType: EntityType.DataType;
8118
+ entityType: EntityType.FunctionDeclaration;
7038
8119
  entityId: string;
7039
- };
7040
- version: number;
7041
- autogeneration: {
7042
- type: import("@src/definitions").ValueAutogenerationType.Random;
7043
- rangeStart: number;
7044
- rangeEnd: null;
7045
- } | {
7046
- type: import("@src/definitions").ValueAutogenerationType.Random;
7047
- rangeStart: null;
7048
- rangeEnd: number;
7049
- } | {
7050
- type: import("@src/definitions").ValueAutogenerationType.Random;
7051
- rangeStart: number;
7052
- rangeEnd: number;
7053
- } | null;
7054
- value: string;
7055
- }>, z.ZodObject<z.objectUtil.extendShape<{
7056
- id: z.ZodString;
7057
- version: z.ZodNumber;
7058
- name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
7059
- type: z.ZodLiteral<EntityType.LiteralValue>;
7060
- value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
7061
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
8120
+ }>]>, "many">>;
8121
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
7062
8122
  id: z.ZodString;
7063
8123
  type: z.ZodLiteral<EntityType.GenericReference>;
7064
8124
  entityId: z.ZodString;
@@ -7459,7 +8519,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
7459
8519
  id: string;
7460
8520
  type: EntityType.LiteralValue;
7461
8521
  name: PrimitiveTypes.Number;
7462
- valueAsType: {
8522
+ valueAsTypeSingle: {
7463
8523
  id: string;
7464
8524
  type: EntityType.GenericReference;
7465
8525
  entityType: EntityType.DefinitionEntity;
@@ -7475,6 +8535,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
7475
8535
  entityType: EntityType.FunctionDeclaration;
7476
8536
  entityId: string;
7477
8537
  } | null;
8538
+ valueAsTypeList: ({
8539
+ id: string;
8540
+ type: EntityType.GenericReference;
8541
+ entityType: EntityType.DefinitionEntity;
8542
+ entityId: string;
8543
+ } | {
8544
+ id: string;
8545
+ type: EntityType.GenericReference;
8546
+ entityType: EntityType.Operation;
8547
+ entityId: string;
8548
+ } | {
8549
+ id: string;
8550
+ type: EntityType.GenericReference;
8551
+ entityType: EntityType.FunctionDeclaration;
8552
+ entityId: string;
8553
+ })[] | null;
7478
8554
  parent: {
7479
8555
  id: string;
7480
8556
  type: EntityType.GenericReference;
@@ -7505,7 +8581,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
7505
8581
  id: string;
7506
8582
  type: EntityType.LiteralValue;
7507
8583
  name: PrimitiveTypes.Number;
7508
- valueAsType: {
8584
+ valueAsTypeSingle: {
7509
8585
  id: string;
7510
8586
  type: EntityType.GenericReference;
7511
8587
  entityType: EntityType.DefinitionEntity;
@@ -7521,6 +8597,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
7521
8597
  entityType: EntityType.FunctionDeclaration;
7522
8598
  entityId: string;
7523
8599
  } | null;
8600
+ valueAsTypeList: ({
8601
+ id: string;
8602
+ type: EntityType.GenericReference;
8603
+ entityType: EntityType.DefinitionEntity;
8604
+ entityId: string;
8605
+ } | {
8606
+ id: string;
8607
+ type: EntityType.GenericReference;
8608
+ entityType: EntityType.Operation;
8609
+ entityId: string;
8610
+ } | {
8611
+ id: string;
8612
+ type: EntityType.GenericReference;
8613
+ entityType: EntityType.FunctionDeclaration;
8614
+ entityId: string;
8615
+ })[] | null;
7524
8616
  parent: {
7525
8617
  id: string;
7526
8618
  type: EntityType.GenericReference;
@@ -7553,7 +8645,53 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
7553
8645
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
7554
8646
  type: z.ZodLiteral<EntityType.LiteralValue>;
7555
8647
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
7556
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
8648
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
8649
+ id: z.ZodString;
8650
+ type: z.ZodLiteral<EntityType.GenericReference>;
8651
+ entityId: z.ZodString;
8652
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
8653
+ }, "strip", z.ZodTypeAny, {
8654
+ id: string;
8655
+ type: EntityType.GenericReference;
8656
+ entityType: EntityType.DefinitionEntity;
8657
+ entityId: string;
8658
+ }, {
8659
+ id: string;
8660
+ type: EntityType.GenericReference;
8661
+ entityType: EntityType.DefinitionEntity;
8662
+ entityId: string;
8663
+ }>, z.ZodObject<{
8664
+ id: z.ZodString;
8665
+ type: z.ZodLiteral<EntityType.GenericReference>;
8666
+ entityId: z.ZodString;
8667
+ entityType: z.ZodLiteral<EntityType.Operation>;
8668
+ }, "strip", z.ZodTypeAny, {
8669
+ id: string;
8670
+ type: EntityType.GenericReference;
8671
+ entityType: EntityType.Operation;
8672
+ entityId: string;
8673
+ }, {
8674
+ id: string;
8675
+ type: EntityType.GenericReference;
8676
+ entityType: EntityType.Operation;
8677
+ entityId: string;
8678
+ }>, z.ZodObject<{
8679
+ id: z.ZodString;
8680
+ type: z.ZodLiteral<EntityType.GenericReference>;
8681
+ entityId: z.ZodString;
8682
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
8683
+ }, "strip", z.ZodTypeAny, {
8684
+ id: string;
8685
+ type: EntityType.GenericReference;
8686
+ entityType: EntityType.FunctionDeclaration;
8687
+ entityId: string;
8688
+ }, {
8689
+ id: string;
8690
+ type: EntityType.GenericReference;
8691
+ entityType: EntityType.FunctionDeclaration;
8692
+ entityId: string;
8693
+ }>]>, "many">>;
8694
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
7557
8695
  id: z.ZodString;
7558
8696
  type: z.ZodLiteral<EntityType.GenericReference>;
7559
8697
  entityId: z.ZodString;
@@ -7907,7 +9045,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
7907
9045
  id: string;
7908
9046
  type: EntityType.LiteralValue;
7909
9047
  name: PrimitiveTypes.Boolean;
7910
- valueAsType: {
9048
+ valueAsTypeSingle: {
7911
9049
  id: string;
7912
9050
  type: EntityType.GenericReference;
7913
9051
  entityType: EntityType.DefinitionEntity;
@@ -7923,6 +9061,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
7923
9061
  entityType: EntityType.FunctionDeclaration;
7924
9062
  entityId: string;
7925
9063
  } | null;
9064
+ valueAsTypeList: ({
9065
+ id: string;
9066
+ type: EntityType.GenericReference;
9067
+ entityType: EntityType.DefinitionEntity;
9068
+ entityId: string;
9069
+ } | {
9070
+ id: string;
9071
+ type: EntityType.GenericReference;
9072
+ entityType: EntityType.Operation;
9073
+ entityId: string;
9074
+ } | {
9075
+ id: string;
9076
+ type: EntityType.GenericReference;
9077
+ entityType: EntityType.FunctionDeclaration;
9078
+ entityId: string;
9079
+ })[] | null;
7926
9080
  parent: {
7927
9081
  id: string;
7928
9082
  type: EntityType.GenericReference;
@@ -7945,7 +9099,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
7945
9099
  id: string;
7946
9100
  type: EntityType.LiteralValue;
7947
9101
  name: PrimitiveTypes.Boolean;
7948
- valueAsType: {
9102
+ valueAsTypeSingle: {
7949
9103
  id: string;
7950
9104
  type: EntityType.GenericReference;
7951
9105
  entityType: EntityType.DefinitionEntity;
@@ -7961,6 +9115,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
7961
9115
  entityType: EntityType.FunctionDeclaration;
7962
9116
  entityId: string;
7963
9117
  } | null;
9118
+ valueAsTypeList: ({
9119
+ id: string;
9120
+ type: EntityType.GenericReference;
9121
+ entityType: EntityType.DefinitionEntity;
9122
+ entityId: string;
9123
+ } | {
9124
+ id: string;
9125
+ type: EntityType.GenericReference;
9126
+ entityType: EntityType.Operation;
9127
+ entityId: string;
9128
+ } | {
9129
+ id: string;
9130
+ type: EntityType.GenericReference;
9131
+ entityType: EntityType.FunctionDeclaration;
9132
+ entityId: string;
9133
+ })[] | null;
7964
9134
  parent: {
7965
9135
  id: string;
7966
9136
  type: EntityType.GenericReference;
@@ -7985,7 +9155,53 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
7985
9155
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
7986
9156
  type: z.ZodLiteral<EntityType.LiteralValue>;
7987
9157
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
7988
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
9158
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
9159
+ id: z.ZodString;
9160
+ type: z.ZodLiteral<EntityType.GenericReference>;
9161
+ entityId: z.ZodString;
9162
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
9163
+ }, "strip", z.ZodTypeAny, {
9164
+ id: string;
9165
+ type: EntityType.GenericReference;
9166
+ entityType: EntityType.DefinitionEntity;
9167
+ entityId: string;
9168
+ }, {
9169
+ id: string;
9170
+ type: EntityType.GenericReference;
9171
+ entityType: EntityType.DefinitionEntity;
9172
+ entityId: string;
9173
+ }>, z.ZodObject<{
9174
+ id: z.ZodString;
9175
+ type: z.ZodLiteral<EntityType.GenericReference>;
9176
+ entityId: z.ZodString;
9177
+ entityType: z.ZodLiteral<EntityType.Operation>;
9178
+ }, "strip", z.ZodTypeAny, {
9179
+ id: string;
9180
+ type: EntityType.GenericReference;
9181
+ entityType: EntityType.Operation;
9182
+ entityId: string;
9183
+ }, {
9184
+ id: string;
9185
+ type: EntityType.GenericReference;
9186
+ entityType: EntityType.Operation;
9187
+ entityId: string;
9188
+ }>, z.ZodObject<{
9189
+ id: z.ZodString;
9190
+ type: z.ZodLiteral<EntityType.GenericReference>;
9191
+ entityId: z.ZodString;
9192
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
9193
+ }, "strip", z.ZodTypeAny, {
9194
+ id: string;
9195
+ type: EntityType.GenericReference;
9196
+ entityType: EntityType.FunctionDeclaration;
9197
+ entityId: string;
9198
+ }, {
9199
+ id: string;
9200
+ type: EntityType.GenericReference;
9201
+ entityType: EntityType.FunctionDeclaration;
9202
+ entityId: string;
9203
+ }>]>, "many">>;
9204
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
7989
9205
  id: z.ZodString;
7990
9206
  type: z.ZodLiteral<EntityType.GenericReference>;
7991
9207
  entityId: z.ZodString;
@@ -8320,7 +9536,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
8320
9536
  id: string;
8321
9537
  type: EntityType.LiteralValue;
8322
9538
  name: PrimitiveTypes.Null;
8323
- valueAsType: {
9539
+ valueAsTypeSingle: {
8324
9540
  id: string;
8325
9541
  type: EntityType.GenericReference;
8326
9542
  entityType: EntityType.DefinitionEntity;
@@ -8336,6 +9552,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
8336
9552
  entityType: EntityType.FunctionDeclaration;
8337
9553
  entityId: string;
8338
9554
  } | null;
9555
+ valueAsTypeList: ({
9556
+ id: string;
9557
+ type: EntityType.GenericReference;
9558
+ entityType: EntityType.DefinitionEntity;
9559
+ entityId: string;
9560
+ } | {
9561
+ id: string;
9562
+ type: EntityType.GenericReference;
9563
+ entityType: EntityType.Operation;
9564
+ entityId: string;
9565
+ } | {
9566
+ id: string;
9567
+ type: EntityType.GenericReference;
9568
+ entityType: EntityType.FunctionDeclaration;
9569
+ entityId: string;
9570
+ })[] | null;
8339
9571
  parent: {
8340
9572
  id: string;
8341
9573
  type: EntityType.GenericReference;
@@ -8354,7 +9586,23 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
8354
9586
  id: string;
8355
9587
  type: EntityType.LiteralValue;
8356
9588
  name: PrimitiveTypes.Null;
8357
- valueAsType: {
9589
+ valueAsTypeSingle: {
9590
+ id: string;
9591
+ type: EntityType.GenericReference;
9592
+ entityType: EntityType.DefinitionEntity;
9593
+ entityId: string;
9594
+ } | {
9595
+ id: string;
9596
+ type: EntityType.GenericReference;
9597
+ entityType: EntityType.Operation;
9598
+ entityId: string;
9599
+ } | {
9600
+ id: string;
9601
+ type: EntityType.GenericReference;
9602
+ entityType: EntityType.FunctionDeclaration;
9603
+ entityId: string;
9604
+ } | null;
9605
+ valueAsTypeList: ({
8358
9606
  id: string;
8359
9607
  type: EntityType.GenericReference;
8360
9608
  entityType: EntityType.DefinitionEntity;
@@ -8364,33 +9612,79 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
8364
9612
  type: EntityType.GenericReference;
8365
9613
  entityType: EntityType.Operation;
8366
9614
  entityId: string;
8367
- } | {
9615
+ } | {
9616
+ id: string;
9617
+ type: EntityType.GenericReference;
9618
+ entityType: EntityType.FunctionDeclaration;
9619
+ entityId: string;
9620
+ })[] | null;
9621
+ parent: {
9622
+ id: string;
9623
+ type: EntityType.GenericReference;
9624
+ entityType: EntityType.InputMap;
9625
+ entityId: string;
9626
+ } | {
9627
+ id: string;
9628
+ type: EntityType.GenericReference;
9629
+ entityType: EntityType.DataType;
9630
+ entityId: string;
9631
+ };
9632
+ version: number;
9633
+ autogeneration: null;
9634
+ value: null;
9635
+ }>, z.ZodObject<z.objectUtil.extendShape<{
9636
+ id: z.ZodString;
9637
+ version: z.ZodNumber;
9638
+ name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
9639
+ type: z.ZodLiteral<EntityType.LiteralValue>;
9640
+ value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
9641
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
9642
+ id: z.ZodString;
9643
+ type: z.ZodLiteral<EntityType.GenericReference>;
9644
+ entityId: z.ZodString;
9645
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
9646
+ }, "strip", z.ZodTypeAny, {
9647
+ id: string;
9648
+ type: EntityType.GenericReference;
9649
+ entityType: EntityType.DefinitionEntity;
9650
+ entityId: string;
9651
+ }, {
9652
+ id: string;
9653
+ type: EntityType.GenericReference;
9654
+ entityType: EntityType.DefinitionEntity;
9655
+ entityId: string;
9656
+ }>, z.ZodObject<{
9657
+ id: z.ZodString;
9658
+ type: z.ZodLiteral<EntityType.GenericReference>;
9659
+ entityId: z.ZodString;
9660
+ entityType: z.ZodLiteral<EntityType.Operation>;
9661
+ }, "strip", z.ZodTypeAny, {
9662
+ id: string;
9663
+ type: EntityType.GenericReference;
9664
+ entityType: EntityType.Operation;
9665
+ entityId: string;
9666
+ }, {
8368
9667
  id: string;
8369
9668
  type: EntityType.GenericReference;
8370
- entityType: EntityType.FunctionDeclaration;
9669
+ entityType: EntityType.Operation;
8371
9670
  entityId: string;
8372
- } | null;
8373
- parent: {
9671
+ }>, z.ZodObject<{
9672
+ id: z.ZodString;
9673
+ type: z.ZodLiteral<EntityType.GenericReference>;
9674
+ entityId: z.ZodString;
9675
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
9676
+ }, "strip", z.ZodTypeAny, {
8374
9677
  id: string;
8375
9678
  type: EntityType.GenericReference;
8376
- entityType: EntityType.InputMap;
9679
+ entityType: EntityType.FunctionDeclaration;
8377
9680
  entityId: string;
8378
- } | {
9681
+ }, {
8379
9682
  id: string;
8380
9683
  type: EntityType.GenericReference;
8381
- entityType: EntityType.DataType;
9684
+ entityType: EntityType.FunctionDeclaration;
8382
9685
  entityId: string;
8383
- };
8384
- version: number;
8385
- autogeneration: null;
8386
- value: null;
8387
- }>, z.ZodObject<z.objectUtil.extendShape<{
8388
- id: z.ZodString;
8389
- version: z.ZodNumber;
8390
- name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
8391
- type: z.ZodLiteral<EntityType.LiteralValue>;
8392
- value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
8393
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
9686
+ }>]>, "many">>;
9687
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
8394
9688
  id: z.ZodString;
8395
9689
  type: z.ZodLiteral<EntityType.GenericReference>;
8396
9690
  entityId: z.ZodString;
@@ -8807,7 +10101,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
8807
10101
  id: string;
8808
10102
  type: EntityType.LiteralValue;
8809
10103
  name: PrimitiveTypes.Date;
8810
- valueAsType: {
10104
+ valueAsTypeSingle: {
8811
10105
  id: string;
8812
10106
  type: EntityType.GenericReference;
8813
10107
  entityType: EntityType.DefinitionEntity;
@@ -8823,6 +10117,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
8823
10117
  entityType: EntityType.FunctionDeclaration;
8824
10118
  entityId: string;
8825
10119
  } | null;
10120
+ valueAsTypeList: ({
10121
+ id: string;
10122
+ type: EntityType.GenericReference;
10123
+ entityType: EntityType.DefinitionEntity;
10124
+ entityId: string;
10125
+ } | {
10126
+ id: string;
10127
+ type: EntityType.GenericReference;
10128
+ entityType: EntityType.Operation;
10129
+ entityId: string;
10130
+ } | {
10131
+ id: string;
10132
+ type: EntityType.GenericReference;
10133
+ entityType: EntityType.FunctionDeclaration;
10134
+ entityId: string;
10135
+ })[] | null;
8826
10136
  parent: {
8827
10137
  id: string;
8828
10138
  type: EntityType.GenericReference;
@@ -8857,7 +10167,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
8857
10167
  id: string;
8858
10168
  type: EntityType.LiteralValue;
8859
10169
  name: PrimitiveTypes.Date;
8860
- valueAsType: {
10170
+ valueAsTypeSingle: {
8861
10171
  id: string;
8862
10172
  type: EntityType.GenericReference;
8863
10173
  entityType: EntityType.DefinitionEntity;
@@ -8873,6 +10183,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
8873
10183
  entityType: EntityType.FunctionDeclaration;
8874
10184
  entityId: string;
8875
10185
  } | null;
10186
+ valueAsTypeList: ({
10187
+ id: string;
10188
+ type: EntityType.GenericReference;
10189
+ entityType: EntityType.DefinitionEntity;
10190
+ entityId: string;
10191
+ } | {
10192
+ id: string;
10193
+ type: EntityType.GenericReference;
10194
+ entityType: EntityType.Operation;
10195
+ entityId: string;
10196
+ } | {
10197
+ id: string;
10198
+ type: EntityType.GenericReference;
10199
+ entityType: EntityType.FunctionDeclaration;
10200
+ entityId: string;
10201
+ })[] | null;
8876
10202
  parent: {
8877
10203
  id: string;
8878
10204
  type: EntityType.GenericReference;
@@ -8909,7 +10235,53 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
8909
10235
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
8910
10236
  type: z.ZodLiteral<EntityType.LiteralValue>;
8911
10237
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
8912
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
10238
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
10239
+ id: z.ZodString;
10240
+ type: z.ZodLiteral<EntityType.GenericReference>;
10241
+ entityId: z.ZodString;
10242
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
10243
+ }, "strip", z.ZodTypeAny, {
10244
+ id: string;
10245
+ type: EntityType.GenericReference;
10246
+ entityType: EntityType.DefinitionEntity;
10247
+ entityId: string;
10248
+ }, {
10249
+ id: string;
10250
+ type: EntityType.GenericReference;
10251
+ entityType: EntityType.DefinitionEntity;
10252
+ entityId: string;
10253
+ }>, z.ZodObject<{
10254
+ id: z.ZodString;
10255
+ type: z.ZodLiteral<EntityType.GenericReference>;
10256
+ entityId: z.ZodString;
10257
+ entityType: z.ZodLiteral<EntityType.Operation>;
10258
+ }, "strip", z.ZodTypeAny, {
10259
+ id: string;
10260
+ type: EntityType.GenericReference;
10261
+ entityType: EntityType.Operation;
10262
+ entityId: string;
10263
+ }, {
10264
+ id: string;
10265
+ type: EntityType.GenericReference;
10266
+ entityType: EntityType.Operation;
10267
+ entityId: string;
10268
+ }>, z.ZodObject<{
10269
+ id: z.ZodString;
10270
+ type: z.ZodLiteral<EntityType.GenericReference>;
10271
+ entityId: z.ZodString;
10272
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
10273
+ }, "strip", z.ZodTypeAny, {
10274
+ id: string;
10275
+ type: EntityType.GenericReference;
10276
+ entityType: EntityType.FunctionDeclaration;
10277
+ entityId: string;
10278
+ }, {
10279
+ id: string;
10280
+ type: EntityType.GenericReference;
10281
+ entityType: EntityType.FunctionDeclaration;
10282
+ entityId: string;
10283
+ }>]>, "many">>;
10284
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
8913
10285
  id: z.ZodString;
8914
10286
  type: z.ZodLiteral<EntityType.GenericReference>;
8915
10287
  entityId: z.ZodString;
@@ -9244,7 +10616,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
9244
10616
  id: string;
9245
10617
  type: EntityType.LiteralValue;
9246
10618
  name: PrimitiveTypes.KeyValue;
9247
- valueAsType: {
10619
+ valueAsTypeSingle: {
9248
10620
  id: string;
9249
10621
  type: EntityType.GenericReference;
9250
10622
  entityType: EntityType.DefinitionEntity;
@@ -9260,6 +10632,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
9260
10632
  entityType: EntityType.FunctionDeclaration;
9261
10633
  entityId: string;
9262
10634
  } | null;
10635
+ valueAsTypeList: ({
10636
+ id: string;
10637
+ type: EntityType.GenericReference;
10638
+ entityType: EntityType.DefinitionEntity;
10639
+ entityId: string;
10640
+ } | {
10641
+ id: string;
10642
+ type: EntityType.GenericReference;
10643
+ entityType: EntityType.Operation;
10644
+ entityId: string;
10645
+ } | {
10646
+ id: string;
10647
+ type: EntityType.GenericReference;
10648
+ entityType: EntityType.FunctionDeclaration;
10649
+ entityId: string;
10650
+ })[] | null;
9263
10651
  parent: {
9264
10652
  id: string;
9265
10653
  type: EntityType.GenericReference;
@@ -9278,7 +10666,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
9278
10666
  id: string;
9279
10667
  type: EntityType.LiteralValue;
9280
10668
  name: PrimitiveTypes.KeyValue;
9281
- valueAsType: {
10669
+ valueAsTypeSingle: {
9282
10670
  id: string;
9283
10671
  type: EntityType.GenericReference;
9284
10672
  entityType: EntityType.DefinitionEntity;
@@ -9294,6 +10682,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
9294
10682
  entityType: EntityType.FunctionDeclaration;
9295
10683
  entityId: string;
9296
10684
  } | null;
10685
+ valueAsTypeList: ({
10686
+ id: string;
10687
+ type: EntityType.GenericReference;
10688
+ entityType: EntityType.DefinitionEntity;
10689
+ entityId: string;
10690
+ } | {
10691
+ id: string;
10692
+ type: EntityType.GenericReference;
10693
+ entityType: EntityType.Operation;
10694
+ entityId: string;
10695
+ } | {
10696
+ id: string;
10697
+ type: EntityType.GenericReference;
10698
+ entityType: EntityType.FunctionDeclaration;
10699
+ entityId: string;
10700
+ })[] | null;
9297
10701
  parent: {
9298
10702
  id: string;
9299
10703
  type: EntityType.GenericReference;
@@ -9314,7 +10718,53 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
9314
10718
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
9315
10719
  type: z.ZodLiteral<EntityType.LiteralValue>;
9316
10720
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
9317
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
10721
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
10722
+ id: z.ZodString;
10723
+ type: z.ZodLiteral<EntityType.GenericReference>;
10724
+ entityId: z.ZodString;
10725
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
10726
+ }, "strip", z.ZodTypeAny, {
10727
+ id: string;
10728
+ type: EntityType.GenericReference;
10729
+ entityType: EntityType.DefinitionEntity;
10730
+ entityId: string;
10731
+ }, {
10732
+ id: string;
10733
+ type: EntityType.GenericReference;
10734
+ entityType: EntityType.DefinitionEntity;
10735
+ entityId: string;
10736
+ }>, z.ZodObject<{
10737
+ id: z.ZodString;
10738
+ type: z.ZodLiteral<EntityType.GenericReference>;
10739
+ entityId: z.ZodString;
10740
+ entityType: z.ZodLiteral<EntityType.Operation>;
10741
+ }, "strip", z.ZodTypeAny, {
10742
+ id: string;
10743
+ type: EntityType.GenericReference;
10744
+ entityType: EntityType.Operation;
10745
+ entityId: string;
10746
+ }, {
10747
+ id: string;
10748
+ type: EntityType.GenericReference;
10749
+ entityType: EntityType.Operation;
10750
+ entityId: string;
10751
+ }>, z.ZodObject<{
10752
+ id: z.ZodString;
10753
+ type: z.ZodLiteral<EntityType.GenericReference>;
10754
+ entityId: z.ZodString;
10755
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
10756
+ }, "strip", z.ZodTypeAny, {
10757
+ id: string;
10758
+ type: EntityType.GenericReference;
10759
+ entityType: EntityType.FunctionDeclaration;
10760
+ entityId: string;
10761
+ }, {
10762
+ id: string;
10763
+ type: EntityType.GenericReference;
10764
+ entityType: EntityType.FunctionDeclaration;
10765
+ entityId: string;
10766
+ }>]>, "many">>;
10767
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
9318
10768
  id: z.ZodString;
9319
10769
  type: z.ZodLiteral<EntityType.GenericReference>;
9320
10770
  entityId: z.ZodString;
@@ -9649,7 +11099,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
9649
11099
  id: string;
9650
11100
  type: EntityType.LiteralValue;
9651
11101
  name: PrimitiveTypes.Enum;
9652
- valueAsType: {
11102
+ valueAsTypeSingle: {
9653
11103
  id: string;
9654
11104
  type: EntityType.GenericReference;
9655
11105
  entityType: EntityType.DefinitionEntity;
@@ -9665,6 +11115,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
9665
11115
  entityType: EntityType.FunctionDeclaration;
9666
11116
  entityId: string;
9667
11117
  } | null;
11118
+ valueAsTypeList: ({
11119
+ id: string;
11120
+ type: EntityType.GenericReference;
11121
+ entityType: EntityType.DefinitionEntity;
11122
+ entityId: string;
11123
+ } | {
11124
+ id: string;
11125
+ type: EntityType.GenericReference;
11126
+ entityType: EntityType.Operation;
11127
+ entityId: string;
11128
+ } | {
11129
+ id: string;
11130
+ type: EntityType.GenericReference;
11131
+ entityType: EntityType.FunctionDeclaration;
11132
+ entityId: string;
11133
+ })[] | null;
9668
11134
  parent: {
9669
11135
  id: string;
9670
11136
  type: EntityType.GenericReference;
@@ -9683,7 +11149,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
9683
11149
  id: string;
9684
11150
  type: EntityType.LiteralValue;
9685
11151
  name: PrimitiveTypes.Enum;
9686
- valueAsType: {
11152
+ valueAsTypeSingle: {
9687
11153
  id: string;
9688
11154
  type: EntityType.GenericReference;
9689
11155
  entityType: EntityType.DefinitionEntity;
@@ -9699,6 +11165,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
9699
11165
  entityType: EntityType.FunctionDeclaration;
9700
11166
  entityId: string;
9701
11167
  } | null;
11168
+ valueAsTypeList: ({
11169
+ id: string;
11170
+ type: EntityType.GenericReference;
11171
+ entityType: EntityType.DefinitionEntity;
11172
+ entityId: string;
11173
+ } | {
11174
+ id: string;
11175
+ type: EntityType.GenericReference;
11176
+ entityType: EntityType.Operation;
11177
+ entityId: string;
11178
+ } | {
11179
+ id: string;
11180
+ type: EntityType.GenericReference;
11181
+ entityType: EntityType.FunctionDeclaration;
11182
+ entityId: string;
11183
+ })[] | null;
9702
11184
  parent: {
9703
11185
  id: string;
9704
11186
  type: EntityType.GenericReference;
@@ -9707,19 +11189,65 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
9707
11189
  } | {
9708
11190
  id: string;
9709
11191
  type: EntityType.GenericReference;
9710
- entityType: EntityType.DataType;
11192
+ entityType: EntityType.DataType;
11193
+ entityId: string;
11194
+ };
11195
+ version: number;
11196
+ autogeneration: null;
11197
+ value: string;
11198
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11199
+ id: z.ZodString;
11200
+ version: z.ZodNumber;
11201
+ name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
11202
+ type: z.ZodLiteral<EntityType.LiteralValue>;
11203
+ value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
11204
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
11205
+ id: z.ZodString;
11206
+ type: z.ZodLiteral<EntityType.GenericReference>;
11207
+ entityId: z.ZodString;
11208
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
11209
+ }, "strip", z.ZodTypeAny, {
11210
+ id: string;
11211
+ type: EntityType.GenericReference;
11212
+ entityType: EntityType.DefinitionEntity;
11213
+ entityId: string;
11214
+ }, {
11215
+ id: string;
11216
+ type: EntityType.GenericReference;
11217
+ entityType: EntityType.DefinitionEntity;
11218
+ entityId: string;
11219
+ }>, z.ZodObject<{
11220
+ id: z.ZodString;
11221
+ type: z.ZodLiteral<EntityType.GenericReference>;
11222
+ entityId: z.ZodString;
11223
+ entityType: z.ZodLiteral<EntityType.Operation>;
11224
+ }, "strip", z.ZodTypeAny, {
11225
+ id: string;
11226
+ type: EntityType.GenericReference;
11227
+ entityType: EntityType.Operation;
11228
+ entityId: string;
11229
+ }, {
11230
+ id: string;
11231
+ type: EntityType.GenericReference;
11232
+ entityType: EntityType.Operation;
11233
+ entityId: string;
11234
+ }>, z.ZodObject<{
11235
+ id: z.ZodString;
11236
+ type: z.ZodLiteral<EntityType.GenericReference>;
11237
+ entityId: z.ZodString;
11238
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
11239
+ }, "strip", z.ZodTypeAny, {
11240
+ id: string;
11241
+ type: EntityType.GenericReference;
11242
+ entityType: EntityType.FunctionDeclaration;
11243
+ entityId: string;
11244
+ }, {
11245
+ id: string;
11246
+ type: EntityType.GenericReference;
11247
+ entityType: EntityType.FunctionDeclaration;
9711
11248
  entityId: string;
9712
- };
9713
- version: number;
9714
- autogeneration: null;
9715
- value: string;
9716
- }>, z.ZodObject<z.objectUtil.extendShape<{
9717
- id: z.ZodString;
9718
- version: z.ZodNumber;
9719
- name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
9720
- type: z.ZodLiteral<EntityType.LiteralValue>;
9721
- value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
9722
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
11249
+ }>]>, "many">>;
11250
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
9723
11251
  id: z.ZodString;
9724
11252
  type: z.ZodLiteral<EntityType.GenericReference>;
9725
11253
  entityId: z.ZodString;
@@ -10054,7 +11582,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10054
11582
  id: string;
10055
11583
  type: EntityType.LiteralValue;
10056
11584
  name: PrimitiveTypes.File;
10057
- valueAsType: {
11585
+ valueAsTypeSingle: {
10058
11586
  id: string;
10059
11587
  type: EntityType.GenericReference;
10060
11588
  entityType: EntityType.DefinitionEntity;
@@ -10070,6 +11598,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10070
11598
  entityType: EntityType.FunctionDeclaration;
10071
11599
  entityId: string;
10072
11600
  } | null;
11601
+ valueAsTypeList: ({
11602
+ id: string;
11603
+ type: EntityType.GenericReference;
11604
+ entityType: EntityType.DefinitionEntity;
11605
+ entityId: string;
11606
+ } | {
11607
+ id: string;
11608
+ type: EntityType.GenericReference;
11609
+ entityType: EntityType.Operation;
11610
+ entityId: string;
11611
+ } | {
11612
+ id: string;
11613
+ type: EntityType.GenericReference;
11614
+ entityType: EntityType.FunctionDeclaration;
11615
+ entityId: string;
11616
+ })[] | null;
10073
11617
  parent: {
10074
11618
  id: string;
10075
11619
  type: EntityType.GenericReference;
@@ -10088,7 +11632,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10088
11632
  id: string;
10089
11633
  type: EntityType.LiteralValue;
10090
11634
  name: PrimitiveTypes.File;
10091
- valueAsType: {
11635
+ valueAsTypeSingle: {
10092
11636
  id: string;
10093
11637
  type: EntityType.GenericReference;
10094
11638
  entityType: EntityType.DefinitionEntity;
@@ -10104,6 +11648,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10104
11648
  entityType: EntityType.FunctionDeclaration;
10105
11649
  entityId: string;
10106
11650
  } | null;
11651
+ valueAsTypeList: ({
11652
+ id: string;
11653
+ type: EntityType.GenericReference;
11654
+ entityType: EntityType.DefinitionEntity;
11655
+ entityId: string;
11656
+ } | {
11657
+ id: string;
11658
+ type: EntityType.GenericReference;
11659
+ entityType: EntityType.Operation;
11660
+ entityId: string;
11661
+ } | {
11662
+ id: string;
11663
+ type: EntityType.GenericReference;
11664
+ entityType: EntityType.FunctionDeclaration;
11665
+ entityId: string;
11666
+ })[] | null;
10107
11667
  parent: {
10108
11668
  id: string;
10109
11669
  type: EntityType.GenericReference;
@@ -10124,7 +11684,53 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10124
11684
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
10125
11685
  type: z.ZodLiteral<EntityType.LiteralValue>;
10126
11686
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
10127
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
11687
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
11688
+ id: z.ZodString;
11689
+ type: z.ZodLiteral<EntityType.GenericReference>;
11690
+ entityId: z.ZodString;
11691
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
11692
+ }, "strip", z.ZodTypeAny, {
11693
+ id: string;
11694
+ type: EntityType.GenericReference;
11695
+ entityType: EntityType.DefinitionEntity;
11696
+ entityId: string;
11697
+ }, {
11698
+ id: string;
11699
+ type: EntityType.GenericReference;
11700
+ entityType: EntityType.DefinitionEntity;
11701
+ entityId: string;
11702
+ }>, z.ZodObject<{
11703
+ id: z.ZodString;
11704
+ type: z.ZodLiteral<EntityType.GenericReference>;
11705
+ entityId: z.ZodString;
11706
+ entityType: z.ZodLiteral<EntityType.Operation>;
11707
+ }, "strip", z.ZodTypeAny, {
11708
+ id: string;
11709
+ type: EntityType.GenericReference;
11710
+ entityType: EntityType.Operation;
11711
+ entityId: string;
11712
+ }, {
11713
+ id: string;
11714
+ type: EntityType.GenericReference;
11715
+ entityType: EntityType.Operation;
11716
+ entityId: string;
11717
+ }>, z.ZodObject<{
11718
+ id: z.ZodString;
11719
+ type: z.ZodLiteral<EntityType.GenericReference>;
11720
+ entityId: z.ZodString;
11721
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
11722
+ }, "strip", z.ZodTypeAny, {
11723
+ id: string;
11724
+ type: EntityType.GenericReference;
11725
+ entityType: EntityType.FunctionDeclaration;
11726
+ entityId: string;
11727
+ }, {
11728
+ id: string;
11729
+ type: EntityType.GenericReference;
11730
+ entityType: EntityType.FunctionDeclaration;
11731
+ entityId: string;
11732
+ }>]>, "many">>;
11733
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
10128
11734
  id: z.ZodString;
10129
11735
  type: z.ZodLiteral<EntityType.GenericReference>;
10130
11736
  entityId: z.ZodString;
@@ -10475,7 +12081,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10475
12081
  id: string;
10476
12082
  type: EntityType.LiteralValue;
10477
12083
  name: PrimitiveTypes.UUID;
10478
- valueAsType: {
12084
+ valueAsTypeSingle: {
10479
12085
  id: string;
10480
12086
  type: EntityType.GenericReference;
10481
12087
  entityType: EntityType.DefinitionEntity;
@@ -10491,6 +12097,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10491
12097
  entityType: EntityType.FunctionDeclaration;
10492
12098
  entityId: string;
10493
12099
  } | null;
12100
+ valueAsTypeList: ({
12101
+ id: string;
12102
+ type: EntityType.GenericReference;
12103
+ entityType: EntityType.DefinitionEntity;
12104
+ entityId: string;
12105
+ } | {
12106
+ id: string;
12107
+ type: EntityType.GenericReference;
12108
+ entityType: EntityType.Operation;
12109
+ entityId: string;
12110
+ } | {
12111
+ id: string;
12112
+ type: EntityType.GenericReference;
12113
+ entityType: EntityType.FunctionDeclaration;
12114
+ entityId: string;
12115
+ })[] | null;
10494
12116
  parent: {
10495
12117
  id: string;
10496
12118
  type: EntityType.GenericReference;
@@ -10513,7 +12135,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10513
12135
  id: string;
10514
12136
  type: EntityType.LiteralValue;
10515
12137
  name: PrimitiveTypes.UUID;
10516
- valueAsType: {
12138
+ valueAsTypeSingle: {
10517
12139
  id: string;
10518
12140
  type: EntityType.GenericReference;
10519
12141
  entityType: EntityType.DefinitionEntity;
@@ -10529,6 +12151,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10529
12151
  entityType: EntityType.FunctionDeclaration;
10530
12152
  entityId: string;
10531
12153
  } | null;
12154
+ valueAsTypeList: ({
12155
+ id: string;
12156
+ type: EntityType.GenericReference;
12157
+ entityType: EntityType.DefinitionEntity;
12158
+ entityId: string;
12159
+ } | {
12160
+ id: string;
12161
+ type: EntityType.GenericReference;
12162
+ entityType: EntityType.Operation;
12163
+ entityId: string;
12164
+ } | {
12165
+ id: string;
12166
+ type: EntityType.GenericReference;
12167
+ entityType: EntityType.FunctionDeclaration;
12168
+ entityId: string;
12169
+ })[] | null;
10532
12170
  parent: {
10533
12171
  id: string;
10534
12172
  type: EntityType.GenericReference;
@@ -10553,7 +12191,53 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10553
12191
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
10554
12192
  type: z.ZodLiteral<EntityType.LiteralValue>;
10555
12193
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
10556
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
12194
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
12195
+ id: z.ZodString;
12196
+ type: z.ZodLiteral<EntityType.GenericReference>;
12197
+ entityId: z.ZodString;
12198
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
12199
+ }, "strip", z.ZodTypeAny, {
12200
+ id: string;
12201
+ type: EntityType.GenericReference;
12202
+ entityType: EntityType.DefinitionEntity;
12203
+ entityId: string;
12204
+ }, {
12205
+ id: string;
12206
+ type: EntityType.GenericReference;
12207
+ entityType: EntityType.DefinitionEntity;
12208
+ entityId: string;
12209
+ }>, z.ZodObject<{
12210
+ id: z.ZodString;
12211
+ type: z.ZodLiteral<EntityType.GenericReference>;
12212
+ entityId: z.ZodString;
12213
+ entityType: z.ZodLiteral<EntityType.Operation>;
12214
+ }, "strip", z.ZodTypeAny, {
12215
+ id: string;
12216
+ type: EntityType.GenericReference;
12217
+ entityType: EntityType.Operation;
12218
+ entityId: string;
12219
+ }, {
12220
+ id: string;
12221
+ type: EntityType.GenericReference;
12222
+ entityType: EntityType.Operation;
12223
+ entityId: string;
12224
+ }>, z.ZodObject<{
12225
+ id: z.ZodString;
12226
+ type: z.ZodLiteral<EntityType.GenericReference>;
12227
+ entityId: z.ZodString;
12228
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
12229
+ }, "strip", z.ZodTypeAny, {
12230
+ id: string;
12231
+ type: EntityType.GenericReference;
12232
+ entityType: EntityType.FunctionDeclaration;
12233
+ entityId: string;
12234
+ }, {
12235
+ id: string;
12236
+ type: EntityType.GenericReference;
12237
+ entityType: EntityType.FunctionDeclaration;
12238
+ entityId: string;
12239
+ }>]>, "many">>;
12240
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
10557
12241
  id: z.ZodString;
10558
12242
  type: z.ZodLiteral<EntityType.GenericReference>;
10559
12243
  entityId: z.ZodString;
@@ -10903,7 +12587,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10903
12587
  id: string;
10904
12588
  type: EntityType.LiteralValue;
10905
12589
  name: PrimitiveTypes.EntityTemplate;
10906
- valueAsType: {
12590
+ valueAsTypeSingle: {
10907
12591
  id: string;
10908
12592
  type: EntityType.GenericReference;
10909
12593
  entityType: EntityType.DefinitionEntity;
@@ -10919,6 +12603,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10919
12603
  entityType: EntityType.FunctionDeclaration;
10920
12604
  entityId: string;
10921
12605
  } | null;
12606
+ valueAsTypeList: ({
12607
+ id: string;
12608
+ type: EntityType.GenericReference;
12609
+ entityType: EntityType.DefinitionEntity;
12610
+ entityId: string;
12611
+ } | {
12612
+ id: string;
12613
+ type: EntityType.GenericReference;
12614
+ entityType: EntityType.Operation;
12615
+ entityId: string;
12616
+ } | {
12617
+ id: string;
12618
+ type: EntityType.GenericReference;
12619
+ entityType: EntityType.FunctionDeclaration;
12620
+ entityId: string;
12621
+ })[] | null;
10922
12622
  parent: {
10923
12623
  id: string;
10924
12624
  type: EntityType.GenericReference;
@@ -10942,7 +12642,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10942
12642
  id: string;
10943
12643
  type: EntityType.LiteralValue;
10944
12644
  name: PrimitiveTypes.EntityTemplate;
10945
- valueAsType: {
12645
+ valueAsTypeSingle: {
10946
12646
  id: string;
10947
12647
  type: EntityType.GenericReference;
10948
12648
  entityType: EntityType.DefinitionEntity;
@@ -10958,6 +12658,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10958
12658
  entityType: EntityType.FunctionDeclaration;
10959
12659
  entityId: string;
10960
12660
  } | null;
12661
+ valueAsTypeList: ({
12662
+ id: string;
12663
+ type: EntityType.GenericReference;
12664
+ entityType: EntityType.DefinitionEntity;
12665
+ entityId: string;
12666
+ } | {
12667
+ id: string;
12668
+ type: EntityType.GenericReference;
12669
+ entityType: EntityType.Operation;
12670
+ entityId: string;
12671
+ } | {
12672
+ id: string;
12673
+ type: EntityType.GenericReference;
12674
+ entityType: EntityType.FunctionDeclaration;
12675
+ entityId: string;
12676
+ })[] | null;
10961
12677
  parent: {
10962
12678
  id: string;
10963
12679
  type: EntityType.GenericReference;
@@ -10983,7 +12699,53 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
10983
12699
  name: z.ZodEnum<[PrimitiveTypes.String, PrimitiveTypes.Number, PrimitiveTypes.Boolean, PrimitiveTypes.Null, PrimitiveTypes.Date, PrimitiveTypes.KeyValue, PrimitiveTypes.Enum, PrimitiveTypes.File, PrimitiveTypes.UUID, PrimitiveTypes.EntityTemplate, PrimitiveTypes.ActionDescriptor]>;
10984
12700
  type: z.ZodLiteral<EntityType.LiteralValue>;
10985
12701
  value: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate]>>]>, "many">]>]>;
10986
- valueAsType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
12702
+ valueAsTypeList: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodObject<{
12703
+ id: z.ZodString;
12704
+ type: z.ZodLiteral<EntityType.GenericReference>;
12705
+ entityId: z.ZodString;
12706
+ entityType: z.ZodLiteral<EntityType.DefinitionEntity>;
12707
+ }, "strip", z.ZodTypeAny, {
12708
+ id: string;
12709
+ type: EntityType.GenericReference;
12710
+ entityType: EntityType.DefinitionEntity;
12711
+ entityId: string;
12712
+ }, {
12713
+ id: string;
12714
+ type: EntityType.GenericReference;
12715
+ entityType: EntityType.DefinitionEntity;
12716
+ entityId: string;
12717
+ }>, z.ZodObject<{
12718
+ id: z.ZodString;
12719
+ type: z.ZodLiteral<EntityType.GenericReference>;
12720
+ entityId: z.ZodString;
12721
+ entityType: z.ZodLiteral<EntityType.Operation>;
12722
+ }, "strip", z.ZodTypeAny, {
12723
+ id: string;
12724
+ type: EntityType.GenericReference;
12725
+ entityType: EntityType.Operation;
12726
+ entityId: string;
12727
+ }, {
12728
+ id: string;
12729
+ type: EntityType.GenericReference;
12730
+ entityType: EntityType.Operation;
12731
+ entityId: string;
12732
+ }>, z.ZodObject<{
12733
+ id: z.ZodString;
12734
+ type: z.ZodLiteral<EntityType.GenericReference>;
12735
+ entityId: z.ZodString;
12736
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
12737
+ }, "strip", z.ZodTypeAny, {
12738
+ id: string;
12739
+ type: EntityType.GenericReference;
12740
+ entityType: EntityType.FunctionDeclaration;
12741
+ entityId: string;
12742
+ }, {
12743
+ id: string;
12744
+ type: EntityType.GenericReference;
12745
+ entityType: EntityType.FunctionDeclaration;
12746
+ entityId: string;
12747
+ }>]>, "many">>;
12748
+ valueAsTypeSingle: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
10987
12749
  id: z.ZodString;
10988
12750
  type: z.ZodLiteral<EntityType.GenericReference>;
10989
12751
  entityId: z.ZodString;
@@ -11333,7 +13095,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
11333
13095
  id: string;
11334
13096
  type: EntityType.LiteralValue;
11335
13097
  name: PrimitiveTypes.ActionDescriptor;
11336
- valueAsType: {
13098
+ valueAsTypeSingle: {
11337
13099
  id: string;
11338
13100
  type: EntityType.GenericReference;
11339
13101
  entityType: EntityType.DefinitionEntity;
@@ -11349,6 +13111,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
11349
13111
  entityType: EntityType.FunctionDeclaration;
11350
13112
  entityId: string;
11351
13113
  } | null;
13114
+ valueAsTypeList: ({
13115
+ id: string;
13116
+ type: EntityType.GenericReference;
13117
+ entityType: EntityType.DefinitionEntity;
13118
+ entityId: string;
13119
+ } | {
13120
+ id: string;
13121
+ type: EntityType.GenericReference;
13122
+ entityType: EntityType.Operation;
13123
+ entityId: string;
13124
+ } | {
13125
+ id: string;
13126
+ type: EntityType.GenericReference;
13127
+ entityType: EntityType.FunctionDeclaration;
13128
+ entityId: string;
13129
+ })[] | null;
11352
13130
  parent: {
11353
13131
  id: string;
11354
13132
  type: EntityType.GenericReference;
@@ -11372,7 +13150,7 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
11372
13150
  id: string;
11373
13151
  type: EntityType.LiteralValue;
11374
13152
  name: PrimitiveTypes.ActionDescriptor;
11375
- valueAsType: {
13153
+ valueAsTypeSingle: {
11376
13154
  id: string;
11377
13155
  type: EntityType.GenericReference;
11378
13156
  entityType: EntityType.DefinitionEntity;
@@ -11388,6 +13166,22 @@ export declare function getLiteralValueSchema(): z.ZodUnion<[z.ZodObject<z.objec
11388
13166
  entityType: EntityType.FunctionDeclaration;
11389
13167
  entityId: string;
11390
13168
  } | null;
13169
+ valueAsTypeList: ({
13170
+ id: string;
13171
+ type: EntityType.GenericReference;
13172
+ entityType: EntityType.DefinitionEntity;
13173
+ entityId: string;
13174
+ } | {
13175
+ id: string;
13176
+ type: EntityType.GenericReference;
13177
+ entityType: EntityType.Operation;
13178
+ entityId: string;
13179
+ } | {
13180
+ id: string;
13181
+ type: EntityType.GenericReference;
13182
+ entityType: EntityType.FunctionDeclaration;
13183
+ entityId: string;
13184
+ })[] | null;
11391
13185
  parent: {
11392
13186
  id: string;
11393
13187
  type: EntityType.GenericReference;