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