@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,1217 @@
1
+ import { EntityType } from '../../../../../../../../../../src/definitions';
2
+ import { z } from 'zod';
3
+
4
+ export declare function getReturnStatementTypeSchema(): z.ZodUnion<[z.ZodObject<{
5
+ type: z.ZodLiteral<EntityType.ReturnStatement>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ type: EntityType.ReturnStatement;
8
+ }, {
9
+ type: EntityType.ReturnStatement;
10
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>;
11
+ export declare function getReturnStatementReferenceSchema(): z.ZodObject<{
12
+ id: z.ZodString;
13
+ type: z.ZodLiteral<EntityType.GenericReference>;
14
+ entityId: z.ZodString;
15
+ entityType: z.ZodLiteral<EntityType.ReturnStatement>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ id: string;
18
+ type: EntityType.GenericReference;
19
+ entityType: EntityType.ReturnStatement;
20
+ entityId: string;
21
+ }, {
22
+ id: string;
23
+ type: EntityType.GenericReference;
24
+ entityType: EntityType.ReturnStatement;
25
+ entityId: string;
26
+ }>;
27
+ export declare function getReturnStatementBaseSchema(): z.ZodObject<{
28
+ id: z.ZodString;
29
+ type: z.ZodLiteral<EntityType.ReturnStatement>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ id: string;
32
+ type: EntityType.ReturnStatement;
33
+ }, {
34
+ id: string;
35
+ type: EntityType.ReturnStatement;
36
+ }>;
37
+ export declare function getReturnStatementMetaSchema(): z.ZodObject<z.objectUtil.extendShape<{
38
+ id: z.ZodString;
39
+ type: z.ZodLiteral<EntityType.ReturnStatement>;
40
+ }, {
41
+ version: z.ZodNumber;
42
+ x: z.ZodNumber;
43
+ y: z.ZodNumber;
44
+ }>, "strip", z.ZodTypeAny, {
45
+ id: string;
46
+ type: EntityType.ReturnStatement;
47
+ version: number;
48
+ x: number;
49
+ y: number;
50
+ }, {
51
+ id: string;
52
+ type: EntityType.ReturnStatement;
53
+ version: number;
54
+ x: number;
55
+ y: number;
56
+ }>;
57
+ export declare function getReturnStatementGenerationTargetSchema(): z.ZodObject<z.objectUtil.extendShape<{
58
+ id: z.ZodString;
59
+ type: z.ZodLiteral<EntityType.ReturnStatement>;
60
+ }, {}>, "strip", z.ZodTypeAny, {
61
+ id: string;
62
+ type: EntityType.ReturnStatement;
63
+ }, {
64
+ id: string;
65
+ type: EntityType.ReturnStatement;
66
+ }>;
67
+ export declare function getReturnStatementNestedEntitiesSchema(): z.ZodObject<{
68
+ calledBySuccess: z.ZodArray<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
+ }>]>, "many">;
189
+ calledByError: z.ZodArray<z.ZodUnion<[z.ZodObject<{
190
+ id: z.ZodString;
191
+ type: z.ZodLiteral<EntityType.GenericReference>;
192
+ entityId: z.ZodString;
193
+ entityType: z.ZodLiteral<EntityType.Operation>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ id: string;
196
+ type: EntityType.GenericReference;
197
+ entityType: EntityType.Operation;
198
+ entityId: string;
199
+ }, {
200
+ id: string;
201
+ type: EntityType.GenericReference;
202
+ entityType: EntityType.Operation;
203
+ entityId: string;
204
+ }>, z.ZodObject<{
205
+ id: z.ZodString;
206
+ type: z.ZodLiteral<EntityType.GenericReference>;
207
+ entityId: z.ZodString;
208
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
209
+ }, "strip", z.ZodTypeAny, {
210
+ id: string;
211
+ type: EntityType.GenericReference;
212
+ entityType: EntityType.FunctionCall;
213
+ entityId: string;
214
+ }, {
215
+ id: string;
216
+ type: EntityType.GenericReference;
217
+ entityType: EntityType.FunctionCall;
218
+ entityId: string;
219
+ }>, z.ZodObject<{
220
+ id: z.ZodString;
221
+ type: z.ZodLiteral<EntityType.GenericReference>;
222
+ entityId: z.ZodString;
223
+ entityType: z.ZodLiteral<EntityType.Condition>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ id: string;
226
+ type: EntityType.GenericReference;
227
+ entityType: EntityType.Condition;
228
+ entityId: string;
229
+ }, {
230
+ id: string;
231
+ type: EntityType.GenericReference;
232
+ entityType: EntityType.Condition;
233
+ entityId: string;
234
+ }>, z.ZodObject<{
235
+ id: z.ZodString;
236
+ type: z.ZodLiteral<EntityType.GenericReference>;
237
+ entityId: z.ZodString;
238
+ entityType: z.ZodLiteral<EntityType.Search>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ id: string;
241
+ type: EntityType.GenericReference;
242
+ entityType: EntityType.Search;
243
+ entityId: string;
244
+ }, {
245
+ id: string;
246
+ type: EntityType.GenericReference;
247
+ entityType: EntityType.Search;
248
+ entityId: string;
249
+ }>, z.ZodUnion<[z.ZodObject<{
250
+ id: z.ZodString;
251
+ type: z.ZodLiteral<EntityType.GenericReference>;
252
+ entityId: z.ZodString;
253
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
254
+ }, "strip", z.ZodTypeAny, {
255
+ id: string;
256
+ type: EntityType.GenericReference;
257
+ entityType: EntityType.VariableDeclaration;
258
+ entityId: string;
259
+ }, {
260
+ id: string;
261
+ type: EntityType.GenericReference;
262
+ entityType: EntityType.VariableDeclaration;
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.VariableInstance>;
269
+ }, "strip", z.ZodTypeAny, {
270
+ id: string;
271
+ type: EntityType.GenericReference;
272
+ entityType: EntityType.VariableInstance;
273
+ entityId: string;
274
+ }, {
275
+ id: string;
276
+ type: EntityType.GenericReference;
277
+ entityType: EntityType.VariableInstance;
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.InternalCall>;
284
+ }, "strip", z.ZodTypeAny, {
285
+ id: string;
286
+ type: EntityType.GenericReference;
287
+ entityType: EntityType.InternalCall;
288
+ entityId: string;
289
+ }, {
290
+ id: string;
291
+ type: EntityType.GenericReference;
292
+ entityType: EntityType.InternalCall;
293
+ entityId: string;
294
+ }>, z.ZodObject<{
295
+ id: z.ZodString;
296
+ type: z.ZodLiteral<EntityType.GenericReference>;
297
+ entityId: z.ZodString;
298
+ entityType: z.ZodLiteral<EntityType.Loop>;
299
+ }, "strip", z.ZodTypeAny, {
300
+ id: string;
301
+ type: EntityType.GenericReference;
302
+ entityType: EntityType.Loop;
303
+ entityId: string;
304
+ }, {
305
+ id: string;
306
+ type: EntityType.GenericReference;
307
+ entityType: EntityType.Loop;
308
+ entityId: string;
309
+ }>]>, "many">;
310
+ calledByEntry: z.ZodArray<z.ZodUnion<[z.ZodObject<{
311
+ id: z.ZodString;
312
+ type: z.ZodLiteral<EntityType.GenericReference>;
313
+ entityId: z.ZodString;
314
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ id: string;
317
+ type: EntityType.GenericReference;
318
+ entityType: EntityType.FunctionDeclaration;
319
+ entityId: string;
320
+ }, {
321
+ id: string;
322
+ type: EntityType.GenericReference;
323
+ entityType: EntityType.FunctionDeclaration;
324
+ entityId: string;
325
+ }>, z.ZodObject<{
326
+ id: z.ZodString;
327
+ type: z.ZodLiteral<EntityType.GenericReference>;
328
+ entityId: z.ZodString;
329
+ entityType: z.ZodLiteral<EntityType.GlobalEvent>;
330
+ }, "strip", z.ZodTypeAny, {
331
+ id: string;
332
+ type: EntityType.GenericReference;
333
+ entityType: EntityType.GlobalEvent;
334
+ entityId: string;
335
+ }, {
336
+ id: string;
337
+ type: EntityType.GenericReference;
338
+ entityType: EntityType.GlobalEvent;
339
+ entityId: string;
340
+ }>]>, "many">;
341
+ outputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
342
+ type: z.ZodLiteral<EntityType.ReturnDeclaration>;
343
+ }, "strip", z.ZodTypeAny, {
344
+ type: EntityType.ReturnDeclaration;
345
+ }, {
346
+ type: EntityType.ReturnDeclaration;
347
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
348
+ throws: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
349
+ type: z.ZodLiteral<EntityType.ReturnDeclaration>;
350
+ }, "strip", z.ZodTypeAny, {
351
+ type: EntityType.ReturnDeclaration;
352
+ }, {
353
+ type: EntityType.ReturnDeclaration;
354
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
355
+ parent: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
356
+ id: z.ZodString;
357
+ type: z.ZodLiteral<EntityType.GenericReference>;
358
+ entityId: z.ZodString;
359
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
360
+ }, "strip", z.ZodTypeAny, {
361
+ id: string;
362
+ type: EntityType.GenericReference;
363
+ entityType: EntityType.FunctionDeclaration;
364
+ entityId: string;
365
+ }, {
366
+ id: string;
367
+ type: EntityType.GenericReference;
368
+ entityType: EntityType.FunctionDeclaration;
369
+ entityId: string;
370
+ }>, z.ZodObject<{
371
+ id: z.ZodString;
372
+ type: z.ZodLiteral<EntityType.GenericReference>;
373
+ entityId: z.ZodString;
374
+ entityType: z.ZodLiteral<EntityType.GlobalEvent>;
375
+ }, "strip", z.ZodTypeAny, {
376
+ id: string;
377
+ type: EntityType.GenericReference;
378
+ entityType: EntityType.GlobalEvent;
379
+ entityId: string;
380
+ }, {
381
+ id: string;
382
+ type: EntityType.GenericReference;
383
+ entityType: EntityType.GlobalEvent;
384
+ entityId: string;
385
+ }>]>, z.ZodObject<{
386
+ id: z.ZodString;
387
+ type: z.ZodLiteral<EntityType.GenericReference>;
388
+ entityId: z.ZodString;
389
+ entityType: z.ZodLiteral<EntityType.Loop>;
390
+ }, "strip", z.ZodTypeAny, {
391
+ id: string;
392
+ type: EntityType.GenericReference;
393
+ entityType: EntityType.Loop;
394
+ entityId: string;
395
+ }, {
396
+ id: string;
397
+ type: EntityType.GenericReference;
398
+ entityType: EntityType.Loop;
399
+ entityId: string;
400
+ }>]>;
401
+ }, "strip", z.ZodTypeAny, {
402
+ calledBySuccess: ({
403
+ id: string;
404
+ type: EntityType.GenericReference;
405
+ entityType: EntityType.Loop;
406
+ entityId: string;
407
+ } | {
408
+ id: string;
409
+ type: EntityType.GenericReference;
410
+ entityType: EntityType.Operation;
411
+ entityId: string;
412
+ } | {
413
+ id: string;
414
+ type: EntityType.GenericReference;
415
+ entityType: EntityType.FunctionCall;
416
+ entityId: string;
417
+ } | {
418
+ id: string;
419
+ type: EntityType.GenericReference;
420
+ entityType: EntityType.Condition;
421
+ entityId: string;
422
+ } | {
423
+ id: string;
424
+ type: EntityType.GenericReference;
425
+ entityType: EntityType.Search;
426
+ entityId: string;
427
+ } | {
428
+ id: string;
429
+ type: EntityType.GenericReference;
430
+ entityType: EntityType.VariableDeclaration;
431
+ entityId: string;
432
+ } | {
433
+ id: string;
434
+ type: EntityType.GenericReference;
435
+ entityType: EntityType.VariableInstance;
436
+ entityId: string;
437
+ } | {
438
+ id: string;
439
+ type: EntityType.GenericReference;
440
+ entityType: EntityType.InternalCall;
441
+ entityId: string;
442
+ })[];
443
+ calledByError: ({
444
+ id: string;
445
+ type: EntityType.GenericReference;
446
+ entityType: EntityType.Loop;
447
+ entityId: string;
448
+ } | {
449
+ id: string;
450
+ type: EntityType.GenericReference;
451
+ entityType: EntityType.Operation;
452
+ entityId: string;
453
+ } | {
454
+ id: string;
455
+ type: EntityType.GenericReference;
456
+ entityType: EntityType.FunctionCall;
457
+ entityId: string;
458
+ } | {
459
+ id: string;
460
+ type: EntityType.GenericReference;
461
+ entityType: EntityType.Condition;
462
+ entityId: string;
463
+ } | {
464
+ id: string;
465
+ type: EntityType.GenericReference;
466
+ entityType: EntityType.Search;
467
+ entityId: string;
468
+ } | {
469
+ id: string;
470
+ type: EntityType.GenericReference;
471
+ entityType: EntityType.VariableDeclaration;
472
+ entityId: string;
473
+ } | {
474
+ id: string;
475
+ type: EntityType.GenericReference;
476
+ entityType: EntityType.VariableInstance;
477
+ entityId: string;
478
+ } | {
479
+ id: string;
480
+ type: EntityType.GenericReference;
481
+ entityType: EntityType.InternalCall;
482
+ entityId: string;
483
+ })[];
484
+ calledByEntry: ({
485
+ id: string;
486
+ type: EntityType.GenericReference;
487
+ entityType: EntityType.FunctionDeclaration;
488
+ entityId: string;
489
+ } | {
490
+ id: string;
491
+ type: EntityType.GenericReference;
492
+ entityType: EntityType.GlobalEvent;
493
+ entityId: string;
494
+ })[];
495
+ parent: {
496
+ id: string;
497
+ type: EntityType.GenericReference;
498
+ entityType: EntityType.Loop;
499
+ entityId: string;
500
+ } | {
501
+ id: string;
502
+ type: EntityType.GenericReference;
503
+ entityType: EntityType.FunctionDeclaration;
504
+ entityId: string;
505
+ } | {
506
+ id: string;
507
+ type: EntityType.GenericReference;
508
+ entityType: EntityType.GlobalEvent;
509
+ entityId: string;
510
+ };
511
+ outputs: (Record<string, any> | {
512
+ type: EntityType.ReturnDeclaration;
513
+ })[];
514
+ throws?: Record<string, any> | {
515
+ type: EntityType.ReturnDeclaration;
516
+ } | undefined;
517
+ }, {
518
+ calledBySuccess: ({
519
+ id: string;
520
+ type: EntityType.GenericReference;
521
+ entityType: EntityType.Loop;
522
+ entityId: string;
523
+ } | {
524
+ id: string;
525
+ type: EntityType.GenericReference;
526
+ entityType: EntityType.Operation;
527
+ entityId: string;
528
+ } | {
529
+ id: string;
530
+ type: EntityType.GenericReference;
531
+ entityType: EntityType.FunctionCall;
532
+ entityId: string;
533
+ } | {
534
+ id: string;
535
+ type: EntityType.GenericReference;
536
+ entityType: EntityType.Condition;
537
+ entityId: string;
538
+ } | {
539
+ id: string;
540
+ type: EntityType.GenericReference;
541
+ entityType: EntityType.Search;
542
+ entityId: string;
543
+ } | {
544
+ id: string;
545
+ type: EntityType.GenericReference;
546
+ entityType: EntityType.VariableDeclaration;
547
+ entityId: string;
548
+ } | {
549
+ id: string;
550
+ type: EntityType.GenericReference;
551
+ entityType: EntityType.VariableInstance;
552
+ entityId: string;
553
+ } | {
554
+ id: string;
555
+ type: EntityType.GenericReference;
556
+ entityType: EntityType.InternalCall;
557
+ entityId: string;
558
+ })[];
559
+ calledByError: ({
560
+ id: string;
561
+ type: EntityType.GenericReference;
562
+ entityType: EntityType.Loop;
563
+ entityId: string;
564
+ } | {
565
+ id: string;
566
+ type: EntityType.GenericReference;
567
+ entityType: EntityType.Operation;
568
+ entityId: string;
569
+ } | {
570
+ id: string;
571
+ type: EntityType.GenericReference;
572
+ entityType: EntityType.FunctionCall;
573
+ entityId: string;
574
+ } | {
575
+ id: string;
576
+ type: EntityType.GenericReference;
577
+ entityType: EntityType.Condition;
578
+ entityId: string;
579
+ } | {
580
+ id: string;
581
+ type: EntityType.GenericReference;
582
+ entityType: EntityType.Search;
583
+ entityId: string;
584
+ } | {
585
+ id: string;
586
+ type: EntityType.GenericReference;
587
+ entityType: EntityType.VariableDeclaration;
588
+ entityId: string;
589
+ } | {
590
+ id: string;
591
+ type: EntityType.GenericReference;
592
+ entityType: EntityType.VariableInstance;
593
+ entityId: string;
594
+ } | {
595
+ id: string;
596
+ type: EntityType.GenericReference;
597
+ entityType: EntityType.InternalCall;
598
+ entityId: string;
599
+ })[];
600
+ calledByEntry: ({
601
+ id: string;
602
+ type: EntityType.GenericReference;
603
+ entityType: EntityType.FunctionDeclaration;
604
+ entityId: string;
605
+ } | {
606
+ id: string;
607
+ type: EntityType.GenericReference;
608
+ entityType: EntityType.GlobalEvent;
609
+ entityId: string;
610
+ })[];
611
+ parent: {
612
+ id: string;
613
+ type: EntityType.GenericReference;
614
+ entityType: EntityType.Loop;
615
+ entityId: string;
616
+ } | {
617
+ id: string;
618
+ type: EntityType.GenericReference;
619
+ entityType: EntityType.FunctionDeclaration;
620
+ entityId: string;
621
+ } | {
622
+ id: string;
623
+ type: EntityType.GenericReference;
624
+ entityType: EntityType.GlobalEvent;
625
+ entityId: string;
626
+ };
627
+ outputs: (Record<string, any> | {
628
+ type: EntityType.ReturnDeclaration;
629
+ })[];
630
+ throws?: Record<string, any> | {
631
+ type: EntityType.ReturnDeclaration;
632
+ } | undefined;
633
+ }>;
634
+ export declare function getReturnStatementSchema(): z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
635
+ id: z.ZodString;
636
+ type: z.ZodLiteral<EntityType.ReturnStatement>;
637
+ }, {
638
+ version: z.ZodNumber;
639
+ x: z.ZodNumber;
640
+ y: z.ZodNumber;
641
+ }>, {
642
+ calledBySuccess: 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.Operation>;
647
+ }, "strip", z.ZodTypeAny, {
648
+ id: string;
649
+ type: EntityType.GenericReference;
650
+ entityType: EntityType.Operation;
651
+ entityId: string;
652
+ }, {
653
+ id: string;
654
+ type: EntityType.GenericReference;
655
+ entityType: EntityType.Operation;
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.FunctionCall>;
662
+ }, "strip", z.ZodTypeAny, {
663
+ id: string;
664
+ type: EntityType.GenericReference;
665
+ entityType: EntityType.FunctionCall;
666
+ entityId: string;
667
+ }, {
668
+ id: string;
669
+ type: EntityType.GenericReference;
670
+ entityType: EntityType.FunctionCall;
671
+ entityId: string;
672
+ }>, z.ZodObject<{
673
+ id: z.ZodString;
674
+ type: z.ZodLiteral<EntityType.GenericReference>;
675
+ entityId: z.ZodString;
676
+ entityType: z.ZodLiteral<EntityType.Condition>;
677
+ }, "strip", z.ZodTypeAny, {
678
+ id: string;
679
+ type: EntityType.GenericReference;
680
+ entityType: EntityType.Condition;
681
+ entityId: string;
682
+ }, {
683
+ id: string;
684
+ type: EntityType.GenericReference;
685
+ entityType: EntityType.Condition;
686
+ entityId: string;
687
+ }>, z.ZodObject<{
688
+ id: z.ZodString;
689
+ type: z.ZodLiteral<EntityType.GenericReference>;
690
+ entityId: z.ZodString;
691
+ entityType: z.ZodLiteral<EntityType.Search>;
692
+ }, "strip", z.ZodTypeAny, {
693
+ id: string;
694
+ type: EntityType.GenericReference;
695
+ entityType: EntityType.Search;
696
+ entityId: string;
697
+ }, {
698
+ id: string;
699
+ type: EntityType.GenericReference;
700
+ entityType: EntityType.Search;
701
+ entityId: string;
702
+ }>, z.ZodUnion<[z.ZodObject<{
703
+ id: z.ZodString;
704
+ type: z.ZodLiteral<EntityType.GenericReference>;
705
+ entityId: z.ZodString;
706
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
707
+ }, "strip", z.ZodTypeAny, {
708
+ id: string;
709
+ type: EntityType.GenericReference;
710
+ entityType: EntityType.VariableDeclaration;
711
+ entityId: string;
712
+ }, {
713
+ id: string;
714
+ type: EntityType.GenericReference;
715
+ entityType: EntityType.VariableDeclaration;
716
+ entityId: string;
717
+ }>, z.ZodObject<{
718
+ id: z.ZodString;
719
+ type: z.ZodLiteral<EntityType.GenericReference>;
720
+ entityId: z.ZodString;
721
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
722
+ }, "strip", z.ZodTypeAny, {
723
+ id: string;
724
+ type: EntityType.GenericReference;
725
+ entityType: EntityType.VariableInstance;
726
+ entityId: string;
727
+ }, {
728
+ id: string;
729
+ type: EntityType.GenericReference;
730
+ entityType: EntityType.VariableInstance;
731
+ entityId: string;
732
+ }>]>, z.ZodObject<{
733
+ id: z.ZodString;
734
+ type: z.ZodLiteral<EntityType.GenericReference>;
735
+ entityId: z.ZodString;
736
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
737
+ }, "strip", z.ZodTypeAny, {
738
+ id: string;
739
+ type: EntityType.GenericReference;
740
+ entityType: EntityType.InternalCall;
741
+ entityId: string;
742
+ }, {
743
+ id: string;
744
+ type: EntityType.GenericReference;
745
+ entityType: EntityType.InternalCall;
746
+ entityId: string;
747
+ }>, z.ZodObject<{
748
+ id: z.ZodString;
749
+ type: z.ZodLiteral<EntityType.GenericReference>;
750
+ entityId: z.ZodString;
751
+ entityType: z.ZodLiteral<EntityType.Loop>;
752
+ }, "strip", z.ZodTypeAny, {
753
+ id: string;
754
+ type: EntityType.GenericReference;
755
+ entityType: EntityType.Loop;
756
+ entityId: string;
757
+ }, {
758
+ id: string;
759
+ type: EntityType.GenericReference;
760
+ entityType: EntityType.Loop;
761
+ entityId: string;
762
+ }>]>, "many">;
763
+ calledByError: z.ZodArray<z.ZodUnion<[z.ZodObject<{
764
+ id: z.ZodString;
765
+ type: z.ZodLiteral<EntityType.GenericReference>;
766
+ entityId: z.ZodString;
767
+ entityType: z.ZodLiteral<EntityType.Operation>;
768
+ }, "strip", z.ZodTypeAny, {
769
+ id: string;
770
+ type: EntityType.GenericReference;
771
+ entityType: EntityType.Operation;
772
+ entityId: string;
773
+ }, {
774
+ id: string;
775
+ type: EntityType.GenericReference;
776
+ entityType: EntityType.Operation;
777
+ entityId: string;
778
+ }>, z.ZodObject<{
779
+ id: z.ZodString;
780
+ type: z.ZodLiteral<EntityType.GenericReference>;
781
+ entityId: z.ZodString;
782
+ entityType: z.ZodLiteral<EntityType.FunctionCall>;
783
+ }, "strip", z.ZodTypeAny, {
784
+ id: string;
785
+ type: EntityType.GenericReference;
786
+ entityType: EntityType.FunctionCall;
787
+ entityId: string;
788
+ }, {
789
+ id: string;
790
+ type: EntityType.GenericReference;
791
+ entityType: EntityType.FunctionCall;
792
+ entityId: string;
793
+ }>, z.ZodObject<{
794
+ id: z.ZodString;
795
+ type: z.ZodLiteral<EntityType.GenericReference>;
796
+ entityId: z.ZodString;
797
+ entityType: z.ZodLiteral<EntityType.Condition>;
798
+ }, "strip", z.ZodTypeAny, {
799
+ id: string;
800
+ type: EntityType.GenericReference;
801
+ entityType: EntityType.Condition;
802
+ entityId: string;
803
+ }, {
804
+ id: string;
805
+ type: EntityType.GenericReference;
806
+ entityType: EntityType.Condition;
807
+ entityId: string;
808
+ }>, z.ZodObject<{
809
+ id: z.ZodString;
810
+ type: z.ZodLiteral<EntityType.GenericReference>;
811
+ entityId: z.ZodString;
812
+ entityType: z.ZodLiteral<EntityType.Search>;
813
+ }, "strip", z.ZodTypeAny, {
814
+ id: string;
815
+ type: EntityType.GenericReference;
816
+ entityType: EntityType.Search;
817
+ entityId: string;
818
+ }, {
819
+ id: string;
820
+ type: EntityType.GenericReference;
821
+ entityType: EntityType.Search;
822
+ entityId: string;
823
+ }>, z.ZodUnion<[z.ZodObject<{
824
+ id: z.ZodString;
825
+ type: z.ZodLiteral<EntityType.GenericReference>;
826
+ entityId: z.ZodString;
827
+ entityType: z.ZodLiteral<EntityType.VariableDeclaration>;
828
+ }, "strip", z.ZodTypeAny, {
829
+ id: string;
830
+ type: EntityType.GenericReference;
831
+ entityType: EntityType.VariableDeclaration;
832
+ entityId: string;
833
+ }, {
834
+ id: string;
835
+ type: EntityType.GenericReference;
836
+ entityType: EntityType.VariableDeclaration;
837
+ entityId: string;
838
+ }>, z.ZodObject<{
839
+ id: z.ZodString;
840
+ type: z.ZodLiteral<EntityType.GenericReference>;
841
+ entityId: z.ZodString;
842
+ entityType: z.ZodLiteral<EntityType.VariableInstance>;
843
+ }, "strip", z.ZodTypeAny, {
844
+ id: string;
845
+ type: EntityType.GenericReference;
846
+ entityType: EntityType.VariableInstance;
847
+ entityId: string;
848
+ }, {
849
+ id: string;
850
+ type: EntityType.GenericReference;
851
+ entityType: EntityType.VariableInstance;
852
+ entityId: string;
853
+ }>]>, z.ZodObject<{
854
+ id: z.ZodString;
855
+ type: z.ZodLiteral<EntityType.GenericReference>;
856
+ entityId: z.ZodString;
857
+ entityType: z.ZodLiteral<EntityType.InternalCall>;
858
+ }, "strip", z.ZodTypeAny, {
859
+ id: string;
860
+ type: EntityType.GenericReference;
861
+ entityType: EntityType.InternalCall;
862
+ entityId: string;
863
+ }, {
864
+ id: string;
865
+ type: EntityType.GenericReference;
866
+ entityType: EntityType.InternalCall;
867
+ entityId: string;
868
+ }>, z.ZodObject<{
869
+ id: z.ZodString;
870
+ type: z.ZodLiteral<EntityType.GenericReference>;
871
+ entityId: z.ZodString;
872
+ entityType: z.ZodLiteral<EntityType.Loop>;
873
+ }, "strip", z.ZodTypeAny, {
874
+ id: string;
875
+ type: EntityType.GenericReference;
876
+ entityType: EntityType.Loop;
877
+ entityId: string;
878
+ }, {
879
+ id: string;
880
+ type: EntityType.GenericReference;
881
+ entityType: EntityType.Loop;
882
+ entityId: string;
883
+ }>]>, "many">;
884
+ calledByEntry: z.ZodArray<z.ZodUnion<[z.ZodObject<{
885
+ id: z.ZodString;
886
+ type: z.ZodLiteral<EntityType.GenericReference>;
887
+ entityId: z.ZodString;
888
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
889
+ }, "strip", z.ZodTypeAny, {
890
+ id: string;
891
+ type: EntityType.GenericReference;
892
+ entityType: EntityType.FunctionDeclaration;
893
+ entityId: string;
894
+ }, {
895
+ id: string;
896
+ type: EntityType.GenericReference;
897
+ entityType: EntityType.FunctionDeclaration;
898
+ entityId: string;
899
+ }>, z.ZodObject<{
900
+ id: z.ZodString;
901
+ type: z.ZodLiteral<EntityType.GenericReference>;
902
+ entityId: z.ZodString;
903
+ entityType: z.ZodLiteral<EntityType.GlobalEvent>;
904
+ }, "strip", z.ZodTypeAny, {
905
+ id: string;
906
+ type: EntityType.GenericReference;
907
+ entityType: EntityType.GlobalEvent;
908
+ entityId: string;
909
+ }, {
910
+ id: string;
911
+ type: EntityType.GenericReference;
912
+ entityType: EntityType.GlobalEvent;
913
+ entityId: string;
914
+ }>]>, "many">;
915
+ outputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
916
+ type: z.ZodLiteral<EntityType.ReturnDeclaration>;
917
+ }, "strip", z.ZodTypeAny, {
918
+ type: EntityType.ReturnDeclaration;
919
+ }, {
920
+ type: EntityType.ReturnDeclaration;
921
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
922
+ throws: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
923
+ type: z.ZodLiteral<EntityType.ReturnDeclaration>;
924
+ }, "strip", z.ZodTypeAny, {
925
+ type: EntityType.ReturnDeclaration;
926
+ }, {
927
+ type: EntityType.ReturnDeclaration;
928
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
929
+ parent: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
930
+ id: z.ZodString;
931
+ type: z.ZodLiteral<EntityType.GenericReference>;
932
+ entityId: z.ZodString;
933
+ entityType: z.ZodLiteral<EntityType.FunctionDeclaration>;
934
+ }, "strip", z.ZodTypeAny, {
935
+ id: string;
936
+ type: EntityType.GenericReference;
937
+ entityType: EntityType.FunctionDeclaration;
938
+ entityId: string;
939
+ }, {
940
+ id: string;
941
+ type: EntityType.GenericReference;
942
+ entityType: EntityType.FunctionDeclaration;
943
+ entityId: string;
944
+ }>, z.ZodObject<{
945
+ id: z.ZodString;
946
+ type: z.ZodLiteral<EntityType.GenericReference>;
947
+ entityId: z.ZodString;
948
+ entityType: z.ZodLiteral<EntityType.GlobalEvent>;
949
+ }, "strip", z.ZodTypeAny, {
950
+ id: string;
951
+ type: EntityType.GenericReference;
952
+ entityType: EntityType.GlobalEvent;
953
+ entityId: string;
954
+ }, {
955
+ id: string;
956
+ type: EntityType.GenericReference;
957
+ entityType: EntityType.GlobalEvent;
958
+ entityId: string;
959
+ }>]>, z.ZodObject<{
960
+ id: z.ZodString;
961
+ type: z.ZodLiteral<EntityType.GenericReference>;
962
+ entityId: z.ZodString;
963
+ entityType: z.ZodLiteral<EntityType.Loop>;
964
+ }, "strip", z.ZodTypeAny, {
965
+ id: string;
966
+ type: EntityType.GenericReference;
967
+ entityType: EntityType.Loop;
968
+ entityId: string;
969
+ }, {
970
+ id: string;
971
+ type: EntityType.GenericReference;
972
+ entityType: EntityType.Loop;
973
+ entityId: string;
974
+ }>]>;
975
+ }>, "strip", z.ZodTypeAny, {
976
+ id: string;
977
+ type: EntityType.ReturnStatement;
978
+ calledBySuccess: ({
979
+ id: string;
980
+ type: EntityType.GenericReference;
981
+ entityType: EntityType.Loop;
982
+ entityId: string;
983
+ } | {
984
+ id: string;
985
+ type: EntityType.GenericReference;
986
+ entityType: EntityType.Operation;
987
+ entityId: string;
988
+ } | {
989
+ id: string;
990
+ type: EntityType.GenericReference;
991
+ entityType: EntityType.FunctionCall;
992
+ entityId: string;
993
+ } | {
994
+ id: string;
995
+ type: EntityType.GenericReference;
996
+ entityType: EntityType.Condition;
997
+ entityId: string;
998
+ } | {
999
+ id: string;
1000
+ type: EntityType.GenericReference;
1001
+ entityType: EntityType.Search;
1002
+ entityId: string;
1003
+ } | {
1004
+ id: string;
1005
+ type: EntityType.GenericReference;
1006
+ entityType: EntityType.VariableDeclaration;
1007
+ entityId: string;
1008
+ } | {
1009
+ id: string;
1010
+ type: EntityType.GenericReference;
1011
+ entityType: EntityType.VariableInstance;
1012
+ entityId: string;
1013
+ } | {
1014
+ id: string;
1015
+ type: EntityType.GenericReference;
1016
+ entityType: EntityType.InternalCall;
1017
+ entityId: string;
1018
+ })[];
1019
+ calledByError: ({
1020
+ id: string;
1021
+ type: EntityType.GenericReference;
1022
+ entityType: EntityType.Loop;
1023
+ entityId: string;
1024
+ } | {
1025
+ id: string;
1026
+ type: EntityType.GenericReference;
1027
+ entityType: EntityType.Operation;
1028
+ entityId: string;
1029
+ } | {
1030
+ id: string;
1031
+ type: EntityType.GenericReference;
1032
+ entityType: EntityType.FunctionCall;
1033
+ entityId: string;
1034
+ } | {
1035
+ id: string;
1036
+ type: EntityType.GenericReference;
1037
+ entityType: EntityType.Condition;
1038
+ entityId: string;
1039
+ } | {
1040
+ id: string;
1041
+ type: EntityType.GenericReference;
1042
+ entityType: EntityType.Search;
1043
+ entityId: string;
1044
+ } | {
1045
+ id: string;
1046
+ type: EntityType.GenericReference;
1047
+ entityType: EntityType.VariableDeclaration;
1048
+ entityId: string;
1049
+ } | {
1050
+ id: string;
1051
+ type: EntityType.GenericReference;
1052
+ entityType: EntityType.VariableInstance;
1053
+ entityId: string;
1054
+ } | {
1055
+ id: string;
1056
+ type: EntityType.GenericReference;
1057
+ entityType: EntityType.InternalCall;
1058
+ entityId: string;
1059
+ })[];
1060
+ calledByEntry: ({
1061
+ id: string;
1062
+ type: EntityType.GenericReference;
1063
+ entityType: EntityType.FunctionDeclaration;
1064
+ entityId: string;
1065
+ } | {
1066
+ id: string;
1067
+ type: EntityType.GenericReference;
1068
+ entityType: EntityType.GlobalEvent;
1069
+ entityId: string;
1070
+ })[];
1071
+ parent: {
1072
+ id: string;
1073
+ type: EntityType.GenericReference;
1074
+ entityType: EntityType.Loop;
1075
+ entityId: string;
1076
+ } | {
1077
+ id: string;
1078
+ type: EntityType.GenericReference;
1079
+ entityType: EntityType.FunctionDeclaration;
1080
+ entityId: string;
1081
+ } | {
1082
+ id: string;
1083
+ type: EntityType.GenericReference;
1084
+ entityType: EntityType.GlobalEvent;
1085
+ entityId: string;
1086
+ };
1087
+ version: number;
1088
+ x: number;
1089
+ y: number;
1090
+ outputs: (Record<string, any> | {
1091
+ type: EntityType.ReturnDeclaration;
1092
+ })[];
1093
+ throws?: Record<string, any> | {
1094
+ type: EntityType.ReturnDeclaration;
1095
+ } | undefined;
1096
+ }, {
1097
+ id: string;
1098
+ type: EntityType.ReturnStatement;
1099
+ calledBySuccess: ({
1100
+ id: string;
1101
+ type: EntityType.GenericReference;
1102
+ entityType: EntityType.Loop;
1103
+ entityId: string;
1104
+ } | {
1105
+ id: string;
1106
+ type: EntityType.GenericReference;
1107
+ entityType: EntityType.Operation;
1108
+ entityId: string;
1109
+ } | {
1110
+ id: string;
1111
+ type: EntityType.GenericReference;
1112
+ entityType: EntityType.FunctionCall;
1113
+ entityId: string;
1114
+ } | {
1115
+ id: string;
1116
+ type: EntityType.GenericReference;
1117
+ entityType: EntityType.Condition;
1118
+ entityId: string;
1119
+ } | {
1120
+ id: string;
1121
+ type: EntityType.GenericReference;
1122
+ entityType: EntityType.Search;
1123
+ entityId: string;
1124
+ } | {
1125
+ id: string;
1126
+ type: EntityType.GenericReference;
1127
+ entityType: EntityType.VariableDeclaration;
1128
+ entityId: string;
1129
+ } | {
1130
+ id: string;
1131
+ type: EntityType.GenericReference;
1132
+ entityType: EntityType.VariableInstance;
1133
+ entityId: string;
1134
+ } | {
1135
+ id: string;
1136
+ type: EntityType.GenericReference;
1137
+ entityType: EntityType.InternalCall;
1138
+ entityId: string;
1139
+ })[];
1140
+ calledByError: ({
1141
+ id: string;
1142
+ type: EntityType.GenericReference;
1143
+ entityType: EntityType.Loop;
1144
+ entityId: string;
1145
+ } | {
1146
+ id: string;
1147
+ type: EntityType.GenericReference;
1148
+ entityType: EntityType.Operation;
1149
+ entityId: string;
1150
+ } | {
1151
+ id: string;
1152
+ type: EntityType.GenericReference;
1153
+ entityType: EntityType.FunctionCall;
1154
+ entityId: string;
1155
+ } | {
1156
+ id: string;
1157
+ type: EntityType.GenericReference;
1158
+ entityType: EntityType.Condition;
1159
+ entityId: string;
1160
+ } | {
1161
+ id: string;
1162
+ type: EntityType.GenericReference;
1163
+ entityType: EntityType.Search;
1164
+ entityId: string;
1165
+ } | {
1166
+ id: string;
1167
+ type: EntityType.GenericReference;
1168
+ entityType: EntityType.VariableDeclaration;
1169
+ entityId: string;
1170
+ } | {
1171
+ id: string;
1172
+ type: EntityType.GenericReference;
1173
+ entityType: EntityType.VariableInstance;
1174
+ entityId: string;
1175
+ } | {
1176
+ id: string;
1177
+ type: EntityType.GenericReference;
1178
+ entityType: EntityType.InternalCall;
1179
+ entityId: string;
1180
+ })[];
1181
+ calledByEntry: ({
1182
+ id: string;
1183
+ type: EntityType.GenericReference;
1184
+ entityType: EntityType.FunctionDeclaration;
1185
+ entityId: string;
1186
+ } | {
1187
+ id: string;
1188
+ type: EntityType.GenericReference;
1189
+ entityType: EntityType.GlobalEvent;
1190
+ entityId: string;
1191
+ })[];
1192
+ parent: {
1193
+ id: string;
1194
+ type: EntityType.GenericReference;
1195
+ entityType: EntityType.Loop;
1196
+ entityId: string;
1197
+ } | {
1198
+ id: string;
1199
+ type: EntityType.GenericReference;
1200
+ entityType: EntityType.FunctionDeclaration;
1201
+ entityId: string;
1202
+ } | {
1203
+ id: string;
1204
+ type: EntityType.GenericReference;
1205
+ entityType: EntityType.GlobalEvent;
1206
+ entityId: string;
1207
+ };
1208
+ version: number;
1209
+ x: number;
1210
+ y: number;
1211
+ outputs: (Record<string, any> | {
1212
+ type: EntityType.ReturnDeclaration;
1213
+ })[];
1214
+ throws?: Record<string, any> | {
1215
+ type: EntityType.ReturnDeclaration;
1216
+ } | undefined;
1217
+ }>;