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