@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,2689 @@
1
+ import { EntityType } from '../../../../../../../../../../src/definitions';
2
+ import { z } from 'zod';
3
+
4
+ export declare function getVariableInstanceTypeSchema(): z.ZodUnion<[z.ZodObject<{
5
+ type: z.ZodLiteral<EntityType.VariableInstance>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ type: EntityType.VariableInstance;
8
+ }, {
9
+ type: EntityType.VariableInstance;
10
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>;
11
+ export declare function getVariableInstanceReferenceSchema(): z.ZodObject<{
12
+ id: z.ZodString;
13
+ type: z.ZodLiteral<EntityType.GenericReference>;
14
+ entityId: z.ZodString;
15
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ id: string;
18
+ type: EntityType.GenericReference;
19
+ entityType: EntityType.VariableInstance;
20
+ entityId: string;
21
+ }, {
22
+ id: string;
23
+ type: EntityType.GenericReference;
24
+ entityType: EntityType.VariableInstance;
25
+ entityId: string;
26
+ }>;
27
+ export declare function getVariableInstanceBaseSchema(): z.ZodObject<{
28
+ id: z.ZodString;
29
+ type: z.ZodLiteral<EntityType.VariableInstance>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ id: string;
32
+ type: EntityType.VariableInstance;
33
+ }, {
34
+ id: string;
35
+ type: EntityType.VariableInstance;
36
+ }>;
37
+ export declare function getVariableInstanceMetaSchema(): z.ZodObject<z.objectUtil.extendShape<{
38
+ id: z.ZodString;
39
+ type: z.ZodLiteral<EntityType.VariableInstance>;
40
+ }, {
41
+ version: z.ZodNumber;
42
+ x: z.ZodNumber;
43
+ y: z.ZodNumber;
44
+ }>, "strip", z.ZodTypeAny, {
45
+ id: string;
46
+ type: EntityType.VariableInstance;
47
+ version: number;
48
+ x: number;
49
+ y: number;
50
+ }, {
51
+ id: string;
52
+ type: EntityType.VariableInstance;
53
+ version: number;
54
+ x: number;
55
+ y: number;
56
+ }>;
57
+ export declare function getVariableInstanceGenerationTargetSchema(): z.ZodObject<z.objectUtil.extendShape<{
58
+ id: z.ZodString;
59
+ type: z.ZodLiteral<EntityType.VariableInstance>;
60
+ }, {}>, "strip", z.ZodTypeAny, {
61
+ id: string;
62
+ type: EntityType.VariableInstance;
63
+ }, {
64
+ id: string;
65
+ type: EntityType.VariableInstance;
66
+ }>;
67
+ export declare function getVariableInstanceNestedEntitiesSchema(): z.ZodObject<{
68
+ declaration: z.ZodUnion<[z.ZodObject<{
69
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
70
+ }, "strip", z.ZodTypeAny, {
71
+ type: EntityType.VariableDeclaration;
72
+ }, {
73
+ type: EntityType.VariableDeclaration;
74
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>;
75
+ dataType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
76
+ type: z.ZodLiteral<EntityType.DataType>;
77
+ }, "strip", z.ZodTypeAny, {
78
+ type: EntityType.DataType;
79
+ }, {
80
+ type: EntityType.DataType;
81
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
82
+ readsValue: z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
83
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ type: EntityType.VariableDeclaration;
86
+ }, {
87
+ type: EntityType.VariableDeclaration;
88
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
89
+ type: z.ZodLiteral<EntityType.VariableInstance>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ type: EntityType.VariableInstance;
92
+ }, {
93
+ type: EntityType.VariableInstance;
94
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, z.ZodUnion<[z.ZodObject<{
95
+ type: z.ZodLiteral<EntityType.ArgumentDeclaration>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ type: EntityType.ArgumentDeclaration;
98
+ }, {
99
+ type: EntityType.ArgumentDeclaration;
100
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
101
+ type: z.ZodLiteral<EntityType.OutputMap>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ type: EntityType.OutputMap;
104
+ }, {
105
+ type: EntityType.OutputMap;
106
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
107
+ type: z.ZodLiteral<EntityType.Operation>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ type: EntityType.Operation;
110
+ }, {
111
+ type: EntityType.Operation;
112
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
113
+ type: z.ZodLiteral<EntityType.InternalCall>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ type: EntityType.InternalCall;
116
+ }, {
117
+ type: EntityType.InternalCall;
118
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
119
+ type: z.ZodLiteral<EntityType.FunctionCall>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ type: EntityType.FunctionCall;
122
+ }, {
123
+ type: EntityType.FunctionCall;
124
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>>;
125
+ writesValues: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
126
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ type: EntityType.VariableDeclaration;
129
+ }, {
130
+ type: EntityType.VariableDeclaration;
131
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
132
+ type: z.ZodLiteral<EntityType.VariableInstance>;
133
+ }, "strip", z.ZodTypeAny, {
134
+ type: EntityType.VariableInstance;
135
+ }, {
136
+ type: EntityType.VariableInstance;
137
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, z.ZodUnion<[z.ZodObject<{
138
+ type: z.ZodLiteral<EntityType.InputMap>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ type: EntityType.InputMap;
141
+ }, {
142
+ type: EntityType.InputMap;
143
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
144
+ type: z.ZodLiteral<EntityType.ReturnDeclaration>;
145
+ }, "strip", z.ZodTypeAny, {
146
+ type: EntityType.ReturnDeclaration;
147
+ }, {
148
+ type: EntityType.ReturnDeclaration;
149
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, "many">;
150
+ inputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
151
+ type: z.ZodLiteral<EntityType.InputMap>;
152
+ }, "strip", z.ZodTypeAny, {
153
+ type: EntityType.InputMap;
154
+ }, {
155
+ type: EntityType.InputMap;
156
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
157
+ outputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
158
+ type: z.ZodLiteral<EntityType.OutputMap>;
159
+ }, "strip", z.ZodTypeAny, {
160
+ type: EntityType.OutputMap;
161
+ }, {
162
+ type: EntityType.OutputMap;
163
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
164
+ successCalls: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
165
+ id: z.ZodString;
166
+ type: z.ZodLiteral<EntityType.GenericReference>;
167
+ entityId: z.ZodString;
168
+ entityType: z.ZodLiteral<EntityType.Operation>;
169
+ }, "strip", z.ZodTypeAny, {
170
+ id: string;
171
+ type: EntityType.GenericReference;
172
+ entityType: EntityType.Operation;
173
+ entityId: string;
174
+ }, {
175
+ id: string;
176
+ type: EntityType.GenericReference;
177
+ entityType: EntityType.Operation;
178
+ entityId: string;
179
+ }>, z.ZodObject<{
180
+ id: z.ZodString;
181
+ type: z.ZodLiteral<EntityType.GenericReference>;
182
+ entityId: z.ZodString;
183
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
184
+ }, "strip", z.ZodTypeAny, {
185
+ id: string;
186
+ type: EntityType.GenericReference;
187
+ entityType: EntityType.FunctionCall;
188
+ entityId: string;
189
+ }, {
190
+ id: string;
191
+ type: EntityType.GenericReference;
192
+ entityType: EntityType.FunctionCall;
193
+ entityId: string;
194
+ }>, z.ZodObject<{
195
+ id: z.ZodString;
196
+ type: z.ZodLiteral<EntityType.GenericReference>;
197
+ entityId: z.ZodString;
198
+ entityType: z.ZodLiteral<EntityType.Condition>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ id: string;
201
+ type: EntityType.GenericReference;
202
+ entityType: EntityType.Condition;
203
+ entityId: string;
204
+ }, {
205
+ id: string;
206
+ type: EntityType.GenericReference;
207
+ entityType: EntityType.Condition;
208
+ entityId: string;
209
+ }>, z.ZodObject<{
210
+ id: z.ZodString;
211
+ type: z.ZodLiteral<EntityType.GenericReference>;
212
+ entityId: z.ZodString;
213
+ entityType: z.ZodLiteral<EntityType.Search>;
214
+ }, "strip", z.ZodTypeAny, {
215
+ id: string;
216
+ type: EntityType.GenericReference;
217
+ entityType: EntityType.Search;
218
+ entityId: string;
219
+ }, {
220
+ id: string;
221
+ type: EntityType.GenericReference;
222
+ entityType: EntityType.Search;
223
+ entityId: string;
224
+ }>, z.ZodUnion<[z.ZodObject<{
225
+ id: z.ZodString;
226
+ type: z.ZodLiteral<EntityType.GenericReference>;
227
+ entityId: z.ZodString;
228
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
229
+ }, "strip", z.ZodTypeAny, {
230
+ id: string;
231
+ type: EntityType.GenericReference;
232
+ entityType: EntityType.VariableDeclaration;
233
+ entityId: string;
234
+ }, {
235
+ id: string;
236
+ type: EntityType.GenericReference;
237
+ entityType: EntityType.VariableDeclaration;
238
+ entityId: string;
239
+ }>, z.ZodObject<{
240
+ id: z.ZodString;
241
+ type: z.ZodLiteral<EntityType.GenericReference>;
242
+ entityId: z.ZodString;
243
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
244
+ }, "strip", z.ZodTypeAny, {
245
+ id: string;
246
+ type: EntityType.GenericReference;
247
+ entityType: EntityType.VariableInstance;
248
+ entityId: string;
249
+ }, {
250
+ id: string;
251
+ type: EntityType.GenericReference;
252
+ entityType: EntityType.VariableInstance;
253
+ entityId: string;
254
+ }>]>, z.ZodObject<{
255
+ id: z.ZodString;
256
+ type: z.ZodLiteral<EntityType.GenericReference>;
257
+ entityId: z.ZodString;
258
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ id: string;
261
+ type: EntityType.GenericReference;
262
+ entityType: EntityType.InternalCall;
263
+ entityId: string;
264
+ }, {
265
+ id: string;
266
+ type: EntityType.GenericReference;
267
+ entityType: EntityType.InternalCall;
268
+ entityId: string;
269
+ }>, z.ZodObject<{
270
+ id: z.ZodString;
271
+ type: z.ZodLiteral<EntityType.GenericReference>;
272
+ entityId: z.ZodString;
273
+ entityType: z.ZodLiteral<EntityType.Loop>;
274
+ }, "strip", z.ZodTypeAny, {
275
+ id: string;
276
+ type: EntityType.GenericReference;
277
+ entityType: EntityType.Loop;
278
+ entityId: string;
279
+ }, {
280
+ id: string;
281
+ type: EntityType.GenericReference;
282
+ entityType: EntityType.Loop;
283
+ entityId: string;
284
+ }>]>, z.ZodObject<{
285
+ id: z.ZodString;
286
+ type: z.ZodLiteral<EntityType.GenericReference>;
287
+ entityId: z.ZodString;
288
+ entityType: z.ZodLiteral<EntityType.ReturnStatement>;
289
+ }, "strip", z.ZodTypeAny, {
290
+ id: string;
291
+ type: EntityType.GenericReference;
292
+ entityType: EntityType.ReturnStatement;
293
+ entityId: string;
294
+ }, {
295
+ id: string;
296
+ type: EntityType.GenericReference;
297
+ entityType: EntityType.ReturnStatement;
298
+ entityId: string;
299
+ }>, z.ZodObject<{
300
+ id: z.ZodString;
301
+ type: z.ZodLiteral<EntityType.GenericReference>;
302
+ entityId: z.ZodString;
303
+ entityType: z.ZodLiteral<EntityType.BreakStatement>;
304
+ }, "strip", z.ZodTypeAny, {
305
+ id: string;
306
+ type: EntityType.GenericReference;
307
+ entityType: EntityType.BreakStatement;
308
+ entityId: string;
309
+ }, {
310
+ id: string;
311
+ type: EntityType.GenericReference;
312
+ entityType: EntityType.BreakStatement;
313
+ entityId: string;
314
+ }>, z.ZodObject<{
315
+ id: z.ZodString;
316
+ type: z.ZodLiteral<EntityType.GenericReference>;
317
+ entityId: z.ZodString;
318
+ entityType: z.ZodLiteral<EntityType.ContinueStatement>;
319
+ }, "strip", z.ZodTypeAny, {
320
+ id: string;
321
+ type: EntityType.GenericReference;
322
+ entityType: EntityType.ContinueStatement;
323
+ entityId: string;
324
+ }, {
325
+ id: string;
326
+ type: EntityType.GenericReference;
327
+ entityType: EntityType.ContinueStatement;
328
+ entityId: string;
329
+ }>]>, "many">;
330
+ errorCalls: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
331
+ id: z.ZodString;
332
+ type: z.ZodLiteral<EntityType.GenericReference>;
333
+ entityId: z.ZodString;
334
+ entityType: z.ZodLiteral<EntityType.Operation>;
335
+ }, "strip", z.ZodTypeAny, {
336
+ id: string;
337
+ type: EntityType.GenericReference;
338
+ entityType: EntityType.Operation;
339
+ entityId: string;
340
+ }, {
341
+ id: string;
342
+ type: EntityType.GenericReference;
343
+ entityType: EntityType.Operation;
344
+ entityId: string;
345
+ }>, z.ZodObject<{
346
+ id: z.ZodString;
347
+ type: z.ZodLiteral<EntityType.GenericReference>;
348
+ entityId: z.ZodString;
349
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
350
+ }, "strip", z.ZodTypeAny, {
351
+ id: string;
352
+ type: EntityType.GenericReference;
353
+ entityType: EntityType.FunctionCall;
354
+ entityId: string;
355
+ }, {
356
+ id: string;
357
+ type: EntityType.GenericReference;
358
+ entityType: EntityType.FunctionCall;
359
+ entityId: string;
360
+ }>, z.ZodObject<{
361
+ id: z.ZodString;
362
+ type: z.ZodLiteral<EntityType.GenericReference>;
363
+ entityId: z.ZodString;
364
+ entityType: z.ZodLiteral<EntityType.Condition>;
365
+ }, "strip", z.ZodTypeAny, {
366
+ id: string;
367
+ type: EntityType.GenericReference;
368
+ entityType: EntityType.Condition;
369
+ entityId: string;
370
+ }, {
371
+ id: string;
372
+ type: EntityType.GenericReference;
373
+ entityType: EntityType.Condition;
374
+ entityId: string;
375
+ }>, z.ZodObject<{
376
+ id: z.ZodString;
377
+ type: z.ZodLiteral<EntityType.GenericReference>;
378
+ entityId: z.ZodString;
379
+ entityType: z.ZodLiteral<EntityType.Search>;
380
+ }, "strip", z.ZodTypeAny, {
381
+ id: string;
382
+ type: EntityType.GenericReference;
383
+ entityType: EntityType.Search;
384
+ entityId: string;
385
+ }, {
386
+ id: string;
387
+ type: EntityType.GenericReference;
388
+ entityType: EntityType.Search;
389
+ entityId: string;
390
+ }>, z.ZodUnion<[z.ZodObject<{
391
+ id: z.ZodString;
392
+ type: z.ZodLiteral<EntityType.GenericReference>;
393
+ entityId: z.ZodString;
394
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
395
+ }, "strip", z.ZodTypeAny, {
396
+ id: string;
397
+ type: EntityType.GenericReference;
398
+ entityType: EntityType.VariableDeclaration;
399
+ entityId: string;
400
+ }, {
401
+ id: string;
402
+ type: EntityType.GenericReference;
403
+ entityType: EntityType.VariableDeclaration;
404
+ entityId: string;
405
+ }>, z.ZodObject<{
406
+ id: z.ZodString;
407
+ type: z.ZodLiteral<EntityType.GenericReference>;
408
+ entityId: z.ZodString;
409
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
410
+ }, "strip", z.ZodTypeAny, {
411
+ id: string;
412
+ type: EntityType.GenericReference;
413
+ entityType: EntityType.VariableInstance;
414
+ entityId: string;
415
+ }, {
416
+ id: string;
417
+ type: EntityType.GenericReference;
418
+ entityType: EntityType.VariableInstance;
419
+ entityId: string;
420
+ }>]>, z.ZodObject<{
421
+ id: z.ZodString;
422
+ type: z.ZodLiteral<EntityType.GenericReference>;
423
+ entityId: z.ZodString;
424
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
425
+ }, "strip", z.ZodTypeAny, {
426
+ id: string;
427
+ type: EntityType.GenericReference;
428
+ entityType: EntityType.InternalCall;
429
+ entityId: string;
430
+ }, {
431
+ id: string;
432
+ type: EntityType.GenericReference;
433
+ entityType: EntityType.InternalCall;
434
+ entityId: string;
435
+ }>, z.ZodObject<{
436
+ id: z.ZodString;
437
+ type: z.ZodLiteral<EntityType.GenericReference>;
438
+ entityId: z.ZodString;
439
+ entityType: z.ZodLiteral<EntityType.Loop>;
440
+ }, "strip", z.ZodTypeAny, {
441
+ id: string;
442
+ type: EntityType.GenericReference;
443
+ entityType: EntityType.Loop;
444
+ entityId: string;
445
+ }, {
446
+ id: string;
447
+ type: EntityType.GenericReference;
448
+ entityType: EntityType.Loop;
449
+ entityId: string;
450
+ }>]>, z.ZodObject<{
451
+ id: z.ZodString;
452
+ type: z.ZodLiteral<EntityType.GenericReference>;
453
+ entityId: z.ZodString;
454
+ entityType: z.ZodLiteral<EntityType.ReturnStatement>;
455
+ }, "strip", z.ZodTypeAny, {
456
+ id: string;
457
+ type: EntityType.GenericReference;
458
+ entityType: EntityType.ReturnStatement;
459
+ entityId: string;
460
+ }, {
461
+ id: string;
462
+ type: EntityType.GenericReference;
463
+ entityType: EntityType.ReturnStatement;
464
+ entityId: string;
465
+ }>, z.ZodObject<{
466
+ id: z.ZodString;
467
+ type: z.ZodLiteral<EntityType.GenericReference>;
468
+ entityId: z.ZodString;
469
+ entityType: z.ZodLiteral<EntityType.BreakStatement>;
470
+ }, "strip", z.ZodTypeAny, {
471
+ id: string;
472
+ type: EntityType.GenericReference;
473
+ entityType: EntityType.BreakStatement;
474
+ entityId: string;
475
+ }, {
476
+ id: string;
477
+ type: EntityType.GenericReference;
478
+ entityType: EntityType.BreakStatement;
479
+ entityId: string;
480
+ }>, z.ZodObject<{
481
+ id: z.ZodString;
482
+ type: z.ZodLiteral<EntityType.GenericReference>;
483
+ entityId: z.ZodString;
484
+ entityType: z.ZodLiteral<EntityType.ContinueStatement>;
485
+ }, "strip", z.ZodTypeAny, {
486
+ id: string;
487
+ type: EntityType.GenericReference;
488
+ entityType: EntityType.ContinueStatement;
489
+ entityId: string;
490
+ }, {
491
+ id: string;
492
+ type: EntityType.GenericReference;
493
+ entityType: EntityType.ContinueStatement;
494
+ entityId: string;
495
+ }>]>, "many">;
496
+ internalCalls: z.ZodArray<z.ZodUnion<[z.ZodObject<{
497
+ type: z.ZodLiteral<EntityType.InternalCall>;
498
+ }, "strip", z.ZodTypeAny, {
499
+ type: EntityType.InternalCall;
500
+ }, {
501
+ type: EntityType.InternalCall;
502
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
503
+ calledBySuccess: z.ZodArray<z.ZodUnion<[z.ZodObject<{
504
+ id: z.ZodString;
505
+ type: z.ZodLiteral<EntityType.GenericReference>;
506
+ entityId: z.ZodString;
507
+ entityType: z.ZodLiteral<EntityType.Operation>;
508
+ }, "strip", z.ZodTypeAny, {
509
+ id: string;
510
+ type: EntityType.GenericReference;
511
+ entityType: EntityType.Operation;
512
+ entityId: string;
513
+ }, {
514
+ id: string;
515
+ type: EntityType.GenericReference;
516
+ entityType: EntityType.Operation;
517
+ entityId: string;
518
+ }>, z.ZodObject<{
519
+ id: z.ZodString;
520
+ type: z.ZodLiteral<EntityType.GenericReference>;
521
+ entityId: z.ZodString;
522
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
523
+ }, "strip", z.ZodTypeAny, {
524
+ id: string;
525
+ type: EntityType.GenericReference;
526
+ entityType: EntityType.FunctionCall;
527
+ entityId: string;
528
+ }, {
529
+ id: string;
530
+ type: EntityType.GenericReference;
531
+ entityType: EntityType.FunctionCall;
532
+ entityId: string;
533
+ }>, z.ZodObject<{
534
+ id: z.ZodString;
535
+ type: z.ZodLiteral<EntityType.GenericReference>;
536
+ entityId: z.ZodString;
537
+ entityType: z.ZodLiteral<EntityType.Condition>;
538
+ }, "strip", z.ZodTypeAny, {
539
+ id: string;
540
+ type: EntityType.GenericReference;
541
+ entityType: EntityType.Condition;
542
+ entityId: string;
543
+ }, {
544
+ id: string;
545
+ type: EntityType.GenericReference;
546
+ entityType: EntityType.Condition;
547
+ entityId: string;
548
+ }>, z.ZodObject<{
549
+ id: z.ZodString;
550
+ type: z.ZodLiteral<EntityType.GenericReference>;
551
+ entityId: z.ZodString;
552
+ entityType: z.ZodLiteral<EntityType.Search>;
553
+ }, "strip", z.ZodTypeAny, {
554
+ id: string;
555
+ type: EntityType.GenericReference;
556
+ entityType: EntityType.Search;
557
+ entityId: string;
558
+ }, {
559
+ id: string;
560
+ type: EntityType.GenericReference;
561
+ entityType: EntityType.Search;
562
+ entityId: string;
563
+ }>, z.ZodUnion<[z.ZodObject<{
564
+ id: z.ZodString;
565
+ type: z.ZodLiteral<EntityType.GenericReference>;
566
+ entityId: z.ZodString;
567
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ id: string;
570
+ type: EntityType.GenericReference;
571
+ entityType: EntityType.VariableDeclaration;
572
+ entityId: string;
573
+ }, {
574
+ id: string;
575
+ type: EntityType.GenericReference;
576
+ entityType: EntityType.VariableDeclaration;
577
+ entityId: string;
578
+ }>, z.ZodObject<{
579
+ id: z.ZodString;
580
+ type: z.ZodLiteral<EntityType.GenericReference>;
581
+ entityId: z.ZodString;
582
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
583
+ }, "strip", z.ZodTypeAny, {
584
+ id: string;
585
+ type: EntityType.GenericReference;
586
+ entityType: EntityType.VariableInstance;
587
+ entityId: string;
588
+ }, {
589
+ id: string;
590
+ type: EntityType.GenericReference;
591
+ entityType: EntityType.VariableInstance;
592
+ entityId: string;
593
+ }>]>, z.ZodObject<{
594
+ id: z.ZodString;
595
+ type: z.ZodLiteral<EntityType.GenericReference>;
596
+ entityId: z.ZodString;
597
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
598
+ }, "strip", z.ZodTypeAny, {
599
+ id: string;
600
+ type: EntityType.GenericReference;
601
+ entityType: EntityType.InternalCall;
602
+ entityId: string;
603
+ }, {
604
+ id: string;
605
+ type: EntityType.GenericReference;
606
+ entityType: EntityType.InternalCall;
607
+ entityId: string;
608
+ }>, z.ZodObject<{
609
+ id: z.ZodString;
610
+ type: z.ZodLiteral<EntityType.GenericReference>;
611
+ entityId: z.ZodString;
612
+ entityType: z.ZodLiteral<EntityType.Loop>;
613
+ }, "strip", z.ZodTypeAny, {
614
+ id: string;
615
+ type: EntityType.GenericReference;
616
+ entityType: EntityType.Loop;
617
+ entityId: string;
618
+ }, {
619
+ id: string;
620
+ type: EntityType.GenericReference;
621
+ entityType: EntityType.Loop;
622
+ entityId: string;
623
+ }>]>, "many">;
624
+ calledByError: z.ZodArray<z.ZodUnion<[z.ZodObject<{
625
+ id: z.ZodString;
626
+ type: z.ZodLiteral<EntityType.GenericReference>;
627
+ entityId: z.ZodString;
628
+ entityType: z.ZodLiteral<EntityType.Operation>;
629
+ }, "strip", z.ZodTypeAny, {
630
+ id: string;
631
+ type: EntityType.GenericReference;
632
+ entityType: EntityType.Operation;
633
+ entityId: string;
634
+ }, {
635
+ id: string;
636
+ type: EntityType.GenericReference;
637
+ entityType: EntityType.Operation;
638
+ entityId: string;
639
+ }>, z.ZodObject<{
640
+ id: z.ZodString;
641
+ type: z.ZodLiteral<EntityType.GenericReference>;
642
+ entityId: z.ZodString;
643
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
644
+ }, "strip", z.ZodTypeAny, {
645
+ id: string;
646
+ type: EntityType.GenericReference;
647
+ entityType: EntityType.FunctionCall;
648
+ entityId: string;
649
+ }, {
650
+ id: string;
651
+ type: EntityType.GenericReference;
652
+ entityType: EntityType.FunctionCall;
653
+ entityId: string;
654
+ }>, z.ZodObject<{
655
+ id: z.ZodString;
656
+ type: z.ZodLiteral<EntityType.GenericReference>;
657
+ entityId: z.ZodString;
658
+ entityType: z.ZodLiteral<EntityType.Condition>;
659
+ }, "strip", z.ZodTypeAny, {
660
+ id: string;
661
+ type: EntityType.GenericReference;
662
+ entityType: EntityType.Condition;
663
+ entityId: string;
664
+ }, {
665
+ id: string;
666
+ type: EntityType.GenericReference;
667
+ entityType: EntityType.Condition;
668
+ entityId: string;
669
+ }>, z.ZodObject<{
670
+ id: z.ZodString;
671
+ type: z.ZodLiteral<EntityType.GenericReference>;
672
+ entityId: z.ZodString;
673
+ entityType: z.ZodLiteral<EntityType.Search>;
674
+ }, "strip", z.ZodTypeAny, {
675
+ id: string;
676
+ type: EntityType.GenericReference;
677
+ entityType: EntityType.Search;
678
+ entityId: string;
679
+ }, {
680
+ id: string;
681
+ type: EntityType.GenericReference;
682
+ entityType: EntityType.Search;
683
+ entityId: string;
684
+ }>, z.ZodUnion<[z.ZodObject<{
685
+ id: z.ZodString;
686
+ type: z.ZodLiteral<EntityType.GenericReference>;
687
+ entityId: z.ZodString;
688
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
689
+ }, "strip", z.ZodTypeAny, {
690
+ id: string;
691
+ type: EntityType.GenericReference;
692
+ entityType: EntityType.VariableDeclaration;
693
+ entityId: string;
694
+ }, {
695
+ id: string;
696
+ type: EntityType.GenericReference;
697
+ entityType: EntityType.VariableDeclaration;
698
+ entityId: string;
699
+ }>, z.ZodObject<{
700
+ id: z.ZodString;
701
+ type: z.ZodLiteral<EntityType.GenericReference>;
702
+ entityId: z.ZodString;
703
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
704
+ }, "strip", z.ZodTypeAny, {
705
+ id: string;
706
+ type: EntityType.GenericReference;
707
+ entityType: EntityType.VariableInstance;
708
+ entityId: string;
709
+ }, {
710
+ id: string;
711
+ type: EntityType.GenericReference;
712
+ entityType: EntityType.VariableInstance;
713
+ entityId: string;
714
+ }>]>, z.ZodObject<{
715
+ id: z.ZodString;
716
+ type: z.ZodLiteral<EntityType.GenericReference>;
717
+ entityId: z.ZodString;
718
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
719
+ }, "strip", z.ZodTypeAny, {
720
+ id: string;
721
+ type: EntityType.GenericReference;
722
+ entityType: EntityType.InternalCall;
723
+ entityId: string;
724
+ }, {
725
+ id: string;
726
+ type: EntityType.GenericReference;
727
+ entityType: EntityType.InternalCall;
728
+ entityId: string;
729
+ }>, z.ZodObject<{
730
+ id: z.ZodString;
731
+ type: z.ZodLiteral<EntityType.GenericReference>;
732
+ entityId: z.ZodString;
733
+ entityType: z.ZodLiteral<EntityType.Loop>;
734
+ }, "strip", z.ZodTypeAny, {
735
+ id: string;
736
+ type: EntityType.GenericReference;
737
+ entityType: EntityType.Loop;
738
+ entityId: string;
739
+ }, {
740
+ id: string;
741
+ type: EntityType.GenericReference;
742
+ entityType: EntityType.Loop;
743
+ entityId: string;
744
+ }>]>, "many">;
745
+ calledByEntry: z.ZodArray<z.ZodUnion<[z.ZodObject<{
746
+ id: z.ZodString;
747
+ type: z.ZodLiteral<EntityType.GenericReference>;
748
+ entityId: z.ZodString;
749
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
750
+ }, "strip", z.ZodTypeAny, {
751
+ id: string;
752
+ type: EntityType.GenericReference;
753
+ entityType: EntityType.FunctionDeclaration;
754
+ entityId: string;
755
+ }, {
756
+ id: string;
757
+ type: EntityType.GenericReference;
758
+ entityType: EntityType.FunctionDeclaration;
759
+ entityId: string;
760
+ }>, z.ZodObject<{
761
+ id: z.ZodString;
762
+ type: z.ZodLiteral<EntityType.GenericReference>;
763
+ entityId: z.ZodString;
764
+ entityType: z.ZodLiteral<EntityType.GlobalEvent>;
765
+ }, "strip", z.ZodTypeAny, {
766
+ id: string;
767
+ type: EntityType.GenericReference;
768
+ entityType: EntityType.GlobalEvent;
769
+ entityId: string;
770
+ }, {
771
+ id: string;
772
+ type: EntityType.GenericReference;
773
+ entityType: EntityType.GlobalEvent;
774
+ entityId: string;
775
+ }>]>, "many">;
776
+ parent: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
777
+ id: z.ZodString;
778
+ type: z.ZodLiteral<EntityType.GenericReference>;
779
+ entityId: z.ZodString;
780
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
781
+ }, "strip", z.ZodTypeAny, {
782
+ id: string;
783
+ type: EntityType.GenericReference;
784
+ entityType: EntityType.FunctionDeclaration;
785
+ entityId: string;
786
+ }, {
787
+ id: string;
788
+ type: EntityType.GenericReference;
789
+ entityType: EntityType.FunctionDeclaration;
790
+ entityId: string;
791
+ }>, z.ZodObject<{
792
+ id: z.ZodString;
793
+ type: z.ZodLiteral<EntityType.GenericReference>;
794
+ entityId: z.ZodString;
795
+ entityType: z.ZodLiteral<EntityType.GlobalEvent>;
796
+ }, "strip", z.ZodTypeAny, {
797
+ id: string;
798
+ type: EntityType.GenericReference;
799
+ entityType: EntityType.GlobalEvent;
800
+ entityId: string;
801
+ }, {
802
+ id: string;
803
+ type: EntityType.GenericReference;
804
+ entityType: EntityType.GlobalEvent;
805
+ entityId: string;
806
+ }>]>, z.ZodObject<{
807
+ id: z.ZodString;
808
+ type: z.ZodLiteral<EntityType.GenericReference>;
809
+ entityId: z.ZodString;
810
+ entityType: z.ZodLiteral<EntityType.Loop>;
811
+ }, "strip", z.ZodTypeAny, {
812
+ id: string;
813
+ type: EntityType.GenericReference;
814
+ entityType: EntityType.Loop;
815
+ entityId: string;
816
+ }, {
817
+ id: string;
818
+ type: EntityType.GenericReference;
819
+ entityType: EntityType.Loop;
820
+ entityId: string;
821
+ }>]>, z.ZodObject<{
822
+ entityType: z.ZodLiteral<EntityType.Project>;
823
+ entityId: z.ZodString;
824
+ id: z.ZodString;
825
+ type: z.ZodLiteral<EntityType.GenericReference>;
826
+ }, "strip", z.ZodTypeAny, {
827
+ id: string;
828
+ type: EntityType.GenericReference;
829
+ entityType: EntityType.Project;
830
+ entityId: string;
831
+ }, {
832
+ id: string;
833
+ type: EntityType.GenericReference;
834
+ entityType: EntityType.Project;
835
+ entityId: string;
836
+ }>]>;
837
+ }, "strip", z.ZodTypeAny, {
838
+ declaration: Record<string, any> | {
839
+ type: EntityType.VariableDeclaration;
840
+ };
841
+ calledBySuccess: ({
842
+ id: string;
843
+ type: EntityType.GenericReference;
844
+ entityType: EntityType.Loop;
845
+ entityId: string;
846
+ } | {
847
+ id: string;
848
+ type: EntityType.GenericReference;
849
+ entityType: EntityType.Operation;
850
+ entityId: string;
851
+ } | {
852
+ id: string;
853
+ type: EntityType.GenericReference;
854
+ entityType: EntityType.FunctionCall;
855
+ entityId: string;
856
+ } | {
857
+ id: string;
858
+ type: EntityType.GenericReference;
859
+ entityType: EntityType.Condition;
860
+ entityId: string;
861
+ } | {
862
+ id: string;
863
+ type: EntityType.GenericReference;
864
+ entityType: EntityType.Search;
865
+ entityId: string;
866
+ } | {
867
+ id: string;
868
+ type: EntityType.GenericReference;
869
+ entityType: EntityType.VariableDeclaration;
870
+ entityId: string;
871
+ } | {
872
+ id: string;
873
+ type: EntityType.GenericReference;
874
+ entityType: EntityType.VariableInstance;
875
+ entityId: string;
876
+ } | {
877
+ id: string;
878
+ type: EntityType.GenericReference;
879
+ entityType: EntityType.InternalCall;
880
+ entityId: string;
881
+ })[];
882
+ calledByError: ({
883
+ id: string;
884
+ type: EntityType.GenericReference;
885
+ entityType: EntityType.Loop;
886
+ entityId: string;
887
+ } | {
888
+ id: string;
889
+ type: EntityType.GenericReference;
890
+ entityType: EntityType.Operation;
891
+ entityId: string;
892
+ } | {
893
+ id: string;
894
+ type: EntityType.GenericReference;
895
+ entityType: EntityType.FunctionCall;
896
+ entityId: string;
897
+ } | {
898
+ id: string;
899
+ type: EntityType.GenericReference;
900
+ entityType: EntityType.Condition;
901
+ entityId: string;
902
+ } | {
903
+ id: string;
904
+ type: EntityType.GenericReference;
905
+ entityType: EntityType.Search;
906
+ entityId: string;
907
+ } | {
908
+ id: string;
909
+ type: EntityType.GenericReference;
910
+ entityType: EntityType.VariableDeclaration;
911
+ entityId: string;
912
+ } | {
913
+ id: string;
914
+ type: EntityType.GenericReference;
915
+ entityType: EntityType.VariableInstance;
916
+ entityId: string;
917
+ } | {
918
+ id: string;
919
+ type: EntityType.GenericReference;
920
+ entityType: EntityType.InternalCall;
921
+ entityId: string;
922
+ })[];
923
+ calledByEntry: ({
924
+ id: string;
925
+ type: EntityType.GenericReference;
926
+ entityType: EntityType.FunctionDeclaration;
927
+ entityId: string;
928
+ } | {
929
+ id: string;
930
+ type: EntityType.GenericReference;
931
+ entityType: EntityType.GlobalEvent;
932
+ entityId: string;
933
+ })[];
934
+ parent: {
935
+ id: string;
936
+ type: EntityType.GenericReference;
937
+ entityType: EntityType.Project;
938
+ entityId: string;
939
+ } | {
940
+ id: string;
941
+ type: EntityType.GenericReference;
942
+ entityType: EntityType.Loop;
943
+ entityId: string;
944
+ } | {
945
+ id: string;
946
+ type: EntityType.GenericReference;
947
+ entityType: EntityType.FunctionDeclaration;
948
+ entityId: string;
949
+ } | {
950
+ id: string;
951
+ type: EntityType.GenericReference;
952
+ entityType: EntityType.GlobalEvent;
953
+ entityId: string;
954
+ };
955
+ readsValue: Record<string, any> | {
956
+ type: EntityType.OutputMap;
957
+ } | {
958
+ type: EntityType.VariableDeclaration;
959
+ } | {
960
+ type: EntityType.VariableInstance;
961
+ } | {
962
+ type: EntityType.ArgumentDeclaration;
963
+ } | {
964
+ type: EntityType.Operation;
965
+ } | {
966
+ type: EntityType.InternalCall;
967
+ } | {
968
+ type: EntityType.FunctionCall;
969
+ } | null;
970
+ inputs: (Record<string, any> | {
971
+ type: EntityType.InputMap;
972
+ })[];
973
+ outputs: (Record<string, any> | {
974
+ type: EntityType.OutputMap;
975
+ })[];
976
+ successCalls: ({
977
+ id: string;
978
+ type: EntityType.GenericReference;
979
+ entityType: EntityType.Loop;
980
+ entityId: string;
981
+ } | {
982
+ id: string;
983
+ type: EntityType.GenericReference;
984
+ entityType: EntityType.Operation;
985
+ entityId: string;
986
+ } | {
987
+ id: string;
988
+ type: EntityType.GenericReference;
989
+ entityType: EntityType.FunctionCall;
990
+ entityId: string;
991
+ } | {
992
+ id: string;
993
+ type: EntityType.GenericReference;
994
+ entityType: EntityType.Condition;
995
+ entityId: string;
996
+ } | {
997
+ id: string;
998
+ type: EntityType.GenericReference;
999
+ entityType: EntityType.Search;
1000
+ entityId: string;
1001
+ } | {
1002
+ id: string;
1003
+ type: EntityType.GenericReference;
1004
+ entityType: EntityType.VariableDeclaration;
1005
+ entityId: string;
1006
+ } | {
1007
+ id: string;
1008
+ type: EntityType.GenericReference;
1009
+ entityType: EntityType.VariableInstance;
1010
+ entityId: string;
1011
+ } | {
1012
+ id: string;
1013
+ type: EntityType.GenericReference;
1014
+ entityType: EntityType.InternalCall;
1015
+ entityId: string;
1016
+ } | {
1017
+ id: string;
1018
+ type: EntityType.GenericReference;
1019
+ entityType: EntityType.ReturnStatement;
1020
+ entityId: string;
1021
+ } | {
1022
+ id: string;
1023
+ type: EntityType.GenericReference;
1024
+ entityType: EntityType.BreakStatement;
1025
+ entityId: string;
1026
+ } | {
1027
+ id: string;
1028
+ type: EntityType.GenericReference;
1029
+ entityType: EntityType.ContinueStatement;
1030
+ entityId: string;
1031
+ })[];
1032
+ errorCalls: ({
1033
+ id: string;
1034
+ type: EntityType.GenericReference;
1035
+ entityType: EntityType.Loop;
1036
+ entityId: string;
1037
+ } | {
1038
+ id: string;
1039
+ type: EntityType.GenericReference;
1040
+ entityType: EntityType.Operation;
1041
+ entityId: string;
1042
+ } | {
1043
+ id: string;
1044
+ type: EntityType.GenericReference;
1045
+ entityType: EntityType.FunctionCall;
1046
+ entityId: string;
1047
+ } | {
1048
+ id: string;
1049
+ type: EntityType.GenericReference;
1050
+ entityType: EntityType.Condition;
1051
+ entityId: string;
1052
+ } | {
1053
+ id: string;
1054
+ type: EntityType.GenericReference;
1055
+ entityType: EntityType.Search;
1056
+ entityId: string;
1057
+ } | {
1058
+ id: string;
1059
+ type: EntityType.GenericReference;
1060
+ entityType: EntityType.VariableDeclaration;
1061
+ entityId: string;
1062
+ } | {
1063
+ id: string;
1064
+ type: EntityType.GenericReference;
1065
+ entityType: EntityType.VariableInstance;
1066
+ entityId: string;
1067
+ } | {
1068
+ id: string;
1069
+ type: EntityType.GenericReference;
1070
+ entityType: EntityType.InternalCall;
1071
+ entityId: string;
1072
+ } | {
1073
+ id: string;
1074
+ type: EntityType.GenericReference;
1075
+ entityType: EntityType.ReturnStatement;
1076
+ entityId: string;
1077
+ } | {
1078
+ id: string;
1079
+ type: EntityType.GenericReference;
1080
+ entityType: EntityType.BreakStatement;
1081
+ entityId: string;
1082
+ } | {
1083
+ id: string;
1084
+ type: EntityType.GenericReference;
1085
+ entityType: EntityType.ContinueStatement;
1086
+ entityId: string;
1087
+ })[];
1088
+ dataType: Record<string, any> | {
1089
+ type: EntityType.DataType;
1090
+ } | null;
1091
+ writesValues: (Record<string, any> | {
1092
+ type: EntityType.InputMap;
1093
+ } | {
1094
+ type: EntityType.ReturnDeclaration;
1095
+ } | {
1096
+ type: EntityType.VariableDeclaration;
1097
+ } | {
1098
+ type: EntityType.VariableInstance;
1099
+ })[];
1100
+ internalCalls: (Record<string, any> | {
1101
+ type: EntityType.InternalCall;
1102
+ })[];
1103
+ }, {
1104
+ declaration: Record<string, any> | {
1105
+ type: EntityType.VariableDeclaration;
1106
+ };
1107
+ calledBySuccess: ({
1108
+ id: string;
1109
+ type: EntityType.GenericReference;
1110
+ entityType: EntityType.Loop;
1111
+ entityId: string;
1112
+ } | {
1113
+ id: string;
1114
+ type: EntityType.GenericReference;
1115
+ entityType: EntityType.Operation;
1116
+ entityId: string;
1117
+ } | {
1118
+ id: string;
1119
+ type: EntityType.GenericReference;
1120
+ entityType: EntityType.FunctionCall;
1121
+ entityId: string;
1122
+ } | {
1123
+ id: string;
1124
+ type: EntityType.GenericReference;
1125
+ entityType: EntityType.Condition;
1126
+ entityId: string;
1127
+ } | {
1128
+ id: string;
1129
+ type: EntityType.GenericReference;
1130
+ entityType: EntityType.Search;
1131
+ entityId: string;
1132
+ } | {
1133
+ id: string;
1134
+ type: EntityType.GenericReference;
1135
+ entityType: EntityType.VariableDeclaration;
1136
+ entityId: string;
1137
+ } | {
1138
+ id: string;
1139
+ type: EntityType.GenericReference;
1140
+ entityType: EntityType.VariableInstance;
1141
+ entityId: string;
1142
+ } | {
1143
+ id: string;
1144
+ type: EntityType.GenericReference;
1145
+ entityType: EntityType.InternalCall;
1146
+ entityId: string;
1147
+ })[];
1148
+ calledByError: ({
1149
+ id: string;
1150
+ type: EntityType.GenericReference;
1151
+ entityType: EntityType.Loop;
1152
+ entityId: string;
1153
+ } | {
1154
+ id: string;
1155
+ type: EntityType.GenericReference;
1156
+ entityType: EntityType.Operation;
1157
+ entityId: string;
1158
+ } | {
1159
+ id: string;
1160
+ type: EntityType.GenericReference;
1161
+ entityType: EntityType.FunctionCall;
1162
+ entityId: string;
1163
+ } | {
1164
+ id: string;
1165
+ type: EntityType.GenericReference;
1166
+ entityType: EntityType.Condition;
1167
+ entityId: string;
1168
+ } | {
1169
+ id: string;
1170
+ type: EntityType.GenericReference;
1171
+ entityType: EntityType.Search;
1172
+ entityId: string;
1173
+ } | {
1174
+ id: string;
1175
+ type: EntityType.GenericReference;
1176
+ entityType: EntityType.VariableDeclaration;
1177
+ entityId: string;
1178
+ } | {
1179
+ id: string;
1180
+ type: EntityType.GenericReference;
1181
+ entityType: EntityType.VariableInstance;
1182
+ entityId: string;
1183
+ } | {
1184
+ id: string;
1185
+ type: EntityType.GenericReference;
1186
+ entityType: EntityType.InternalCall;
1187
+ entityId: string;
1188
+ })[];
1189
+ calledByEntry: ({
1190
+ id: string;
1191
+ type: EntityType.GenericReference;
1192
+ entityType: EntityType.FunctionDeclaration;
1193
+ entityId: string;
1194
+ } | {
1195
+ id: string;
1196
+ type: EntityType.GenericReference;
1197
+ entityType: EntityType.GlobalEvent;
1198
+ entityId: string;
1199
+ })[];
1200
+ parent: {
1201
+ id: string;
1202
+ type: EntityType.GenericReference;
1203
+ entityType: EntityType.Project;
1204
+ entityId: string;
1205
+ } | {
1206
+ id: string;
1207
+ type: EntityType.GenericReference;
1208
+ entityType: EntityType.Loop;
1209
+ entityId: string;
1210
+ } | {
1211
+ id: string;
1212
+ type: EntityType.GenericReference;
1213
+ entityType: EntityType.FunctionDeclaration;
1214
+ entityId: string;
1215
+ } | {
1216
+ id: string;
1217
+ type: EntityType.GenericReference;
1218
+ entityType: EntityType.GlobalEvent;
1219
+ entityId: string;
1220
+ };
1221
+ readsValue: Record<string, any> | {
1222
+ type: EntityType.OutputMap;
1223
+ } | {
1224
+ type: EntityType.VariableDeclaration;
1225
+ } | {
1226
+ type: EntityType.VariableInstance;
1227
+ } | {
1228
+ type: EntityType.ArgumentDeclaration;
1229
+ } | {
1230
+ type: EntityType.Operation;
1231
+ } | {
1232
+ type: EntityType.InternalCall;
1233
+ } | {
1234
+ type: EntityType.FunctionCall;
1235
+ } | null;
1236
+ inputs: (Record<string, any> | {
1237
+ type: EntityType.InputMap;
1238
+ })[];
1239
+ outputs: (Record<string, any> | {
1240
+ type: EntityType.OutputMap;
1241
+ })[];
1242
+ successCalls: ({
1243
+ id: string;
1244
+ type: EntityType.GenericReference;
1245
+ entityType: EntityType.Loop;
1246
+ entityId: string;
1247
+ } | {
1248
+ id: string;
1249
+ type: EntityType.GenericReference;
1250
+ entityType: EntityType.Operation;
1251
+ entityId: string;
1252
+ } | {
1253
+ id: string;
1254
+ type: EntityType.GenericReference;
1255
+ entityType: EntityType.FunctionCall;
1256
+ entityId: string;
1257
+ } | {
1258
+ id: string;
1259
+ type: EntityType.GenericReference;
1260
+ entityType: EntityType.Condition;
1261
+ entityId: string;
1262
+ } | {
1263
+ id: string;
1264
+ type: EntityType.GenericReference;
1265
+ entityType: EntityType.Search;
1266
+ entityId: string;
1267
+ } | {
1268
+ id: string;
1269
+ type: EntityType.GenericReference;
1270
+ entityType: EntityType.VariableDeclaration;
1271
+ entityId: string;
1272
+ } | {
1273
+ id: string;
1274
+ type: EntityType.GenericReference;
1275
+ entityType: EntityType.VariableInstance;
1276
+ entityId: string;
1277
+ } | {
1278
+ id: string;
1279
+ type: EntityType.GenericReference;
1280
+ entityType: EntityType.InternalCall;
1281
+ entityId: string;
1282
+ } | {
1283
+ id: string;
1284
+ type: EntityType.GenericReference;
1285
+ entityType: EntityType.ReturnStatement;
1286
+ entityId: string;
1287
+ } | {
1288
+ id: string;
1289
+ type: EntityType.GenericReference;
1290
+ entityType: EntityType.BreakStatement;
1291
+ entityId: string;
1292
+ } | {
1293
+ id: string;
1294
+ type: EntityType.GenericReference;
1295
+ entityType: EntityType.ContinueStatement;
1296
+ entityId: string;
1297
+ })[];
1298
+ errorCalls: ({
1299
+ id: string;
1300
+ type: EntityType.GenericReference;
1301
+ entityType: EntityType.Loop;
1302
+ entityId: string;
1303
+ } | {
1304
+ id: string;
1305
+ type: EntityType.GenericReference;
1306
+ entityType: EntityType.Operation;
1307
+ entityId: string;
1308
+ } | {
1309
+ id: string;
1310
+ type: EntityType.GenericReference;
1311
+ entityType: EntityType.FunctionCall;
1312
+ entityId: string;
1313
+ } | {
1314
+ id: string;
1315
+ type: EntityType.GenericReference;
1316
+ entityType: EntityType.Condition;
1317
+ entityId: string;
1318
+ } | {
1319
+ id: string;
1320
+ type: EntityType.GenericReference;
1321
+ entityType: EntityType.Search;
1322
+ entityId: string;
1323
+ } | {
1324
+ id: string;
1325
+ type: EntityType.GenericReference;
1326
+ entityType: EntityType.VariableDeclaration;
1327
+ entityId: string;
1328
+ } | {
1329
+ id: string;
1330
+ type: EntityType.GenericReference;
1331
+ entityType: EntityType.VariableInstance;
1332
+ entityId: string;
1333
+ } | {
1334
+ id: string;
1335
+ type: EntityType.GenericReference;
1336
+ entityType: EntityType.InternalCall;
1337
+ entityId: string;
1338
+ } | {
1339
+ id: string;
1340
+ type: EntityType.GenericReference;
1341
+ entityType: EntityType.ReturnStatement;
1342
+ entityId: string;
1343
+ } | {
1344
+ id: string;
1345
+ type: EntityType.GenericReference;
1346
+ entityType: EntityType.BreakStatement;
1347
+ entityId: string;
1348
+ } | {
1349
+ id: string;
1350
+ type: EntityType.GenericReference;
1351
+ entityType: EntityType.ContinueStatement;
1352
+ entityId: string;
1353
+ })[];
1354
+ dataType: Record<string, any> | {
1355
+ type: EntityType.DataType;
1356
+ } | null;
1357
+ writesValues: (Record<string, any> | {
1358
+ type: EntityType.InputMap;
1359
+ } | {
1360
+ type: EntityType.ReturnDeclaration;
1361
+ } | {
1362
+ type: EntityType.VariableDeclaration;
1363
+ } | {
1364
+ type: EntityType.VariableInstance;
1365
+ })[];
1366
+ internalCalls: (Record<string, any> | {
1367
+ type: EntityType.InternalCall;
1368
+ })[];
1369
+ }>;
1370
+ export declare function getVariableInstanceSchema(): z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1371
+ id: z.ZodString;
1372
+ type: z.ZodLiteral<EntityType.VariableInstance>;
1373
+ }, {
1374
+ version: z.ZodNumber;
1375
+ x: z.ZodNumber;
1376
+ y: z.ZodNumber;
1377
+ }>, {
1378
+ declaration: z.ZodUnion<[z.ZodObject<{
1379
+ type: z.ZodLiteral<EntityType.VariableDeclaration>;
1380
+ }, "strip", z.ZodTypeAny, {
1381
+ type: EntityType.VariableDeclaration;
1382
+ }, {
1383
+ type: EntityType.VariableDeclaration;
1384
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>;
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.VariableInstance;
2150
+ declaration: Record<string, any> | {
2151
+ type: EntityType.VariableDeclaration;
2152
+ };
2153
+ calledBySuccess: ({
2154
+ id: string;
2155
+ type: EntityType.GenericReference;
2156
+ entityType: EntityType.Loop;
2157
+ entityId: string;
2158
+ } | {
2159
+ id: string;
2160
+ type: EntityType.GenericReference;
2161
+ entityType: EntityType.Operation;
2162
+ entityId: string;
2163
+ } | {
2164
+ id: string;
2165
+ type: EntityType.GenericReference;
2166
+ entityType: EntityType.FunctionCall;
2167
+ entityId: string;
2168
+ } | {
2169
+ id: string;
2170
+ type: EntityType.GenericReference;
2171
+ entityType: EntityType.Condition;
2172
+ entityId: string;
2173
+ } | {
2174
+ id: string;
2175
+ type: EntityType.GenericReference;
2176
+ entityType: EntityType.Search;
2177
+ entityId: string;
2178
+ } | {
2179
+ id: string;
2180
+ type: EntityType.GenericReference;
2181
+ entityType: EntityType.VariableDeclaration;
2182
+ entityId: string;
2183
+ } | {
2184
+ id: string;
2185
+ type: EntityType.GenericReference;
2186
+ entityType: EntityType.VariableInstance;
2187
+ entityId: string;
2188
+ } | {
2189
+ id: string;
2190
+ type: EntityType.GenericReference;
2191
+ entityType: EntityType.InternalCall;
2192
+ entityId: string;
2193
+ })[];
2194
+ calledByError: ({
2195
+ id: string;
2196
+ type: EntityType.GenericReference;
2197
+ entityType: EntityType.Loop;
2198
+ entityId: string;
2199
+ } | {
2200
+ id: string;
2201
+ type: EntityType.GenericReference;
2202
+ entityType: EntityType.Operation;
2203
+ entityId: string;
2204
+ } | {
2205
+ id: string;
2206
+ type: EntityType.GenericReference;
2207
+ entityType: EntityType.FunctionCall;
2208
+ entityId: string;
2209
+ } | {
2210
+ id: string;
2211
+ type: EntityType.GenericReference;
2212
+ entityType: EntityType.Condition;
2213
+ entityId: string;
2214
+ } | {
2215
+ id: string;
2216
+ type: EntityType.GenericReference;
2217
+ entityType: EntityType.Search;
2218
+ entityId: string;
2219
+ } | {
2220
+ id: string;
2221
+ type: EntityType.GenericReference;
2222
+ entityType: EntityType.VariableDeclaration;
2223
+ entityId: string;
2224
+ } | {
2225
+ id: string;
2226
+ type: EntityType.GenericReference;
2227
+ entityType: EntityType.VariableInstance;
2228
+ entityId: string;
2229
+ } | {
2230
+ id: string;
2231
+ type: EntityType.GenericReference;
2232
+ entityType: EntityType.InternalCall;
2233
+ entityId: string;
2234
+ })[];
2235
+ calledByEntry: ({
2236
+ id: string;
2237
+ type: EntityType.GenericReference;
2238
+ entityType: EntityType.FunctionDeclaration;
2239
+ entityId: string;
2240
+ } | {
2241
+ id: string;
2242
+ type: EntityType.GenericReference;
2243
+ entityType: EntityType.GlobalEvent;
2244
+ entityId: string;
2245
+ })[];
2246
+ parent: {
2247
+ id: string;
2248
+ type: EntityType.GenericReference;
2249
+ entityType: EntityType.Project;
2250
+ entityId: string;
2251
+ } | {
2252
+ id: string;
2253
+ type: EntityType.GenericReference;
2254
+ entityType: EntityType.Loop;
2255
+ entityId: string;
2256
+ } | {
2257
+ id: string;
2258
+ type: EntityType.GenericReference;
2259
+ entityType: EntityType.FunctionDeclaration;
2260
+ entityId: string;
2261
+ } | {
2262
+ id: string;
2263
+ type: EntityType.GenericReference;
2264
+ entityType: EntityType.GlobalEvent;
2265
+ entityId: string;
2266
+ };
2267
+ version: number;
2268
+ readsValue: Record<string, any> | {
2269
+ type: EntityType.OutputMap;
2270
+ } | {
2271
+ type: EntityType.VariableDeclaration;
2272
+ } | {
2273
+ type: EntityType.VariableInstance;
2274
+ } | {
2275
+ type: EntityType.ArgumentDeclaration;
2276
+ } | {
2277
+ type: EntityType.Operation;
2278
+ } | {
2279
+ type: EntityType.InternalCall;
2280
+ } | {
2281
+ type: EntityType.FunctionCall;
2282
+ } | null;
2283
+ x: number;
2284
+ y: number;
2285
+ inputs: (Record<string, any> | {
2286
+ type: EntityType.InputMap;
2287
+ })[];
2288
+ outputs: (Record<string, any> | {
2289
+ type: EntityType.OutputMap;
2290
+ })[];
2291
+ successCalls: ({
2292
+ id: string;
2293
+ type: EntityType.GenericReference;
2294
+ entityType: EntityType.Loop;
2295
+ entityId: string;
2296
+ } | {
2297
+ id: string;
2298
+ type: EntityType.GenericReference;
2299
+ entityType: EntityType.Operation;
2300
+ entityId: string;
2301
+ } | {
2302
+ id: string;
2303
+ type: EntityType.GenericReference;
2304
+ entityType: EntityType.FunctionCall;
2305
+ entityId: string;
2306
+ } | {
2307
+ id: string;
2308
+ type: EntityType.GenericReference;
2309
+ entityType: EntityType.Condition;
2310
+ entityId: string;
2311
+ } | {
2312
+ id: string;
2313
+ type: EntityType.GenericReference;
2314
+ entityType: EntityType.Search;
2315
+ entityId: string;
2316
+ } | {
2317
+ id: string;
2318
+ type: EntityType.GenericReference;
2319
+ entityType: EntityType.VariableDeclaration;
2320
+ entityId: string;
2321
+ } | {
2322
+ id: string;
2323
+ type: EntityType.GenericReference;
2324
+ entityType: EntityType.VariableInstance;
2325
+ entityId: string;
2326
+ } | {
2327
+ id: string;
2328
+ type: EntityType.GenericReference;
2329
+ entityType: EntityType.InternalCall;
2330
+ entityId: string;
2331
+ } | {
2332
+ id: string;
2333
+ type: EntityType.GenericReference;
2334
+ entityType: EntityType.ReturnStatement;
2335
+ entityId: string;
2336
+ } | {
2337
+ id: string;
2338
+ type: EntityType.GenericReference;
2339
+ entityType: EntityType.BreakStatement;
2340
+ entityId: string;
2341
+ } | {
2342
+ id: string;
2343
+ type: EntityType.GenericReference;
2344
+ entityType: EntityType.ContinueStatement;
2345
+ entityId: string;
2346
+ })[];
2347
+ errorCalls: ({
2348
+ id: string;
2349
+ type: EntityType.GenericReference;
2350
+ entityType: EntityType.Loop;
2351
+ entityId: string;
2352
+ } | {
2353
+ id: string;
2354
+ type: EntityType.GenericReference;
2355
+ entityType: EntityType.Operation;
2356
+ entityId: string;
2357
+ } | {
2358
+ id: string;
2359
+ type: EntityType.GenericReference;
2360
+ entityType: EntityType.FunctionCall;
2361
+ entityId: string;
2362
+ } | {
2363
+ id: string;
2364
+ type: EntityType.GenericReference;
2365
+ entityType: EntityType.Condition;
2366
+ entityId: string;
2367
+ } | {
2368
+ id: string;
2369
+ type: EntityType.GenericReference;
2370
+ entityType: EntityType.Search;
2371
+ entityId: string;
2372
+ } | {
2373
+ id: string;
2374
+ type: EntityType.GenericReference;
2375
+ entityType: EntityType.VariableDeclaration;
2376
+ entityId: string;
2377
+ } | {
2378
+ id: string;
2379
+ type: EntityType.GenericReference;
2380
+ entityType: EntityType.VariableInstance;
2381
+ entityId: string;
2382
+ } | {
2383
+ id: string;
2384
+ type: EntityType.GenericReference;
2385
+ entityType: EntityType.InternalCall;
2386
+ entityId: string;
2387
+ } | {
2388
+ id: string;
2389
+ type: EntityType.GenericReference;
2390
+ entityType: EntityType.ReturnStatement;
2391
+ entityId: string;
2392
+ } | {
2393
+ id: string;
2394
+ type: EntityType.GenericReference;
2395
+ entityType: EntityType.BreakStatement;
2396
+ entityId: string;
2397
+ } | {
2398
+ id: string;
2399
+ type: EntityType.GenericReference;
2400
+ entityType: EntityType.ContinueStatement;
2401
+ entityId: string;
2402
+ })[];
2403
+ dataType: Record<string, any> | {
2404
+ type: EntityType.DataType;
2405
+ } | null;
2406
+ writesValues: (Record<string, any> | {
2407
+ type: EntityType.InputMap;
2408
+ } | {
2409
+ type: EntityType.ReturnDeclaration;
2410
+ } | {
2411
+ type: EntityType.VariableDeclaration;
2412
+ } | {
2413
+ type: EntityType.VariableInstance;
2414
+ })[];
2415
+ internalCalls: (Record<string, any> | {
2416
+ type: EntityType.InternalCall;
2417
+ })[];
2418
+ }, {
2419
+ id: string;
2420
+ type: EntityType.VariableInstance;
2421
+ declaration: Record<string, any> | {
2422
+ type: EntityType.VariableDeclaration;
2423
+ };
2424
+ calledBySuccess: ({
2425
+ id: string;
2426
+ type: EntityType.GenericReference;
2427
+ entityType: EntityType.Loop;
2428
+ entityId: string;
2429
+ } | {
2430
+ id: string;
2431
+ type: EntityType.GenericReference;
2432
+ entityType: EntityType.Operation;
2433
+ entityId: string;
2434
+ } | {
2435
+ id: string;
2436
+ type: EntityType.GenericReference;
2437
+ entityType: EntityType.FunctionCall;
2438
+ entityId: string;
2439
+ } | {
2440
+ id: string;
2441
+ type: EntityType.GenericReference;
2442
+ entityType: EntityType.Condition;
2443
+ entityId: string;
2444
+ } | {
2445
+ id: string;
2446
+ type: EntityType.GenericReference;
2447
+ entityType: EntityType.Search;
2448
+ entityId: string;
2449
+ } | {
2450
+ id: string;
2451
+ type: EntityType.GenericReference;
2452
+ entityType: EntityType.VariableDeclaration;
2453
+ entityId: string;
2454
+ } | {
2455
+ id: string;
2456
+ type: EntityType.GenericReference;
2457
+ entityType: EntityType.VariableInstance;
2458
+ entityId: string;
2459
+ } | {
2460
+ id: string;
2461
+ type: EntityType.GenericReference;
2462
+ entityType: EntityType.InternalCall;
2463
+ entityId: string;
2464
+ })[];
2465
+ calledByError: ({
2466
+ id: string;
2467
+ type: EntityType.GenericReference;
2468
+ entityType: EntityType.Loop;
2469
+ entityId: string;
2470
+ } | {
2471
+ id: string;
2472
+ type: EntityType.GenericReference;
2473
+ entityType: EntityType.Operation;
2474
+ entityId: string;
2475
+ } | {
2476
+ id: string;
2477
+ type: EntityType.GenericReference;
2478
+ entityType: EntityType.FunctionCall;
2479
+ entityId: string;
2480
+ } | {
2481
+ id: string;
2482
+ type: EntityType.GenericReference;
2483
+ entityType: EntityType.Condition;
2484
+ entityId: string;
2485
+ } | {
2486
+ id: string;
2487
+ type: EntityType.GenericReference;
2488
+ entityType: EntityType.Search;
2489
+ entityId: string;
2490
+ } | {
2491
+ id: string;
2492
+ type: EntityType.GenericReference;
2493
+ entityType: EntityType.VariableDeclaration;
2494
+ entityId: string;
2495
+ } | {
2496
+ id: string;
2497
+ type: EntityType.GenericReference;
2498
+ entityType: EntityType.VariableInstance;
2499
+ entityId: string;
2500
+ } | {
2501
+ id: string;
2502
+ type: EntityType.GenericReference;
2503
+ entityType: EntityType.InternalCall;
2504
+ entityId: string;
2505
+ })[];
2506
+ calledByEntry: ({
2507
+ id: string;
2508
+ type: EntityType.GenericReference;
2509
+ entityType: EntityType.FunctionDeclaration;
2510
+ entityId: string;
2511
+ } | {
2512
+ id: string;
2513
+ type: EntityType.GenericReference;
2514
+ entityType: EntityType.GlobalEvent;
2515
+ entityId: string;
2516
+ })[];
2517
+ parent: {
2518
+ id: string;
2519
+ type: EntityType.GenericReference;
2520
+ entityType: EntityType.Project;
2521
+ entityId: string;
2522
+ } | {
2523
+ id: string;
2524
+ type: EntityType.GenericReference;
2525
+ entityType: EntityType.Loop;
2526
+ entityId: string;
2527
+ } | {
2528
+ id: string;
2529
+ type: EntityType.GenericReference;
2530
+ entityType: EntityType.FunctionDeclaration;
2531
+ entityId: string;
2532
+ } | {
2533
+ id: string;
2534
+ type: EntityType.GenericReference;
2535
+ entityType: EntityType.GlobalEvent;
2536
+ entityId: string;
2537
+ };
2538
+ version: number;
2539
+ readsValue: Record<string, any> | {
2540
+ type: EntityType.OutputMap;
2541
+ } | {
2542
+ type: EntityType.VariableDeclaration;
2543
+ } | {
2544
+ type: EntityType.VariableInstance;
2545
+ } | {
2546
+ type: EntityType.ArgumentDeclaration;
2547
+ } | {
2548
+ type: EntityType.Operation;
2549
+ } | {
2550
+ type: EntityType.InternalCall;
2551
+ } | {
2552
+ type: EntityType.FunctionCall;
2553
+ } | null;
2554
+ x: number;
2555
+ y: number;
2556
+ inputs: (Record<string, any> | {
2557
+ type: EntityType.InputMap;
2558
+ })[];
2559
+ outputs: (Record<string, any> | {
2560
+ type: EntityType.OutputMap;
2561
+ })[];
2562
+ successCalls: ({
2563
+ id: string;
2564
+ type: EntityType.GenericReference;
2565
+ entityType: EntityType.Loop;
2566
+ entityId: string;
2567
+ } | {
2568
+ id: string;
2569
+ type: EntityType.GenericReference;
2570
+ entityType: EntityType.Operation;
2571
+ entityId: string;
2572
+ } | {
2573
+ id: string;
2574
+ type: EntityType.GenericReference;
2575
+ entityType: EntityType.FunctionCall;
2576
+ entityId: string;
2577
+ } | {
2578
+ id: string;
2579
+ type: EntityType.GenericReference;
2580
+ entityType: EntityType.Condition;
2581
+ entityId: string;
2582
+ } | {
2583
+ id: string;
2584
+ type: EntityType.GenericReference;
2585
+ entityType: EntityType.Search;
2586
+ entityId: string;
2587
+ } | {
2588
+ id: string;
2589
+ type: EntityType.GenericReference;
2590
+ entityType: EntityType.VariableDeclaration;
2591
+ entityId: string;
2592
+ } | {
2593
+ id: string;
2594
+ type: EntityType.GenericReference;
2595
+ entityType: EntityType.VariableInstance;
2596
+ entityId: string;
2597
+ } | {
2598
+ id: string;
2599
+ type: EntityType.GenericReference;
2600
+ entityType: EntityType.InternalCall;
2601
+ entityId: string;
2602
+ } | {
2603
+ id: string;
2604
+ type: EntityType.GenericReference;
2605
+ entityType: EntityType.ReturnStatement;
2606
+ entityId: string;
2607
+ } | {
2608
+ id: string;
2609
+ type: EntityType.GenericReference;
2610
+ entityType: EntityType.BreakStatement;
2611
+ entityId: string;
2612
+ } | {
2613
+ id: string;
2614
+ type: EntityType.GenericReference;
2615
+ entityType: EntityType.ContinueStatement;
2616
+ entityId: string;
2617
+ })[];
2618
+ errorCalls: ({
2619
+ id: string;
2620
+ type: EntityType.GenericReference;
2621
+ entityType: EntityType.Loop;
2622
+ entityId: string;
2623
+ } | {
2624
+ id: string;
2625
+ type: EntityType.GenericReference;
2626
+ entityType: EntityType.Operation;
2627
+ entityId: string;
2628
+ } | {
2629
+ id: string;
2630
+ type: EntityType.GenericReference;
2631
+ entityType: EntityType.FunctionCall;
2632
+ entityId: string;
2633
+ } | {
2634
+ id: string;
2635
+ type: EntityType.GenericReference;
2636
+ entityType: EntityType.Condition;
2637
+ entityId: string;
2638
+ } | {
2639
+ id: string;
2640
+ type: EntityType.GenericReference;
2641
+ entityType: EntityType.Search;
2642
+ entityId: string;
2643
+ } | {
2644
+ id: string;
2645
+ type: EntityType.GenericReference;
2646
+ entityType: EntityType.VariableDeclaration;
2647
+ entityId: string;
2648
+ } | {
2649
+ id: string;
2650
+ type: EntityType.GenericReference;
2651
+ entityType: EntityType.VariableInstance;
2652
+ entityId: string;
2653
+ } | {
2654
+ id: string;
2655
+ type: EntityType.GenericReference;
2656
+ entityType: EntityType.InternalCall;
2657
+ entityId: string;
2658
+ } | {
2659
+ id: string;
2660
+ type: EntityType.GenericReference;
2661
+ entityType: EntityType.ReturnStatement;
2662
+ entityId: string;
2663
+ } | {
2664
+ id: string;
2665
+ type: EntityType.GenericReference;
2666
+ entityType: EntityType.BreakStatement;
2667
+ entityId: string;
2668
+ } | {
2669
+ id: string;
2670
+ type: EntityType.GenericReference;
2671
+ entityType: EntityType.ContinueStatement;
2672
+ entityId: string;
2673
+ })[];
2674
+ dataType: Record<string, any> | {
2675
+ type: EntityType.DataType;
2676
+ } | null;
2677
+ writesValues: (Record<string, any> | {
2678
+ type: EntityType.InputMap;
2679
+ } | {
2680
+ type: EntityType.ReturnDeclaration;
2681
+ } | {
2682
+ type: EntityType.VariableDeclaration;
2683
+ } | {
2684
+ type: EntityType.VariableInstance;
2685
+ })[];
2686
+ internalCalls: (Record<string, any> | {
2687
+ type: EntityType.InternalCall;
2688
+ })[];
2689
+ }>;