@elyx-code/project-logic-tree 0.0.1

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 (368) hide show
  1. package/README.md +2 -0
  2. package/dist/definitions/built-in-base-entities/conditions/comparison/index.d.ts +6 -0
  3. package/dist/definitions/built-in-base-entities/conditions/comparison/more-than-or-equal.d.ts +7 -0
  4. package/dist/definitions/built-in-base-entities/conditions/index.d.ts +7 -0
  5. package/dist/definitions/built-in-base-entities/conditions/standalone/index.d.ts +6 -0
  6. package/dist/definitions/built-in-base-entities/conditions/standalone/not-empty.d.ts +5 -0
  7. package/dist/definitions/built-in-base-entities/entities/cron/entity.d.ts +7 -0
  8. package/dist/definitions/built-in-base-entities/entities/cron/index.d.ts +2 -0
  9. package/dist/definitions/built-in-base-entities/entities/cron/trigger.d.ts +4 -0
  10. package/dist/definitions/built-in-base-entities/entities/endpoint.d.ts +52 -0
  11. package/dist/definitions/built-in-base-entities/entities/execution/index.d.ts +5 -0
  12. package/dist/definitions/built-in-base-entities/entities/index.d.ts +6 -0
  13. package/dist/definitions/built-in-base-entities/entities/other/index.d.ts +1 -0
  14. package/dist/definitions/built-in-base-entities/entities/other/key-value-param.d.ts +11 -0
  15. package/dist/definitions/built-in-base-entities/entities/persisted/entity.d.ts +3 -0
  16. package/dist/definitions/built-in-base-entities/entities/persisted/index.d.ts +3 -0
  17. package/dist/definitions/built-in-base-entities/entities/persisted/methods/delete.d.ts +4 -0
  18. package/dist/definitions/built-in-base-entities/entities/persisted/methods/index.d.ts +2 -0
  19. package/dist/definitions/built-in-base-entities/entities/persisted/methods/soft-delete.d.ts +4 -0
  20. package/dist/definitions/built-in-base-entities/entities/persisted/properties.d.ts +25 -0
  21. package/dist/definitions/built-in-base-entities/entities/relational-database/entity.d.ts +19 -0
  22. package/dist/definitions/built-in-base-entities/entities/relational-database/index.d.ts +1 -0
  23. package/dist/definitions/built-in-base-entities/global-events/index.d.ts +6 -0
  24. package/dist/definitions/built-in-base-entities/global-events/project-published.d.ts +3 -0
  25. package/dist/definitions/built-in-base-entities/ids.d.ts +118 -0
  26. package/dist/definitions/built-in-base-entities/index.d.ts +8 -0
  27. package/dist/definitions/built-in-base-entities/loops/index.d.ts +2 -0
  28. package/dist/definitions/built-in-base-entities/loops/list.d.ts +9 -0
  29. package/dist/definitions/built-in-base-entities/loops/manual-flow.d.ts +7 -0
  30. package/dist/definitions/built-in-base-entities/operations/custom-entity/create-new.d.ts +17 -0
  31. package/dist/definitions/built-in-base-entities/operations/custom-entity/index.d.ts +7 -0
  32. package/dist/definitions/built-in-base-entities/operations/custom-entity/validate-data.d.ts +23 -0
  33. package/dist/definitions/built-in-base-entities/operations/function-execution/index.d.ts +8 -0
  34. package/dist/definitions/built-in-base-entities/operations/function-execution/parallel.d.ts +21 -0
  35. package/dist/definitions/built-in-base-entities/operations/function-execution/sequential.d.ts +21 -0
  36. package/dist/definitions/built-in-base-entities/operations/function-execution/wait.d.ts +15 -0
  37. package/dist/definitions/built-in-base-entities/operations/http-request/http-request.d.ts +45 -0
  38. package/dist/definitions/built-in-base-entities/operations/http-request/index.d.ts +6 -0
  39. package/dist/definitions/built-in-base-entities/operations/index.d.ts +11 -0
  40. package/dist/definitions/built-in-base-entities/operations/list/append.d.ts +25 -0
  41. package/dist/definitions/built-in-base-entities/operations/list/get-last.d.ts +20 -0
  42. package/dist/definitions/built-in-base-entities/operations/list/index.d.ts +9 -0
  43. package/dist/definitions/built-in-base-entities/operations/list/join-lists.d.ts +25 -0
  44. package/dist/definitions/built-in-base-entities/operations/list/split-list.d.ts +29 -0
  45. package/dist/definitions/built-in-base-entities/operations/number/index.d.ts +6 -0
  46. package/dist/definitions/built-in-base-entities/operations/number/number-addition.d.ts +25 -0
  47. package/dist/definitions/built-in-base-entities/operations/string/index.d.ts +6 -0
  48. package/dist/definitions/built-in-base-entities/operations/string/join-string.d.ts +25 -0
  49. package/dist/definitions/built-in-base-entities/primitive-entities.d.ts +15 -0
  50. package/dist/definitions/built-in-base-entities/value-descriptors/index.d.ts +1 -0
  51. package/dist/definitions/built-in-base-entities/value-descriptors/process-output.d.ts +5 -0
  52. package/dist/definitions/index.d.ts +4 -0
  53. package/dist/definitions/logic/custom-entity-to-zod-schema.d.ts +4 -0
  54. package/dist/definitions/logic/index.d.ts +2 -0
  55. package/dist/definitions/logic/value-autogeneration/boolean.d.ts +3 -0
  56. package/dist/definitions/logic/value-autogeneration/date.d.ts +6 -0
  57. package/dist/definitions/logic/value-autogeneration/index.d.ts +6 -0
  58. package/dist/definitions/logic/value-autogeneration/number.d.ts +6 -0
  59. package/dist/definitions/logic/value-autogeneration/text.d.ts +6 -0
  60. package/dist/definitions/logic/value-autogeneration/uuid.d.ts +1 -0
  61. package/dist/definitions/logic/value-autogeneration/value-autogeneration.d.ts +3 -0
  62. package/dist/definitions/mock/default-mock/entities/alt-relational-database/entity.d.ts +4 -0
  63. package/dist/definitions/mock/default-mock/entities/alt-relational-database/properties.d.ts +15 -0
  64. package/dist/definitions/mock/default-mock/entities/animal.d.ts +12 -0
  65. package/dist/definitions/mock/default-mock/entities/back-account/account-owner-event.d.ts +26 -0
  66. package/dist/definitions/mock/default-mock/entities/back-account/change-owner-of-account.d.ts +16 -0
  67. package/dist/definitions/mock/default-mock/entities/back-account/entity.d.ts +4 -0
  68. package/dist/definitions/mock/default-mock/entities/back-account/properties.d.ts +10 -0
  69. package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/currency/entity.d.ts +4 -0
  70. package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/currency/properties.d.ts +22 -0
  71. package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/entity.d.ts +4 -0
  72. package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/properties.d.ts +14 -0
  73. package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/entity.d.ts +4 -0
  74. package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/ids.d.ts +15 -0
  75. package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/properties.d.ts +18 -0
  76. package/dist/definitions/mock/default-mock/entities/company/change-owner-of-company.d.ts +16 -0
  77. package/dist/definitions/mock/default-mock/entities/company/company-changed-event/company-name-exists-condition.d.ts +8 -0
  78. package/dist/definitions/mock/default-mock/entities/company/company-changed-event/gov-registry-func-call.d.ts +16 -0
  79. package/dist/definitions/mock/default-mock/entities/company/company-changed-event/index.d.ts +18 -0
  80. package/dist/definitions/mock/default-mock/entities/company/entity.d.ts +4 -0
  81. package/dist/definitions/mock/default-mock/entities/company/properties.d.ts +18 -0
  82. package/dist/definitions/mock/default-mock/entities/cron-job/entity.d.ts +13 -0
  83. package/dist/definitions/mock/default-mock/entities/default-relational-database/entity.d.ts +4 -0
  84. package/dist/definitions/mock/default-mock/entities/default-relational-database/properties.d.ts +15 -0
  85. package/dist/definitions/mock/default-mock/entities/employee.d.ts +17 -0
  86. package/dist/definitions/mock/default-mock/entities/get-all-bank-accounts-endpoint/entity.d.ts +4 -0
  87. package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/endpoint-reached-event.d.ts +39 -0
  88. package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/entity.d.ts +4 -0
  89. package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/ids.d.ts +1 -0
  90. package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/properties.d.ts +12 -0
  91. package/dist/definitions/mock/default-mock/entities/person.d.ts +12 -0
  92. package/dist/definitions/mock/default-mock/entities/product.d.ts +12 -0
  93. package/dist/definitions/mock/default-mock/entities/user.d.ts +8 -0
  94. package/dist/definitions/mock/default-mock/events/project-loaded/get-bitcoin-price/get-bitcoin-price-http-call.d.ts +20 -0
  95. package/dist/definitions/mock/default-mock/events/project-loaded/get-bitcoin-price/validate-bitcoin-price-response.d.ts +13 -0
  96. package/dist/definitions/mock/default-mock/events/project-loaded/ids.d.ts +4 -0
  97. package/dist/definitions/mock/default-mock/events/project-loaded/index.d.ts +7 -0
  98. package/dist/definitions/mock/default-mock/function-calls/call-execution-abort.d.ts +4 -0
  99. package/dist/definitions/mock/default-mock/function-calls/call-hello-world-loop.d.ts +4 -0
  100. package/dist/definitions/mock/default-mock/functions/abort-execution/execution-abort-call-var.d.ts +9 -0
  101. package/dist/definitions/mock/default-mock/functions/abort-execution/execution-var-declaration.d.ts +8 -0
  102. package/dist/definitions/mock/default-mock/functions/abort-execution/execution-var-instance-write.d.ts +8 -0
  103. package/dist/definitions/mock/default-mock/functions/abort-execution/function.d.ts +4 -0
  104. package/dist/definitions/mock/default-mock/functions/abort-execution/ids.d.ts +11 -0
  105. package/dist/definitions/mock/default-mock/functions/abort-execution/long-wait-return-statement.d.ts +10 -0
  106. package/dist/definitions/mock/default-mock/functions/abort-execution/long-wait.d.ts +9 -0
  107. package/dist/definitions/mock/default-mock/functions/abort-execution/second-wait.d.ts +8 -0
  108. package/dist/definitions/mock/default-mock/functions/abort-execution/small-wait-return-statement.d.ts +10 -0
  109. package/dist/definitions/mock/default-mock/functions/abort-execution/small-wait.d.ts +8 -0
  110. package/dist/definitions/mock/default-mock/functions/check-gov-registry/gov-http-call.d.ts +35 -0
  111. package/dist/definitions/mock/default-mock/functions/check-gov-registry/index.d.ts +8 -0
  112. package/dist/definitions/mock/default-mock/functions/check-gov-registry/join-query-string-operation.d.ts +19 -0
  113. package/dist/definitions/mock/default-mock/functions/check-gov-registry/return-statement.d.ts +10 -0
  114. package/dist/definitions/mock/default-mock/functions/check-gov-registry/shared-arg-map.d.ts +5 -0
  115. package/dist/definitions/mock/default-mock/functions/company-dto/employee-dto-map-loop/body.d.ts +24 -0
  116. package/dist/definitions/mock/default-mock/functions/company-dto/employee-dto-map-loop/loop.d.ts +10 -0
  117. package/dist/definitions/mock/default-mock/functions/company-dto/function.d.ts +8 -0
  118. package/dist/definitions/mock/default-mock/functions/company-dto/ids.d.ts +28 -0
  119. package/dist/definitions/mock/default-mock/functions/company-dto/return-statement.d.ts +10 -0
  120. package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/bank-account-variable.d.ts +10 -0
  121. package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company/outputs.d.ts +12 -0
  122. package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company/variable.d.ts +8 -0
  123. package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company-dto/inputs.d.ts +17 -0
  124. package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company-dto/variable.d.ts +7 -0
  125. package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/owner-variable.d.ts +10 -0
  126. package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping.d.ts +0 -0
  127. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/company-dto/mapping-func-call.d.ts +8 -0
  128. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/company-dto/var-chain.d.ts +15 -0
  129. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/exec-in-parallel-call/operation.d.ts +13 -0
  130. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/exec-sequentially-call/operation.d.ts +13 -0
  131. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/function-list-variable.d.ts +12 -0
  132. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/function.d.ts +4 -0
  133. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/ids.d.ts +14 -0
  134. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/return-statement.d.ts +10 -0
  135. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/return-variables-chain.d.ts +0 -0
  136. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/wait.d.ts +9 -0
  137. package/dist/definitions/mock/default-mock/functions/create-new-company/index.d.ts +4 -0
  138. package/dist/definitions/mock/default-mock/functions/create-new-company/return-statement.d.ts +9 -0
  139. package/dist/definitions/mock/default-mock/functions/current-time.d.ts +16 -0
  140. package/dist/definitions/mock/default-mock/functions/do-math/ids.d.ts +2 -0
  141. package/dist/definitions/mock/default-mock/functions/do-math/index.d.ts +18 -0
  142. package/dist/definitions/mock/default-mock/functions/do-math/op-output-variables.d.ts +8 -0
  143. package/dist/definitions/mock/default-mock/functions/do-math/return-statement.d.ts +9 -0
  144. package/dist/definitions/mock/default-mock/functions/do-math/sum-operation.d.ts +12 -0
  145. package/dist/definitions/mock/default-mock/functions/do-math/var-to-return-statement.d.ts +7 -0
  146. package/dist/definitions/mock/default-mock/functions/employee-dto/function.d.ts +8 -0
  147. package/dist/definitions/mock/default-mock/functions/employee-dto/ids.d.ts +16 -0
  148. package/dist/definitions/mock/default-mock/functions/employee-dto/return-statement.d.ts +10 -0
  149. package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee/outputs.d.ts +10 -0
  150. package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee/variable.d.ts +8 -0
  151. package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee-dto/inputs.d.ts +14 -0
  152. package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee-dto/variable.d.ts +5 -0
  153. package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/manager-variable.d.ts +10 -0
  154. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/function.d.ts +4 -0
  155. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/ids.d.ts +13 -0
  156. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/add-latest-text-to-final-list.d.ts +14 -0
  157. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/break-statement.d.ts +10 -0
  158. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/continue-statement.d.ts +10 -0
  159. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/iteration-smaller-than-ten-condition.d.ts +10 -0
  160. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/join-texts.d.ts +13 -0
  161. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/loop-body.d.ts +12 -0
  162. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/loop.d.ts +7 -0
  163. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/return-statement.d.ts +10 -0
  164. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/company-variable-declaration.d.ts +10 -0
  165. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/company-variable-instance.d.ts +9 -0
  166. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/create-new-bank-account.d.ts +15 -0
  167. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/ids.d.ts +15 -0
  168. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/index.d.ts +19 -0
  169. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/old-bank-account-variable.d.ts +11 -0
  170. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/person-not-empty-condition.d.ts +8 -0
  171. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/person-not-found-return-error.d.ts +10 -0
  172. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/found-person-output.d.ts +8 -0
  173. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/index.d.ts +5 -0
  174. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/person-id-input.d.ts +9 -0
  175. package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/search-query.d.ts +3 -0
  176. package/dist/definitions/mock/default-mock/functions/show-popup/index.d.ts +4 -0
  177. package/dist/definitions/mock/default-mock/ids.d.ts +3 -0
  178. package/dist/definitions/mock/default-mock/index.d.ts +4 -0
  179. package/dist/definitions/mock/default-mock/installed-projects/mock-third-party-project.d.ts +7 -0
  180. package/dist/definitions/mock/default-mock/loops/iterate-over-list/body.d.ts +8 -0
  181. package/dist/definitions/mock/default-mock/loops/iterate-over-list/ids.d.ts +3 -0
  182. package/dist/definitions/mock/default-mock/loops/iterate-over-list/loop.d.ts +6 -0
  183. package/dist/definitions/mock/default-mock/operations/random-wait.d.ts +7 -0
  184. package/dist/definitions/mock/default-mock/searches/find-companies-with-multiple-employees-and-bank-account.d.ts +10 -0
  185. package/dist/definitions/mock/default-mock/variables/global-data-mapping/company-employee/company-employee.d.ts +6 -0
  186. package/dist/definitions/mock/default-mock/variables/global-data-mapping/company-employee/outputs.d.ts +10 -0
  187. package/dist/definitions/mock/default-mock/variables/global-data-mapping/employee-dto/company-employee-mapped-DTO.d.ts +4 -0
  188. package/dist/definitions/mock/default-mock/variables/global-data-mapping/employee-dto/inputs.d.ts +17 -0
  189. package/dist/definitions/mock/default-mock/variables/global-data-mapping/global-user-instance.d.ts +6 -0
  190. package/dist/definitions/mock/default-mock/variables/global-data-mapping/ids.d.ts +15 -0
  191. package/dist/definitions/mock/default-mock/variables/global-data-mapping/manager-variable.d.ts +9 -0
  192. package/dist/definitions/mock/default-mock/variables/isTestEnv.d.ts +9 -0
  193. package/dist/definitions/mock/default-mock/variables/lastTimestamp.d.ts +7 -0
  194. package/dist/definitions/mock/default-mock/variables/user.d.ts +6 -0
  195. package/dist/definitions/mock/index.d.ts +3 -0
  196. package/dist/definitions/types/autogeneration.d.ts +101 -0
  197. package/dist/definitions/types/base-entity.d.ts +79 -0
  198. package/dist/definitions/types/base.d.ts +177 -0
  199. package/dist/definitions/types/condition.d.ts +61 -0
  200. package/dist/definitions/types/custom-entity.d.ts +31 -0
  201. package/dist/definitions/types/data-type.d.ts +50 -0
  202. package/dist/definitions/types/event.d.ts +49 -0
  203. package/dist/definitions/types/function.d.ts +180 -0
  204. package/dist/definitions/types/generic-reference.d.ts +95 -0
  205. package/dist/definitions/types/index.d.ts +201 -0
  206. package/dist/definitions/types/input-output-map.d.ts +135 -0
  207. package/dist/definitions/types/loop.d.ts +41 -0
  208. package/dist/definitions/types/operation.d.ts +92 -0
  209. package/dist/definitions/types/primitives.d.ts +199 -0
  210. package/dist/definitions/types/project.d.ts +84 -0
  211. package/dist/definitions/types/property.d.ts +35 -0
  212. package/dist/definitions/types/return.d.ts +109 -0
  213. package/dist/definitions/types/search.d.ts +62 -0
  214. package/dist/definitions/types/variable.d.ts +128 -0
  215. package/dist/index.d.ts +2 -0
  216. package/dist/index.js +38622 -0
  217. package/dist/index.umd.cjs +299 -0
  218. package/dist/tree/built-in/built-in-base-entities/index.d.ts +1 -0
  219. package/dist/tree/built-in/built-in-base-entities/persisted/entity.d.ts +22 -0
  220. package/dist/tree/built-in/built-in-base-entities/persisted/index.d.ts +1 -0
  221. package/dist/tree/built-in/index.d.ts +3 -0
  222. package/dist/tree/built-in/operations/function-execution/index.d.ts +3 -0
  223. package/dist/tree/built-in/operations/function-execution/parallel.d.ts +20 -0
  224. package/dist/tree/built-in/operations/function-execution/sequential.d.ts +22 -0
  225. package/dist/tree/built-in/operations/function-execution/wait.d.ts +20 -0
  226. package/dist/tree/built-in/operations/index.d.ts +1 -0
  227. package/dist/tree/built-in/operations/init.d.ts +4 -0
  228. package/dist/tree/built-in/primitive-entities/index.d.ts +1 -0
  229. package/dist/tree/index.d.ts +3 -0
  230. package/dist/tree/state/action-descriptor/action-descriptor.d.ts +113 -0
  231. package/dist/tree/state/action-descriptor/index.d.ts +1 -0
  232. package/dist/tree/state/action-descriptor/validation/logic-validation.d.ts +4 -0
  233. package/dist/tree/state/action-descriptor/validation/validation-schema.d.ts +438 -0
  234. package/dist/tree/state/argument-declaration/argument-declaration.d.ts +98 -0
  235. package/dist/tree/state/argument-declaration/index.d.ts +1 -0
  236. package/dist/tree/state/argument-declaration/validation/logic-validation.d.ts +4 -0
  237. package/dist/tree/state/argument-declaration/validation/validation-schema.d.ts +489 -0
  238. package/dist/tree/state/autogeneration.d.ts +823 -0
  239. package/dist/tree/state/base.d.ts +111 -0
  240. package/dist/tree/state/break-statement/break-statement.d.ts +99 -0
  241. package/dist/tree/state/break-statement/index.d.ts +1 -0
  242. package/dist/tree/state/break-statement/validation/logic-validation.d.ts +4 -0
  243. package/dist/tree/state/break-statement/validation/validation-schema.d.ts +1117 -0
  244. package/dist/tree/state/built-in-base-entity/built-in-base-entity.d.ts +82 -0
  245. package/dist/tree/state/built-in-base-entity/index.d.ts +1 -0
  246. package/dist/tree/state/built-in-base-entity/init.d.ts +4 -0
  247. package/dist/tree/state/built-in-base-entity/logic-validation.d.ts +4 -0
  248. package/dist/tree/state/built-in-base-entity/validation-schema.d.ts +256 -0
  249. package/dist/tree/state/condition/condition.d.ts +105 -0
  250. package/dist/tree/state/condition/index.d.ts +1 -0
  251. package/dist/tree/state/condition/init.d.ts +4 -0
  252. package/dist/tree/state/condition/validation/logic-validation.d.ts +4 -0
  253. package/dist/tree/state/condition/validation/validation-schema.d.ts +2386 -0
  254. package/dist/tree/state/continue-statement/continue-statement.d.ts +99 -0
  255. package/dist/tree/state/continue-statement/index.d.ts +1 -0
  256. package/dist/tree/state/continue-statement/validation/logic-validation.d.ts +4 -0
  257. package/dist/tree/state/continue-statement/validation/validation-schema.d.ts +1117 -0
  258. package/dist/tree/state/create.d.ts +8 -0
  259. package/dist/tree/state/custom-entity/custom-entity.d.ts +129 -0
  260. package/dist/tree/state/custom-entity/index.d.ts +1 -0
  261. package/dist/tree/state/custom-entity/validation/logic-validation.d.ts +9 -0
  262. package/dist/tree/state/custom-entity/validation/references.d.ts +5 -0
  263. package/dist/tree/state/custom-entity/validation/validation-schema.d.ts +472 -0
  264. package/dist/tree/state/data-type/data-type.d.ts +108 -0
  265. package/dist/tree/state/data-type/index.d.ts +1 -0
  266. package/dist/tree/state/data-type/validation/logic-validation.d.ts +4 -0
  267. package/dist/tree/state/data-type/validation/references.d.ts +5 -0
  268. package/dist/tree/state/data-type/validation/validation-schema.d.ts +12115 -0
  269. package/dist/tree/state/error.d.ts +133 -0
  270. package/dist/tree/state/function-call/function-call.d.ts +111 -0
  271. package/dist/tree/state/function-call/index.d.ts +1 -0
  272. package/dist/tree/state/function-call/validation/logic-validation.d.ts +4 -0
  273. package/dist/tree/state/function-call/validation/validation-schema.d.ts +2517 -0
  274. package/dist/tree/state/function-declaration/function-declaration.d.ts +115 -0
  275. package/dist/tree/state/function-declaration/index.d.ts +1 -0
  276. package/dist/tree/state/function-declaration/validation/logic-validation.d.ts +4 -0
  277. package/dist/tree/state/function-declaration/validation/validation-schema.d.ts +505 -0
  278. package/dist/tree/state/global-event/global-event.d.ts +105 -0
  279. package/dist/tree/state/global-event/index.d.ts +1 -0
  280. package/dist/tree/state/global-event/init.d.ts +4 -0
  281. package/dist/tree/state/global-event/validation/logic-validation.d.ts +4 -0
  282. package/dist/tree/state/global-event/validation/validation-schema.d.ts +1379 -0
  283. package/dist/tree/state/index.d.ts +28 -0
  284. package/dist/tree/state/input-map/index.d.ts +1 -0
  285. package/dist/tree/state/input-map/input-map.d.ts +124 -0
  286. package/dist/tree/state/input-map/validation/logic-validation.d.ts +4 -0
  287. package/dist/tree/state/input-map/validation/validation-schema.d.ts +36161 -0
  288. package/dist/tree/state/installed-project/index.d.ts +1 -0
  289. package/dist/tree/state/installed-project/installed-project.d.ts +90 -0
  290. package/dist/tree/state/installed-project/validation/logic-validation.d.ts +4 -0
  291. package/dist/tree/state/installed-project/validation/validation-schema.d.ts +238 -0
  292. package/dist/tree/state/internal-call/index.d.ts +1 -0
  293. package/dist/tree/state/internal-call/internal-call.d.ts +109 -0
  294. package/dist/tree/state/internal-call/validation/logic-validation.d.ts +4 -0
  295. package/dist/tree/state/internal-call/validation/validation-schema.d.ts +2433 -0
  296. package/dist/tree/state/loop/index.d.ts +1 -0
  297. package/dist/tree/state/loop/init.d.ts +4 -0
  298. package/dist/tree/state/loop/loop.d.ts +127 -0
  299. package/dist/tree/state/loop/validation/logic-validation.d.ts +4 -0
  300. package/dist/tree/state/loop/validation/validation-schema.d.ts +2523 -0
  301. package/dist/tree/state/operation/index.d.ts +1 -0
  302. package/dist/tree/state/operation/operation.d.ts +111 -0
  303. package/dist/tree/state/operation/validation/logic-validation.d.ts +4 -0
  304. package/dist/tree/state/operation/validation/validation-schema.d.ts +2553 -0
  305. package/dist/tree/state/output-map/index.d.ts +1 -0
  306. package/dist/tree/state/output-map/output-map.d.ts +111 -0
  307. package/dist/tree/state/output-map/validation/logic-validation.d.ts +4 -0
  308. package/dist/tree/state/output-map/validation/validation-schema.d.ts +1543 -0
  309. package/dist/tree/state/primitive-entity/index.d.ts +1 -0
  310. package/dist/tree/state/primitive-entity/init.d.ts +4 -0
  311. package/dist/tree/state/primitive-entity/primitive-entity.d.ts +62 -0
  312. package/dist/tree/state/primitive-entity/validation/logic-validation.d.ts +4 -0
  313. package/dist/tree/state/primitive-entity/validation/validation-schema.d.ts +251 -0
  314. package/dist/tree/state/primitive-value/index.d.ts +1 -0
  315. package/dist/tree/state/primitive-value/primitive-value.d.ts +91 -0
  316. package/dist/tree/state/primitive-value/validation/logic-validation.d.ts +4 -0
  317. package/dist/tree/state/primitive-value/validation/references.d.ts +5 -0
  318. package/dist/tree/state/primitive-value/validation/validation-schema.d.ts +11410 -0
  319. package/dist/tree/state/project/index.d.ts +1 -0
  320. package/dist/tree/state/project/project.d.ts +180 -0
  321. package/dist/tree/state/project/validation/validation-schema.d.ts +389 -0
  322. package/dist/tree/state/property/index.d.ts +1 -0
  323. package/dist/tree/state/property/property.d.ts +100 -0
  324. package/dist/tree/state/property/validation/logic-validation.d.ts +5 -0
  325. package/dist/tree/state/property/validation/references.d.ts +5 -0
  326. package/dist/tree/state/property/validation/validation-schema.d.ts +365 -0
  327. package/dist/tree/state/return-declaration/index.d.ts +1 -0
  328. package/dist/tree/state/return-declaration/return-declaration.d.ts +100 -0
  329. package/dist/tree/state/return-declaration/validation/logic-validation.d.ts +4 -0
  330. package/dist/tree/state/return-declaration/validation/validation-schema.d.ts +579 -0
  331. package/dist/tree/state/return-statement/index.d.ts +1 -0
  332. package/dist/tree/state/return-statement/return-statement.d.ts +98 -0
  333. package/dist/tree/state/return-statement/validation/logic-validation.d.ts +4 -0
  334. package/dist/tree/state/return-statement/validation/references.d.ts +8 -0
  335. package/dist/tree/state/return-statement/validation/validation-schema.d.ts +1217 -0
  336. package/dist/tree/state/search/index.d.ts +1 -0
  337. package/dist/tree/state/search/search.d.ts +116 -0
  338. package/dist/tree/state/search/validation/logic-validation.d.ts +4 -0
  339. package/dist/tree/state/search/validation/validation-schema.d.ts +2493 -0
  340. package/dist/tree/state/state.test.d.ts +1 -0
  341. package/dist/tree/state/store.d.ts +10 -0
  342. package/dist/tree/state/types/index.d.ts +7 -0
  343. package/dist/tree/state/types/state.d.ts +52 -0
  344. package/dist/tree/state/types/validation.d.ts +3591 -0
  345. package/dist/tree/state/validate.d.ts +122 -0
  346. package/dist/tree/state/validate.test.d.ts +1 -0
  347. package/dist/tree/state/value-descriptor/index.d.ts +1 -0
  348. package/dist/tree/state/value-descriptor/init.d.ts +4 -0
  349. package/dist/tree/state/value-descriptor/validation/logic-validation.d.ts +4 -0
  350. package/dist/tree/state/value-descriptor/validation/validation-schema.d.ts +191 -0
  351. package/dist/tree/state/value-descriptor/value-descriptor.d.ts +91 -0
  352. package/dist/tree/state/variable-declaration/index.d.ts +1 -0
  353. package/dist/tree/state/variable-declaration/validation/logic-validation.d.ts +4 -0
  354. package/dist/tree/state/variable-declaration/validation/validation-schema.d.ts +2687 -0
  355. package/dist/tree/state/variable-declaration/variable-declaration.d.ts +129 -0
  356. package/dist/tree/state/variable-instance/index.d.ts +1 -0
  357. package/dist/tree/state/variable-instance/validation/logic-validation.d.ts +4 -0
  358. package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +2689 -0
  359. package/dist/tree/state/variable-instance/variable-instance.d.ts +125 -0
  360. package/dist/tree/utils/data-type.d.ts +51 -0
  361. package/dist/tree/utils/index.d.ts +158 -0
  362. package/dist/tree/utils/names.d.ts +32 -0
  363. package/dist/tree/utils/references.d.ts +4 -0
  364. package/dist/tree/utils/shared-data-structure-entity.d.ts +26 -0
  365. package/dist/tree/utils/string.d.ts +2 -0
  366. package/dist/tree/utils/uuid.d.ts +7 -0
  367. package/dist/tree/utils/variables.d.ts +5 -0
  368. package/package.json +65 -0
