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