@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,8 @@
1
+ import { Element, ElementTransfer, ElementGenerationTarget } from '../../../../../../../../src/definitions';
2
+ import { BaseState } from './base';
3
+ import { ProjectState } from './project';
4
+ import { UserManagedEntityState } from './types';
5
+
6
+ export declare function createStateFromType(entity: Element | ElementTransfer, parentProjectState: ProjectState): BaseState;
7
+ export declare function createStateFromTypeAndSubscribe(entity: Element | ElementTransfer, parentProjectState: ProjectState): BaseState;
8
+ export declare function createStateFromGenerationTargetType(entity: ElementGenerationTarget, parentProjectState: ProjectState): UserManagedEntityState;
@@ -0,0 +1,129 @@
1
+ import { CustomEntityTypesUnion, ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, EntityVersion, ICustomEntity, ICustomEntityGenerationTarget, ICustomEntityReference, ICustomEntityShallowTransfer, ICustomEntityTransfer } from '../../../../../../../../../src/definitions';
2
+ import { ZodError } from 'zod';
3
+ import { BaseCanvasDraggableState, BaseState, ChildEntityState, UserManagedEntityStateFunctionality } from '../base';
4
+ import { PropertyState } from '../property';
5
+ import { FunctionDeclarationState } from '../function-declaration';
6
+ import { ProjectState } from '../project/project';
7
+ import { BuiltInBaseEntityState } from '../built-in-base-entity';
8
+ import { ActionDescriptorState } from '../action-descriptor';
9
+ import { EntityError, EntityGenerationError } from '../error';
10
+ import { EntityState } from '../types';
11
+ import { DataTypeState } from '../data-type';
12
+
13
+ export declare class CustomEntityState implements BaseState, UserManagedEntityStateFunctionality, BaseCanvasDraggableState, ICustomEntity, ChildEntityState {
14
+ initialData: ICustomEntity | ICustomEntityTransfer;
15
+ readonly id: EntityId;
16
+ version: EntityVersion;
17
+ name: string;
18
+ description: string | null;
19
+ x: number;
20
+ y: number;
21
+ static: boolean;
22
+ abstract: boolean;
23
+ readonly type: EntityType.CustomEntity;
24
+ properties: PropertyState[];
25
+ methods: FunctionDeclarationState[];
26
+ abstractMethods: ActionDescriptorState[];
27
+ extends: (CustomEntityState | BuiltInBaseEntityState)[];
28
+ implements: (CustomEntityState | BuiltInBaseEntityState)[];
29
+ project: ProjectState;
30
+ errors: EntityError[];
31
+ parent: ProjectState | DataTypeState;
32
+ initialized: boolean;
33
+ suggestedProperties: PropertyState[];
34
+ suggestedMethods: FunctionDeclarationState[];
35
+ constructor(initialEntityData: ICustomEntity | ICustomEntityTransfer, parentProjectState: ProjectState);
36
+ static MUTABLE_BASE_PROPERTIES: string[];
37
+ static INMUTABLE_BASE_PROPERTIES: string[];
38
+ static BASE_PROPERTIES: string[];
39
+ static MUTABLE_META_PROPERTIES: string[];
40
+ static INMUTABLE_META_PROPERTIES: string[];
41
+ static META_PROPERTIES: string[];
42
+ static MUTABLE_UPSTREAM_PROPERTIES: string[];
43
+ static INMUTABLE_UPSTREAM_PROPERTIES: string[];
44
+ static UPSTREAM_PROPERTIES: string[];
45
+ static MUTABLE_DOWNSTREAM_PROPERTIES: string[];
46
+ static INMUTABLE_DOWNSTREAM_PROPERTIES: string[];
47
+ static DOWNSTREAM_PROPERTIES: string[];
48
+ static PROPERTIES: string[];
49
+ static fromGenerationTarget(data: ICustomEntityGenerationTarget, parentProjectState: ProjectState): CustomEntityState;
50
+ static validateGenerationTarget(data: ICustomEntityGenerationTarget, project: ProjectState): {
51
+ errors: EntityGenerationError[];
52
+ modifiedData: ICustomEntityGenerationTarget;
53
+ };
54
+ get extendedProperties(): PropertyState[];
55
+ validateGeneratedUpdate(data: Partial<ICustomEntityGenerationTarget>): {
56
+ errors: EntityGenerationError[];
57
+ modifiedData: Partial<ICustomEntityGenerationTarget>;
58
+ };
59
+ addSelfToProject(): CustomEntityState;
60
+ setParent(parent: ProjectState | DataTypeState): CustomEntityState;
61
+ removeProperty(property: PropertyState): CustomEntityState;
62
+ addMethod(method: FunctionDeclarationState): CustomEntityState;
63
+ removeMethod(method: FunctionDeclarationState): CustomEntityState;
64
+ addProperty(property: PropertyState): CustomEntityState;
65
+ addSuggestedProperty(property: PropertyState): CustomEntityState;
66
+ addSuggestedMethod(method: FunctionDeclarationState): CustomEntityState;
67
+ removeSuggestedProperty(property: PropertyState): CustomEntityState;
68
+ removeSuggestedMethod(method: FunctionDeclarationState): CustomEntityState;
69
+ addAbstractMethod(method: ActionDescriptorState): CustomEntityState;
70
+ removeAbstractMethod(method: ActionDescriptorState): CustomEntityState;
71
+ initChildren(): CustomEntityState;
72
+ addSuggestions(): CustomEntityState;
73
+ subscribe(): CustomEntityState;
74
+ unsubscribe(): CustomEntityState;
75
+ sync(data: Partial<ICustomEntity>): CustomEntityState;
76
+ load(): Promise<CustomEntityState>;
77
+ create(): Promise<CustomEntityState>;
78
+ update(_: Partial<CustomEntityTypesUnion>): Promise<CustomEntityState>;
79
+ delete(): Promise<CustomEntityState>;
80
+ remove({ ignoreUpstream: _, seenEntities, }?: {
81
+ ignoreUpstream: boolean;
82
+ seenEntities: Set<string>;
83
+ }): {
84
+ affected: EntityState[];
85
+ removed: EntityState[];
86
+ };
87
+ restore({ seenEntities }?: {
88
+ seenEntities: Set<string>;
89
+ }): {
90
+ affected: EntityState[];
91
+ self: CustomEntityState;
92
+ };
93
+ toFlat(seenEntities?: Set<string>): EntityState[];
94
+ toFlatIds(seenEntities?: Set<string>): EntityId[];
95
+ toJSON(): ICustomEntityTransfer;
96
+ toReference(): ICustomEntityReference;
97
+ toShallowJSON(): ICustomEntityShallowTransfer;
98
+ toFlatJSON(seenEntities?: Set<string>): ElementShallowTransfer[];
99
+ toGenerationTarget(): ICustomEntityGenerationTarget;
100
+ toFlatGenerationTarget(seenEntities?: Set<string>): ElementGenerationTarget[];
101
+ clearErrors(): CustomEntityState;
102
+ validate(): {
103
+ success: boolean;
104
+ error: ZodError | null;
105
+ data: ICustomEntityTransfer | null;
106
+ };
107
+ getErrors(): EntityError[];
108
+ getShallowErrors(): EntityError[];
109
+ clone(): CustomEntityState;
110
+ getFunctionDeclaration(id: EntityId): FunctionDeclarationState | undefined;
111
+ implement(newEntityName: string, newId?: string): {
112
+ errors: [];
113
+ implemented: CustomEntityState;
114
+ entitiesChanges: {
115
+ new: EntityState[];
116
+ updated: EntityState[];
117
+ deleted: EntityState[];
118
+ };
119
+ } | {
120
+ errors: [EntityGenerationError, ...EntityGenerationError[]];
121
+ implemented: null;
122
+ entitiesChanges: {
123
+ new: [];
124
+ updated: [];
125
+ deleted: [];
126
+ };
127
+ };
128
+ }
129
+ export type CustomEntityPayloadUnion = CustomEntityState | CustomEntityTypesUnion;
@@ -0,0 +1 @@
1
+ export * from './custom-entity';
@@ -0,0 +1,9 @@
1
+ import { ActionDescriptorState } from '../../action-descriptor';
2
+ import { EntityError } from '../../error';
3
+ import { CustomEntityState } from '../custom-entity';
4
+ import { BuiltInBaseEntityState } from '../../built-in-base-entity';
5
+ import { PropertyState } from '../../property';
6
+
7
+ export declare function validate(self: CustomEntityState): EntityError[];
8
+ export declare function getBasePropertiesNotImplemented(self: CustomEntityState, implementedEntity: CustomEntityState | BuiltInBaseEntityState): PropertyState[];
9
+ export declare function getBaseMethodsNotImplemented(self: CustomEntityState, implementedEntity: CustomEntityState | BuiltInBaseEntityState): ActionDescriptorState[];
@@ -0,0 +1,5 @@
1
+ import { ICustomEntityGenerationTarget } from '../../../../../../../../../../src/definitions';
2
+ import { EntityGenerationError } from '../../error';
3
+ import { ProjectState } from '../../project';
4
+
5
+ export declare function validateReferenceTypes(data: ICustomEntityGenerationTarget, project: ProjectState): EntityGenerationError[];
@@ -0,0 +1,472 @@
1
+ import { EntityType } from '../../../../../../../../../../src/definitions';
2
+ import { z } from 'zod';
3
+
4
+ export declare function getCustomEntityTypeSchema(): z.ZodUnion<[z.ZodObject<{
5
+ type: z.ZodLiteral<EntityType.CustomEntity>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ type: EntityType.CustomEntity;
8
+ }, {
9
+ type: EntityType.CustomEntity;
10
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>;
11
+ export declare function getCustomEntityReferenceSchema(): z.ZodObject<{
12
+ id: z.ZodString;
13
+ type: z.ZodLiteral<EntityType.GenericReference>;
14
+ entityId: z.ZodString;
15
+ entityType: z.ZodLiteral<EntityType.CustomEntity>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ id: string;
18
+ type: EntityType.GenericReference;
19
+ entityType: EntityType.CustomEntity;
20
+ entityId: string;
21
+ }, {
22
+ id: string;
23
+ type: EntityType.GenericReference;
24
+ entityType: EntityType.CustomEntity;
25
+ entityId: string;
26
+ }>;
27
+ export declare function getCustomEntityBaseSchema(): z.ZodObject<{
28
+ id: z.ZodString;
29
+ type: z.ZodLiteral<EntityType.CustomEntity>;
30
+ name: z.ZodString;
31
+ description: z.ZodNullable<z.ZodString>;
32
+ static: z.ZodBoolean;
33
+ abstract: z.ZodBoolean;
34
+ }, "strip", z.ZodTypeAny, {
35
+ id: string;
36
+ type: EntityType.CustomEntity;
37
+ name: string;
38
+ description: string | null;
39
+ static: boolean;
40
+ abstract: boolean;
41
+ }, {
42
+ id: string;
43
+ type: EntityType.CustomEntity;
44
+ name: string;
45
+ description: string | null;
46
+ static: boolean;
47
+ abstract: boolean;
48
+ }>;
49
+ export declare function getCustomEntityMetaSchema(): z.ZodObject<z.objectUtil.extendShape<{
50
+ id: z.ZodString;
51
+ type: z.ZodLiteral<EntityType.CustomEntity>;
52
+ name: z.ZodString;
53
+ description: z.ZodNullable<z.ZodString>;
54
+ static: z.ZodBoolean;
55
+ abstract: z.ZodBoolean;
56
+ }, {
57
+ version: z.ZodNumber;
58
+ x: z.ZodNumber;
59
+ y: z.ZodNumber;
60
+ }>, "strip", z.ZodTypeAny, {
61
+ id: string;
62
+ type: EntityType.CustomEntity;
63
+ name: string;
64
+ description: string | null;
65
+ version: number;
66
+ x: number;
67
+ y: number;
68
+ static: boolean;
69
+ abstract: boolean;
70
+ }, {
71
+ id: string;
72
+ type: EntityType.CustomEntity;
73
+ name: string;
74
+ description: string | null;
75
+ version: number;
76
+ x: number;
77
+ y: number;
78
+ static: boolean;
79
+ abstract: boolean;
80
+ }>;
81
+ export declare function getCustomEntityGenerationTargetSchema(): z.ZodObject<z.objectUtil.extendShape<{
82
+ id: z.ZodString;
83
+ type: z.ZodLiteral<EntityType.CustomEntity>;
84
+ name: z.ZodString;
85
+ description: z.ZodNullable<z.ZodString>;
86
+ static: z.ZodBoolean;
87
+ abstract: z.ZodBoolean;
88
+ }, {}>, "strip", z.ZodTypeAny, {
89
+ id: string;
90
+ type: EntityType.CustomEntity;
91
+ name: string;
92
+ description: string | null;
93
+ static: boolean;
94
+ abstract: boolean;
95
+ }, {
96
+ id: string;
97
+ type: EntityType.CustomEntity;
98
+ name: string;
99
+ description: string | null;
100
+ static: boolean;
101
+ abstract: boolean;
102
+ }>;
103
+ export declare function getCustomEntityParentReferenceSchema(): z.ZodUnion<[z.ZodObject<{
104
+ entityType: z.ZodLiteral<EntityType.Project>;
105
+ entityId: z.ZodString;
106
+ id: z.ZodString;
107
+ type: z.ZodLiteral<EntityType.GenericReference>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ id: string;
110
+ type: EntityType.GenericReference;
111
+ entityType: EntityType.Project;
112
+ entityId: string;
113
+ }, {
114
+ id: string;
115
+ type: EntityType.GenericReference;
116
+ entityType: EntityType.Project;
117
+ entityId: string;
118
+ }>, z.ZodObject<{
119
+ id: z.ZodString;
120
+ type: z.ZodLiteral<EntityType.GenericReference>;
121
+ entityId: z.ZodString;
122
+ entityType: z.ZodLiteral<EntityType.DataType>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ id: string;
125
+ type: EntityType.GenericReference;
126
+ entityType: EntityType.DataType;
127
+ entityId: string;
128
+ }, {
129
+ id: string;
130
+ type: EntityType.GenericReference;
131
+ entityType: EntityType.DataType;
132
+ entityId: string;
133
+ }>]>;
134
+ export declare function getCustomEntityExtendsReferencesSchema(): z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
135
+ type: z.ZodLiteral<EntityType.CustomEntity>;
136
+ }, "strip", z.ZodTypeAny, {
137
+ type: EntityType.CustomEntity;
138
+ }, {
139
+ type: EntityType.CustomEntity;
140
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
141
+ type: z.ZodLiteral<EntityType.BuiltInBaseEntity>;
142
+ }, "strip", z.ZodTypeAny, {
143
+ type: EntityType.BuiltInBaseEntity;
144
+ }, {
145
+ type: EntityType.BuiltInBaseEntity;
146
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, "many">;
147
+ export declare function getCustomEntityImplementsReferencesSchema(): z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
148
+ type: z.ZodLiteral<EntityType.CustomEntity>;
149
+ }, "strip", z.ZodTypeAny, {
150
+ type: EntityType.CustomEntity;
151
+ }, {
152
+ type: EntityType.CustomEntity;
153
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
154
+ type: z.ZodLiteral<EntityType.BuiltInBaseEntity>;
155
+ }, "strip", z.ZodTypeAny, {
156
+ type: EntityType.BuiltInBaseEntity;
157
+ }, {
158
+ type: EntityType.BuiltInBaseEntity;
159
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, "many">;
160
+ export declare function getCustomEntityNestedEntitiesSchema(): z.ZodObject<{
161
+ properties: z.ZodArray<z.ZodUnion<[z.ZodObject<{
162
+ type: z.ZodLiteral<EntityType.Property>;
163
+ }, "strip", z.ZodTypeAny, {
164
+ type: EntityType.Property;
165
+ }, {
166
+ type: EntityType.Property;
167
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
168
+ methods: z.ZodArray<z.ZodUnion<[z.ZodObject<{
169
+ type: z.ZodLiteral<EntityType.FunctionDeclaration>;
170
+ }, "strip", z.ZodTypeAny, {
171
+ type: EntityType.FunctionDeclaration;
172
+ }, {
173
+ type: EntityType.FunctionDeclaration;
174
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
175
+ abstractMethods: z.ZodArray<z.ZodUnion<[z.ZodObject<{
176
+ type: z.ZodLiteral<EntityType.ActionDescriptor>;
177
+ }, "strip", z.ZodTypeAny, {
178
+ type: EntityType.ActionDescriptor;
179
+ }, {
180
+ type: EntityType.ActionDescriptor;
181
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
182
+ extends: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
183
+ type: z.ZodLiteral<EntityType.CustomEntity>;
184
+ }, "strip", z.ZodTypeAny, {
185
+ type: EntityType.CustomEntity;
186
+ }, {
187
+ type: EntityType.CustomEntity;
188
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
189
+ type: z.ZodLiteral<EntityType.BuiltInBaseEntity>;
190
+ }, "strip", z.ZodTypeAny, {
191
+ type: EntityType.BuiltInBaseEntity;
192
+ }, {
193
+ type: EntityType.BuiltInBaseEntity;
194
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, "many">;
195
+ implements: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
196
+ type: z.ZodLiteral<EntityType.CustomEntity>;
197
+ }, "strip", z.ZodTypeAny, {
198
+ type: EntityType.CustomEntity;
199
+ }, {
200
+ type: EntityType.CustomEntity;
201
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
202
+ type: z.ZodLiteral<EntityType.BuiltInBaseEntity>;
203
+ }, "strip", z.ZodTypeAny, {
204
+ type: EntityType.BuiltInBaseEntity;
205
+ }, {
206
+ type: EntityType.BuiltInBaseEntity;
207
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, "many">;
208
+ parent: z.ZodUnion<[z.ZodObject<{
209
+ entityType: z.ZodLiteral<EntityType.Project>;
210
+ entityId: z.ZodString;
211
+ id: z.ZodString;
212
+ type: z.ZodLiteral<EntityType.GenericReference>;
213
+ }, "strip", z.ZodTypeAny, {
214
+ id: string;
215
+ type: EntityType.GenericReference;
216
+ entityType: EntityType.Project;
217
+ entityId: string;
218
+ }, {
219
+ id: string;
220
+ type: EntityType.GenericReference;
221
+ entityType: EntityType.Project;
222
+ entityId: string;
223
+ }>, z.ZodObject<{
224
+ id: z.ZodString;
225
+ type: z.ZodLiteral<EntityType.GenericReference>;
226
+ entityId: z.ZodString;
227
+ entityType: z.ZodLiteral<EntityType.DataType>;
228
+ }, "strip", z.ZodTypeAny, {
229
+ id: string;
230
+ type: EntityType.GenericReference;
231
+ entityType: EntityType.DataType;
232
+ entityId: string;
233
+ }, {
234
+ id: string;
235
+ type: EntityType.GenericReference;
236
+ entityType: EntityType.DataType;
237
+ entityId: string;
238
+ }>]>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ implements: (Record<string, any> | {
241
+ type: EntityType.BuiltInBaseEntity;
242
+ } | {
243
+ type: EntityType.CustomEntity;
244
+ })[];
245
+ extends: (Record<string, any> | {
246
+ type: EntityType.BuiltInBaseEntity;
247
+ } | {
248
+ type: EntityType.CustomEntity;
249
+ })[];
250
+ parent: {
251
+ id: string;
252
+ type: EntityType.GenericReference;
253
+ entityType: EntityType.Project;
254
+ entityId: string;
255
+ } | {
256
+ id: string;
257
+ type: EntityType.GenericReference;
258
+ entityType: EntityType.DataType;
259
+ entityId: string;
260
+ };
261
+ methods: (Record<string, any> | {
262
+ type: EntityType.FunctionDeclaration;
263
+ })[];
264
+ properties: (Record<string, any> | {
265
+ type: EntityType.Property;
266
+ })[];
267
+ abstractMethods: (Record<string, any> | {
268
+ type: EntityType.ActionDescriptor;
269
+ })[];
270
+ }, {
271
+ implements: (Record<string, any> | {
272
+ type: EntityType.BuiltInBaseEntity;
273
+ } | {
274
+ type: EntityType.CustomEntity;
275
+ })[];
276
+ extends: (Record<string, any> | {
277
+ type: EntityType.BuiltInBaseEntity;
278
+ } | {
279
+ type: EntityType.CustomEntity;
280
+ })[];
281
+ parent: {
282
+ id: string;
283
+ type: EntityType.GenericReference;
284
+ entityType: EntityType.Project;
285
+ entityId: string;
286
+ } | {
287
+ id: string;
288
+ type: EntityType.GenericReference;
289
+ entityType: EntityType.DataType;
290
+ entityId: string;
291
+ };
292
+ methods: (Record<string, any> | {
293
+ type: EntityType.FunctionDeclaration;
294
+ })[];
295
+ properties: (Record<string, any> | {
296
+ type: EntityType.Property;
297
+ })[];
298
+ abstractMethods: (Record<string, any> | {
299
+ type: EntityType.ActionDescriptor;
300
+ })[];
301
+ }>;
302
+ export declare function getCustomEntitySchema(): z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
303
+ id: z.ZodString;
304
+ type: z.ZodLiteral<EntityType.CustomEntity>;
305
+ name: z.ZodString;
306
+ description: z.ZodNullable<z.ZodString>;
307
+ static: z.ZodBoolean;
308
+ abstract: z.ZodBoolean;
309
+ }, {
310
+ version: z.ZodNumber;
311
+ x: z.ZodNumber;
312
+ y: z.ZodNumber;
313
+ }>, {
314
+ properties: z.ZodArray<z.ZodUnion<[z.ZodObject<{
315
+ type: z.ZodLiteral<EntityType.Property>;
316
+ }, "strip", z.ZodTypeAny, {
317
+ type: EntityType.Property;
318
+ }, {
319
+ type: EntityType.Property;
320
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
321
+ methods: z.ZodArray<z.ZodUnion<[z.ZodObject<{
322
+ type: z.ZodLiteral<EntityType.FunctionDeclaration>;
323
+ }, "strip", z.ZodTypeAny, {
324
+ type: EntityType.FunctionDeclaration;
325
+ }, {
326
+ type: EntityType.FunctionDeclaration;
327
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
328
+ abstractMethods: z.ZodArray<z.ZodUnion<[z.ZodObject<{
329
+ type: z.ZodLiteral<EntityType.ActionDescriptor>;
330
+ }, "strip", z.ZodTypeAny, {
331
+ type: EntityType.ActionDescriptor;
332
+ }, {
333
+ type: EntityType.ActionDescriptor;
334
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
335
+ extends: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
336
+ type: z.ZodLiteral<EntityType.CustomEntity>;
337
+ }, "strip", z.ZodTypeAny, {
338
+ type: EntityType.CustomEntity;
339
+ }, {
340
+ type: EntityType.CustomEntity;
341
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
342
+ type: z.ZodLiteral<EntityType.BuiltInBaseEntity>;
343
+ }, "strip", z.ZodTypeAny, {
344
+ type: EntityType.BuiltInBaseEntity;
345
+ }, {
346
+ type: EntityType.BuiltInBaseEntity;
347
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, "many">;
348
+ implements: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
349
+ type: z.ZodLiteral<EntityType.CustomEntity>;
350
+ }, "strip", z.ZodTypeAny, {
351
+ type: EntityType.CustomEntity;
352
+ }, {
353
+ type: EntityType.CustomEntity;
354
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
355
+ type: z.ZodLiteral<EntityType.BuiltInBaseEntity>;
356
+ }, "strip", z.ZodTypeAny, {
357
+ type: EntityType.BuiltInBaseEntity;
358
+ }, {
359
+ type: EntityType.BuiltInBaseEntity;
360
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, "many">;
361
+ parent: z.ZodUnion<[z.ZodObject<{
362
+ entityType: z.ZodLiteral<EntityType.Project>;
363
+ entityId: z.ZodString;
364
+ id: z.ZodString;
365
+ type: z.ZodLiteral<EntityType.GenericReference>;
366
+ }, "strip", z.ZodTypeAny, {
367
+ id: string;
368
+ type: EntityType.GenericReference;
369
+ entityType: EntityType.Project;
370
+ entityId: string;
371
+ }, {
372
+ id: string;
373
+ type: EntityType.GenericReference;
374
+ entityType: EntityType.Project;
375
+ entityId: string;
376
+ }>, z.ZodObject<{
377
+ id: z.ZodString;
378
+ type: z.ZodLiteral<EntityType.GenericReference>;
379
+ entityId: z.ZodString;
380
+ entityType: z.ZodLiteral<EntityType.DataType>;
381
+ }, "strip", z.ZodTypeAny, {
382
+ id: string;
383
+ type: EntityType.GenericReference;
384
+ entityType: EntityType.DataType;
385
+ entityId: string;
386
+ }, {
387
+ id: string;
388
+ type: EntityType.GenericReference;
389
+ entityType: EntityType.DataType;
390
+ entityId: string;
391
+ }>]>;
392
+ }>, "strip", z.ZodTypeAny, {
393
+ id: string;
394
+ type: EntityType.CustomEntity;
395
+ name: string;
396
+ description: string | null;
397
+ implements: (Record<string, any> | {
398
+ type: EntityType.BuiltInBaseEntity;
399
+ } | {
400
+ type: EntityType.CustomEntity;
401
+ })[];
402
+ extends: (Record<string, any> | {
403
+ type: EntityType.BuiltInBaseEntity;
404
+ } | {
405
+ type: EntityType.CustomEntity;
406
+ })[];
407
+ parent: {
408
+ id: string;
409
+ type: EntityType.GenericReference;
410
+ entityType: EntityType.Project;
411
+ entityId: string;
412
+ } | {
413
+ id: string;
414
+ type: EntityType.GenericReference;
415
+ entityType: EntityType.DataType;
416
+ entityId: string;
417
+ };
418
+ version: number;
419
+ methods: (Record<string, any> | {
420
+ type: EntityType.FunctionDeclaration;
421
+ })[];
422
+ x: number;
423
+ y: number;
424
+ properties: (Record<string, any> | {
425
+ type: EntityType.Property;
426
+ })[];
427
+ abstractMethods: (Record<string, any> | {
428
+ type: EntityType.ActionDescriptor;
429
+ })[];
430
+ static: boolean;
431
+ abstract: boolean;
432
+ }, {
433
+ id: string;
434
+ type: EntityType.CustomEntity;
435
+ name: string;
436
+ description: string | null;
437
+ implements: (Record<string, any> | {
438
+ type: EntityType.BuiltInBaseEntity;
439
+ } | {
440
+ type: EntityType.CustomEntity;
441
+ })[];
442
+ extends: (Record<string, any> | {
443
+ type: EntityType.BuiltInBaseEntity;
444
+ } | {
445
+ type: EntityType.CustomEntity;
446
+ })[];
447
+ parent: {
448
+ id: string;
449
+ type: EntityType.GenericReference;
450
+ entityType: EntityType.Project;
451
+ entityId: string;
452
+ } | {
453
+ id: string;
454
+ type: EntityType.GenericReference;
455
+ entityType: EntityType.DataType;
456
+ entityId: string;
457
+ };
458
+ version: number;
459
+ methods: (Record<string, any> | {
460
+ type: EntityType.FunctionDeclaration;
461
+ })[];
462
+ x: number;
463
+ y: number;
464
+ properties: (Record<string, any> | {
465
+ type: EntityType.Property;
466
+ })[];
467
+ abstractMethods: (Record<string, any> | {
468
+ type: EntityType.ActionDescriptor;
469
+ })[];
470
+ static: boolean;
471
+ abstract: boolean;
472
+ }>;