@@ -0,0 +1,2687 @@
1
+ import { EntityType } from '../../../../../../../../../../src/definitions';
2
+ import { z } from 'zod';
3
+
4
+ export declare function getVariableDeclarationTypeSchema(): z.ZodUnion<[z.ZodObject<{
5
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ type: EntityType.VariableDeclaration;
8
+ }, {
9
+ type: EntityType.VariableDeclaration;
10
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>;
11
+ export declare function getVariableDeclarationReferenceSchema(): z.ZodObject<{
12
+ id: z.ZodString;
13
+ type: z.ZodLiteral<EntityType.GenericReference>;
14
+ entityId: z.ZodString;
15
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ id: string;
18
+ type: EntityType.GenericReference;
19
+ entityType: EntityType.VariableDeclaration;
20
+ entityId: string;
21
+ }, {
22
+ id: string;
23
+ type: EntityType.GenericReference;
24
+ entityType: EntityType.VariableDeclaration;
25
+ entityId: string;
26
+ }>;
27
+ export declare function getVariableDeclarationBaseSchema(): z.ZodObject<{
28
+ id: z.ZodString;
29
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
30
+ name: z.ZodString;
31
+ description: z.ZodNullable<z.ZodString>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ id: string;
34
+ type: EntityType.VariableDeclaration;
35
+ name: string;
36
+ description: string | null;
37
+ }, {
38
+ id: string;
39
+ type: EntityType.VariableDeclaration;
40
+ name: string;
41
+ description: string | null;
42
+ }>;
43
+ export declare function getVariableDeclarationMetaSchema(): z.ZodObject<z.objectUtil.extendShape<{
44
+ id: z.ZodString;
45
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
46
+ name: z.ZodString;
47
+ description: z.ZodNullable<z.ZodString>;
48
+ }, {
49
+ version: z.ZodNumber;
50
+ x: z.ZodNumber;
51
+ y: z.ZodNumber;
52
+ }>, "strip", z.ZodTypeAny, {
53
+ id: string;
54
+ type: EntityType.VariableDeclaration;
55
+ name: string;
56
+ description: string | null;
57
+ version: number;
58
+ x: number;
59
+ y: number;
60
+ }, {
61
+ id: string;
62
+ type: EntityType.VariableDeclaration;
63
+ name: string;
64
+ description: string | null;
65
+ version: number;
66
+ x: number;
67
+ y: number;
68
+ }>;
69
+ export declare function getVariableDeclarationGenerationTargetSchema(): z.ZodObject<z.objectUtil.extendShape<{
70
+ id: z.ZodString;
71
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
72
+ name: z.ZodString;
73
+ description: z.ZodNullable<z.ZodString>;
74
+ }, {}>, "strip", z.ZodTypeAny, {
75
+ id: string;
76
+ type: EntityType.VariableDeclaration;
77
+ name: string;
78
+ description: string | null;
79
+ }, {
80
+ id: string;
81
+ type: EntityType.VariableDeclaration;
82
+ name: string;
83
+ description: string | null;
84
+ }>;
85
+ export declare function getVariableDeclarationNestedEntitiesSchema(): z.ZodObject<{
86
+ dataType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
87
+ type: z.ZodLiteral<EntityType.DataType>;
88
+ }, "strip", z.ZodTypeAny, {
89
+ type: EntityType.DataType;
90
+ }, {
91
+ type: EntityType.DataType;
92
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
93
+ readsValue: z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
94
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
95
+ }, "strip", z.ZodTypeAny, {
96
+ type: EntityType.VariableDeclaration;
97
+ }, {
98
+ type: EntityType.VariableDeclaration;
99
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
100
+ type: z.ZodLiteral<EntityType.VariableInstance>;
101
+ }, "strip", z.ZodTypeAny, {
102
+ type: EntityType.VariableInstance;
103
+ }, {
104
+ type: EntityType.VariableInstance;
105
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, z.ZodUnion<[z.ZodObject<{
106
+ type: z.ZodLiteral<EntityType.ArgumentDeclaration>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ type: EntityType.ArgumentDeclaration;
109
+ }, {
110
+ type: EntityType.ArgumentDeclaration;
111
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
112
+ type: z.ZodLiteral<EntityType.OutputMap>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ type: EntityType.OutputMap;
115
+ }, {
116
+ type: EntityType.OutputMap;
117
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
118
+ type: z.ZodLiteral<EntityType.Operation>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ type: EntityType.Operation;
121
+ }, {
122
+ type: EntityType.Operation;
123
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
124
+ type: z.ZodLiteral<EntityType.InternalCall>;
125
+ }, "strip", z.ZodTypeAny, {
126
+ type: EntityType.InternalCall;
127
+ }, {
128
+ type: EntityType.InternalCall;
129
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
130
+ type: z.ZodLiteral<EntityType.FunctionCall>;
131
+ }, "strip", z.ZodTypeAny, {
132
+ type: EntityType.FunctionCall;
133
+ }, {
134
+ type: EntityType.FunctionCall;
135
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>>;
136
+ writesValues: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
137
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ type: EntityType.VariableDeclaration;
140
+ }, {
141
+ type: EntityType.VariableDeclaration;
142
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
143
+ type: z.ZodLiteral<EntityType.VariableInstance>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ type: EntityType.VariableInstance;
146
+ }, {
147
+ type: EntityType.VariableInstance;
148
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, z.ZodUnion<[z.ZodObject<{
149
+ type: z.ZodLiteral<EntityType.InputMap>;
150
+ }, "strip", z.ZodTypeAny, {
151
+ type: EntityType.InputMap;
152
+ }, {
153
+ type: EntityType.InputMap;
154
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
155
+ type: z.ZodLiteral<EntityType.ReturnDeclaration>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ type: EntityType.ReturnDeclaration;
158
+ }, {
159
+ type: EntityType.ReturnDeclaration;
160
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, "many">;
161
+ inputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
162
+ type: z.ZodLiteral<EntityType.InputMap>;
163
+ }, "strip", z.ZodTypeAny, {
164
+ type: EntityType.InputMap;
165
+ }, {
166
+ type: EntityType.InputMap;
167
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
168
+ outputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
169
+ type: z.ZodLiteral<EntityType.OutputMap>;
170
+ }, "strip", z.ZodTypeAny, {
171
+ type: EntityType.OutputMap;
172
+ }, {
173
+ type: EntityType.OutputMap;
174
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
175
+ successCalls: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
176
+ id: z.ZodString;
177
+ type: z.ZodLiteral<EntityType.GenericReference>;
178
+ entityId: z.ZodString;
179
+ entityType: z.ZodLiteral<EntityType.Operation>;
180
+ }, "strip", z.ZodTypeAny, {
181
+ id: string;
182
+ type: EntityType.GenericReference;
183
+ entityType: EntityType.Operation;
184
+ entityId: string;
185
+ }, {
186
+ id: string;
187
+ type: EntityType.GenericReference;
188
+ entityType: EntityType.Operation;
189
+ entityId: string;
190
+ }>, z.ZodObject<{
191
+ id: z.ZodString;
192
+ type: z.ZodLiteral<EntityType.GenericReference>;
193
+ entityId: z.ZodString;
194
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
195
+ }, "strip", z.ZodTypeAny, {
196
+ id: string;
197
+ type: EntityType.GenericReference;
198
+ entityType: EntityType.FunctionCall;
199
+ entityId: string;
200
+ }, {
201
+ id: string;
202
+ type: EntityType.GenericReference;
203
+ entityType: EntityType.FunctionCall;
204
+ entityId: string;
205
+ }>, z.ZodObject<{
206
+ id: z.ZodString;
207
+ type: z.ZodLiteral<EntityType.GenericReference>;
208
+ entityId: z.ZodString;
209
+ entityType: z.ZodLiteral<EntityType.Condition>;
210
+ }, "strip", z.ZodTypeAny, {
211
+ id: string;
212
+ type: EntityType.GenericReference;
213
+ entityType: EntityType.Condition;
214
+ entityId: string;
215
+ }, {
216
+ id: string;
217
+ type: EntityType.GenericReference;
218
+ entityType: EntityType.Condition;
219
+ entityId: string;
220
+ }>, z.ZodObject<{
221
+ id: z.ZodString;
222
+ type: z.ZodLiteral<EntityType.GenericReference>;
223
+ entityId: z.ZodString;
224
+ entityType: z.ZodLiteral<EntityType.Search>;
225
+ }, "strip", z.ZodTypeAny, {
226
+ id: string;
227
+ type: EntityType.GenericReference;
228
+ entityType: EntityType.Search;
229
+ entityId: string;
230
+ }, {
231
+ id: string;
232
+ type: EntityType.GenericReference;
233
+ entityType: EntityType.Search;
234
+ entityId: string;
235
+ }>, z.ZodUnion<[z.ZodObject<{
236
+ id: z.ZodString;
237
+ type: z.ZodLiteral<EntityType.GenericReference>;
238
+ entityId: z.ZodString;
239
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
240
+ }, "strip", z.ZodTypeAny, {
241
+ id: string;
242
+ type: EntityType.GenericReference;
243
+ entityType: EntityType.VariableDeclaration;
244
+ entityId: string;
245
+ }, {
246
+ id: string;
247
+ type: EntityType.GenericReference;
248
+ entityType: EntityType.VariableDeclaration;
249
+ entityId: string;
250
+ }>, z.ZodObject<{
251
+ id: z.ZodString;
252
+ type: z.ZodLiteral<EntityType.GenericReference>;
253
+ entityId: z.ZodString;
254
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
255
+ }, "strip", z.ZodTypeAny, {
256
+ id: string;
257
+ type: EntityType.GenericReference;
258
+ entityType: EntityType.VariableInstance;
259
+ entityId: string;
260
+ }, {
261
+ id: string;
262
+ type: EntityType.GenericReference;
263
+ entityType: EntityType.VariableInstance;
264
+ entityId: string;
265
+ }>]>, z.ZodObject<{
266
+ id: z.ZodString;
267
+ type: z.ZodLiteral<EntityType.GenericReference>;
268
+ entityId: z.ZodString;
269
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ id: string;
272
+ type: EntityType.GenericReference;
273
+ entityType: EntityType.InternalCall;
274
+ entityId: string;
275
+ }, {
276
+ id: string;
277
+ type: EntityType.GenericReference;
278
+ entityType: EntityType.InternalCall;
279
+ entityId: string;
280
+ }>, z.ZodObject<{
281
+ id: z.ZodString;
282
+ type: z.ZodLiteral<EntityType.GenericReference>;
283
+ entityId: z.ZodString;
284
+ entityType: z.ZodLiteral<EntityType.Loop>;
285
+ }, "strip", z.ZodTypeAny, {
286
+ id: string;
287
+ type: EntityType.GenericReference;
288
+ entityType: EntityType.Loop;
289
+ entityId: string;
290
+ }, {
291
+ id: string;
292
+ type: EntityType.GenericReference;
293
+ entityType: EntityType.Loop;
294
+ entityId: string;
295
+ }>]>, z.ZodObject<{
296
+ id: z.ZodString;
297
+ type: z.ZodLiteral<EntityType.GenericReference>;
298
+ entityId: z.ZodString;
299
+ entityType: z.ZodLiteral<EntityType.ReturnStatement>;
300
+ }, "strip", z.ZodTypeAny, {
301
+ id: string;
302
+ type: EntityType.GenericReference;
303
+ entityType: EntityType.ReturnStatement;
304
+ entityId: string;
305
+ }, {
306
+ id: string;
307
+ type: EntityType.GenericReference;
308
+ entityType: EntityType.ReturnStatement;
309
+ entityId: string;
310
+ }>, z.ZodObject<{
311
+ id: z.ZodString;
312
+ type: z.ZodLiteral<EntityType.GenericReference>;
313
+ entityId: z.ZodString;
314
+ entityType: z.ZodLiteral<EntityType.BreakStatement>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ id: string;
317
+ type: EntityType.GenericReference;
318
+ entityType: EntityType.BreakStatement;
319
+ entityId: string;
320
+ }, {
321
+ id: string;
322
+ type: EntityType.GenericReference;
323
+ entityType: EntityType.BreakStatement;
324
+ entityId: string;
325
+ }>, z.ZodObject<{
326
+ id: z.ZodString;
327
+ type: z.ZodLiteral<EntityType.GenericReference>;
328
+ entityId: z.ZodString;
329
+ entityType: z.ZodLiteral<EntityType.ContinueStatement>;
330
+ }, "strip", z.ZodTypeAny, {
331
+ id: string;
332
+ type: EntityType.GenericReference;
333
+ entityType: EntityType.ContinueStatement;
334
+ entityId: string;
335
+ }, {
336
+ id: string;
337
+ type: EntityType.GenericReference;
338
+ entityType: EntityType.ContinueStatement;
339
+ entityId: string;
340
+ }>]>, "many">;
341
+ errorCalls: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
342
+ id: z.ZodString;
343
+ type: z.ZodLiteral<EntityType.GenericReference>;
344
+ entityId: z.ZodString;
345
+ entityType: z.ZodLiteral<EntityType.Operation>;
346
+ }, "strip", z.ZodTypeAny, {
347
+ id: string;
348
+ type: EntityType.GenericReference;
349
+ entityType: EntityType.Operation;
350
+ entityId: string;
351
+ }, {
352
+ id: string;
353
+ type: EntityType.GenericReference;
354
+ entityType: EntityType.Operation;
355
+ entityId: string;
356
+ }>, z.ZodObject<{
357
+ id: z.ZodString;
358
+ type: z.ZodLiteral<EntityType.GenericReference>;
359
+ entityId: z.ZodString;
360
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
361
+ }, "strip", z.ZodTypeAny, {
362
+ id: string;
363
+ type: EntityType.GenericReference;
364
+ entityType: EntityType.FunctionCall;
365
+ entityId: string;
366
+ }, {
367
+ id: string;
368
+ type: EntityType.GenericReference;
369
+ entityType: EntityType.FunctionCall;
370
+ entityId: string;
371
+ }>, z.ZodObject<{
372
+ id: z.ZodString;
373
+ type: z.ZodLiteral<EntityType.GenericReference>;
374
+ entityId: z.ZodString;
375
+ entityType: z.ZodLiteral<EntityType.Condition>;
376
+ }, "strip", z.ZodTypeAny, {
377
+ id: string;
378
+ type: EntityType.GenericReference;
379
+ entityType: EntityType.Condition;
380
+ entityId: string;
381
+ }, {
382
+ id: string;
383
+ type: EntityType.GenericReference;
384
+ entityType: EntityType.Condition;
385
+ entityId: string;
386
+ }>, z.ZodObject<{
387
+ id: z.ZodString;
388
+ type: z.ZodLiteral<EntityType.GenericReference>;
389
+ entityId: z.ZodString;
390
+ entityType: z.ZodLiteral<EntityType.Search>;
391
+ }, "strip", z.ZodTypeAny, {
392
+ id: string;
393
+ type: EntityType.GenericReference;
394
+ entityType: EntityType.Search;
395
+ entityId: string;
396
+ }, {
397
+ id: string;
398
+ type: EntityType.GenericReference;
399
+ entityType: EntityType.Search;
400
+ entityId: string;
401
+ }>, z.ZodUnion<[z.ZodObject<{
402
+ id: z.ZodString;
403
+ type: z.ZodLiteral<EntityType.GenericReference>;
404
+ entityId: z.ZodString;
405
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
406
+ }, "strip", z.ZodTypeAny, {
407
+ id: string;
408
+ type: EntityType.GenericReference;
409
+ entityType: EntityType.VariableDeclaration;
410
+ entityId: string;
411
+ }, {
412
+ id: string;
413
+ type: EntityType.GenericReference;
414
+ entityType: EntityType.VariableDeclaration;
415
+ entityId: string;
416
+ }>, z.ZodObject<{
417
+ id: z.ZodString;
418
+ type: z.ZodLiteral<EntityType.GenericReference>;
419
+ entityId: z.ZodString;
420
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
421
+ }, "strip", z.ZodTypeAny, {
422
+ id: string;
423
+ type: EntityType.GenericReference;
424
+ entityType: EntityType.VariableInstance;
425
+ entityId: string;
426
+ }, {
427
+ id: string;
428
+ type: EntityType.GenericReference;
429
+ entityType: EntityType.VariableInstance;
430
+ entityId: string;
431
+ }>]>, z.ZodObject<{
432
+ id: z.ZodString;
433
+ type: z.ZodLiteral<EntityType.GenericReference>;
434
+ entityId: z.ZodString;
435
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
436
+ }, "strip", z.ZodTypeAny, {
437
+ id: string;
438
+ type: EntityType.GenericReference;
439
+ entityType: EntityType.InternalCall;
440
+ entityId: string;
441
+ }, {
442
+ id: string;
443
+ type: EntityType.GenericReference;
444
+ entityType: EntityType.InternalCall;
445
+ entityId: string;
446
+ }>, z.ZodObject<{
447
+ id: z.ZodString;
448
+ type: z.ZodLiteral<EntityType.GenericReference>;
449
+ entityId: z.ZodString;
450
+ entityType: z.ZodLiteral<EntityType.Loop>;
451
+ }, "strip", z.ZodTypeAny, {
452
+ id: string;
453
+ type: EntityType.GenericReference;
454
+ entityType: EntityType.Loop;
455
+ entityId: string;
456
+ }, {
457
+ id: string;
458
+ type: EntityType.GenericReference;
459
+ entityType: EntityType.Loop;
460
+ entityId: string;
461
+ }>]>, z.ZodObject<{
462
+ id: z.ZodString;
463
+ type: z.ZodLiteral<EntityType.GenericReference>;
464
+ entityId: z.ZodString;
465
+ entityType: z.ZodLiteral<EntityType.ReturnStatement>;
466
+ }, "strip", z.ZodTypeAny, {
467
+ id: string;
468
+ type: EntityType.GenericReference;
469
+ entityType: EntityType.ReturnStatement;
470
+ entityId: string;
471
+ }, {
472
+ id: string;
473
+ type: EntityType.GenericReference;
474
+ entityType: EntityType.ReturnStatement;
475
+ entityId: string;
476
+ }>, z.ZodObject<{
477
+ id: z.ZodString;
478
+ type: z.ZodLiteral<EntityType.GenericReference>;
479
+ entityId: z.ZodString;
480
+ entityType: z.ZodLiteral<EntityType.BreakStatement>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ id: string;
483
+ type: EntityType.GenericReference;
484
+ entityType: EntityType.BreakStatement;
485
+ entityId: string;
486
+ }, {
487
+ id: string;
488
+ type: EntityType.GenericReference;
489
+ entityType: EntityType.BreakStatement;
490
+ entityId: string;
491
+ }>, z.ZodObject<{
492
+ id: z.ZodString;
493
+ type: z.ZodLiteral<EntityType.GenericReference>;
494
+ entityId: z.ZodString;
495
+ entityType: z.ZodLiteral<EntityType.ContinueStatement>;
496
+ }, "strip", z.ZodTypeAny, {
497
+ id: string;
498
+ type: EntityType.GenericReference;
499
+ entityType: EntityType.ContinueStatement;
500
+ entityId: string;
501
+ }, {
502
+ id: string;
503
+ type: EntityType.GenericReference;
504
+ entityType: EntityType.ContinueStatement;
505
+ entityId: string;
506
+ }>]>, "many">;
507
+ internalCalls: z.ZodArray<z.ZodUnion<[z.ZodObject<{
508
+ type: z.ZodLiteral<EntityType.InternalCall>;
509
+ }, "strip", z.ZodTypeAny, {
510
+ type: EntityType.InternalCall;
511
+ }, {
512
+ type: EntityType.InternalCall;
513
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
514
+ calledBySuccess: z.ZodArray<z.ZodUnion<[z.ZodObject<{
515
+ id: z.ZodString;
516
+ type: z.ZodLiteral<EntityType.GenericReference>;
517
+ entityId: z.ZodString;
518
+ entityType: z.ZodLiteral<EntityType.Operation>;
519
+ }, "strip", z.ZodTypeAny, {
520
+ id: string;
521
+ type: EntityType.GenericReference;
522
+ entityType: EntityType.Operation;
523
+ entityId: string;
524
+ }, {
525
+ id: string;
526
+ type: EntityType.GenericReference;
527
+ entityType: EntityType.Operation;
528
+ entityId: string;
529
+ }>, z.ZodObject<{
530
+ id: z.ZodString;
531
+ type: z.ZodLiteral<EntityType.GenericReference>;
532
+ entityId: z.ZodString;
533
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
534
+ }, "strip", z.ZodTypeAny, {
535
+ id: string;
536
+ type: EntityType.GenericReference;
537
+ entityType: EntityType.FunctionCall;
538
+ entityId: string;
539
+ }, {
540
+ id: string;
541
+ type: EntityType.GenericReference;
542
+ entityType: EntityType.FunctionCall;
543
+ entityId: string;
544
+ }>, z.ZodObject<{
545
+ id: z.ZodString;
546
+ type: z.ZodLiteral<EntityType.GenericReference>;
547
+ entityId: z.ZodString;
548
+ entityType: z.ZodLiteral<EntityType.Condition>;
549
+ }, "strip", z.ZodTypeAny, {
550
+ id: string;
551
+ type: EntityType.GenericReference;
552
+ entityType: EntityType.Condition;
553
+ entityId: string;
554
+ }, {
555
+ id: string;
556
+ type: EntityType.GenericReference;
557
+ entityType: EntityType.Condition;
558
+ entityId: string;
559
+ }>, z.ZodObject<{
560
+ id: z.ZodString;
561
+ type: z.ZodLiteral<EntityType.GenericReference>;
562
+ entityId: z.ZodString;
563
+ entityType: z.ZodLiteral<EntityType.Search>;
564
+ }, "strip", z.ZodTypeAny, {
565
+ id: string;
566
+ type: EntityType.GenericReference;
567
+ entityType: EntityType.Search;
568
+ entityId: string;
569
+ }, {
570
+ id: string;
571
+ type: EntityType.GenericReference;
572
+ entityType: EntityType.Search;
573
+ entityId: string;
574
+ }>, z.ZodUnion<[z.ZodObject<{
575
+ id: z.ZodString;
576
+ type: z.ZodLiteral<EntityType.GenericReference>;
577
+ entityId: z.ZodString;
578
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
579
+ }, "strip", z.ZodTypeAny, {
580
+ id: string;
581
+ type: EntityType.GenericReference;
582
+ entityType: EntityType.VariableDeclaration;
583
+ entityId: string;
584
+ }, {
585
+ id: string;
586
+ type: EntityType.GenericReference;
587
+ entityType: EntityType.VariableDeclaration;
588
+ entityId: string;
589
+ }>, z.ZodObject<{
590
+ id: z.ZodString;
591
+ type: z.ZodLiteral<EntityType.GenericReference>;
592
+ entityId: z.ZodString;
593
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
594
+ }, "strip", z.ZodTypeAny, {
595
+ id: string;
596
+ type: EntityType.GenericReference;
597
+ entityType: EntityType.VariableInstance;
598
+ entityId: string;
599
+ }, {
600
+ id: string;
601
+ type: EntityType.GenericReference;
602
+ entityType: EntityType.VariableInstance;
603
+ entityId: string;
604
+ }>]>, z.ZodObject<{
605
+ id: z.ZodString;
606
+ type: z.ZodLiteral<EntityType.GenericReference>;
607
+ entityId: z.ZodString;
608
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
609
+ }, "strip", z.ZodTypeAny, {
610
+ id: string;
611
+ type: EntityType.GenericReference;
612
+ entityType: EntityType.InternalCall;
613
+ entityId: string;
614
+ }, {
615
+ id: string;
616
+ type: EntityType.GenericReference;
617
+ entityType: EntityType.InternalCall;
618
+ entityId: string;
619
+ }>, z.ZodObject<{
620
+ id: z.ZodString;
621
+ type: z.ZodLiteral<EntityType.GenericReference>;
622
+ entityId: z.ZodString;
623
+ entityType: z.ZodLiteral<EntityType.Loop>;
624
+ }, "strip", z.ZodTypeAny, {
625
+ id: string;
626
+ type: EntityType.GenericReference;
627
+ entityType: EntityType.Loop;
628
+ entityId: string;
629
+ }, {
630
+ id: string;
631
+ type: EntityType.GenericReference;
632
+ entityType: EntityType.Loop;
633
+ entityId: string;
634
+ }>]>, "many">;
635
+ calledByError: z.ZodArray<z.ZodUnion<[z.ZodObject<{
636
+ id: z.ZodString;
637
+ type: z.ZodLiteral<EntityType.GenericReference>;
638
+ entityId: z.ZodString;
639
+ entityType: z.ZodLiteral<EntityType.Operation>;
640
+ }, "strip", z.ZodTypeAny, {
641
+ id: string;
642
+ type: EntityType.GenericReference;
643
+ entityType: EntityType.Operation;
644
+ entityId: string;
645
+ }, {
646
+ id: string;
647
+ type: EntityType.GenericReference;
648
+ entityType: EntityType.Operation;
649
+ entityId: string;
650
+ }>, z.ZodObject<{
651
+ id: z.ZodString;
652
+ type: z.ZodLiteral<EntityType.GenericReference>;
653
+ entityId: z.ZodString;
654
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
655
+ }, "strip", z.ZodTypeAny, {
656
+ id: string;
657
+ type: EntityType.GenericReference;
658
+ entityType: EntityType.FunctionCall;
659
+ entityId: string;
660
+ }, {
661
+ id: string;
662
+ type: EntityType.GenericReference;
663
+ entityType: EntityType.FunctionCall;
664
+ entityId: string;
665
+ }>, z.ZodObject<{
666
+ id: z.ZodString;
667
+ type: z.ZodLiteral<EntityType.GenericReference>;
668
+ entityId: z.ZodString;
669
+ entityType: z.ZodLiteral<EntityType.Condition>;
670
+ }, "strip", z.ZodTypeAny, {
671
+ id: string;
672
+ type: EntityType.GenericReference;
673
+ entityType: EntityType.Condition;
674
+ entityId: string;
675
+ }, {
676
+ id: string;
677
+ type: EntityType.GenericReference;
678
+ entityType: EntityType.Condition;
679
+ entityId: string;
680
+ }>, z.ZodObject<{
681
+ id: z.ZodString;
682
+ type: z.ZodLiteral<EntityType.GenericReference>;
683
+ entityId: z.ZodString;
684
+ entityType: z.ZodLiteral<EntityType.Search>;
685
+ }, "strip", z.ZodTypeAny, {
686
+ id: string;
687
+ type: EntityType.GenericReference;
688
+ entityType: EntityType.Search;
689
+ entityId: string;
690
+ }, {
691
+ id: string;
692
+ type: EntityType.GenericReference;
693
+ entityType: EntityType.Search;
694
+ entityId: string;
695
+ }>, z.ZodUnion<[z.ZodObject<{
696
+ id: z.ZodString;
697
+ type: z.ZodLiteral<EntityType.GenericReference>;
698
+ entityId: z.ZodString;
699
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ id: string;
702
+ type: EntityType.GenericReference;
703
+ entityType: EntityType.VariableDeclaration;
704
+ entityId: string;
705
+ }, {
706
+ id: string;
707
+ type: EntityType.GenericReference;
708
+ entityType: EntityType.VariableDeclaration;
709
+ entityId: string;
710
+ }>, z.ZodObject<{
711
+ id: z.ZodString;
712
+ type: z.ZodLiteral<EntityType.GenericReference>;
713
+ entityId: z.ZodString;
714
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
715
+ }, "strip", z.ZodTypeAny, {
716
+ id: string;
717
+ type: EntityType.GenericReference;
718
+ entityType: EntityType.VariableInstance;
719
+ entityId: string;
720
+ }, {
721
+ id: string;
722
+ type: EntityType.GenericReference;
723
+ entityType: EntityType.VariableInstance;
724
+ entityId: string;
725
+ }>]>, z.ZodObject<{
726
+ id: z.ZodString;
727
+ type: z.ZodLiteral<EntityType.GenericReference>;
728
+ entityId: z.ZodString;
729
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
730
+ }, "strip", z.ZodTypeAny, {
731
+ id: string;
732
+ type: EntityType.GenericReference;
733
+ entityType: EntityType.InternalCall;
734
+ entityId: string;
735
+ }, {
736
+ id: string;
737
+ type: EntityType.GenericReference;
738
+ entityType: EntityType.InternalCall;
739
+ entityId: string;
740
+ }>, z.ZodObject<{
741
+ id: z.ZodString;
742
+ type: z.ZodLiteral<EntityType.GenericReference>;
743
+ entityId: z.ZodString;
744
+ entityType: z.ZodLiteral<EntityType.Loop>;
745
+ }, "strip", z.ZodTypeAny, {
746
+ id: string;
747
+ type: EntityType.GenericReference;
748
+ entityType: EntityType.Loop;
749
+ entityId: string;
750
+ }, {
751
+ id: string;
752
+ type: EntityType.GenericReference;
753
+ entityType: EntityType.Loop;
754
+ entityId: string;
755
+ }>]>, "many">;
756
+ calledByEntry: z.ZodArray<z.ZodUnion<[z.ZodObject<{
757
+ id: z.ZodString;
758
+ type: z.ZodLiteral<EntityType.GenericReference>;
759
+ entityId: z.ZodString;
760
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
761
+ }, "strip", z.ZodTypeAny, {
762
+ id: string;
763
+ type: EntityType.GenericReference;
764
+ entityType: EntityType.FunctionDeclaration;
765
+ entityId: string;
766
+ }, {
767
+ id: string;
768
+ type: EntityType.GenericReference;
769
+ entityType: EntityType.FunctionDeclaration;
770
+ entityId: string;
771
+ }>, z.ZodObject<{
772
+ id: z.ZodString;
773
+ type: z.ZodLiteral<EntityType.GenericReference>;
774
+ entityId: z.ZodString;
775
+ entityType: z.ZodLiteral<EntityType.GlobalEvent>;
776
+ }, "strip", z.ZodTypeAny, {
777
+ id: string;
778
+ type: EntityType.GenericReference;
779
+ entityType: EntityType.GlobalEvent;
780
+ entityId: string;
781
+ }, {
782
+ id: string;
783
+ type: EntityType.GenericReference;
784
+ entityType: EntityType.GlobalEvent;
785
+ entityId: string;
786
+ }>]>, "many">;
787
+ parent: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
788
+ id: z.ZodString;
789
+ type: z.ZodLiteral<EntityType.GenericReference>;
790
+ entityId: z.ZodString;
791
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
792
+ }, "strip", z.ZodTypeAny, {
793
+ id: string;
794
+ type: EntityType.GenericReference;
795
+ entityType: EntityType.FunctionDeclaration;
796
+ entityId: string;
797
+ }, {
798
+ id: string;
799
+ type: EntityType.GenericReference;
800
+ entityType: EntityType.FunctionDeclaration;
801
+ entityId: string;
802
+ }>, z.ZodObject<{
803
+ id: z.ZodString;
804
+ type: z.ZodLiteral<EntityType.GenericReference>;
805
+ entityId: z.ZodString;
806
+ entityType: z.ZodLiteral<EntityType.GlobalEvent>;
807
+ }, "strip", z.ZodTypeAny, {
808
+ id: string;
809
+ type: EntityType.GenericReference;
810
+ entityType: EntityType.GlobalEvent;
811
+ entityId: string;
812
+ }, {
813
+ id: string;
814
+ type: EntityType.GenericReference;
815
+ entityType: EntityType.GlobalEvent;
816
+ entityId: string;
817
+ }>]>, z.ZodObject<{
818
+ id: z.ZodString;
819
+ type: z.ZodLiteral<EntityType.GenericReference>;
820
+ entityId: z.ZodString;
821
+ entityType: z.ZodLiteral<EntityType.Loop>;
822
+ }, "strip", z.ZodTypeAny, {
823
+ id: string;
824
+ type: EntityType.GenericReference;
825
+ entityType: EntityType.Loop;
826
+ entityId: string;
827
+ }, {
828
+ id: string;
829
+ type: EntityType.GenericReference;
830
+ entityType: EntityType.Loop;
831
+ entityId: string;
832
+ }>]>, z.ZodObject<{
833
+ entityType: z.ZodLiteral<EntityType.Project>;
834
+ entityId: z.ZodString;
835
+ id: z.ZodString;
836
+ type: z.ZodLiteral<EntityType.GenericReference>;
837
+ }, "strip", z.ZodTypeAny, {
838
+ id: string;
839
+ type: EntityType.GenericReference;
840
+ entityType: EntityType.Project;
841
+ entityId: string;
842
+ }, {
843
+ id: string;
844
+ type: EntityType.GenericReference;
845
+ entityType: EntityType.Project;
846
+ entityId: string;
847
+ }>]>;
848
+ }, "strip", z.ZodTypeAny, {
849
+ calledBySuccess: ({
850
+ id: string;
851
+ type: EntityType.GenericReference;
852
+ entityType: EntityType.Loop;
853
+ entityId: string;
854
+ } | {
855
+ id: string;
856
+ type: EntityType.GenericReference;
857
+ entityType: EntityType.Operation;
858
+ entityId: string;
859
+ } | {
860
+ id: string;
861
+ type: EntityType.GenericReference;
862
+ entityType: EntityType.FunctionCall;
863
+ entityId: string;
864
+ } | {
865
+ id: string;
866
+ type: EntityType.GenericReference;
867
+ entityType: EntityType.Condition;
868
+ entityId: string;
869
+ } | {
870
+ id: string;
871
+ type: EntityType.GenericReference;
872
+ entityType: EntityType.Search;
873
+ entityId: string;
874
+ } | {
875
+ id: string;
876
+ type: EntityType.GenericReference;
877
+ entityType: EntityType.VariableDeclaration;
878
+ entityId: string;
879
+ } | {
880
+ id: string;
881
+ type: EntityType.GenericReference;
882
+ entityType: EntityType.VariableInstance;
883
+ entityId: string;
884
+ } | {
885
+ id: string;
886
+ type: EntityType.GenericReference;
887
+ entityType: EntityType.InternalCall;
888
+ entityId: string;
889
+ })[];
890
+ calledByError: ({
891
+ id: string;
892
+ type: EntityType.GenericReference;
893
+ entityType: EntityType.Loop;
894
+ entityId: string;
895
+ } | {
896
+ id: string;
897
+ type: EntityType.GenericReference;
898
+ entityType: EntityType.Operation;
899
+ entityId: string;
900
+ } | {
901
+ id: string;
902
+ type: EntityType.GenericReference;
903
+ entityType: EntityType.FunctionCall;
904
+ entityId: string;
905
+ } | {
906
+ id: string;
907
+ type: EntityType.GenericReference;
908
+ entityType: EntityType.Condition;
909
+ entityId: string;
910
+ } | {
911
+ id: string;
912
+ type: EntityType.GenericReference;
913
+ entityType: EntityType.Search;
914
+ entityId: string;
915
+ } | {
916
+ id: string;
917
+ type: EntityType.GenericReference;
918
+ entityType: EntityType.VariableDeclaration;
919
+ entityId: string;
920
+ } | {
921
+ id: string;
922
+ type: EntityType.GenericReference;
923
+ entityType: EntityType.VariableInstance;
924
+ entityId: string;
925
+ } | {
926
+ id: string;
927
+ type: EntityType.GenericReference;
928
+ entityType: EntityType.InternalCall;
929
+ entityId: string;
930
+ })[];
931
+ calledByEntry: ({
932
+ id: string;
933
+ type: EntityType.GenericReference;
934
+ entityType: EntityType.FunctionDeclaration;
935
+ entityId: string;
936
+ } | {
937
+ id: string;
938
+ type: EntityType.GenericReference;
939
+ entityType: EntityType.GlobalEvent;
940
+ entityId: string;
941
+ })[];
942
+ parent: {
943
+ id: string;
944
+ type: EntityType.GenericReference;
945
+ entityType: EntityType.Project;
946
+ entityId: string;
947
+ } | {
948
+ id: string;
949
+ type: EntityType.GenericReference;
950
+ entityType: EntityType.Loop;
951
+ entityId: string;
952
+ } | {
953
+ id: string;
954
+ type: EntityType.GenericReference;
955
+ entityType: EntityType.FunctionDeclaration;
956
+ entityId: string;
957
+ } | {
958
+ id: string;
959
+ type: EntityType.GenericReference;
960
+ entityType: EntityType.GlobalEvent;
961
+ entityId: string;
962
+ };
963
+ readsValue: Record<string, any> | {
964
+ type: EntityType.OutputMap;
965
+ } | {
966
+ type: EntityType.VariableDeclaration;
967
+ } | {
968
+ type: EntityType.VariableInstance;
969
+ } | {
970
+ type: EntityType.ArgumentDeclaration;
971
+ } | {
972
+ type: EntityType.Operation;
973
+ } | {
974
+ type: EntityType.InternalCall;
975
+ } | {
976
+ type: EntityType.FunctionCall;
977
+ } | null;
978
+ inputs: (Record<string, any> | {
979
+ type: EntityType.InputMap;
980
+ })[];
981
+ outputs: (Record<string, any> | {
982
+ type: EntityType.OutputMap;
983
+ })[];
984
+ successCalls: ({
985
+ id: string;
986
+ type: EntityType.GenericReference;
987
+ entityType: EntityType.Loop;
988
+ entityId: string;
989
+ } | {
990
+ id: string;
991
+ type: EntityType.GenericReference;
992
+ entityType: EntityType.Operation;
993
+ entityId: string;
994
+ } | {
995
+ id: string;
996
+ type: EntityType.GenericReference;
997
+ entityType: EntityType.FunctionCall;
998
+ entityId: string;
999
+ } | {
1000
+ id: string;
1001
+ type: EntityType.GenericReference;
1002
+ entityType: EntityType.Condition;
1003
+ entityId: string;
1004
+ } | {
1005
+ id: string;
1006
+ type: EntityType.GenericReference;
1007
+ entityType: EntityType.Search;
1008
+ entityId: string;
1009
+ } | {
1010
+ id: string;
1011
+ type: EntityType.GenericReference;
1012
+ entityType: EntityType.VariableDeclaration;
1013
+ entityId: string;
1014
+ } | {
1015
+ id: string;
1016
+ type: EntityType.GenericReference;
1017
+ entityType: EntityType.VariableInstance;
1018
+ entityId: string;
1019
+ } | {
1020
+ id: string;
1021
+ type: EntityType.GenericReference;
1022
+ entityType: EntityType.InternalCall;
1023
+ entityId: string;
1024
+ } | {
1025
+ id: string;
1026
+ type: EntityType.GenericReference;
1027
+ entityType: EntityType.ReturnStatement;
1028
+ entityId: string;
1029
+ } | {
1030
+ id: string;
1031
+ type: EntityType.GenericReference;
1032
+ entityType: EntityType.BreakStatement;
1033
+ entityId: string;
1034
+ } | {
1035
+ id: string;
1036
+ type: EntityType.GenericReference;
1037
+ entityType: EntityType.ContinueStatement;
1038
+ entityId: string;
1039
+ })[];
1040
+ errorCalls: ({
1041
+ id: string;
1042
+ type: EntityType.GenericReference;
1043
+ entityType: EntityType.Loop;
1044
+ entityId: string;
1045
+ } | {
1046
+ id: string;
1047
+ type: EntityType.GenericReference;
1048
+ entityType: EntityType.Operation;
1049
+ entityId: string;
1050
+ } | {
1051
+ id: string;
1052
+ type: EntityType.GenericReference;
1053
+ entityType: EntityType.FunctionCall;
1054
+ entityId: string;
1055
+ } | {
1056
+ id: string;
1057
+ type: EntityType.GenericReference;
1058
+ entityType: EntityType.Condition;
1059
+ entityId: string;
1060
+ } | {
1061
+ id: string;
1062
+ type: EntityType.GenericReference;
1063
+ entityType: EntityType.Search;
1064
+ entityId: string;
1065
+ } | {
1066
+ id: string;
1067
+ type: EntityType.GenericReference;
1068
+ entityType: EntityType.VariableDeclaration;
1069
+ entityId: string;
1070
+ } | {
1071
+ id: string;
1072
+ type: EntityType.GenericReference;
1073
+ entityType: EntityType.VariableInstance;
1074
+ entityId: string;
1075
+ } | {
1076
+ id: string;
1077
+ type: EntityType.GenericReference;
1078
+ entityType: EntityType.InternalCall;
1079
+ entityId: string;
1080
+ } | {
1081
+ id: string;
1082
+ type: EntityType.GenericReference;
1083
+ entityType: EntityType.ReturnStatement;
1084
+ entityId: string;
1085
+ } | {
1086
+ id: string;
1087
+ type: EntityType.GenericReference;
1088
+ entityType: EntityType.BreakStatement;
1089
+ entityId: string;
1090
+ } | {
1091
+ id: string;
1092
+ type: EntityType.GenericReference;
1093
+ entityType: EntityType.ContinueStatement;
1094
+ entityId: string;
1095
+ })[];
1096
+ dataType: Record<string, any> | {
1097
+ type: EntityType.DataType;
1098
+ } | null;
1099
+ writesValues: (Record<string, any> | {
1100
+ type: EntityType.InputMap;
1101
+ } | {
1102
+ type: EntityType.ReturnDeclaration;
1103
+ } | {
1104
+ type: EntityType.VariableDeclaration;
1105
+ } | {
1106
+ type: EntityType.VariableInstance;
1107
+ })[];
1108
+ internalCalls: (Record<string, any> | {
1109
+ type: EntityType.InternalCall;
1110
+ })[];
1111
+ }, {
1112
+ calledBySuccess: ({
1113
+ id: string;
1114
+ type: EntityType.GenericReference;
1115
+ entityType: EntityType.Loop;
1116
+ entityId: string;
1117
+ } | {
1118
+ id: string;
1119
+ type: EntityType.GenericReference;
1120
+ entityType: EntityType.Operation;
1121
+ entityId: string;
1122
+ } | {
1123
+ id: string;
1124
+ type: EntityType.GenericReference;
1125
+ entityType: EntityType.FunctionCall;
1126
+ entityId: string;
1127
+ } | {
1128
+ id: string;
1129
+ type: EntityType.GenericReference;
1130
+ entityType: EntityType.Condition;
1131
+ entityId: string;
1132
+ } | {
1133
+ id: string;
1134
+ type: EntityType.GenericReference;
1135
+ entityType: EntityType.Search;
1136
+ entityId: string;
1137
+ } | {
1138
+ id: string;
1139
+ type: EntityType.GenericReference;
1140
+ entityType: EntityType.VariableDeclaration;
1141
+ entityId: string;
1142
+ } | {
1143
+ id: string;
1144
+ type: EntityType.GenericReference;
1145
+ entityType: EntityType.VariableInstance;
1146
+ entityId: string;
1147
+ } | {
1148
+ id: string;
1149
+ type: EntityType.GenericReference;
1150
+ entityType: EntityType.InternalCall;
1151
+ entityId: string;
1152
+ })[];
1153
+ calledByError: ({
1154
+ id: string;
1155
+ type: EntityType.GenericReference;
1156
+ entityType: EntityType.Loop;
1157
+ entityId: string;
1158
+ } | {
1159
+ id: string;
1160
+ type: EntityType.GenericReference;
1161
+ entityType: EntityType.Operation;
1162
+ entityId: string;
1163
+ } | {
1164
+ id: string;
1165
+ type: EntityType.GenericReference;
1166
+ entityType: EntityType.FunctionCall;
1167
+ entityId: string;
1168
+ } | {
1169
+ id: string;
1170
+ type: EntityType.GenericReference;
1171
+ entityType: EntityType.Condition;
1172
+ entityId: string;
1173
+ } | {
1174
+ id: string;
1175
+ type: EntityType.GenericReference;
1176
+ entityType: EntityType.Search;
1177
+ entityId: string;
1178
+ } | {
1179
+ id: string;
1180
+ type: EntityType.GenericReference;
1181
+ entityType: EntityType.VariableDeclaration;
1182
+ entityId: string;
1183
+ } | {
1184
+ id: string;
1185
+ type: EntityType.GenericReference;
1186
+ entityType: EntityType.VariableInstance;
1187
+ entityId: string;
1188
+ } | {
1189
+ id: string;
1190
+ type: EntityType.GenericReference;
1191
+ entityType: EntityType.InternalCall;
1192
+ entityId: string;
1193
+ })[];
1194
+ calledByEntry: ({
1195
+ id: string;
1196
+ type: EntityType.GenericReference;
1197
+ entityType: EntityType.FunctionDeclaration;
1198
+ entityId: string;
1199
+ } | {
1200
+ id: string;
1201
+ type: EntityType.GenericReference;
1202
+ entityType: EntityType.GlobalEvent;
1203
+ entityId: string;
1204
+ })[];
1205
+ parent: {
1206
+ id: string;
1207
+ type: EntityType.GenericReference;
1208
+ entityType: EntityType.Project;
1209
+ entityId: string;
1210
+ } | {
1211
+ id: string;
1212
+ type: EntityType.GenericReference;
1213
+ entityType: EntityType.Loop;
1214
+ entityId: string;
1215
+ } | {
1216
+ id: string;
1217
+ type: EntityType.GenericReference;
1218
+ entityType: EntityType.FunctionDeclaration;
1219
+ entityId: string;
1220
+ } | {
1221
+ id: string;
1222
+ type: EntityType.GenericReference;
1223
+ entityType: EntityType.GlobalEvent;
1224
+ entityId: string;
1225
+ };
1226
+ readsValue: Record<string, any> | {
1227
+ type: EntityType.OutputMap;
1228
+ } | {
1229
+ type: EntityType.VariableDeclaration;
1230
+ } | {
1231
+ type: EntityType.VariableInstance;
1232
+ } | {
1233
+ type: EntityType.ArgumentDeclaration;
1234
+ } | {
1235
+ type: EntityType.Operation;
1236
+ } | {
1237
+ type: EntityType.InternalCall;
1238
+ } | {
1239
+ type: EntityType.FunctionCall;
1240
+ } | null;
1241
+ inputs: (Record<string, any> | {
1242
+ type: EntityType.InputMap;
1243
+ })[];
1244
+ outputs: (Record<string, any> | {
1245
+ type: EntityType.OutputMap;
1246
+ })[];
1247
+ successCalls: ({
1248
+ id: string;
1249
+ type: EntityType.GenericReference;
1250
+ entityType: EntityType.Loop;
1251
+ entityId: string;
1252
+ } | {
1253
+ id: string;
1254
+ type: EntityType.GenericReference;
1255
+ entityType: EntityType.Operation;
1256
+ entityId: string;
1257
+ } | {
1258
+ id: string;
1259
+ type: EntityType.GenericReference;
1260
+ entityType: EntityType.FunctionCall;
1261
+ entityId: string;
1262
+ } | {
1263
+ id: string;
1264
+ type: EntityType.GenericReference;
1265
+ entityType: EntityType.Condition;
1266
+ entityId: string;
1267
+ } | {
1268
+ id: string;
1269
+ type: EntityType.GenericReference;
1270
+ entityType: EntityType.Search;
1271
+ entityId: string;
1272
+ } | {
1273
+ id: string;
1274
+ type: EntityType.GenericReference;
1275
+ entityType: EntityType.VariableDeclaration;
1276
+ entityId: string;
1277
+ } | {
1278
+ id: string;
1279
+ type: EntityType.GenericReference;
1280
+ entityType: EntityType.VariableInstance;
1281
+ entityId: string;
1282
+ } | {
1283
+ id: string;
1284
+ type: EntityType.GenericReference;
1285
+ entityType: EntityType.InternalCall;
1286
+ entityId: string;
1287
+ } | {
1288
+ id: string;
1289
+ type: EntityType.GenericReference;
1290
+ entityType: EntityType.ReturnStatement;
1291
+ entityId: string;
1292
+ } | {
1293
+ id: string;
1294
+ type: EntityType.GenericReference;
1295
+ entityType: EntityType.BreakStatement;
1296
+ entityId: string;
1297
+ } | {
1298
+ id: string;
1299
+ type: EntityType.GenericReference;
1300
+ entityType: EntityType.ContinueStatement;
1301
+ entityId: string;
1302
+ })[];
1303
+ errorCalls: ({
1304
+ id: string;
1305
+ type: EntityType.GenericReference;
1306
+ entityType: EntityType.Loop;
1307
+ entityId: string;
1308
+ } | {
1309
+ id: string;
1310
+ type: EntityType.GenericReference;
1311
+ entityType: EntityType.Operation;
1312
+ entityId: string;
1313
+ } | {
1314
+ id: string;
1315
+ type: EntityType.GenericReference;
1316
+ entityType: EntityType.FunctionCall;
1317
+ entityId: string;
1318
+ } | {
1319
+ id: string;
1320
+ type: EntityType.GenericReference;
1321
+ entityType: EntityType.Condition;
1322
+ entityId: string;
1323
+ } | {
1324
+ id: string;
1325
+ type: EntityType.GenericReference;
1326
+ entityType: EntityType.Search;
1327
+ entityId: string;
1328
+ } | {
1329
+ id: string;
1330
+ type: EntityType.GenericReference;
1331
+ entityType: EntityType.VariableDeclaration;
1332
+ entityId: string;
1333
+ } | {
1334
+ id: string;
1335
+ type: EntityType.GenericReference;
1336
+ entityType: EntityType.VariableInstance;
1337
+ entityId: string;
1338
+ } | {
1339
+ id: string;
1340
+ type: EntityType.GenericReference;
1341
+ entityType: EntityType.InternalCall;
1342
+ entityId: string;
1343
+ } | {
1344
+ id: string;
1345
+ type: EntityType.GenericReference;
1346
+ entityType: EntityType.ReturnStatement;
1347
+ entityId: string;
1348
+ } | {
1349
+ id: string;
1350
+ type: EntityType.GenericReference;
1351
+ entityType: EntityType.BreakStatement;
1352
+ entityId: string;
1353
+ } | {
1354
+ id: string;
1355
+ type: EntityType.GenericReference;
1356
+ entityType: EntityType.ContinueStatement;
1357
+ entityId: string;
1358
+ })[];
1359
+ dataType: Record<string, any> | {
1360
+ type: EntityType.DataType;
1361
+ } | null;
1362
+ writesValues: (Record<string, any> | {
1363
+ type: EntityType.InputMap;
1364
+ } | {
1365
+ type: EntityType.ReturnDeclaration;
1366
+ } | {
1367
+ type: EntityType.VariableDeclaration;
1368
+ } | {
1369
+ type: EntityType.VariableInstance;
1370
+ })[];
1371
+ internalCalls: (Record<string, any> | {
1372
+ type: EntityType.InternalCall;
1373
+ })[];
1374
+ }>;
1375
+ export declare function getVariableDeclarationSchema(): z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1376
+ id: z.ZodString;
1377
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
1378
+ name: z.ZodString;
1379
+ description: z.ZodNullable<z.ZodString>;
1380
+ }, {
1381
+ version: z.ZodNumber;
1382
+ x: z.ZodNumber;
1383
+ y: z.ZodNumber;
1384
+ }>, {
1385
+ dataType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
1386
+ type: z.ZodLiteral<EntityType.DataType>;
1387
+ }, "strip", z.ZodTypeAny, {
1388
+ type: EntityType.DataType;
1389
+ }, {
1390
+ type: EntityType.DataType;
1391
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
1392
+ readsValue: z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1393
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
1394
+ }, "strip", z.ZodTypeAny, {
1395
+ type: EntityType.VariableDeclaration;
1396
+ }, {
1397
+ type: EntityType.VariableDeclaration;
1398
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
1399
+ type: z.ZodLiteral<EntityType.VariableInstance>;
1400
+ }, "strip", z.ZodTypeAny, {
1401
+ type: EntityType.VariableInstance;
1402
+ }, {
1403
+ type: EntityType.VariableInstance;
1404
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, z.ZodUnion<[z.ZodObject<{
1405
+ type: z.ZodLiteral<EntityType.ArgumentDeclaration>;
1406
+ }, "strip", z.ZodTypeAny, {
1407
+ type: EntityType.ArgumentDeclaration;
1408
+ }, {
1409
+ type: EntityType.ArgumentDeclaration;
1410
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
1411
+ type: z.ZodLiteral<EntityType.OutputMap>;
1412
+ }, "strip", z.ZodTypeAny, {
1413
+ type: EntityType.OutputMap;
1414
+ }, {
1415
+ type: EntityType.OutputMap;
1416
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
1417
+ type: z.ZodLiteral<EntityType.Operation>;
1418
+ }, "strip", z.ZodTypeAny, {
1419
+ type: EntityType.Operation;
1420
+ }, {
1421
+ type: EntityType.Operation;
1422
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
1423
+ type: z.ZodLiteral<EntityType.InternalCall>;
1424
+ }, "strip", z.ZodTypeAny, {
1425
+ type: EntityType.InternalCall;
1426
+ }, {
1427
+ type: EntityType.InternalCall;
1428
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
1429
+ type: z.ZodLiteral<EntityType.FunctionCall>;
1430
+ }, "strip", z.ZodTypeAny, {
1431
+ type: EntityType.FunctionCall;
1432
+ }, {
1433
+ type: EntityType.FunctionCall;
1434
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>>;
1435
+ writesValues: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1436
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
1437
+ }, "strip", z.ZodTypeAny, {
1438
+ type: EntityType.VariableDeclaration;
1439
+ }, {
1440
+ type: EntityType.VariableDeclaration;
1441
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
1442
+ type: z.ZodLiteral<EntityType.VariableInstance>;
1443
+ }, "strip", z.ZodTypeAny, {
1444
+ type: EntityType.VariableInstance;
1445
+ }, {
1446
+ type: EntityType.VariableInstance;
1447
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, z.ZodUnion<[z.ZodObject<{
1448
+ type: z.ZodLiteral<EntityType.InputMap>;
1449
+ }, "strip", z.ZodTypeAny, {
1450
+ type: EntityType.InputMap;
1451
+ }, {
1452
+ type: EntityType.InputMap;
1453
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
1454
+ type: z.ZodLiteral<EntityType.ReturnDeclaration>;
1455
+ }, "strip", z.ZodTypeAny, {
1456
+ type: EntityType.ReturnDeclaration;
1457
+ }, {
1458
+ type: EntityType.ReturnDeclaration;
1459
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, "many">;
1460
+ inputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1461
+ type: z.ZodLiteral<EntityType.InputMap>;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ type: EntityType.InputMap;
1464
+ }, {
1465
+ type: EntityType.InputMap;
1466
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
1467
+ outputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1468
+ type: z.ZodLiteral<EntityType.OutputMap>;
1469
+ }, "strip", z.ZodTypeAny, {
1470
+ type: EntityType.OutputMap;
1471
+ }, {
1472
+ type: EntityType.OutputMap;
1473
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
1474
+ successCalls: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1475
+ id: z.ZodString;
1476
+ type: z.ZodLiteral<EntityType.GenericReference>;
1477
+ entityId: z.ZodString;
1478
+ entityType: z.ZodLiteral<EntityType.Operation>;
1479
+ }, "strip", z.ZodTypeAny, {
1480
+ id: string;
1481
+ type: EntityType.GenericReference;
1482
+ entityType: EntityType.Operation;
1483
+ entityId: string;
1484
+ }, {
1485
+ id: string;
1486
+ type: EntityType.GenericReference;
1487
+ entityType: EntityType.Operation;
1488
+ entityId: string;
1489
+ }>, z.ZodObject<{
1490
+ id: z.ZodString;
1491
+ type: z.ZodLiteral<EntityType.GenericReference>;
1492
+ entityId: z.ZodString;
1493
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
1494
+ }, "strip", z.ZodTypeAny, {
1495
+ id: string;
1496
+ type: EntityType.GenericReference;
1497
+ entityType: EntityType.FunctionCall;
1498
+ entityId: string;
1499
+ }, {
1500
+ id: string;
1501
+ type: EntityType.GenericReference;
1502
+ entityType: EntityType.FunctionCall;
1503
+ entityId: string;
1504
+ }>, z.ZodObject<{
1505
+ id: z.ZodString;
1506
+ type: z.ZodLiteral<EntityType.GenericReference>;
1507
+ entityId: z.ZodString;
1508
+ entityType: z.ZodLiteral<EntityType.Condition>;
1509
+ }, "strip", z.ZodTypeAny, {
1510
+ id: string;
1511
+ type: EntityType.GenericReference;
1512
+ entityType: EntityType.Condition;
1513
+ entityId: string;
1514
+ }, {
1515
+ id: string;
1516
+ type: EntityType.GenericReference;
1517
+ entityType: EntityType.Condition;
1518
+ entityId: string;
1519
+ }>, z.ZodObject<{
1520
+ id: z.ZodString;
1521
+ type: z.ZodLiteral<EntityType.GenericReference>;
1522
+ entityId: z.ZodString;
1523
+ entityType: z.ZodLiteral<EntityType.Search>;
1524
+ }, "strip", z.ZodTypeAny, {
1525
+ id: string;
1526
+ type: EntityType.GenericReference;
1527
+ entityType: EntityType.Search;
1528
+ entityId: string;
1529
+ }, {
1530
+ id: string;
1531
+ type: EntityType.GenericReference;
1532
+ entityType: EntityType.Search;
1533
+ entityId: string;
1534
+ }>, z.ZodUnion<[z.ZodObject<{
1535
+ id: z.ZodString;
1536
+ type: z.ZodLiteral<EntityType.GenericReference>;
1537
+ entityId: z.ZodString;
1538
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
1539
+ }, "strip", z.ZodTypeAny, {
1540
+ id: string;
1541
+ type: EntityType.GenericReference;
1542
+ entityType: EntityType.VariableDeclaration;
1543
+ entityId: string;
1544
+ }, {
1545
+ id: string;
1546
+ type: EntityType.GenericReference;
1547
+ entityType: EntityType.VariableDeclaration;
1548
+ entityId: string;
1549
+ }>, z.ZodObject<{
1550
+ id: z.ZodString;
1551
+ type: z.ZodLiteral<EntityType.GenericReference>;
1552
+ entityId: z.ZodString;
1553
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
1554
+ }, "strip", z.ZodTypeAny, {
1555
+ id: string;
1556
+ type: EntityType.GenericReference;
1557
+ entityType: EntityType.VariableInstance;
1558
+ entityId: string;
1559
+ }, {
1560
+ id: string;
1561
+ type: EntityType.GenericReference;
1562
+ entityType: EntityType.VariableInstance;
1563
+ entityId: string;
1564
+ }>]>, z.ZodObject<{
1565
+ id: z.ZodString;
1566
+ type: z.ZodLiteral<EntityType.GenericReference>;
1567
+ entityId: z.ZodString;
1568
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
1569
+ }, "strip", z.ZodTypeAny, {
1570
+ id: string;
1571
+ type: EntityType.GenericReference;
1572
+ entityType: EntityType.InternalCall;
1573
+ entityId: string;
1574
+ }, {
1575
+ id: string;
1576
+ type: EntityType.GenericReference;
1577
+ entityType: EntityType.InternalCall;
1578
+ entityId: string;
1579
+ }>, z.ZodObject<{
1580
+ id: z.ZodString;
1581
+ type: z.ZodLiteral<EntityType.GenericReference>;
1582
+ entityId: z.ZodString;
1583
+ entityType: z.ZodLiteral<EntityType.Loop>;
1584
+ }, "strip", z.ZodTypeAny, {
1585
+ id: string;
1586
+ type: EntityType.GenericReference;
1587
+ entityType: EntityType.Loop;
1588
+ entityId: string;
1589
+ }, {
1590
+ id: string;
1591
+ type: EntityType.GenericReference;
1592
+ entityType: EntityType.Loop;
1593
+ entityId: string;
1594
+ }>]>, z.ZodObject<{
1595
+ id: z.ZodString;
1596
+ type: z.ZodLiteral<EntityType.GenericReference>;
1597
+ entityId: z.ZodString;
1598
+ entityType: z.ZodLiteral<EntityType.ReturnStatement>;
1599
+ }, "strip", z.ZodTypeAny, {
1600
+ id: string;
1601
+ type: EntityType.GenericReference;
1602
+ entityType: EntityType.ReturnStatement;
1603
+ entityId: string;
1604
+ }, {
1605
+ id: string;
1606
+ type: EntityType.GenericReference;
1607
+ entityType: EntityType.ReturnStatement;
1608
+ entityId: string;
1609
+ }>, z.ZodObject<{
1610
+ id: z.ZodString;
1611
+ type: z.ZodLiteral<EntityType.GenericReference>;
1612
+ entityId: z.ZodString;
1613
+ entityType: z.ZodLiteral<EntityType.BreakStatement>;
1614
+ }, "strip", z.ZodTypeAny, {
1615
+ id: string;
1616
+ type: EntityType.GenericReference;
1617
+ entityType: EntityType.BreakStatement;
1618
+ entityId: string;
1619
+ }, {
1620
+ id: string;
1621
+ type: EntityType.GenericReference;
1622
+ entityType: EntityType.BreakStatement;
1623
+ entityId: string;
1624
+ }>, z.ZodObject<{
1625
+ id: z.ZodString;
1626
+ type: z.ZodLiteral<EntityType.GenericReference>;
1627
+ entityId: z.ZodString;
1628
+ entityType: z.ZodLiteral<EntityType.ContinueStatement>;
1629
+ }, "strip", z.ZodTypeAny, {
1630
+ id: string;
1631
+ type: EntityType.GenericReference;
1632
+ entityType: EntityType.ContinueStatement;
1633
+ entityId: string;
1634
+ }, {
1635
+ id: string;
1636
+ type: EntityType.GenericReference;
1637
+ entityType: EntityType.ContinueStatement;
1638
+ entityId: string;
1639
+ }>]>, "many">;
1640
+ errorCalls: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1641
+ id: z.ZodString;
1642
+ type: z.ZodLiteral<EntityType.GenericReference>;
1643
+ entityId: z.ZodString;
1644
+ entityType: z.ZodLiteral<EntityType.Operation>;
1645
+ }, "strip", z.ZodTypeAny, {
1646
+ id: string;
1647
+ type: EntityType.GenericReference;
1648
+ entityType: EntityType.Operation;
1649
+ entityId: string;
1650
+ }, {
1651
+ id: string;
1652
+ type: EntityType.GenericReference;
1653
+ entityType: EntityType.Operation;
1654
+ entityId: string;
1655
+ }>, z.ZodObject<{
1656
+ id: z.ZodString;
1657
+ type: z.ZodLiteral<EntityType.GenericReference>;
1658
+ entityId: z.ZodString;
1659
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
1660
+ }, "strip", z.ZodTypeAny, {
1661
+ id: string;
1662
+ type: EntityType.GenericReference;
1663
+ entityType: EntityType.FunctionCall;
1664
+ entityId: string;
1665
+ }, {
1666
+ id: string;
1667
+ type: EntityType.GenericReference;
1668
+ entityType: EntityType.FunctionCall;
1669
+ entityId: string;
1670
+ }>, z.ZodObject<{
1671
+ id: z.ZodString;
1672
+ type: z.ZodLiteral<EntityType.GenericReference>;
1673
+ entityId: z.ZodString;
1674
+ entityType: z.ZodLiteral<EntityType.Condition>;
1675
+ }, "strip", z.ZodTypeAny, {
1676
+ id: string;
1677
+ type: EntityType.GenericReference;
1678
+ entityType: EntityType.Condition;
1679
+ entityId: string;
1680
+ }, {
1681
+ id: string;
1682
+ type: EntityType.GenericReference;
1683
+ entityType: EntityType.Condition;
1684
+ entityId: string;
1685
+ }>, z.ZodObject<{
1686
+ id: z.ZodString;
1687
+ type: z.ZodLiteral<EntityType.GenericReference>;
1688
+ entityId: z.ZodString;
1689
+ entityType: z.ZodLiteral<EntityType.Search>;
1690
+ }, "strip", z.ZodTypeAny, {
1691
+ id: string;
1692
+ type: EntityType.GenericReference;
1693
+ entityType: EntityType.Search;
1694
+ entityId: string;
1695
+ }, {
1696
+ id: string;
1697
+ type: EntityType.GenericReference;
1698
+ entityType: EntityType.Search;
1699
+ entityId: string;
1700
+ }>, z.ZodUnion<[z.ZodObject<{
1701
+ id: z.ZodString;
1702
+ type: z.ZodLiteral<EntityType.GenericReference>;
1703
+ entityId: z.ZodString;
1704
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
1705
+ }, "strip", z.ZodTypeAny, {
1706
+ id: string;
1707
+ type: EntityType.GenericReference;
1708
+ entityType: EntityType.VariableDeclaration;
1709
+ entityId: string;
1710
+ }, {
1711
+ id: string;
1712
+ type: EntityType.GenericReference;
1713
+ entityType: EntityType.VariableDeclaration;
1714
+ entityId: string;
1715
+ }>, z.ZodObject<{
1716
+ id: z.ZodString;
1717
+ type: z.ZodLiteral<EntityType.GenericReference>;
1718
+ entityId: z.ZodString;
1719
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
1720
+ }, "strip", z.ZodTypeAny, {
1721
+ id: string;
1722
+ type: EntityType.GenericReference;
1723
+ entityType: EntityType.VariableInstance;
1724
+ entityId: string;
1725
+ }, {
1726
+ id: string;
1727
+ type: EntityType.GenericReference;
1728
+ entityType: EntityType.VariableInstance;
1729
+ entityId: string;
1730
+ }>]>, z.ZodObject<{
1731
+ id: z.ZodString;
1732
+ type: z.ZodLiteral<EntityType.GenericReference>;
1733
+ entityId: z.ZodString;
1734
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
1735
+ }, "strip", z.ZodTypeAny, {
1736
+ id: string;
1737
+ type: EntityType.GenericReference;
1738
+ entityType: EntityType.InternalCall;
1739
+ entityId: string;
1740
+ }, {
1741
+ id: string;
1742
+ type: EntityType.GenericReference;
1743
+ entityType: EntityType.InternalCall;
1744
+ entityId: string;
1745
+ }>, z.ZodObject<{
1746
+ id: z.ZodString;
1747
+ type: z.ZodLiteral<EntityType.GenericReference>;
1748
+ entityId: z.ZodString;
1749
+ entityType: z.ZodLiteral<EntityType.Loop>;
1750
+ }, "strip", z.ZodTypeAny, {
1751
+ id: string;
1752
+ type: EntityType.GenericReference;
1753
+ entityType: EntityType.Loop;
1754
+ entityId: string;
1755
+ }, {
1756
+ id: string;
1757
+ type: EntityType.GenericReference;
1758
+ entityType: EntityType.Loop;
1759
+ entityId: string;
1760
+ }>]>, z.ZodObject<{
1761
+ id: z.ZodString;
1762
+ type: z.ZodLiteral<EntityType.GenericReference>;
1763
+ entityId: z.ZodString;
1764
+ entityType: z.ZodLiteral<EntityType.ReturnStatement>;
1765
+ }, "strip", z.ZodTypeAny, {
1766
+ id: string;
1767
+ type: EntityType.GenericReference;
1768
+ entityType: EntityType.ReturnStatement;
1769
+ entityId: string;
1770
+ }, {
1771
+ id: string;
1772
+ type: EntityType.GenericReference;
1773
+ entityType: EntityType.ReturnStatement;
1774
+ entityId: string;
1775
+ }>, z.ZodObject<{
1776
+ id: z.ZodString;
1777
+ type: z.ZodLiteral<EntityType.GenericReference>;
1778
+ entityId: z.ZodString;
1779
+ entityType: z.ZodLiteral<EntityType.BreakStatement>;
1780
+ }, "strip", z.ZodTypeAny, {
1781
+ id: string;
1782
+ type: EntityType.GenericReference;
1783
+ entityType: EntityType.BreakStatement;
1784
+ entityId: string;
1785
+ }, {
1786
+ id: string;
1787
+ type: EntityType.GenericReference;
1788
+ entityType: EntityType.BreakStatement;
1789
+ entityId: string;
1790
+ }>, z.ZodObject<{
1791
+ id: z.ZodString;
1792
+ type: z.ZodLiteral<EntityType.GenericReference>;
1793
+ entityId: z.ZodString;
1794
+ entityType: z.ZodLiteral<EntityType.ContinueStatement>;
1795
+ }, "strip", z.ZodTypeAny, {
1796
+ id: string;
1797
+ type: EntityType.GenericReference;
1798
+ entityType: EntityType.ContinueStatement;
1799
+ entityId: string;
1800
+ }, {
1801
+ id: string;
1802
+ type: EntityType.GenericReference;
1803
+ entityType: EntityType.ContinueStatement;
1804
+ entityId: string;
1805
+ }>]>, "many">;
1806
+ internalCalls: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1807
+ type: z.ZodLiteral<EntityType.InternalCall>;
1808
+ }, "strip", z.ZodTypeAny, {
1809
+ type: EntityType.InternalCall;
1810
+ }, {
1811
+ type: EntityType.InternalCall;
1812
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
1813
+ calledBySuccess: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1814
+ id: z.ZodString;
1815
+ type: z.ZodLiteral<EntityType.GenericReference>;
1816
+ entityId: z.ZodString;
1817
+ entityType: z.ZodLiteral<EntityType.Operation>;
1818
+ }, "strip", z.ZodTypeAny, {
1819
+ id: string;
1820
+ type: EntityType.GenericReference;
1821
+ entityType: EntityType.Operation;
1822
+ entityId: string;
1823
+ }, {
1824
+ id: string;
1825
+ type: EntityType.GenericReference;
1826
+ entityType: EntityType.Operation;
1827
+ entityId: string;
1828
+ }>, z.ZodObject<{
1829
+ id: z.ZodString;
1830
+ type: z.ZodLiteral<EntityType.GenericReference>;
1831
+ entityId: z.ZodString;
1832
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
1833
+ }, "strip", z.ZodTypeAny, {
1834
+ id: string;
1835
+ type: EntityType.GenericReference;
1836
+ entityType: EntityType.FunctionCall;
1837
+ entityId: string;
1838
+ }, {
1839
+ id: string;
1840
+ type: EntityType.GenericReference;
1841
+ entityType: EntityType.FunctionCall;
1842
+ entityId: string;
1843
+ }>, z.ZodObject<{
1844
+ id: z.ZodString;
1845
+ type: z.ZodLiteral<EntityType.GenericReference>;
1846
+ entityId: z.ZodString;
1847
+ entityType: z.ZodLiteral<EntityType.Condition>;
1848
+ }, "strip", z.ZodTypeAny, {
1849
+ id: string;
1850
+ type: EntityType.GenericReference;
1851
+ entityType: EntityType.Condition;
1852
+ entityId: string;
1853
+ }, {
1854
+ id: string;
1855
+ type: EntityType.GenericReference;
1856
+ entityType: EntityType.Condition;
1857
+ entityId: string;
1858
+ }>, z.ZodObject<{
1859
+ id: z.ZodString;
1860
+ type: z.ZodLiteral<EntityType.GenericReference>;
1861
+ entityId: z.ZodString;
1862
+ entityType: z.ZodLiteral<EntityType.Search>;
1863
+ }, "strip", z.ZodTypeAny, {
1864
+ id: string;
1865
+ type: EntityType.GenericReference;
1866
+ entityType: EntityType.Search;
1867
+ entityId: string;
1868
+ }, {
1869
+ id: string;
1870
+ type: EntityType.GenericReference;
1871
+ entityType: EntityType.Search;
1872
+ entityId: string;
1873
+ }>, z.ZodUnion<[z.ZodObject<{
1874
+ id: z.ZodString;
1875
+ type: z.ZodLiteral<EntityType.GenericReference>;
1876
+ entityId: z.ZodString;
1877
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
1878
+ }, "strip", z.ZodTypeAny, {
1879
+ id: string;
1880
+ type: EntityType.GenericReference;
1881
+ entityType: EntityType.VariableDeclaration;
1882
+ entityId: string;
1883
+ }, {
1884
+ id: string;
1885
+ type: EntityType.GenericReference;
1886
+ entityType: EntityType.VariableDeclaration;
1887
+ entityId: string;
1888
+ }>, z.ZodObject<{
1889
+ id: z.ZodString;
1890
+ type: z.ZodLiteral<EntityType.GenericReference>;
1891
+ entityId: z.ZodString;
1892
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
1893
+ }, "strip", z.ZodTypeAny, {
1894
+ id: string;
1895
+ type: EntityType.GenericReference;
1896
+ entityType: EntityType.VariableInstance;
1897
+ entityId: string;
1898
+ }, {
1899
+ id: string;
1900
+ type: EntityType.GenericReference;
1901
+ entityType: EntityType.VariableInstance;
1902
+ entityId: string;
1903
+ }>]>, z.ZodObject<{
1904
+ id: z.ZodString;
1905
+ type: z.ZodLiteral<EntityType.GenericReference>;
1906
+ entityId: z.ZodString;
1907
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
1908
+ }, "strip", z.ZodTypeAny, {
1909
+ id: string;
1910
+ type: EntityType.GenericReference;
1911
+ entityType: EntityType.InternalCall;
1912
+ entityId: string;
1913
+ }, {
1914
+ id: string;
1915
+ type: EntityType.GenericReference;
1916
+ entityType: EntityType.InternalCall;
1917
+ entityId: string;
1918
+ }>, z.ZodObject<{
1919
+ id: z.ZodString;
1920
+ type: z.ZodLiteral<EntityType.GenericReference>;
1921
+ entityId: z.ZodString;
1922
+ entityType: z.ZodLiteral<EntityType.Loop>;
1923
+ }, "strip", z.ZodTypeAny, {
1924
+ id: string;
1925
+ type: EntityType.GenericReference;
1926
+ entityType: EntityType.Loop;
1927
+ entityId: string;
1928
+ }, {
1929
+ id: string;
1930
+ type: EntityType.GenericReference;
1931
+ entityType: EntityType.Loop;
1932
+ entityId: string;
1933
+ }>]>, "many">;
1934
+ calledByError: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1935
+ id: z.ZodString;
1936
+ type: z.ZodLiteral<EntityType.GenericReference>;
1937
+ entityId: z.ZodString;
1938
+ entityType: z.ZodLiteral<EntityType.Operation>;
1939
+ }, "strip", z.ZodTypeAny, {
1940
+ id: string;
1941
+ type: EntityType.GenericReference;
1942
+ entityType: EntityType.Operation;
1943
+ entityId: string;
1944
+ }, {
1945
+ id: string;
1946
+ type: EntityType.GenericReference;
1947
+ entityType: EntityType.Operation;
1948
+ entityId: string;
1949
+ }>, z.ZodObject<{
1950
+ id: z.ZodString;
1951
+ type: z.ZodLiteral<EntityType.GenericReference>;
1952
+ entityId: z.ZodString;
1953
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
1954
+ }, "strip", z.ZodTypeAny, {
1955
+ id: string;
1956
+ type: EntityType.GenericReference;
1957
+ entityType: EntityType.FunctionCall;
1958
+ entityId: string;
1959
+ }, {
1960
+ id: string;
1961
+ type: EntityType.GenericReference;
1962
+ entityType: EntityType.FunctionCall;
1963
+ entityId: string;
1964
+ }>, z.ZodObject<{
1965
+ id: z.ZodString;
1966
+ type: z.ZodLiteral<EntityType.GenericReference>;
1967
+ entityId: z.ZodString;
1968
+ entityType: z.ZodLiteral<EntityType.Condition>;
1969
+ }, "strip", z.ZodTypeAny, {
1970
+ id: string;
1971
+ type: EntityType.GenericReference;
1972
+ entityType: EntityType.Condition;
1973
+ entityId: string;
1974
+ }, {
1975
+ id: string;
1976
+ type: EntityType.GenericReference;
1977
+ entityType: EntityType.Condition;
1978
+ entityId: string;
1979
+ }>, z.ZodObject<{
1980
+ id: z.ZodString;
1981
+ type: z.ZodLiteral<EntityType.GenericReference>;
1982
+ entityId: z.ZodString;
1983
+ entityType: z.ZodLiteral<EntityType.Search>;
1984
+ }, "strip", z.ZodTypeAny, {
1985
+ id: string;
1986
+ type: EntityType.GenericReference;
1987
+ entityType: EntityType.Search;
1988
+ entityId: string;
1989
+ }, {
1990
+ id: string;
1991
+ type: EntityType.GenericReference;
1992
+ entityType: EntityType.Search;
1993
+ entityId: string;
1994
+ }>, z.ZodUnion<[z.ZodObject<{
1995
+ id: z.ZodString;
1996
+ type: z.ZodLiteral<EntityType.GenericReference>;
1997
+ entityId: z.ZodString;
1998
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
1999
+ }, "strip", z.ZodTypeAny, {
2000
+ id: string;
2001
+ type: EntityType.GenericReference;
2002
+ entityType: EntityType.VariableDeclaration;
2003
+ entityId: string;
2004
+ }, {
2005
+ id: string;
2006
+ type: EntityType.GenericReference;
2007
+ entityType: EntityType.VariableDeclaration;
2008
+ entityId: string;
2009
+ }>, z.ZodObject<{
2010
+ id: z.ZodString;
2011
+ type: z.ZodLiteral<EntityType.GenericReference>;
2012
+ entityId: z.ZodString;
2013
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
2014
+ }, "strip", z.ZodTypeAny, {
2015
+ id: string;
2016
+ type: EntityType.GenericReference;
2017
+ entityType: EntityType.VariableInstance;
2018
+ entityId: string;
2019
+ }, {
2020
+ id: string;
2021
+ type: EntityType.GenericReference;
2022
+ entityType: EntityType.VariableInstance;
2023
+ entityId: string;
2024
+ }>]>, z.ZodObject<{
2025
+ id: z.ZodString;
2026
+ type: z.ZodLiteral<EntityType.GenericReference>;
2027
+ entityId: z.ZodString;
2028
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
2029
+ }, "strip", z.ZodTypeAny, {
2030
+ id: string;
2031
+ type: EntityType.GenericReference;
2032
+ entityType: EntityType.InternalCall;
2033
+ entityId: string;
2034
+ }, {
2035
+ id: string;
2036
+ type: EntityType.GenericReference;
2037
+ entityType: EntityType.InternalCall;
2038
+ entityId: string;
2039
+ }>, z.ZodObject<{
2040
+ id: z.ZodString;
2041
+ type: z.ZodLiteral<EntityType.GenericReference>;
2042
+ entityId: z.ZodString;
2043
+ entityType: z.ZodLiteral<EntityType.Loop>;
2044
+ }, "strip", z.ZodTypeAny, {
2045
+ id: string;
2046
+ type: EntityType.GenericReference;
2047
+ entityType: EntityType.Loop;
2048
+ entityId: string;
2049
+ }, {
2050
+ id: string;
2051
+ type: EntityType.GenericReference;
2052
+ entityType: EntityType.Loop;
2053
+ entityId: string;
2054
+ }>]>, "many">;
2055
+ calledByEntry: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2056
+ id: z.ZodString;
2057
+ type: z.ZodLiteral<EntityType.GenericReference>;
2058
+ entityId: z.ZodString;
2059
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
2060
+ }, "strip", z.ZodTypeAny, {
2061
+ id: string;
2062
+ type: EntityType.GenericReference;
2063
+ entityType: EntityType.FunctionDeclaration;
2064
+ entityId: string;
2065
+ }, {
2066
+ id: string;
2067
+ type: EntityType.GenericReference;
2068
+ entityType: EntityType.FunctionDeclaration;
2069
+ entityId: string;
2070
+ }>, z.ZodObject<{
2071
+ id: z.ZodString;
2072
+ type: z.ZodLiteral<EntityType.GenericReference>;
2073
+ entityId: z.ZodString;
2074
+ entityType: z.ZodLiteral<EntityType.GlobalEvent>;
2075
+ }, "strip", z.ZodTypeAny, {
2076
+ id: string;
2077
+ type: EntityType.GenericReference;
2078
+ entityType: EntityType.GlobalEvent;
2079
+ entityId: string;
2080
+ }, {
2081
+ id: string;
2082
+ type: EntityType.GenericReference;
2083
+ entityType: EntityType.GlobalEvent;
2084
+ entityId: string;
2085
+ }>]>, "many">;
2086
+ parent: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2087
+ id: z.ZodString;
2088
+ type: z.ZodLiteral<EntityType.GenericReference>;
2089
+ entityId: z.ZodString;
2090
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
2091
+ }, "strip", z.ZodTypeAny, {
2092
+ id: string;
2093
+ type: EntityType.GenericReference;
2094
+ entityType: EntityType.FunctionDeclaration;
2095
+ entityId: string;
2096
+ }, {
2097
+ id: string;
2098
+ type: EntityType.GenericReference;
2099
+ entityType: EntityType.FunctionDeclaration;
2100
+ entityId: string;
2101
+ }>, z.ZodObject<{
2102
+ id: z.ZodString;
2103
+ type: z.ZodLiteral<EntityType.GenericReference>;
2104
+ entityId: z.ZodString;
2105
+ entityType: z.ZodLiteral<EntityType.GlobalEvent>;
2106
+ }, "strip", z.ZodTypeAny, {
2107
+ id: string;
2108
+ type: EntityType.GenericReference;
2109
+ entityType: EntityType.GlobalEvent;
2110
+ entityId: string;
2111
+ }, {
2112
+ id: string;
2113
+ type: EntityType.GenericReference;
2114
+ entityType: EntityType.GlobalEvent;
2115
+ entityId: string;
2116
+ }>]>, z.ZodObject<{
2117
+ id: z.ZodString;
2118
+ type: z.ZodLiteral<EntityType.GenericReference>;
2119
+ entityId: z.ZodString;
2120
+ entityType: z.ZodLiteral<EntityType.Loop>;
2121
+ }, "strip", z.ZodTypeAny, {
2122
+ id: string;
2123
+ type: EntityType.GenericReference;
2124
+ entityType: EntityType.Loop;
2125
+ entityId: string;
2126
+ }, {
2127
+ id: string;
2128
+ type: EntityType.GenericReference;
2129
+ entityType: EntityType.Loop;
2130
+ entityId: string;
2131
+ }>]>, z.ZodObject<{
2132
+ entityType: z.ZodLiteral<EntityType.Project>;
2133
+ entityId: z.ZodString;
2134
+ id: z.ZodString;
2135
+ type: z.ZodLiteral<EntityType.GenericReference>;
2136
+ }, "strip", z.ZodTypeAny, {
2137
+ id: string;
2138
+ type: EntityType.GenericReference;
2139
+ entityType: EntityType.Project;
2140
+ entityId: string;
2141
+ }, {
2142
+ id: string;
2143
+ type: EntityType.GenericReference;
2144
+ entityType: EntityType.Project;
2145
+ entityId: string;
2146
+ }>]>;
2147
+ }>, "strip", z.ZodTypeAny, {
2148
+ id: string;
2149
+ type: EntityType.VariableDeclaration;
2150
+ calledBySuccess: ({
2151
+ id: string;
2152
+ type: EntityType.GenericReference;
2153
+ entityType: EntityType.Loop;
2154
+ entityId: string;
2155
+ } | {
2156
+ id: string;
2157
+ type: EntityType.GenericReference;
2158
+ entityType: EntityType.Operation;
2159
+ entityId: string;
2160
+ } | {
2161
+ id: string;
2162
+ type: EntityType.GenericReference;
2163
+ entityType: EntityType.FunctionCall;
2164
+ entityId: string;
2165
+ } | {
2166
+ id: string;
2167
+ type: EntityType.GenericReference;
2168
+ entityType: EntityType.Condition;
2169
+ entityId: string;
2170
+ } | {
2171
+ id: string;
2172
+ type: EntityType.GenericReference;
2173
+ entityType: EntityType.Search;
2174
+ entityId: string;
2175
+ } | {
2176
+ id: string;
2177
+ type: EntityType.GenericReference;
2178
+ entityType: EntityType.VariableDeclaration;
2179
+ entityId: string;
2180
+ } | {
2181
+ id: string;
2182
+ type: EntityType.GenericReference;
2183
+ entityType: EntityType.VariableInstance;
2184
+ entityId: string;
2185
+ } | {
2186
+ id: string;
2187
+ type: EntityType.GenericReference;
2188
+ entityType: EntityType.InternalCall;
2189
+ entityId: string;
2190
+ })[];
2191
+ calledByError: ({
2192
+ id: string;
2193
+ type: EntityType.GenericReference;
2194
+ entityType: EntityType.Loop;
2195
+ entityId: string;
2196
+ } | {
2197
+ id: string;
2198
+ type: EntityType.GenericReference;
2199
+ entityType: EntityType.Operation;
2200
+ entityId: string;
2201
+ } | {
2202
+ id: string;
2203
+ type: EntityType.GenericReference;
2204
+ entityType: EntityType.FunctionCall;
2205
+ entityId: string;
2206
+ } | {
2207
+ id: string;
2208
+ type: EntityType.GenericReference;
2209
+ entityType: EntityType.Condition;
2210
+ entityId: string;
2211
+ } | {
2212
+ id: string;
2213
+ type: EntityType.GenericReference;
2214
+ entityType: EntityType.Search;
2215
+ entityId: string;
2216
+ } | {
2217
+ id: string;
2218
+ type: EntityType.GenericReference;
2219
+ entityType: EntityType.VariableDeclaration;
2220
+ entityId: string;
2221
+ } | {
2222
+ id: string;
2223
+ type: EntityType.GenericReference;
2224
+ entityType: EntityType.VariableInstance;
2225
+ entityId: string;
2226
+ } | {
2227
+ id: string;
2228
+ type: EntityType.GenericReference;
2229
+ entityType: EntityType.InternalCall;
2230
+ entityId: string;
2231
+ })[];
2232
+ calledByEntry: ({
2233
+ id: string;
2234
+ type: EntityType.GenericReference;
2235
+ entityType: EntityType.FunctionDeclaration;
2236
+ entityId: string;
2237
+ } | {
2238
+ id: string;
2239
+ type: EntityType.GenericReference;
2240
+ entityType: EntityType.GlobalEvent;
2241
+ entityId: string;
2242
+ })[];
2243
+ name: string;
2244
+ description: string | null;
2245
+ parent: {
2246
+ id: string;
2247
+ type: EntityType.GenericReference;
2248
+ entityType: EntityType.Project;
2249
+ entityId: string;
2250
+ } | {
2251
+ id: string;
2252
+ type: EntityType.GenericReference;
2253
+ entityType: EntityType.Loop;
2254
+ entityId: string;
2255
+ } | {
2256
+ id: string;
2257
+ type: EntityType.GenericReference;
2258
+ entityType: EntityType.FunctionDeclaration;
2259
+ entityId: string;
2260
+ } | {
2261
+ id: string;
2262
+ type: EntityType.GenericReference;
2263
+ entityType: EntityType.GlobalEvent;
2264
+ entityId: string;
2265
+ };
2266
+ version: number;
2267
+ readsValue: Record<string, any> | {
2268
+ type: EntityType.OutputMap;
2269
+ } | {
2270
+ type: EntityType.VariableDeclaration;
2271
+ } | {
2272
+ type: EntityType.VariableInstance;
2273
+ } | {
2274
+ type: EntityType.ArgumentDeclaration;
2275
+ } | {
2276
+ type: EntityType.Operation;
2277
+ } | {
2278
+ type: EntityType.InternalCall;
2279
+ } | {
2280
+ type: EntityType.FunctionCall;
2281
+ } | null;
2282
+ x: number;
2283
+ y: number;
2284
+ inputs: (Record<string, any> | {
2285
+ type: EntityType.InputMap;
2286
+ })[];
2287
+ outputs: (Record<string, any> | {
2288
+ type: EntityType.OutputMap;
2289
+ })[];
2290
+ successCalls: ({
2291
+ id: string;
2292
+ type: EntityType.GenericReference;
2293
+ entityType: EntityType.Loop;
2294
+ entityId: string;
2295
+ } | {
2296
+ id: string;
2297
+ type: EntityType.GenericReference;
2298
+ entityType: EntityType.Operation;
2299
+ entityId: string;
2300
+ } | {
2301
+ id: string;
2302
+ type: EntityType.GenericReference;
2303
+ entityType: EntityType.FunctionCall;
2304
+ entityId: string;
2305
+ } | {
2306
+ id: string;
2307
+ type: EntityType.GenericReference;
2308
+ entityType: EntityType.Condition;
2309
+ entityId: string;
2310
+ } | {
2311
+ id: string;
2312
+ type: EntityType.GenericReference;
2313
+ entityType: EntityType.Search;
2314
+ entityId: string;
2315
+ } | {
2316
+ id: string;
2317
+ type: EntityType.GenericReference;
2318
+ entityType: EntityType.VariableDeclaration;
2319
+ entityId: string;
2320
+ } | {
2321
+ id: string;
2322
+ type: EntityType.GenericReference;
2323
+ entityType: EntityType.VariableInstance;
2324
+ entityId: string;
2325
+ } | {
2326
+ id: string;
2327
+ type: EntityType.GenericReference;
2328
+ entityType: EntityType.InternalCall;
2329
+ entityId: string;
2330
+ } | {
2331
+ id: string;
2332
+ type: EntityType.GenericReference;
2333
+ entityType: EntityType.ReturnStatement;
2334
+ entityId: string;
2335
+ } | {
2336
+ id: string;
2337
+ type: EntityType.GenericReference;
2338
+ entityType: EntityType.BreakStatement;
2339
+ entityId: string;
2340
+ } | {
2341
+ id: string;
2342
+ type: EntityType.GenericReference;
2343
+ entityType: EntityType.ContinueStatement;
2344
+ entityId: string;
2345
+ })[];
2346
+ errorCalls: ({
2347
+ id: string;
2348
+ type: EntityType.GenericReference;
2349
+ entityType: EntityType.Loop;
2350
+ entityId: string;
2351
+ } | {
2352
+ id: string;
2353
+ type: EntityType.GenericReference;
2354
+ entityType: EntityType.Operation;
2355
+ entityId: string;
2356
+ } | {
2357
+ id: string;
2358
+ type: EntityType.GenericReference;
2359
+ entityType: EntityType.FunctionCall;
2360
+ entityId: string;
2361
+ } | {
2362
+ id: string;
2363
+ type: EntityType.GenericReference;
2364
+ entityType: EntityType.Condition;
2365
+ entityId: string;
2366
+ } | {
2367
+ id: string;
2368
+ type: EntityType.GenericReference;
2369
+ entityType: EntityType.Search;
2370
+ entityId: string;
2371
+ } | {
2372
+ id: string;
2373
+ type: EntityType.GenericReference;
2374
+ entityType: EntityType.VariableDeclaration;
2375
+ entityId: string;
2376
+ } | {
2377
+ id: string;
2378
+ type: EntityType.GenericReference;
2379
+ entityType: EntityType.VariableInstance;
2380
+ entityId: string;
2381
+ } | {
2382
+ id: string;
2383
+ type: EntityType.GenericReference;
2384
+ entityType: EntityType.InternalCall;
2385
+ entityId: string;
2386
+ } | {
2387
+ id: string;
2388
+ type: EntityType.GenericReference;
2389
+ entityType: EntityType.ReturnStatement;
2390
+ entityId: string;
2391
+ } | {
2392
+ id: string;
2393
+ type: EntityType.GenericReference;
2394
+ entityType: EntityType.BreakStatement;
2395
+ entityId: string;
2396
+ } | {
2397
+ id: string;
2398
+ type: EntityType.GenericReference;
2399
+ entityType: EntityType.ContinueStatement;
2400
+ entityId: string;
2401
+ })[];
2402
+ dataType: Record<string, any> | {
2403
+ type: EntityType.DataType;
2404
+ } | null;
2405
+ writesValues: (Record<string, any> | {
2406
+ type: EntityType.InputMap;
2407
+ } | {
2408
+ type: EntityType.ReturnDeclaration;
2409
+ } | {
2410
+ type: EntityType.VariableDeclaration;
2411
+ } | {
2412
+ type: EntityType.VariableInstance;
2413
+ })[];
2414
+ internalCalls: (Record<string, any> | {
2415
+ type: EntityType.InternalCall;
2416
+ })[];
2417
+ }, {
2418
+ id: string;
2419
+ type: EntityType.VariableDeclaration;
2420
+ calledBySuccess: ({
2421
+ id: string;
2422
+ type: EntityType.GenericReference;
2423
+ entityType: EntityType.Loop;
2424
+ entityId: string;
2425
+ } | {
2426
+ id: string;
2427
+ type: EntityType.GenericReference;
2428
+ entityType: EntityType.Operation;
2429
+ entityId: string;
2430
+ } | {
2431
+ id: string;
2432
+ type: EntityType.GenericReference;
2433
+ entityType: EntityType.FunctionCall;
2434
+ entityId: string;
2435
+ } | {
2436
+ id: string;
2437
+ type: EntityType.GenericReference;
2438
+ entityType: EntityType.Condition;
2439
+ entityId: string;
2440
+ } | {
2441
+ id: string;
2442
+ type: EntityType.GenericReference;
2443
+ entityType: EntityType.Search;
2444
+ entityId: string;
2445
+ } | {
2446
+ id: string;
2447
+ type: EntityType.GenericReference;
2448
+ entityType: EntityType.VariableDeclaration;
2449
+ entityId: string;
2450
+ } | {
2451
+ id: string;
2452
+ type: EntityType.GenericReference;
2453
+ entityType: EntityType.VariableInstance;
2454
+ entityId: string;
2455
+ } | {
2456
+ id: string;
2457
+ type: EntityType.GenericReference;
2458
+ entityType: EntityType.InternalCall;
2459
+ entityId: string;
2460
+ })[];
2461
+ calledByError: ({
2462
+ id: string;
2463
+ type: EntityType.GenericReference;
2464
+ entityType: EntityType.Loop;
2465
+ entityId: string;
2466
+ } | {
2467
+ id: string;
2468
+ type: EntityType.GenericReference;
2469
+ entityType: EntityType.Operation;
2470
+ entityId: string;
2471
+ } | {
2472
+ id: string;
2473
+ type: EntityType.GenericReference;
2474
+ entityType: EntityType.FunctionCall;
2475
+ entityId: string;
2476
+ } | {
2477
+ id: string;
2478
+ type: EntityType.GenericReference;
2479
+ entityType: EntityType.Condition;
2480
+ entityId: string;
2481
+ } | {
2482
+ id: string;
2483
+ type: EntityType.GenericReference;
2484
+ entityType: EntityType.Search;
2485
+ entityId: string;
2486
+ } | {
2487
+ id: string;
2488
+ type: EntityType.GenericReference;
2489
+ entityType: EntityType.VariableDeclaration;
2490
+ entityId: string;
2491
+ } | {
2492
+ id: string;
2493
+ type: EntityType.GenericReference;
2494
+ entityType: EntityType.VariableInstance;
2495
+ entityId: string;
2496
+ } | {
2497
+ id: string;
2498
+ type: EntityType.GenericReference;
2499
+ entityType: EntityType.InternalCall;
2500
+ entityId: string;
2501
+ })[];
2502
+ calledByEntry: ({
2503
+ id: string;
2504
+ type: EntityType.GenericReference;
2505
+ entityType: EntityType.FunctionDeclaration;
2506
+ entityId: string;
2507
+ } | {
2508
+ id: string;
2509
+ type: EntityType.GenericReference;
2510
+ entityType: EntityType.GlobalEvent;
2511
+ entityId: string;
2512
+ })[];
2513
+ name: string;
2514
+ description: string | null;
2515
+ parent: {
2516
+ id: string;
2517
+ type: EntityType.GenericReference;
2518
+ entityType: EntityType.Project;
2519
+ entityId: string;
2520
+ } | {
2521
+ id: string;
2522
+ type: EntityType.GenericReference;
2523
+ entityType: EntityType.Loop;
2524
+ entityId: string;
2525
+ } | {
2526
+ id: string;
2527
+ type: EntityType.GenericReference;
2528
+ entityType: EntityType.FunctionDeclaration;
2529
+ entityId: string;
2530
+ } | {
2531
+ id: string;
2532
+ type: EntityType.GenericReference;
2533
+ entityType: EntityType.GlobalEvent;
2534
+ entityId: string;
2535
+ };
2536
+ version: number;
2537
+ readsValue: Record<string, any> | {
2538
+ type: EntityType.OutputMap;
2539
+ } | {
2540
+ type: EntityType.VariableDeclaration;
2541
+ } | {
2542
+ type: EntityType.VariableInstance;
2543
+ } | {
2544
+ type: EntityType.ArgumentDeclaration;
2545
+ } | {
2546
+ type: EntityType.Operation;
2547
+ } | {
2548
+ type: EntityType.InternalCall;
2549
+ } | {
2550
+ type: EntityType.FunctionCall;
2551
+ } | null;
2552
+ x: number;
2553
+ y: number;
2554
+ inputs: (Record<string, any> | {
2555
+ type: EntityType.InputMap;
2556
+ })[];
2557
+ outputs: (Record<string, any> | {
2558
+ type: EntityType.OutputMap;
2559
+ })[];
2560
+ successCalls: ({
2561
+ id: string;
2562
+ type: EntityType.GenericReference;
2563
+ entityType: EntityType.Loop;
2564
+ entityId: string;
2565
+ } | {
2566
+ id: string;
2567
+ type: EntityType.GenericReference;
2568
+ entityType: EntityType.Operation;
2569
+ entityId: string;
2570
+ } | {
2571
+ id: string;
2572
+ type: EntityType.GenericReference;
2573
+ entityType: EntityType.FunctionCall;
2574
+ entityId: string;
2575
+ } | {
2576
+ id: string;
2577
+ type: EntityType.GenericReference;
2578
+ entityType: EntityType.Condition;
2579
+ entityId: string;
2580
+ } | {
2581
+ id: string;
2582
+ type: EntityType.GenericReference;
2583
+ entityType: EntityType.Search;
2584
+ entityId: string;
2585
+ } | {
2586
+ id: string;
2587
+ type: EntityType.GenericReference;
2588
+ entityType: EntityType.VariableDeclaration;
2589
+ entityId: string;
2590
+ } | {
2591
+ id: string;
2592
+ type: EntityType.GenericReference;
2593
+ entityType: EntityType.VariableInstance;
2594
+ entityId: string;
2595
+ } | {
2596
+ id: string;
2597
+ type: EntityType.GenericReference;
2598
+ entityType: EntityType.InternalCall;
2599
+ entityId: string;
2600
+ } | {
2601
+ id: string;
2602
+ type: EntityType.GenericReference;
2603
+ entityType: EntityType.ReturnStatement;
2604
+ entityId: string;
2605
+ } | {
2606
+ id: string;
2607
+ type: EntityType.GenericReference;
2608
+ entityType: EntityType.BreakStatement;
2609
+ entityId: string;
2610
+ } | {
2611
+ id: string;
2612
+ type: EntityType.GenericReference;
2613
+ entityType: EntityType.ContinueStatement;
2614
+ entityId: string;
2615
+ })[];
2616
+ errorCalls: ({
2617
+ id: string;
2618
+ type: EntityType.GenericReference;
2619
+ entityType: EntityType.Loop;
2620
+ entityId: string;
2621
+ } | {
2622
+ id: string;
2623
+ type: EntityType.GenericReference;
2624
+ entityType: EntityType.Operation;
2625
+ entityId: string;
2626
+ } | {
2627
+ id: string;
2628
+ type: EntityType.GenericReference;
2629
+ entityType: EntityType.FunctionCall;
2630
+ entityId: string;
2631
+ } | {
2632
+ id: string;
2633
+ type: EntityType.GenericReference;
2634
+ entityType: EntityType.Condition;
2635
+ entityId: string;
2636
+ } | {
2637
+ id: string;
2638
+ type: EntityType.GenericReference;
2639
+ entityType: EntityType.Search;
2640
+ entityId: string;
2641
+ } | {
2642
+ id: string;
2643
+ type: EntityType.GenericReference;
2644
+ entityType: EntityType.VariableDeclaration;
2645
+ entityId: string;
2646
+ } | {
2647
+ id: string;
2648
+ type: EntityType.GenericReference;
2649
+ entityType: EntityType.VariableInstance;
2650
+ entityId: string;
2651
+ } | {
2652
+ id: string;
2653
+ type: EntityType.GenericReference;
2654
+ entityType: EntityType.InternalCall;
2655
+ entityId: string;
2656
+ } | {
2657
+ id: string;
2658
+ type: EntityType.GenericReference;
2659
+ entityType: EntityType.ReturnStatement;
2660
+ entityId: string;
2661
+ } | {
2662
+ id: string;
2663
+ type: EntityType.GenericReference;
2664
+ entityType: EntityType.BreakStatement;
2665
+ entityId: string;
2666
+ } | {
2667
+ id: string;
2668
+ type: EntityType.GenericReference;
2669
+ entityType: EntityType.ContinueStatement;
2670
+ entityId: string;
2671
+ })[];
2672
+ dataType: Record<string, any> | {
2673
+ type: EntityType.DataType;
2674
+ } | null;
2675
+ writesValues: (Record<string, any> | {
2676
+ type: EntityType.InputMap;
2677
+ } | {
2678
+ type: EntityType.ReturnDeclaration;
2679
+ } | {
2680
+ type: EntityType.VariableDeclaration;
2681
+ } | {
2682
+ type: EntityType.VariableInstance;
2683
+ })[];
2684
+ internalCalls: (Record<string, any> | {
2685
+ type: EntityType.InternalCall;
2686
+ })[];
2687
+ }>;