@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.
- package/README.md +2 -0
- package/dist/definitions/built-in-base-entities/conditions/comparison/index.d.ts +6 -0
- package/dist/definitions/built-in-base-entities/conditions/comparison/more-than-or-equal.d.ts +7 -0
- package/dist/definitions/built-in-base-entities/conditions/index.d.ts +7 -0
- package/dist/definitions/built-in-base-entities/conditions/standalone/index.d.ts +6 -0
- package/dist/definitions/built-in-base-entities/conditions/standalone/not-empty.d.ts +5 -0
- package/dist/definitions/built-in-base-entities/entities/cron/entity.d.ts +7 -0
- package/dist/definitions/built-in-base-entities/entities/cron/index.d.ts +2 -0
- package/dist/definitions/built-in-base-entities/entities/cron/trigger.d.ts +4 -0
- package/dist/definitions/built-in-base-entities/entities/endpoint.d.ts +52 -0
- package/dist/definitions/built-in-base-entities/entities/execution/index.d.ts +5 -0
- package/dist/definitions/built-in-base-entities/entities/index.d.ts +6 -0
- package/dist/definitions/built-in-base-entities/entities/other/index.d.ts +1 -0
- package/dist/definitions/built-in-base-entities/entities/other/key-value-param.d.ts +11 -0
- package/dist/definitions/built-in-base-entities/entities/persisted/entity.d.ts +3 -0
- package/dist/definitions/built-in-base-entities/entities/persisted/index.d.ts +3 -0
- package/dist/definitions/built-in-base-entities/entities/persisted/methods/delete.d.ts +4 -0
- package/dist/definitions/built-in-base-entities/entities/persisted/methods/index.d.ts +2 -0
- package/dist/definitions/built-in-base-entities/entities/persisted/methods/soft-delete.d.ts +4 -0
- package/dist/definitions/built-in-base-entities/entities/persisted/properties.d.ts +25 -0
- package/dist/definitions/built-in-base-entities/entities/relational-database/entity.d.ts +19 -0
- package/dist/definitions/built-in-base-entities/entities/relational-database/index.d.ts +1 -0
- package/dist/definitions/built-in-base-entities/global-events/index.d.ts +6 -0
- package/dist/definitions/built-in-base-entities/global-events/project-published.d.ts +3 -0
- package/dist/definitions/built-in-base-entities/ids.d.ts +118 -0
- package/dist/definitions/built-in-base-entities/index.d.ts +8 -0
- package/dist/definitions/built-in-base-entities/loops/index.d.ts +2 -0
- package/dist/definitions/built-in-base-entities/loops/list.d.ts +9 -0
- package/dist/definitions/built-in-base-entities/loops/manual-flow.d.ts +7 -0
- package/dist/definitions/built-in-base-entities/operations/custom-entity/create-new.d.ts +17 -0
- package/dist/definitions/built-in-base-entities/operations/custom-entity/index.d.ts +7 -0
- package/dist/definitions/built-in-base-entities/operations/custom-entity/validate-data.d.ts +23 -0
- package/dist/definitions/built-in-base-entities/operations/function-execution/index.d.ts +8 -0
- package/dist/definitions/built-in-base-entities/operations/function-execution/parallel.d.ts +21 -0
- package/dist/definitions/built-in-base-entities/operations/function-execution/sequential.d.ts +21 -0
- package/dist/definitions/built-in-base-entities/operations/function-execution/wait.d.ts +15 -0
- package/dist/definitions/built-in-base-entities/operations/http-request/http-request.d.ts +45 -0
- package/dist/definitions/built-in-base-entities/operations/http-request/index.d.ts +6 -0
- package/dist/definitions/built-in-base-entities/operations/index.d.ts +11 -0
- package/dist/definitions/built-in-base-entities/operations/list/append.d.ts +25 -0
- package/dist/definitions/built-in-base-entities/operations/list/get-last.d.ts +20 -0
- package/dist/definitions/built-in-base-entities/operations/list/index.d.ts +9 -0
- package/dist/definitions/built-in-base-entities/operations/list/join-lists.d.ts +25 -0
- package/dist/definitions/built-in-base-entities/operations/list/split-list.d.ts +29 -0
- package/dist/definitions/built-in-base-entities/operations/number/index.d.ts +6 -0
- package/dist/definitions/built-in-base-entities/operations/number/number-addition.d.ts +25 -0
- package/dist/definitions/built-in-base-entities/operations/string/index.d.ts +6 -0
- package/dist/definitions/built-in-base-entities/operations/string/join-string.d.ts +25 -0
- package/dist/definitions/built-in-base-entities/primitive-entities.d.ts +15 -0
- package/dist/definitions/built-in-base-entities/value-descriptors/index.d.ts +1 -0
- package/dist/definitions/built-in-base-entities/value-descriptors/process-output.d.ts +5 -0
- package/dist/definitions/index.d.ts +4 -0
- package/dist/definitions/logic/custom-entity-to-zod-schema.d.ts +4 -0
- package/dist/definitions/logic/index.d.ts +2 -0
- package/dist/definitions/logic/value-autogeneration/boolean.d.ts +3 -0
- package/dist/definitions/logic/value-autogeneration/date.d.ts +6 -0
- package/dist/definitions/logic/value-autogeneration/index.d.ts +6 -0
- package/dist/definitions/logic/value-autogeneration/number.d.ts +6 -0
- package/dist/definitions/logic/value-autogeneration/text.d.ts +6 -0
- package/dist/definitions/logic/value-autogeneration/uuid.d.ts +1 -0
- package/dist/definitions/logic/value-autogeneration/value-autogeneration.d.ts +3 -0
- package/dist/definitions/mock/default-mock/entities/alt-relational-database/entity.d.ts +4 -0
- package/dist/definitions/mock/default-mock/entities/alt-relational-database/properties.d.ts +15 -0
- package/dist/definitions/mock/default-mock/entities/animal.d.ts +12 -0
- package/dist/definitions/mock/default-mock/entities/back-account/account-owner-event.d.ts +26 -0
- package/dist/definitions/mock/default-mock/entities/back-account/change-owner-of-account.d.ts +16 -0
- package/dist/definitions/mock/default-mock/entities/back-account/entity.d.ts +4 -0
- package/dist/definitions/mock/default-mock/entities/back-account/properties.d.ts +10 -0
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/currency/entity.d.ts +4 -0
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/currency/properties.d.ts +22 -0
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/entity.d.ts +4 -0
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/properties.d.ts +14 -0
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/entity.d.ts +4 -0
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/ids.d.ts +15 -0
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/properties.d.ts +18 -0
- package/dist/definitions/mock/default-mock/entities/company/change-owner-of-company.d.ts +16 -0
- package/dist/definitions/mock/default-mock/entities/company/company-changed-event/company-name-exists-condition.d.ts +8 -0
- package/dist/definitions/mock/default-mock/entities/company/company-changed-event/gov-registry-func-call.d.ts +16 -0
- package/dist/definitions/mock/default-mock/entities/company/company-changed-event/index.d.ts +18 -0
- package/dist/definitions/mock/default-mock/entities/company/entity.d.ts +4 -0
- package/dist/definitions/mock/default-mock/entities/company/properties.d.ts +18 -0
- package/dist/definitions/mock/default-mock/entities/cron-job/entity.d.ts +13 -0
- package/dist/definitions/mock/default-mock/entities/default-relational-database/entity.d.ts +4 -0
- package/dist/definitions/mock/default-mock/entities/default-relational-database/properties.d.ts +15 -0
- package/dist/definitions/mock/default-mock/entities/employee.d.ts +17 -0
- package/dist/definitions/mock/default-mock/entities/get-all-bank-accounts-endpoint/entity.d.ts +4 -0
- package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/endpoint-reached-event.d.ts +39 -0
- package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/entity.d.ts +4 -0
- package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/ids.d.ts +1 -0
- package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/properties.d.ts +12 -0
- package/dist/definitions/mock/default-mock/entities/person.d.ts +12 -0
- package/dist/definitions/mock/default-mock/entities/product.d.ts +12 -0
- package/dist/definitions/mock/default-mock/entities/user.d.ts +8 -0
- package/dist/definitions/mock/default-mock/events/project-loaded/get-bitcoin-price/get-bitcoin-price-http-call.d.ts +20 -0
- package/dist/definitions/mock/default-mock/events/project-loaded/get-bitcoin-price/validate-bitcoin-price-response.d.ts +13 -0
- package/dist/definitions/mock/default-mock/events/project-loaded/ids.d.ts +4 -0
- package/dist/definitions/mock/default-mock/events/project-loaded/index.d.ts +7 -0
- package/dist/definitions/mock/default-mock/function-calls/call-execution-abort.d.ts +4 -0
- package/dist/definitions/mock/default-mock/function-calls/call-hello-world-loop.d.ts +4 -0
- package/dist/definitions/mock/default-mock/functions/abort-execution/execution-abort-call-var.d.ts +9 -0
- package/dist/definitions/mock/default-mock/functions/abort-execution/execution-var-declaration.d.ts +8 -0
- package/dist/definitions/mock/default-mock/functions/abort-execution/execution-var-instance-write.d.ts +8 -0
- package/dist/definitions/mock/default-mock/functions/abort-execution/function.d.ts +4 -0
- package/dist/definitions/mock/default-mock/functions/abort-execution/ids.d.ts +11 -0
- package/dist/definitions/mock/default-mock/functions/abort-execution/long-wait-return-statement.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/abort-execution/long-wait.d.ts +9 -0
- package/dist/definitions/mock/default-mock/functions/abort-execution/second-wait.d.ts +8 -0
- package/dist/definitions/mock/default-mock/functions/abort-execution/small-wait-return-statement.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/abort-execution/small-wait.d.ts +8 -0
- package/dist/definitions/mock/default-mock/functions/check-gov-registry/gov-http-call.d.ts +35 -0
- package/dist/definitions/mock/default-mock/functions/check-gov-registry/index.d.ts +8 -0
- package/dist/definitions/mock/default-mock/functions/check-gov-registry/join-query-string-operation.d.ts +19 -0
- package/dist/definitions/mock/default-mock/functions/check-gov-registry/return-statement.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/check-gov-registry/shared-arg-map.d.ts +5 -0
- package/dist/definitions/mock/default-mock/functions/company-dto/employee-dto-map-loop/body.d.ts +24 -0
- package/dist/definitions/mock/default-mock/functions/company-dto/employee-dto-map-loop/loop.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/company-dto/function.d.ts +8 -0
- package/dist/definitions/mock/default-mock/functions/company-dto/ids.d.ts +28 -0
- package/dist/definitions/mock/default-mock/functions/company-dto/return-statement.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/bank-account-variable.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company/outputs.d.ts +12 -0
- package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company/variable.d.ts +8 -0
- package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company-dto/inputs.d.ts +17 -0
- package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company-dto/variable.d.ts +7 -0
- package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/owner-variable.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping.d.ts +0 -0
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/company-dto/mapping-func-call.d.ts +8 -0
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/company-dto/var-chain.d.ts +15 -0
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/exec-in-parallel-call/operation.d.ts +13 -0
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/exec-sequentially-call/operation.d.ts +13 -0
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/function-list-variable.d.ts +12 -0
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/function.d.ts +4 -0
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/ids.d.ts +14 -0
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/return-statement.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/return-variables-chain.d.ts +0 -0
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/wait.d.ts +9 -0
- package/dist/definitions/mock/default-mock/functions/create-new-company/index.d.ts +4 -0
- package/dist/definitions/mock/default-mock/functions/create-new-company/return-statement.d.ts +9 -0
- package/dist/definitions/mock/default-mock/functions/current-time.d.ts +16 -0
- package/dist/definitions/mock/default-mock/functions/do-math/ids.d.ts +2 -0
- package/dist/definitions/mock/default-mock/functions/do-math/index.d.ts +18 -0
- package/dist/definitions/mock/default-mock/functions/do-math/op-output-variables.d.ts +8 -0
- package/dist/definitions/mock/default-mock/functions/do-math/return-statement.d.ts +9 -0
- package/dist/definitions/mock/default-mock/functions/do-math/sum-operation.d.ts +12 -0
- package/dist/definitions/mock/default-mock/functions/do-math/var-to-return-statement.d.ts +7 -0
- package/dist/definitions/mock/default-mock/functions/employee-dto/function.d.ts +8 -0
- package/dist/definitions/mock/default-mock/functions/employee-dto/ids.d.ts +16 -0
- package/dist/definitions/mock/default-mock/functions/employee-dto/return-statement.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee/outputs.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee/variable.d.ts +8 -0
- package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee-dto/inputs.d.ts +14 -0
- package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee-dto/variable.d.ts +5 -0
- package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/manager-variable.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/function.d.ts +4 -0
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/ids.d.ts +13 -0
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/add-latest-text-to-final-list.d.ts +14 -0
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/break-statement.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/continue-statement.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/iteration-smaller-than-ten-condition.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/join-texts.d.ts +13 -0
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/loop-body.d.ts +12 -0
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/loop.d.ts +7 -0
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/return-statement.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/company-variable-declaration.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/company-variable-instance.d.ts +9 -0
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/create-new-bank-account.d.ts +15 -0
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/ids.d.ts +15 -0
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/index.d.ts +19 -0
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/old-bank-account-variable.d.ts +11 -0
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/person-not-empty-condition.d.ts +8 -0
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/person-not-found-return-error.d.ts +10 -0
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/found-person-output.d.ts +8 -0
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/index.d.ts +5 -0
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/person-id-input.d.ts +9 -0
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/search-query.d.ts +3 -0
- package/dist/definitions/mock/default-mock/functions/show-popup/index.d.ts +4 -0
- package/dist/definitions/mock/default-mock/ids.d.ts +3 -0
- package/dist/definitions/mock/default-mock/index.d.ts +4 -0
- package/dist/definitions/mock/default-mock/installed-projects/mock-third-party-project.d.ts +7 -0
- package/dist/definitions/mock/default-mock/loops/iterate-over-list/body.d.ts +8 -0
- package/dist/definitions/mock/default-mock/loops/iterate-over-list/ids.d.ts +3 -0
- package/dist/definitions/mock/default-mock/loops/iterate-over-list/loop.d.ts +6 -0
- package/dist/definitions/mock/default-mock/operations/random-wait.d.ts +7 -0
- package/dist/definitions/mock/default-mock/searches/find-companies-with-multiple-employees-and-bank-account.d.ts +10 -0
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/company-employee/company-employee.d.ts +6 -0
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/company-employee/outputs.d.ts +10 -0
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/employee-dto/company-employee-mapped-DTO.d.ts +4 -0
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/employee-dto/inputs.d.ts +17 -0
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/global-user-instance.d.ts +6 -0
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/ids.d.ts +15 -0
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/manager-variable.d.ts +9 -0
- package/dist/definitions/mock/default-mock/variables/isTestEnv.d.ts +9 -0
- package/dist/definitions/mock/default-mock/variables/lastTimestamp.d.ts +7 -0
- package/dist/definitions/mock/default-mock/variables/user.d.ts +6 -0
- package/dist/definitions/mock/index.d.ts +3 -0
- package/dist/definitions/types/autogeneration.d.ts +101 -0
- package/dist/definitions/types/base-entity.d.ts +79 -0
- package/dist/definitions/types/base.d.ts +177 -0
- package/dist/definitions/types/condition.d.ts +61 -0
- package/dist/definitions/types/custom-entity.d.ts +31 -0
- package/dist/definitions/types/data-type.d.ts +50 -0
- package/dist/definitions/types/event.d.ts +49 -0
- package/dist/definitions/types/function.d.ts +180 -0
- package/dist/definitions/types/generic-reference.d.ts +95 -0
- package/dist/definitions/types/index.d.ts +201 -0
- package/dist/definitions/types/input-output-map.d.ts +135 -0
- package/dist/definitions/types/loop.d.ts +41 -0
- package/dist/definitions/types/operation.d.ts +92 -0
- package/dist/definitions/types/primitives.d.ts +199 -0
- package/dist/definitions/types/project.d.ts +84 -0
- package/dist/definitions/types/property.d.ts +35 -0
- package/dist/definitions/types/return.d.ts +109 -0
- package/dist/definitions/types/search.d.ts +62 -0
- package/dist/definitions/types/variable.d.ts +128 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +38622 -0
- package/dist/index.umd.cjs +299 -0
- package/dist/tree/built-in/built-in-base-entities/index.d.ts +1 -0
- package/dist/tree/built-in/built-in-base-entities/persisted/entity.d.ts +22 -0
- package/dist/tree/built-in/built-in-base-entities/persisted/index.d.ts +1 -0
- package/dist/tree/built-in/index.d.ts +3 -0
- package/dist/tree/built-in/operations/function-execution/index.d.ts +3 -0
- package/dist/tree/built-in/operations/function-execution/parallel.d.ts +20 -0
- package/dist/tree/built-in/operations/function-execution/sequential.d.ts +22 -0
- package/dist/tree/built-in/operations/function-execution/wait.d.ts +20 -0
- package/dist/tree/built-in/operations/index.d.ts +1 -0
- package/dist/tree/built-in/operations/init.d.ts +4 -0
- package/dist/tree/built-in/primitive-entities/index.d.ts +1 -0
- package/dist/tree/index.d.ts +3 -0
- package/dist/tree/state/action-descriptor/action-descriptor.d.ts +113 -0
- package/dist/tree/state/action-descriptor/index.d.ts +1 -0
- package/dist/tree/state/action-descriptor/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/action-descriptor/validation/validation-schema.d.ts +438 -0
- package/dist/tree/state/argument-declaration/argument-declaration.d.ts +98 -0
- package/dist/tree/state/argument-declaration/index.d.ts +1 -0
- package/dist/tree/state/argument-declaration/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/argument-declaration/validation/validation-schema.d.ts +489 -0
- package/dist/tree/state/autogeneration.d.ts +823 -0
- package/dist/tree/state/base.d.ts +111 -0
- package/dist/tree/state/break-statement/break-statement.d.ts +99 -0
- package/dist/tree/state/break-statement/index.d.ts +1 -0
- package/dist/tree/state/break-statement/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/break-statement/validation/validation-schema.d.ts +1117 -0
- package/dist/tree/state/built-in-base-entity/built-in-base-entity.d.ts +82 -0
- package/dist/tree/state/built-in-base-entity/index.d.ts +1 -0
- package/dist/tree/state/built-in-base-entity/init.d.ts +4 -0
- package/dist/tree/state/built-in-base-entity/logic-validation.d.ts +4 -0
- package/dist/tree/state/built-in-base-entity/validation-schema.d.ts +256 -0
- package/dist/tree/state/condition/condition.d.ts +105 -0
- package/dist/tree/state/condition/index.d.ts +1 -0
- package/dist/tree/state/condition/init.d.ts +4 -0
- package/dist/tree/state/condition/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/condition/validation/validation-schema.d.ts +2386 -0
- package/dist/tree/state/continue-statement/continue-statement.d.ts +99 -0
- package/dist/tree/state/continue-statement/index.d.ts +1 -0
- package/dist/tree/state/continue-statement/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/continue-statement/validation/validation-schema.d.ts +1117 -0
- package/dist/tree/state/create.d.ts +8 -0
- package/dist/tree/state/custom-entity/custom-entity.d.ts +129 -0
- package/dist/tree/state/custom-entity/index.d.ts +1 -0
- package/dist/tree/state/custom-entity/validation/logic-validation.d.ts +9 -0
- package/dist/tree/state/custom-entity/validation/references.d.ts +5 -0
- package/dist/tree/state/custom-entity/validation/validation-schema.d.ts +472 -0
- package/dist/tree/state/data-type/data-type.d.ts +108 -0
- package/dist/tree/state/data-type/index.d.ts +1 -0
- package/dist/tree/state/data-type/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/data-type/validation/references.d.ts +5 -0
- package/dist/tree/state/data-type/validation/validation-schema.d.ts +12115 -0
- package/dist/tree/state/error.d.ts +133 -0
- package/dist/tree/state/function-call/function-call.d.ts +111 -0
- package/dist/tree/state/function-call/index.d.ts +1 -0
- package/dist/tree/state/function-call/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/function-call/validation/validation-schema.d.ts +2517 -0
- package/dist/tree/state/function-declaration/function-declaration.d.ts +115 -0
- package/dist/tree/state/function-declaration/index.d.ts +1 -0
- package/dist/tree/state/function-declaration/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/function-declaration/validation/validation-schema.d.ts +505 -0
- package/dist/tree/state/global-event/global-event.d.ts +105 -0
- package/dist/tree/state/global-event/index.d.ts +1 -0
- package/dist/tree/state/global-event/init.d.ts +4 -0
- package/dist/tree/state/global-event/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/global-event/validation/validation-schema.d.ts +1379 -0
- package/dist/tree/state/index.d.ts +28 -0
- package/dist/tree/state/input-map/index.d.ts +1 -0
- package/dist/tree/state/input-map/input-map.d.ts +124 -0
- package/dist/tree/state/input-map/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/input-map/validation/validation-schema.d.ts +36161 -0
- package/dist/tree/state/installed-project/index.d.ts +1 -0
- package/dist/tree/state/installed-project/installed-project.d.ts +90 -0
- package/dist/tree/state/installed-project/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/installed-project/validation/validation-schema.d.ts +238 -0
- package/dist/tree/state/internal-call/index.d.ts +1 -0
- package/dist/tree/state/internal-call/internal-call.d.ts +109 -0
- package/dist/tree/state/internal-call/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/internal-call/validation/validation-schema.d.ts +2433 -0
- package/dist/tree/state/loop/index.d.ts +1 -0
- package/dist/tree/state/loop/init.d.ts +4 -0
- package/dist/tree/state/loop/loop.d.ts +127 -0
- package/dist/tree/state/loop/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/loop/validation/validation-schema.d.ts +2523 -0
- package/dist/tree/state/operation/index.d.ts +1 -0
- package/dist/tree/state/operation/operation.d.ts +111 -0
- package/dist/tree/state/operation/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/operation/validation/validation-schema.d.ts +2553 -0
- package/dist/tree/state/output-map/index.d.ts +1 -0
- package/dist/tree/state/output-map/output-map.d.ts +111 -0
- package/dist/tree/state/output-map/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/output-map/validation/validation-schema.d.ts +1543 -0
- package/dist/tree/state/primitive-entity/index.d.ts +1 -0
- package/dist/tree/state/primitive-entity/init.d.ts +4 -0
- package/dist/tree/state/primitive-entity/primitive-entity.d.ts +62 -0
- package/dist/tree/state/primitive-entity/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/primitive-entity/validation/validation-schema.d.ts +251 -0
- package/dist/tree/state/primitive-value/index.d.ts +1 -0
- package/dist/tree/state/primitive-value/primitive-value.d.ts +91 -0
- package/dist/tree/state/primitive-value/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/primitive-value/validation/references.d.ts +5 -0
- package/dist/tree/state/primitive-value/validation/validation-schema.d.ts +11410 -0
- package/dist/tree/state/project/index.d.ts +1 -0
- package/dist/tree/state/project/project.d.ts +180 -0
- package/dist/tree/state/project/validation/validation-schema.d.ts +389 -0
- package/dist/tree/state/property/index.d.ts +1 -0
- package/dist/tree/state/property/property.d.ts +100 -0
- package/dist/tree/state/property/validation/logic-validation.d.ts +5 -0
- package/dist/tree/state/property/validation/references.d.ts +5 -0
- package/dist/tree/state/property/validation/validation-schema.d.ts +365 -0
- package/dist/tree/state/return-declaration/index.d.ts +1 -0
- package/dist/tree/state/return-declaration/return-declaration.d.ts +100 -0
- package/dist/tree/state/return-declaration/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/return-declaration/validation/validation-schema.d.ts +579 -0
- package/dist/tree/state/return-statement/index.d.ts +1 -0
- package/dist/tree/state/return-statement/return-statement.d.ts +98 -0
- package/dist/tree/state/return-statement/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/return-statement/validation/references.d.ts +8 -0
- package/dist/tree/state/return-statement/validation/validation-schema.d.ts +1217 -0
- package/dist/tree/state/search/index.d.ts +1 -0
- package/dist/tree/state/search/search.d.ts +116 -0
- package/dist/tree/state/search/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/search/validation/validation-schema.d.ts +2493 -0
- package/dist/tree/state/state.test.d.ts +1 -0
- package/dist/tree/state/store.d.ts +10 -0
- package/dist/tree/state/types/index.d.ts +7 -0
- package/dist/tree/state/types/state.d.ts +52 -0
- package/dist/tree/state/types/validation.d.ts +3591 -0
- package/dist/tree/state/validate.d.ts +122 -0
- package/dist/tree/state/validate.test.d.ts +1 -0
- package/dist/tree/state/value-descriptor/index.d.ts +1 -0
- package/dist/tree/state/value-descriptor/init.d.ts +4 -0
- package/dist/tree/state/value-descriptor/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/value-descriptor/validation/validation-schema.d.ts +191 -0
- package/dist/tree/state/value-descriptor/value-descriptor.d.ts +91 -0
- package/dist/tree/state/variable-declaration/index.d.ts +1 -0
- package/dist/tree/state/variable-declaration/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/variable-declaration/validation/validation-schema.d.ts +2687 -0
- package/dist/tree/state/variable-declaration/variable-declaration.d.ts +129 -0
- package/dist/tree/state/variable-instance/index.d.ts +1 -0
- package/dist/tree/state/variable-instance/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +2689 -0
- package/dist/tree/state/variable-instance/variable-instance.d.ts +125 -0
- package/dist/tree/utils/data-type.d.ts +51 -0
- package/dist/tree/utils/index.d.ts +158 -0
- package/dist/tree/utils/names.d.ts +32 -0
- package/dist/tree/utils/references.d.ts +4 -0
- package/dist/tree/utils/shared-data-structure-entity.d.ts +26 -0
- package/dist/tree/utils/string.d.ts +2 -0
- package/dist/tree/utils/uuid.d.ts +7 -0
- package/dist/tree/utils/variables.d.ts +5 -0
- package/package.json +65 -0
|
@@ -0,0 +1,579 @@
|
|
|
1
|
+
import { EntityType } from '../../../../../../../../../../src/definitions';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
|
|
4
|
+
export declare function getReturnDeclarationTypeSchema(): z.ZodUnion<[z.ZodObject<{
|
|
5
|
+
type: z.ZodLiteral<EntityType.ReturnDeclaration>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
type: EntityType.ReturnDeclaration;
|
|
8
|
+
}, {
|
|
9
|
+
type: EntityType.ReturnDeclaration;
|
|
10
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>;
|
|
11
|
+
export declare function getReturnDeclarationReferenceSchema(): z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
type: z.ZodLiteral<EntityType.GenericReference>;
|
|
14
|
+
entityId: z.ZodString;
|
|
15
|
+
entityType: z.ZodLiteral<EntityType.ReturnDeclaration>;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
id: string;
|
|
18
|
+
type: EntityType.GenericReference;
|
|
19
|
+
entityType: EntityType.ReturnDeclaration;
|
|
20
|
+
entityId: string;
|
|
21
|
+
}, {
|
|
22
|
+
id: string;
|
|
23
|
+
type: EntityType.GenericReference;
|
|
24
|
+
entityType: EntityType.ReturnDeclaration;
|
|
25
|
+
entityId: string;
|
|
26
|
+
}>;
|
|
27
|
+
export declare function getReturnDeclarationBaseSchema(): z.ZodObject<{
|
|
28
|
+
id: z.ZodString;
|
|
29
|
+
type: z.ZodLiteral<EntityType.ReturnDeclaration>;
|
|
30
|
+
name: z.ZodString;
|
|
31
|
+
description: z.ZodNullable<z.ZodString>;
|
|
32
|
+
isError: z.ZodBoolean;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
id: string;
|
|
35
|
+
type: EntityType.ReturnDeclaration;
|
|
36
|
+
name: string;
|
|
37
|
+
description: string | null;
|
|
38
|
+
isError: boolean;
|
|
39
|
+
}, {
|
|
40
|
+
id: string;
|
|
41
|
+
type: EntityType.ReturnDeclaration;
|
|
42
|
+
name: string;
|
|
43
|
+
description: string | null;
|
|
44
|
+
isError: boolean;
|
|
45
|
+
}>;
|
|
46
|
+
export declare function getReturnDeclarationMetaSchema(): z.ZodObject<z.objectUtil.extendShape<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
type: z.ZodLiteral<EntityType.ReturnDeclaration>;
|
|
49
|
+
name: z.ZodString;
|
|
50
|
+
description: z.ZodNullable<z.ZodString>;
|
|
51
|
+
isError: z.ZodBoolean;
|
|
52
|
+
}, {
|
|
53
|
+
version: z.ZodNumber;
|
|
54
|
+
index: z.ZodNumber;
|
|
55
|
+
}>, "strip", z.ZodTypeAny, {
|
|
56
|
+
id: string;
|
|
57
|
+
type: EntityType.ReturnDeclaration;
|
|
58
|
+
name: string;
|
|
59
|
+
description: string | null;
|
|
60
|
+
isError: boolean;
|
|
61
|
+
version: number;
|
|
62
|
+
index: number;
|
|
63
|
+
}, {
|
|
64
|
+
id: string;
|
|
65
|
+
type: EntityType.ReturnDeclaration;
|
|
66
|
+
name: string;
|
|
67
|
+
description: string | null;
|
|
68
|
+
isError: boolean;
|
|
69
|
+
version: number;
|
|
70
|
+
index: number;
|
|
71
|
+
}>;
|
|
72
|
+
export declare function getReturnDeclarationGenerationTargetSchema(): z.ZodObject<z.objectUtil.extendShape<{
|
|
73
|
+
id: z.ZodString;
|
|
74
|
+
type: z.ZodLiteral<EntityType.ReturnDeclaration>;
|
|
75
|
+
name: z.ZodString;
|
|
76
|
+
description: z.ZodNullable<z.ZodString>;
|
|
77
|
+
isError: z.ZodBoolean;
|
|
78
|
+
}, {}>, "strip", z.ZodTypeAny, {
|
|
79
|
+
id: string;
|
|
80
|
+
type: EntityType.ReturnDeclaration;
|
|
81
|
+
name: string;
|
|
82
|
+
description: string | null;
|
|
83
|
+
isError: boolean;
|
|
84
|
+
}, {
|
|
85
|
+
id: string;
|
|
86
|
+
type: EntityType.ReturnDeclaration;
|
|
87
|
+
name: string;
|
|
88
|
+
description: string | null;
|
|
89
|
+
isError: boolean;
|
|
90
|
+
}>;
|
|
91
|
+
export declare function getReturnDeclarationNestedEntitiesSchema(): z.ZodObject<{
|
|
92
|
+
dataType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
93
|
+
type: z.ZodLiteral<EntityType.DataType>;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
type: EntityType.DataType;
|
|
96
|
+
}, {
|
|
97
|
+
type: EntityType.DataType;
|
|
98
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
99
|
+
readsValue: z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
100
|
+
type: z.ZodLiteral<EntityType.VariableDeclaration>;
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
type: EntityType.VariableDeclaration;
|
|
103
|
+
}, {
|
|
104
|
+
type: EntityType.VariableDeclaration;
|
|
105
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
|
|
106
|
+
type: z.ZodLiteral<EntityType.VariableInstance>;
|
|
107
|
+
}, "strip", z.ZodTypeAny, {
|
|
108
|
+
type: EntityType.VariableInstance;
|
|
109
|
+
}, {
|
|
110
|
+
type: EntityType.VariableInstance;
|
|
111
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, z.ZodUnion<[z.ZodObject<{
|
|
112
|
+
type: z.ZodLiteral<EntityType.ArgumentDeclaration>;
|
|
113
|
+
}, "strip", z.ZodTypeAny, {
|
|
114
|
+
type: EntityType.ArgumentDeclaration;
|
|
115
|
+
}, {
|
|
116
|
+
type: EntityType.ArgumentDeclaration;
|
|
117
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
|
|
118
|
+
type: z.ZodLiteral<EntityType.OutputMap>;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
type: EntityType.OutputMap;
|
|
121
|
+
}, {
|
|
122
|
+
type: EntityType.OutputMap;
|
|
123
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
|
|
124
|
+
type: z.ZodLiteral<EntityType.Operation>;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
type: EntityType.Operation;
|
|
127
|
+
}, {
|
|
128
|
+
type: EntityType.Operation;
|
|
129
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
|
|
130
|
+
type: z.ZodLiteral<EntityType.InternalCall>;
|
|
131
|
+
}, "strip", z.ZodTypeAny, {
|
|
132
|
+
type: EntityType.InternalCall;
|
|
133
|
+
}, {
|
|
134
|
+
type: EntityType.InternalCall;
|
|
135
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
|
|
136
|
+
type: z.ZodLiteral<EntityType.FunctionCall>;
|
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
type: EntityType.FunctionCall;
|
|
139
|
+
}, {
|
|
140
|
+
type: EntityType.FunctionCall;
|
|
141
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>>;
|
|
142
|
+
parent: z.ZodUnion<[z.ZodObject<{
|
|
143
|
+
id: z.ZodString;
|
|
144
|
+
type: z.ZodLiteral<EntityType.GenericReference>;
|
|
145
|
+
entityId: z.ZodString;
|
|
146
|
+
entityType: z.ZodLiteral<EntityType.ReturnStatement>;
|
|
147
|
+
}, "strip", z.ZodTypeAny, {
|
|
148
|
+
id: string;
|
|
149
|
+
type: EntityType.GenericReference;
|
|
150
|
+
entityType: EntityType.ReturnStatement;
|
|
151
|
+
entityId: string;
|
|
152
|
+
}, {
|
|
153
|
+
id: string;
|
|
154
|
+
type: EntityType.GenericReference;
|
|
155
|
+
entityType: EntityType.ReturnStatement;
|
|
156
|
+
entityId: string;
|
|
157
|
+
}>, z.ZodObject<{
|
|
158
|
+
id: z.ZodString;
|
|
159
|
+
type: z.ZodLiteral<EntityType.GenericReference>;
|
|
160
|
+
entityId: z.ZodString;
|
|
161
|
+
entityType: z.ZodLiteral<EntityType.ActionDescriptor>;
|
|
162
|
+
}, "strip", z.ZodTypeAny, {
|
|
163
|
+
id: string;
|
|
164
|
+
type: EntityType.GenericReference;
|
|
165
|
+
entityType: EntityType.ActionDescriptor;
|
|
166
|
+
entityId: string;
|
|
167
|
+
}, {
|
|
168
|
+
id: string;
|
|
169
|
+
type: EntityType.GenericReference;
|
|
170
|
+
entityType: EntityType.ActionDescriptor;
|
|
171
|
+
entityId: string;
|
|
172
|
+
}>, z.ZodObject<{
|
|
173
|
+
id: z.ZodString;
|
|
174
|
+
type: z.ZodLiteral<EntityType.GenericReference>;
|
|
175
|
+
entityId: z.ZodString;
|
|
176
|
+
entityType: z.ZodLiteral<EntityType.ActionDescriptor>;
|
|
177
|
+
}, "strip", z.ZodTypeAny, {
|
|
178
|
+
id: string;
|
|
179
|
+
type: EntityType.GenericReference;
|
|
180
|
+
entityType: EntityType.ActionDescriptor;
|
|
181
|
+
entityId: string;
|
|
182
|
+
}, {
|
|
183
|
+
id: string;
|
|
184
|
+
type: EntityType.GenericReference;
|
|
185
|
+
entityType: EntityType.ActionDescriptor;
|
|
186
|
+
entityId: string;
|
|
187
|
+
}>, z.ZodObject<{
|
|
188
|
+
id: z.ZodString;
|
|
189
|
+
type: z.ZodLiteral<EntityType.GenericReference>;
|
|
190
|
+
entityId: z.ZodString;
|
|
191
|
+
entityType: z.ZodLiteral<EntityType.Search>;
|
|
192
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
id: string;
|
|
194
|
+
type: EntityType.GenericReference;
|
|
195
|
+
entityType: EntityType.Search;
|
|
196
|
+
entityId: string;
|
|
197
|
+
}, {
|
|
198
|
+
id: string;
|
|
199
|
+
type: EntityType.GenericReference;
|
|
200
|
+
entityType: EntityType.Search;
|
|
201
|
+
entityId: string;
|
|
202
|
+
}>, z.ZodObject<{
|
|
203
|
+
id: z.ZodString;
|
|
204
|
+
type: z.ZodLiteral<EntityType.GenericReference>;
|
|
205
|
+
entityId: z.ZodString;
|
|
206
|
+
entityType: z.ZodLiteral<EntityType.BreakStatement>;
|
|
207
|
+
}, "strip", z.ZodTypeAny, {
|
|
208
|
+
id: string;
|
|
209
|
+
type: EntityType.GenericReference;
|
|
210
|
+
entityType: EntityType.BreakStatement;
|
|
211
|
+
entityId: string;
|
|
212
|
+
}, {
|
|
213
|
+
id: string;
|
|
214
|
+
type: EntityType.GenericReference;
|
|
215
|
+
entityType: EntityType.BreakStatement;
|
|
216
|
+
entityId: string;
|
|
217
|
+
}>, z.ZodObject<{
|
|
218
|
+
id: z.ZodString;
|
|
219
|
+
type: z.ZodLiteral<EntityType.GenericReference>;
|
|
220
|
+
entityId: z.ZodString;
|
|
221
|
+
entityType: z.ZodLiteral<EntityType.ContinueStatement>;
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
id: string;
|
|
224
|
+
type: EntityType.GenericReference;
|
|
225
|
+
entityType: EntityType.ContinueStatement;
|
|
226
|
+
entityId: string;
|
|
227
|
+
}, {
|
|
228
|
+
id: string;
|
|
229
|
+
type: EntityType.GenericReference;
|
|
230
|
+
entityType: EntityType.ContinueStatement;
|
|
231
|
+
entityId: string;
|
|
232
|
+
}>]>;
|
|
233
|
+
}, "strip", z.ZodTypeAny, {
|
|
234
|
+
parent: {
|
|
235
|
+
id: string;
|
|
236
|
+
type: EntityType.GenericReference;
|
|
237
|
+
entityType: EntityType.ActionDescriptor;
|
|
238
|
+
entityId: string;
|
|
239
|
+
} | {
|
|
240
|
+
id: string;
|
|
241
|
+
type: EntityType.GenericReference;
|
|
242
|
+
entityType: EntityType.Search;
|
|
243
|
+
entityId: string;
|
|
244
|
+
} | {
|
|
245
|
+
id: string;
|
|
246
|
+
type: EntityType.GenericReference;
|
|
247
|
+
entityType: EntityType.ReturnStatement;
|
|
248
|
+
entityId: string;
|
|
249
|
+
} | {
|
|
250
|
+
id: string;
|
|
251
|
+
type: EntityType.GenericReference;
|
|
252
|
+
entityType: EntityType.BreakStatement;
|
|
253
|
+
entityId: string;
|
|
254
|
+
} | {
|
|
255
|
+
id: string;
|
|
256
|
+
type: EntityType.GenericReference;
|
|
257
|
+
entityType: EntityType.ContinueStatement;
|
|
258
|
+
entityId: string;
|
|
259
|
+
};
|
|
260
|
+
readsValue: Record<string, any> | {
|
|
261
|
+
type: EntityType.OutputMap;
|
|
262
|
+
} | {
|
|
263
|
+
type: EntityType.VariableDeclaration;
|
|
264
|
+
} | {
|
|
265
|
+
type: EntityType.VariableInstance;
|
|
266
|
+
} | {
|
|
267
|
+
type: EntityType.ArgumentDeclaration;
|
|
268
|
+
} | {
|
|
269
|
+
type: EntityType.Operation;
|
|
270
|
+
} | {
|
|
271
|
+
type: EntityType.InternalCall;
|
|
272
|
+
} | {
|
|
273
|
+
type: EntityType.FunctionCall;
|
|
274
|
+
} | null;
|
|
275
|
+
dataType: Record<string, any> | {
|
|
276
|
+
type: EntityType.DataType;
|
|
277
|
+
} | null;
|
|
278
|
+
}, {
|
|
279
|
+
parent: {
|
|
280
|
+
id: string;
|
|
281
|
+
type: EntityType.GenericReference;
|
|
282
|
+
entityType: EntityType.ActionDescriptor;
|
|
283
|
+
entityId: string;
|
|
284
|
+
} | {
|
|
285
|
+
id: string;
|
|
286
|
+
type: EntityType.GenericReference;
|
|
287
|
+
entityType: EntityType.Search;
|
|
288
|
+
entityId: string;
|
|
289
|
+
} | {
|
|
290
|
+
id: string;
|
|
291
|
+
type: EntityType.GenericReference;
|
|
292
|
+
entityType: EntityType.ReturnStatement;
|
|
293
|
+
entityId: string;
|
|
294
|
+
} | {
|
|
295
|
+
id: string;
|
|
296
|
+
type: EntityType.GenericReference;
|
|
297
|
+
entityType: EntityType.BreakStatement;
|
|
298
|
+
entityId: string;
|
|
299
|
+
} | {
|
|
300
|
+
id: string;
|
|
301
|
+
type: EntityType.GenericReference;
|
|
302
|
+
entityType: EntityType.ContinueStatement;
|
|
303
|
+
entityId: string;
|
|
304
|
+
};
|
|
305
|
+
readsValue: Record<string, any> | {
|
|
306
|
+
type: EntityType.OutputMap;
|
|
307
|
+
} | {
|
|
308
|
+
type: EntityType.VariableDeclaration;
|
|
309
|
+
} | {
|
|
310
|
+
type: EntityType.VariableInstance;
|
|
311
|
+
} | {
|
|
312
|
+
type: EntityType.ArgumentDeclaration;
|
|
313
|
+
} | {
|
|
314
|
+
type: EntityType.Operation;
|
|
315
|
+
} | {
|
|
316
|
+
type: EntityType.InternalCall;
|
|
317
|
+
} | {
|
|
318
|
+
type: EntityType.FunctionCall;
|
|
319
|
+
} | null;
|
|
320
|
+
dataType: Record<string, any> | {
|
|
321
|
+
type: EntityType.DataType;
|
|
322
|
+
} | null;
|
|
323
|
+
}>;
|
|
324
|
+
export declare function getReturnDeclarationSchema(): z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
325
|
+
id: z.ZodString;
|
|
326
|
+
type: z.ZodLiteral<EntityType.ReturnDeclaration>;
|
|
327
|
+
name: z.ZodString;
|
|
328
|
+
description: z.ZodNullable<z.ZodString>;
|
|
329
|
+
isError: z.ZodBoolean;
|
|
330
|
+
}, {
|
|
331
|
+
version: z.ZodNumber;
|
|
332
|
+
index: z.ZodNumber;
|
|
333
|
+
}>, {
|
|
334
|
+
dataType: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
335
|
+
type: z.ZodLiteral<EntityType.DataType>;
|
|
336
|
+
}, "strip", z.ZodTypeAny, {
|
|
337
|
+
type: EntityType.DataType;
|
|
338
|
+
}, {
|
|
339
|
+
type: EntityType.DataType;
|
|
340
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
341
|
+
readsValue: z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
342
|
+
type: z.ZodLiteral<EntityType.VariableDeclaration>;
|
|
343
|
+
}, "strip", z.ZodTypeAny, {
|
|
344
|
+
type: EntityType.VariableDeclaration;
|
|
345
|
+
}, {
|
|
346
|
+
type: EntityType.VariableDeclaration;
|
|
347
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
|
|
348
|
+
type: z.ZodLiteral<EntityType.VariableInstance>;
|
|
349
|
+
}, "strip", z.ZodTypeAny, {
|
|
350
|
+
type: EntityType.VariableInstance;
|
|
351
|
+
}, {
|
|
352
|
+
type: EntityType.VariableInstance;
|
|
353
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>, z.ZodUnion<[z.ZodObject<{
|
|
354
|
+
type: z.ZodLiteral<EntityType.ArgumentDeclaration>;
|
|
355
|
+
}, "strip", z.ZodTypeAny, {
|
|
356
|
+
type: EntityType.ArgumentDeclaration;
|
|
357
|
+
}, {
|
|
358
|
+
type: EntityType.ArgumentDeclaration;
|
|
359
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
|
|
360
|
+
type: z.ZodLiteral<EntityType.OutputMap>;
|
|
361
|
+
}, "strip", z.ZodTypeAny, {
|
|
362
|
+
type: EntityType.OutputMap;
|
|
363
|
+
}, {
|
|
364
|
+
type: EntityType.OutputMap;
|
|
365
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
|
|
366
|
+
type: z.ZodLiteral<EntityType.Operation>;
|
|
367
|
+
}, "strip", z.ZodTypeAny, {
|
|
368
|
+
type: EntityType.Operation;
|
|
369
|
+
}, {
|
|
370
|
+
type: EntityType.Operation;
|
|
371
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
|
|
372
|
+
type: z.ZodLiteral<EntityType.InternalCall>;
|
|
373
|
+
}, "strip", z.ZodTypeAny, {
|
|
374
|
+
type: EntityType.InternalCall;
|
|
375
|
+
}, {
|
|
376
|
+
type: EntityType.InternalCall;
|
|
377
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodUnion<[z.ZodObject<{
|
|
378
|
+
type: z.ZodLiteral<EntityType.FunctionCall>;
|
|
379
|
+
}, "strip", z.ZodTypeAny, {
|
|
380
|
+
type: EntityType.FunctionCall;
|
|
381
|
+
}, {
|
|
382
|
+
type: EntityType.FunctionCall;
|
|
383
|
+
}>, z.ZodRecord<z.ZodString, z.ZodAny>]>]>>;
|
|
384
|
+
parent: z.ZodUnion<[z.ZodObject<{
|
|
385
|
+
id: z.ZodString;
|
|
386
|
+
type: z.ZodLiteral<EntityType.GenericReference>;
|
|
387
|
+
entityId: z.ZodString;
|
|
388
|
+
entityType: z.ZodLiteral<EntityType.ReturnStatement>;
|
|
389
|
+
}, "strip", z.ZodTypeAny, {
|
|
390
|
+
id: string;
|
|
391
|
+
type: EntityType.GenericReference;
|
|
392
|
+
entityType: EntityType.ReturnStatement;
|
|
393
|
+
entityId: string;
|
|
394
|
+
}, {
|
|
395
|
+
id: string;
|
|
396
|
+
type: EntityType.GenericReference;
|
|
397
|
+
entityType: EntityType.ReturnStatement;
|
|
398
|
+
entityId: string;
|
|
399
|
+
}>, z.ZodObject<{
|
|
400
|
+
id: z.ZodString;
|
|
401
|
+
type: z.ZodLiteral<EntityType.GenericReference>;
|
|
402
|
+
entityId: z.ZodString;
|
|
403
|
+
entityType: z.ZodLiteral<EntityType.ActionDescriptor>;
|
|
404
|
+
}, "strip", z.ZodTypeAny, {
|
|
405
|
+
id: string;
|
|
406
|
+
type: EntityType.GenericReference;
|
|
407
|
+
entityType: EntityType.ActionDescriptor;
|
|
408
|
+
entityId: string;
|
|
409
|
+
}, {
|
|
410
|
+
id: string;
|
|
411
|
+
type: EntityType.GenericReference;
|
|
412
|
+
entityType: EntityType.ActionDescriptor;
|
|
413
|
+
entityId: string;
|
|
414
|
+
}>, z.ZodObject<{
|
|
415
|
+
id: z.ZodString;
|
|
416
|
+
type: z.ZodLiteral<EntityType.GenericReference>;
|
|
417
|
+
entityId: z.ZodString;
|
|
418
|
+
entityType: z.ZodLiteral<EntityType.ActionDescriptor>;
|
|
419
|
+
}, "strip", z.ZodTypeAny, {
|
|
420
|
+
id: string;
|
|
421
|
+
type: EntityType.GenericReference;
|
|
422
|
+
entityType: EntityType.ActionDescriptor;
|
|
423
|
+
entityId: string;
|
|
424
|
+
}, {
|
|
425
|
+
id: string;
|
|
426
|
+
type: EntityType.GenericReference;
|
|
427
|
+
entityType: EntityType.ActionDescriptor;
|
|
428
|
+
entityId: string;
|
|
429
|
+
}>, z.ZodObject<{
|
|
430
|
+
id: z.ZodString;
|
|
431
|
+
type: z.ZodLiteral<EntityType.GenericReference>;
|
|
432
|
+
entityId: z.ZodString;
|
|
433
|
+
entityType: z.ZodLiteral<EntityType.Search>;
|
|
434
|
+
}, "strip", z.ZodTypeAny, {
|
|
435
|
+
id: string;
|
|
436
|
+
type: EntityType.GenericReference;
|
|
437
|
+
entityType: EntityType.Search;
|
|
438
|
+
entityId: string;
|
|
439
|
+
}, {
|
|
440
|
+
id: string;
|
|
441
|
+
type: EntityType.GenericReference;
|
|
442
|
+
entityType: EntityType.Search;
|
|
443
|
+
entityId: string;
|
|
444
|
+
}>, z.ZodObject<{
|
|
445
|
+
id: z.ZodString;
|
|
446
|
+
type: z.ZodLiteral<EntityType.GenericReference>;
|
|
447
|
+
entityId: z.ZodString;
|
|
448
|
+
entityType: z.ZodLiteral<EntityType.BreakStatement>;
|
|
449
|
+
}, "strip", z.ZodTypeAny, {
|
|
450
|
+
id: string;
|
|
451
|
+
type: EntityType.GenericReference;
|
|
452
|
+
entityType: EntityType.BreakStatement;
|
|
453
|
+
entityId: string;
|
|
454
|
+
}, {
|
|
455
|
+
id: string;
|
|
456
|
+
type: EntityType.GenericReference;
|
|
457
|
+
entityType: EntityType.BreakStatement;
|
|
458
|
+
entityId: string;
|
|
459
|
+
}>, z.ZodObject<{
|
|
460
|
+
id: z.ZodString;
|
|
461
|
+
type: z.ZodLiteral<EntityType.GenericReference>;
|
|
462
|
+
entityId: z.ZodString;
|
|
463
|
+
entityType: z.ZodLiteral<EntityType.ContinueStatement>;
|
|
464
|
+
}, "strip", z.ZodTypeAny, {
|
|
465
|
+
id: string;
|
|
466
|
+
type: EntityType.GenericReference;
|
|
467
|
+
entityType: EntityType.ContinueStatement;
|
|
468
|
+
entityId: string;
|
|
469
|
+
}, {
|
|
470
|
+
id: string;
|
|
471
|
+
type: EntityType.GenericReference;
|
|
472
|
+
entityType: EntityType.ContinueStatement;
|
|
473
|
+
entityId: string;
|
|
474
|
+
}>]>;
|
|
475
|
+
}>, "strip", z.ZodTypeAny, {
|
|
476
|
+
id: string;
|
|
477
|
+
type: EntityType.ReturnDeclaration;
|
|
478
|
+
name: string;
|
|
479
|
+
description: string | null;
|
|
480
|
+
parent: {
|
|
481
|
+
id: string;
|
|
482
|
+
type: EntityType.GenericReference;
|
|
483
|
+
entityType: EntityType.ActionDescriptor;
|
|
484
|
+
entityId: string;
|
|
485
|
+
} | {
|
|
486
|
+
id: string;
|
|
487
|
+
type: EntityType.GenericReference;
|
|
488
|
+
entityType: EntityType.Search;
|
|
489
|
+
entityId: string;
|
|
490
|
+
} | {
|
|
491
|
+
id: string;
|
|
492
|
+
type: EntityType.GenericReference;
|
|
493
|
+
entityType: EntityType.ReturnStatement;
|
|
494
|
+
entityId: string;
|
|
495
|
+
} | {
|
|
496
|
+
id: string;
|
|
497
|
+
type: EntityType.GenericReference;
|
|
498
|
+
entityType: EntityType.BreakStatement;
|
|
499
|
+
entityId: string;
|
|
500
|
+
} | {
|
|
501
|
+
id: string;
|
|
502
|
+
type: EntityType.GenericReference;
|
|
503
|
+
entityType: EntityType.ContinueStatement;
|
|
504
|
+
entityId: string;
|
|
505
|
+
};
|
|
506
|
+
isError: boolean;
|
|
507
|
+
version: number;
|
|
508
|
+
index: number;
|
|
509
|
+
readsValue: Record<string, any> | {
|
|
510
|
+
type: EntityType.OutputMap;
|
|
511
|
+
} | {
|
|
512
|
+
type: EntityType.VariableDeclaration;
|
|
513
|
+
} | {
|
|
514
|
+
type: EntityType.VariableInstance;
|
|
515
|
+
} | {
|
|
516
|
+
type: EntityType.ArgumentDeclaration;
|
|
517
|
+
} | {
|
|
518
|
+
type: EntityType.Operation;
|
|
519
|
+
} | {
|
|
520
|
+
type: EntityType.InternalCall;
|
|
521
|
+
} | {
|
|
522
|
+
type: EntityType.FunctionCall;
|
|
523
|
+
} | null;
|
|
524
|
+
dataType: Record<string, any> | {
|
|
525
|
+
type: EntityType.DataType;
|
|
526
|
+
} | null;
|
|
527
|
+
}, {
|
|
528
|
+
id: string;
|
|
529
|
+
type: EntityType.ReturnDeclaration;
|
|
530
|
+
name: string;
|
|
531
|
+
description: string | null;
|
|
532
|
+
parent: {
|
|
533
|
+
id: string;
|
|
534
|
+
type: EntityType.GenericReference;
|
|
535
|
+
entityType: EntityType.ActionDescriptor;
|
|
536
|
+
entityId: string;
|
|
537
|
+
} | {
|
|
538
|
+
id: string;
|
|
539
|
+
type: EntityType.GenericReference;
|
|
540
|
+
entityType: EntityType.Search;
|
|
541
|
+
entityId: string;
|
|
542
|
+
} | {
|
|
543
|
+
id: string;
|
|
544
|
+
type: EntityType.GenericReference;
|
|
545
|
+
entityType: EntityType.ReturnStatement;
|
|
546
|
+
entityId: string;
|
|
547
|
+
} | {
|
|
548
|
+
id: string;
|
|
549
|
+
type: EntityType.GenericReference;
|
|
550
|
+
entityType: EntityType.BreakStatement;
|
|
551
|
+
entityId: string;
|
|
552
|
+
} | {
|
|
553
|
+
id: string;
|
|
554
|
+
type: EntityType.GenericReference;
|
|
555
|
+
entityType: EntityType.ContinueStatement;
|
|
556
|
+
entityId: string;
|
|
557
|
+
};
|
|
558
|
+
isError: boolean;
|
|
559
|
+
version: number;
|
|
560
|
+
index: number;
|
|
561
|
+
readsValue: Record<string, any> | {
|
|
562
|
+
type: EntityType.OutputMap;
|
|
563
|
+
} | {
|
|
564
|
+
type: EntityType.VariableDeclaration;
|
|
565
|
+
} | {
|
|
566
|
+
type: EntityType.VariableInstance;
|
|
567
|
+
} | {
|
|
568
|
+
type: EntityType.ArgumentDeclaration;
|
|
569
|
+
} | {
|
|
570
|
+
type: EntityType.Operation;
|
|
571
|
+
} | {
|
|
572
|
+
type: EntityType.InternalCall;
|
|
573
|
+
} | {
|
|
574
|
+
type: EntityType.FunctionCall;
|
|
575
|
+
} | null;
|
|
576
|
+
dataType: Record<string, any> | {
|
|
577
|
+
type: EntityType.DataType;
|
|
578
|
+
} | null;
|
|
579
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './return-statement';
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, EntityVersion, IReturnStatement, IReturnStatementGenerationTarget, IReturnStatementReference, IReturnStatementShallowTransfer, IReturnStatementTransfer, ReturnStatementTypesUnion } from '../../../../../../../../../src/definitions';
|
|
2
|
+
import { ZodError } from 'zod';
|
|
3
|
+
import { BaseCanvasDraggableState, BaseState, CallableEntityClass, ChildEntityState, UserManagedEntityStateFunctionality } from '../base';
|
|
4
|
+
import { FunctionDeclarationState } from '../function-declaration';
|
|
5
|
+
import { ReturnDeclarationState } from '../return-declaration';
|
|
6
|
+
import { CallerEntityState, EntityState, EntityWithLogicScopeState, EntryPointEntityState, PassThroughCallableEntityState } from '../types';
|
|
7
|
+
import { ProjectState } from '../project/project';
|
|
8
|
+
import { EntityError, EntityGenerationError } from '../../state/error';
|
|
9
|
+
|
|
10
|
+
export declare class ReturnStatementState implements IReturnStatement, UserManagedEntityStateFunctionality, BaseState, BaseCanvasDraggableState, CallableEntityClass, ChildEntityState {
|
|
11
|
+
initialData: IReturnStatement | IReturnStatementTransfer;
|
|
12
|
+
readonly id: EntityId;
|
|
13
|
+
version: EntityVersion;
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
readonly type: EntityType.ReturnStatement;
|
|
17
|
+
outputs: ReturnDeclarationState[];
|
|
18
|
+
calledBySuccess: PassThroughCallableEntityState[];
|
|
19
|
+
calledByError: PassThroughCallableEntityState[];
|
|
20
|
+
calledByEntry: EntryPointEntityState[];
|
|
21
|
+
throws: ReturnDeclarationState | null;
|
|
22
|
+
project: ProjectState;
|
|
23
|
+
errors: EntityError[];
|
|
24
|
+
parent: EntityWithLogicScopeState;
|
|
25
|
+
initialized: boolean;
|
|
26
|
+
suggestion: boolean;
|
|
27
|
+
constructor(initialReturnStatementData: IReturnStatement | IReturnStatementTransfer, parentProjectState: ProjectState);
|
|
28
|
+
static MUTABLE_BASE_PROPERTIES: string[];
|
|
29
|
+
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
30
|
+
static BASE_PROPERTIES: string[];
|
|
31
|
+
static MUTABLE_META_PROPERTIES: string[];
|
|
32
|
+
static INMUTABLE_META_PROPERTIES: string[];
|
|
33
|
+
static META_PROPERTIES: string[];
|
|
34
|
+
static MUTABLE_UPSTREAM_PROPERTIES: string[];
|
|
35
|
+
static INMUTABLE_UPSTREAM_PROPERTIES: string[];
|
|
36
|
+
static UPSTREAM_PROPERTIES: string[];
|
|
37
|
+
static MUTABLE_DOWNSTREAM_PROPERTIES: string[];
|
|
38
|
+
static INMUTABLE_DOWNSTREAM_PROPERTIES: string[];
|
|
39
|
+
static DOWNSTREAM_PROPERTIES: string[];
|
|
40
|
+
static PROPERTIES: string[];
|
|
41
|
+
static fromGenerationTarget(data: IReturnStatementGenerationTarget, parentProjectState: ProjectState): ReturnStatementState;
|
|
42
|
+
static validateGenerationTarget(data: IReturnStatementGenerationTarget, project: ProjectState): {
|
|
43
|
+
errors: EntityGenerationError[];
|
|
44
|
+
modifiedData: IReturnStatementGenerationTarget;
|
|
45
|
+
};
|
|
46
|
+
validateGeneratedUpdate(data: Partial<IReturnStatementGenerationTarget>): {
|
|
47
|
+
errors: EntityGenerationError[];
|
|
48
|
+
modifiedData: Partial<IReturnStatementGenerationTarget>;
|
|
49
|
+
};
|
|
50
|
+
addSelfToProject(): ReturnStatementState;
|
|
51
|
+
get calledBy(): CallerEntityState[];
|
|
52
|
+
addSuccessCaller(caller: PassThroughCallableEntityState): ReturnStatementState;
|
|
53
|
+
addErrorCaller(caller: PassThroughCallableEntityState): ReturnStatementState;
|
|
54
|
+
addEntryCaller(caller: EntryPointEntityState): ReturnStatementState;
|
|
55
|
+
removeCaller(caller: CallerEntityState): ReturnStatementState;
|
|
56
|
+
addOutputDeclaration(output: ReturnDeclarationState): ReturnStatementState;
|
|
57
|
+
removeOutputDeclaration(output: ReturnDeclarationState): ReturnStatementState;
|
|
58
|
+
setParent(parent: EntityWithLogicScopeState): ReturnStatementState;
|
|
59
|
+
initChildren(): ReturnStatementState;
|
|
60
|
+
subscribe(): ReturnStatementState;
|
|
61
|
+
unsubscribe(): ReturnStatementState;
|
|
62
|
+
sync(data: Partial<IReturnStatement>): ReturnStatementState;
|
|
63
|
+
load(): Promise<ReturnStatementState>;
|
|
64
|
+
create(): Promise<ReturnStatementState>;
|
|
65
|
+
update(_: Partial<ReturnStatementTypesUnion>): Promise<ReturnStatementState>;
|
|
66
|
+
delete(): Promise<ReturnStatementState>;
|
|
67
|
+
remove({ ignoreUpstream, seenEntities, }?: {
|
|
68
|
+
ignoreUpstream: boolean;
|
|
69
|
+
seenEntities: Set<string>;
|
|
70
|
+
}): {
|
|
71
|
+
affected: EntityState[];
|
|
72
|
+
removed: EntityState[];
|
|
73
|
+
};
|
|
74
|
+
restore({ seenEntities }?: {
|
|
75
|
+
seenEntities: Set<string>;
|
|
76
|
+
}): {
|
|
77
|
+
affected: EntityState[];
|
|
78
|
+
self: EntityState;
|
|
79
|
+
};
|
|
80
|
+
toFlat(seenEntities?: Set<string>): EntityState[];
|
|
81
|
+
toFlatIds(seenEntities?: Set<string>): EntityId[];
|
|
82
|
+
toJSON(): IReturnStatementTransfer;
|
|
83
|
+
toReference(): IReturnStatementReference;
|
|
84
|
+
toShallowJSON(): IReturnStatementShallowTransfer;
|
|
85
|
+
toFlatJSON(seenEntities?: Set<string>): ElementShallowTransfer[];
|
|
86
|
+
toGenerationTarget(): IReturnStatementGenerationTarget;
|
|
87
|
+
toFlatGenerationTarget(seenEntities?: Set<string>): ElementGenerationTarget[];
|
|
88
|
+
clearErrors(): ReturnStatementState;
|
|
89
|
+
validate(): {
|
|
90
|
+
success: boolean;
|
|
91
|
+
error: ZodError | null;
|
|
92
|
+
data: IReturnStatementTransfer | null;
|
|
93
|
+
};
|
|
94
|
+
getErrors(): EntityError[];
|
|
95
|
+
getShallowErrors(): EntityError[];
|
|
96
|
+
clone(_?: FunctionDeclarationState): ReturnStatementState;
|
|
97
|
+
}
|
|
98
|
+
export type ReturnStatementPayloadUnion = ReturnStatementState | ReturnStatementTypesUnion;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IReturnStatementGenerationTarget } from '../../../../../../../../../../src/definitions';
|
|
2
|
+
import { ProjectState } from '../../project';
|
|
3
|
+
import { EntityGenerationError } from '../../error';
|
|
4
|
+
|
|
5
|
+
export declare function validateCallerReferences(data: IReturnStatementGenerationTarget, project: ProjectState): {
|
|
6
|
+
errors: EntityGenerationError[];
|
|
7
|
+
modifiedData: IReturnStatementGenerationTarget;
|
|
8
|
+
};
|