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