@elyx-code/project-logic-tree 0.0.6281 → 0.0.6282
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/dist/index.d.ts +14454 -3
- package/package.json +4 -1
- package/dist/definitions/built-in-base-entities/conditions/comparison/index.d.ts +0 -6
- package/dist/definitions/built-in-base-entities/conditions/comparison/more-than-or-equal.d.ts +0 -11
- package/dist/definitions/built-in-base-entities/conditions/index.d.ts +0 -8
- package/dist/definitions/built-in-base-entities/conditions/standalone/index.d.ts +0 -6
- package/dist/definitions/built-in-base-entities/conditions/standalone/not-empty.d.ts +0 -5
- package/dist/definitions/built-in-base-entities/entities/cron/entity.d.ts +0 -7
- package/dist/definitions/built-in-base-entities/entities/cron/index.d.ts +0 -2
- package/dist/definitions/built-in-base-entities/entities/cron/trigger.d.ts +0 -4
- package/dist/definitions/built-in-base-entities/entities/endpoint.d.ts +0 -53
- package/dist/definitions/built-in-base-entities/entities/execution/index.d.ts +0 -5
- package/dist/definitions/built-in-base-entities/entities/index.d.ts +0 -8
- package/dist/definitions/built-in-base-entities/entities/other/index.d.ts +0 -1
- package/dist/definitions/built-in-base-entities/entities/other/key-value-param.d.ts +0 -10
- package/dist/definitions/built-in-base-entities/entities/persisted/entity.d.ts +0 -3
- package/dist/definitions/built-in-base-entities/entities/persisted/index.d.ts +0 -3
- package/dist/definitions/built-in-base-entities/entities/persisted/methods/delete.d.ts +0 -4
- package/dist/definitions/built-in-base-entities/entities/persisted/methods/index.d.ts +0 -2
- package/dist/definitions/built-in-base-entities/entities/persisted/methods/soft-delete.d.ts +0 -4
- package/dist/definitions/built-in-base-entities/entities/persisted/properties.d.ts +0 -17
- package/dist/definitions/built-in-base-entities/entities/relational-database/entity.d.ts +0 -30
- package/dist/definitions/built-in-base-entities/entities/relational-database/index.d.ts +0 -1
- package/dist/definitions/built-in-base-entities/global-events/index.d.ts +0 -7
- package/dist/definitions/built-in-base-entities/global-events/project-published.d.ts +0 -3
- package/dist/definitions/built-in-base-entities/ids.d.ts +0 -491
- package/dist/definitions/built-in-base-entities/index.d.ts +0 -11
- package/dist/definitions/built-in-base-entities/loops/counted/body.d.ts +0 -11
- package/dist/definitions/built-in-base-entities/loops/counted/index.d.ts +0 -2
- package/dist/definitions/built-in-base-entities/loops/counted/loop.d.ts +0 -11
- package/dist/definitions/built-in-base-entities/loops/index.d.ts +0 -10
- package/dist/definitions/built-in-base-entities/loops/list/body.d.ts +0 -15
- package/dist/definitions/built-in-base-entities/loops/list/index.d.ts +0 -2
- package/dist/definitions/built-in-base-entities/loops/list/loop.d.ts +0 -9
- package/dist/definitions/built-in-base-entities/loops/manual-flow/body.d.ts +0 -11
- package/dist/definitions/built-in-base-entities/loops/manual-flow/index.d.ts +0 -2
- package/dist/definitions/built-in-base-entities/loops/manual-flow/loop.d.ts +0 -5
- package/dist/definitions/built-in-base-entities/loops/object-keys-loop/body.d.ts +0 -15
- package/dist/definitions/built-in-base-entities/loops/object-keys-loop/index.d.ts +0 -2
- package/dist/definitions/built-in-base-entities/loops/object-keys-loop/loop.d.ts +0 -9
- package/dist/definitions/built-in-base-entities/loops/object-values-loop/body.d.ts +0 -15
- package/dist/definitions/built-in-base-entities/loops/object-values-loop/index.d.ts +0 -2
- package/dist/definitions/built-in-base-entities/loops/object-values-loop/loop.d.ts +0 -9
- package/dist/definitions/built-in-base-entities/loops/string/body.d.ts +0 -15
- package/dist/definitions/built-in-base-entities/loops/string/index.d.ts +0 -2
- package/dist/definitions/built-in-base-entities/loops/string/loop.d.ts +0 -9
- package/dist/definitions/built-in-base-entities/operations/definition-entity/create-new.d.ts +0 -22
- package/dist/definitions/built-in-base-entities/operations/definition-entity/index.d.ts +0 -7
- package/dist/definitions/built-in-base-entities/operations/definition-entity/validate-data.d.ts +0 -15
- package/dist/definitions/built-in-base-entities/operations/function-execution/index.d.ts +0 -8
- package/dist/definitions/built-in-base-entities/operations/function-execution/parallel.d.ts +0 -19
- package/dist/definitions/built-in-base-entities/operations/function-execution/sequential.d.ts +0 -23
- package/dist/definitions/built-in-base-entities/operations/function-execution/wait.d.ts +0 -15
- package/dist/definitions/built-in-base-entities/operations/http-request/http-request.d.ts +0 -45
- package/dist/definitions/built-in-base-entities/operations/http-request/index.d.ts +0 -6
- package/dist/definitions/built-in-base-entities/operations/index.d.ts +0 -12
- package/dist/definitions/built-in-base-entities/operations/list/append.d.ts +0 -25
- package/dist/definitions/built-in-base-entities/operations/list/get-last.d.ts +0 -20
- package/dist/definitions/built-in-base-entities/operations/list/index.d.ts +0 -9
- package/dist/definitions/built-in-base-entities/operations/list/join-lists.d.ts +0 -25
- package/dist/definitions/built-in-base-entities/operations/list/split-list.d.ts +0 -29
- package/dist/definitions/built-in-base-entities/operations/number/index.d.ts +0 -7
- package/dist/definitions/built-in-base-entities/operations/number/number-addition.d.ts +0 -20
- package/dist/definitions/built-in-base-entities/operations/number/number-subtraction.d.ts +0 -20
- package/dist/definitions/built-in-base-entities/operations/string/index.d.ts +0 -7
- package/dist/definitions/built-in-base-entities/operations/string/join-strings.d.ts +0 -27
- package/dist/definitions/built-in-base-entities/operations/string/split-string.d.ts +0 -21
- package/dist/definitions/built-in-base-entities/primitive-entities.d.ts +0 -17
- package/dist/definitions/built-in-base-entities/value-descriptors/index.d.ts +0 -5
- package/dist/definitions/built-in-base-entities/value-descriptors/process-output.d.ts +0 -5
- package/dist/definitions/built-in-base-entities/value-descriptors/search-error-output.d.ts +0 -5
- package/dist/definitions/index.d.ts +0 -4
- package/dist/definitions/logic/definition-entity-to-zod-schema.d.ts +0 -4
- package/dist/definitions/logic/index.d.ts +0 -2
- package/dist/definitions/logic/value-autogeneration/boolean.d.ts +0 -3
- package/dist/definitions/logic/value-autogeneration/date.d.ts +0 -6
- package/dist/definitions/logic/value-autogeneration/index.d.ts +0 -6
- package/dist/definitions/logic/value-autogeneration/number.d.ts +0 -6
- package/dist/definitions/logic/value-autogeneration/text.d.ts +0 -6
- package/dist/definitions/logic/value-autogeneration/uuid.d.ts +0 -1
- package/dist/definitions/logic/value-autogeneration/value-autogeneration.d.ts +0 -3
- package/dist/definitions/mock/default-mock/entities/alt-relational-database/entity.d.ts +0 -4
- package/dist/definitions/mock/default-mock/entities/alt-relational-database/properties.d.ts +0 -16
- package/dist/definitions/mock/default-mock/entities/animal.d.ts +0 -14
- package/dist/definitions/mock/default-mock/entities/back-account/account-owner-event.d.ts +0 -26
- package/dist/definitions/mock/default-mock/entities/back-account/change-owner-of-account.d.ts +0 -16
- package/dist/definitions/mock/default-mock/entities/back-account/entity.d.ts +0 -4
- package/dist/definitions/mock/default-mock/entities/back-account/properties.d.ts +0 -10
- package/dist/definitions/mock/default-mock/entities/base-table/entity.d.ts +0 -4
- package/dist/definitions/mock/default-mock/entities/base-table/ids.d.ts +0 -2
- package/dist/definitions/mock/default-mock/entities/base-table/index.d.ts +0 -2
- package/dist/definitions/mock/default-mock/entities/base-table/properties.d.ts +0 -24
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/currency/entity.d.ts +0 -4
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/currency/properties.d.ts +0 -22
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/entity.d.ts +0 -4
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/properties.d.ts +0 -14
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/entity.d.ts +0 -4
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/ids.d.ts +0 -15
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/properties.d.ts +0 -18
- package/dist/definitions/mock/default-mock/entities/company/change-owner-of-company.d.ts +0 -16
- package/dist/definitions/mock/default-mock/entities/company/company-changed-event/company-name-exists-condition.d.ts +0 -8
- package/dist/definitions/mock/default-mock/entities/company/company-changed-event/gov-registry-func-call.d.ts +0 -16
- package/dist/definitions/mock/default-mock/entities/company/company-changed-event/index.d.ts +0 -18
- package/dist/definitions/mock/default-mock/entities/company/entity.d.ts +0 -4
- package/dist/definitions/mock/default-mock/entities/company/properties.d.ts +0 -22
- package/dist/definitions/mock/default-mock/entities/cron-job/entity.d.ts +0 -13
- package/dist/definitions/mock/default-mock/entities/default-relational-database/entity.d.ts +0 -4
- package/dist/definitions/mock/default-mock/entities/default-relational-database/properties.d.ts +0 -27
- package/dist/definitions/mock/default-mock/entities/employee.d.ts +0 -17
- package/dist/definitions/mock/default-mock/entities/get-all-bank-accounts-endpoint/entity.d.ts +0 -4
- package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/endpoint-reached-event.d.ts +0 -39
- package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/entity.d.ts +0 -4
- package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/ids.d.ts +0 -1
- package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/properties.d.ts +0 -12
- package/dist/definitions/mock/default-mock/entities/person.d.ts +0 -12
- package/dist/definitions/mock/default-mock/entities/plant.d.ts +0 -13
- package/dist/definitions/mock/default-mock/entities/product.d.ts +0 -18
- package/dist/definitions/mock/default-mock/entities/user.d.ts +0 -13
- package/dist/definitions/mock/default-mock/events/project-loaded/get-bitcoin-price/get-bitcoin-price-http-call.d.ts +0 -20
- package/dist/definitions/mock/default-mock/events/project-loaded/get-bitcoin-price/validate-bitcoin-price-response.d.ts +0 -13
- package/dist/definitions/mock/default-mock/events/project-loaded/ids.d.ts +0 -4
- package/dist/definitions/mock/default-mock/events/project-loaded/index.d.ts +0 -7
- package/dist/definitions/mock/default-mock/function-calls/call-execution-abort.d.ts +0 -4
- package/dist/definitions/mock/default-mock/function-calls/call-hello-world-loop.d.ts +0 -4
- package/dist/definitions/mock/default-mock/functions/abort-execution/execution-abort-call-var.d.ts +0 -9
- package/dist/definitions/mock/default-mock/functions/abort-execution/execution-var-declaration.d.ts +0 -8
- package/dist/definitions/mock/default-mock/functions/abort-execution/execution-var-instance-write.d.ts +0 -8
- package/dist/definitions/mock/default-mock/functions/abort-execution/function.d.ts +0 -4
- package/dist/definitions/mock/default-mock/functions/abort-execution/ids.d.ts +0 -11
- package/dist/definitions/mock/default-mock/functions/abort-execution/long-wait-return-statement.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/abort-execution/long-wait.d.ts +0 -9
- package/dist/definitions/mock/default-mock/functions/abort-execution/second-wait.d.ts +0 -8
- package/dist/definitions/mock/default-mock/functions/abort-execution/small-wait-return-statement.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/abort-execution/small-wait.d.ts +0 -8
- package/dist/definitions/mock/default-mock/functions/check-gov-registry/gov-http-call.d.ts +0 -35
- package/dist/definitions/mock/default-mock/functions/check-gov-registry/index.d.ts +0 -8
- package/dist/definitions/mock/default-mock/functions/check-gov-registry/join-query-string-operation.d.ts +0 -19
- package/dist/definitions/mock/default-mock/functions/check-gov-registry/return-statement.d.ts +0 -11
- package/dist/definitions/mock/default-mock/functions/check-gov-registry/shared-arg-map.d.ts +0 -5
- package/dist/definitions/mock/default-mock/functions/company-dto/employee-dto-map-loop/body.d.ts +0 -24
- package/dist/definitions/mock/default-mock/functions/company-dto/employee-dto-map-loop/loop.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/company-dto/function.d.ts +0 -8
- package/dist/definitions/mock/default-mock/functions/company-dto/ids.d.ts +0 -28
- package/dist/definitions/mock/default-mock/functions/company-dto/return-statement.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/bank-account-variable.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company/outputs.d.ts +0 -12
- package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company/variable.d.ts +0 -8
- package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company-dto/inputs.d.ts +0 -17
- package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/company-dto/variable.d.ts +0 -7
- package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping/owner-variable.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/company-dto/mapping-func-call.d.ts +0 -8
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/company-dto/var-chain.d.ts +0 -15
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/exec-in-parallel-call/operation.d.ts +0 -13
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/exec-sequentially-call/operation.d.ts +0 -13
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/function-list-variable.d.ts +0 -17
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/function.d.ts +0 -4
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/ids.d.ts +0 -14
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/return-statement.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/wait.d.ts +0 -9
- package/dist/definitions/mock/default-mock/functions/create-new-company/index.d.ts +0 -4
- package/dist/definitions/mock/default-mock/functions/create-new-company/return-statement.d.ts +0 -9
- package/dist/definitions/mock/default-mock/functions/current-time.d.ts +0 -16
- package/dist/definitions/mock/default-mock/functions/do-math/ids.d.ts +0 -2
- package/dist/definitions/mock/default-mock/functions/do-math/index.d.ts +0 -18
- package/dist/definitions/mock/default-mock/functions/do-math/op-output-variables.d.ts +0 -8
- package/dist/definitions/mock/default-mock/functions/do-math/return-statement.d.ts +0 -9
- package/dist/definitions/mock/default-mock/functions/do-math/sum-operation.d.ts +0 -12
- package/dist/definitions/mock/default-mock/functions/do-math/var-to-return-statement.d.ts +0 -7
- package/dist/definitions/mock/default-mock/functions/employee-dto/function.d.ts +0 -8
- package/dist/definitions/mock/default-mock/functions/employee-dto/ids.d.ts +0 -16
- package/dist/definitions/mock/default-mock/functions/employee-dto/return-statement.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee/outputs.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee/variable.d.ts +0 -8
- package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee-dto/inputs.d.ts +0 -14
- package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/employee-dto/variable.d.ts +0 -5
- package/dist/definitions/mock/default-mock/functions/employee-dto/variable-mapping/manager-variable.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/function.d.ts +0 -4
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/ids.d.ts +0 -13
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/add-latest-text-to-final-list.d.ts +0 -14
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/break-statement.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/continue-statement.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/iteration-smaller-than-ten-condition.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/join-texts.d.ts +0 -13
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/loop-body.d.ts +0 -12
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/loop.d.ts +0 -9
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/return-statement.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/company-variable-declaration.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/company-variable-instance.d.ts +0 -9
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/create-new-bank-account.d.ts +0 -21
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/ids.d.ts +0 -17
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/index.d.ts +0 -19
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/old-bank-account-variable.d.ts +0 -16
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/person-not-empty-condition.d.ts +0 -8
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/person-not-found-return-error.d.ts +0 -10
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/found-person-output.d.ts +0 -8
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/index.d.ts +0 -5
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/person-id-input.d.ts +0 -9
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/search-query.d.ts +0 -1
- package/dist/definitions/mock/default-mock/functions/show-popup/index.d.ts +0 -4
- package/dist/definitions/mock/default-mock/ids.d.ts +0 -3
- package/dist/definitions/mock/default-mock/index.d.ts +0 -4
- package/dist/definitions/mock/default-mock/installed-projects/mock-third-party-project.d.ts +0 -6
- package/dist/definitions/mock/default-mock/loops/global-counted-loop-test/body.d.ts +0 -8
- package/dist/definitions/mock/default-mock/loops/global-counted-loop-test/ids.d.ts +0 -3
- package/dist/definitions/mock/default-mock/loops/global-counted-loop-test/loop.d.ts +0 -8
- package/dist/definitions/mock/default-mock/loops/global-object-keys-loop/body.d.ts +0 -8
- package/dist/definitions/mock/default-mock/loops/global-object-keys-loop/ids.d.ts +0 -3
- package/dist/definitions/mock/default-mock/loops/global-object-keys-loop/loop.d.ts +0 -9
- package/dist/definitions/mock/default-mock/loops/global-object-values-loop/body.d.ts +0 -8
- package/dist/definitions/mock/default-mock/loops/global-object-values-loop/ids.d.ts +0 -3
- package/dist/definitions/mock/default-mock/loops/global-object-values-loop/loop.d.ts +0 -8
- package/dist/definitions/mock/default-mock/loops/global-test-iterate-over-string/body.d.ts +0 -12
- package/dist/definitions/mock/default-mock/loops/global-test-iterate-over-string/ids.d.ts +0 -4
- package/dist/definitions/mock/default-mock/loops/global-test-iterate-over-string/loop.d.ts +0 -8
- package/dist/definitions/mock/default-mock/loops/iterate-over-list/body.d.ts +0 -8
- package/dist/definitions/mock/default-mock/loops/iterate-over-list/ids.d.ts +0 -3
- package/dist/definitions/mock/default-mock/loops/iterate-over-list/loop.d.ts +0 -6
- package/dist/definitions/mock/default-mock/operations/random-wait.d.ts +0 -7
- package/dist/definitions/mock/default-mock/searches/find-companies-with-multiple-employees-and-bank-account.d.ts +0 -8
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/company-employee/company-employee.d.ts +0 -6
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/company-employee/outputs.d.ts +0 -10
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/employee-dto/company-employee-mapped-DTO.d.ts +0 -12
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/employee-dto/inputs.d.ts +0 -17
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/global-user-instance.d.ts +0 -6
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/ids.d.ts +0 -17
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/manager-variable.d.ts +0 -9
- package/dist/definitions/mock/default-mock/variables/isTestEnv.d.ts +0 -9
- package/dist/definitions/mock/default-mock/variables/lastTimestamp.d.ts +0 -7
- package/dist/definitions/mock/default-mock/variables/user.d.ts +0 -6
- package/dist/definitions/mock/index.d.ts +0 -3
- package/dist/definitions/types/action-descriptor.d.ts +0 -73
- package/dist/definitions/types/autogeneration.d.ts +0 -101
- package/dist/definitions/types/base-entity.d.ts +0 -79
- package/dist/definitions/types/base.d.ts +0 -189
- package/dist/definitions/types/condition.d.ts +0 -61
- package/dist/definitions/types/data-type.d.ts +0 -58
- package/dist/definitions/types/definition-entity.d.ts +0 -34
- package/dist/definitions/types/event.d.ts +0 -50
- package/dist/definitions/types/function.d.ts +0 -116
- package/dist/definitions/types/generic-reference.d.ts +0 -96
- package/dist/definitions/types/index.d.ts +0 -238
- package/dist/definitions/types/input-output-map.d.ts +0 -139
- package/dist/definitions/types/loop.d.ts +0 -41
- package/dist/definitions/types/operation.d.ts +0 -92
- package/dist/definitions/types/primitives.d.ts +0 -208
- package/dist/definitions/types/project.d.ts +0 -84
- package/dist/definitions/types/property.d.ts +0 -49
- package/dist/definitions/types/return.d.ts +0 -130
- package/dist/definitions/types/search.d.ts +0 -61
- package/dist/definitions/types/variable.d.ts +0 -139
- package/dist/events.d.ts +0 -15
- package/dist/tree/built-in/built-in-base-entities/endpoint/entity.d.ts +0 -27
- package/dist/tree/built-in/built-in-base-entities/endpoint/index.d.ts +0 -1
- package/dist/tree/built-in/built-in-base-entities/index.d.ts +0 -2
- package/dist/tree/built-in/built-in-base-entities/init.d.ts +0 -4
- package/dist/tree/built-in/built-in-base-entities/persisted/entity.d.ts +0 -22
- package/dist/tree/built-in/built-in-base-entities/persisted/index.d.ts +0 -1
- package/dist/tree/built-in/built-in-base-entities/relational-database/entity.d.ts +0 -22
- package/dist/tree/built-in/built-in-base-entities/relational-database/index.d.ts +0 -1
- package/dist/tree/built-in/index.d.ts +0 -3
- package/dist/tree/built-in/operations/definition-entity/create-new.d.ts +0 -5
- package/dist/tree/built-in/operations/definition-entity/index.d.ts +0 -2
- package/dist/tree/built-in/operations/definition-entity/validate-data.d.ts +0 -17
- package/dist/tree/built-in/operations/definition-entity/validate-data.test.d.ts +0 -1
- package/dist/tree/built-in/operations/function-execution/index.d.ts +0 -3
- package/dist/tree/built-in/operations/function-execution/parallel.d.ts +0 -17
- package/dist/tree/built-in/operations/function-execution/sequential.d.ts +0 -18
- package/dist/tree/built-in/operations/function-execution/wait.d.ts +0 -17
- package/dist/tree/built-in/operations/http-request/http-request.d.ts +0 -5
- package/dist/tree/built-in/operations/http-request/index.d.ts +0 -1
- package/dist/tree/built-in/operations/index.d.ts +0 -1
- package/dist/tree/built-in/operations/init.d.ts +0 -4
- package/dist/tree/built-in/operations/list/append.d.ts +0 -5
- package/dist/tree/built-in/operations/list/get-last.d.ts +0 -5
- package/dist/tree/built-in/operations/list/index.d.ts +0 -4
- package/dist/tree/built-in/operations/list/join-lists.d.ts +0 -5
- package/dist/tree/built-in/operations/list/split-list.d.ts +0 -5
- package/dist/tree/built-in/operations/number/index.d.ts +0 -1
- package/dist/tree/built-in/operations/number/number-addition.d.ts +0 -5
- package/dist/tree/built-in/operations/string/index.d.ts +0 -1
- package/dist/tree/built-in/operations/string/join-strings.d.ts +0 -5
- package/dist/tree/built-in/primitive-entities/index.d.ts +0 -1
- package/dist/tree/index.d.ts +0 -3
- package/dist/tree/state/action-descriptor/action-descriptor.d.ts +0 -153
- package/dist/tree/state/action-descriptor/index.d.ts +0 -2
- package/dist/tree/state/action-descriptor/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/action-descriptor/validation/validation-schema.d.ts +0 -361
- package/dist/tree/state/argument-declaration/argument-declaration.d.ts +0 -135
- package/dist/tree/state/argument-declaration/index.d.ts +0 -2
- package/dist/tree/state/argument-declaration/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/argument-declaration/validation/validation-schema.d.ts +0 -489
- package/dist/tree/state/autogeneration.d.ts +0 -823
- package/dist/tree/state/base.d.ts +0 -177
- package/dist/tree/state/break-statement/break-statement.d.ts +0 -128
- package/dist/tree/state/break-statement/index.d.ts +0 -2
- package/dist/tree/state/break-statement/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/break-statement/validation/validation-schema.d.ts +0 -1117
- package/dist/tree/state/built-in-base-entity/built-in-base-entity.d.ts +0 -61
- package/dist/tree/state/built-in-base-entity/built-in-base-entity.test.d.ts +0 -1
- package/dist/tree/state/built-in-base-entity/index.d.ts +0 -1
- package/dist/tree/state/built-in-base-entity/logic-validation.d.ts +0 -4
- package/dist/tree/state/built-in-base-entity/validation-schema.d.ts +0 -256
- package/dist/tree/state/change-set/change-set.d.ts +0 -95
- package/dist/tree/state/change-set/change-set.test.d.ts +0 -1
- package/dist/tree/state/change-set/index.d.ts +0 -3
- package/dist/tree/state/change-set/side-effect-events.d.ts +0 -3
- package/dist/tree/state/change-set/versioning.d.ts +0 -12
- package/dist/tree/state/condition/condition.d.ts +0 -138
- package/dist/tree/state/condition/index.d.ts +0 -2
- package/dist/tree/state/condition/init.d.ts +0 -4
- package/dist/tree/state/condition/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/condition/validation/validation-schema.d.ts +0 -2386
- package/dist/tree/state/continue-statement/continue-statement.d.ts +0 -128
- package/dist/tree/state/continue-statement/index.d.ts +0 -2
- package/dist/tree/state/continue-statement/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/continue-statement/validation/validation-schema.d.ts +0 -1117
- package/dist/tree/state/create.d.ts +0 -8
- package/dist/tree/state/data-type/data-type.d.ts +0 -147
- package/dist/tree/state/data-type/data-type.test.d.ts +0 -1
- package/dist/tree/state/data-type/index.d.ts +0 -2
- package/dist/tree/state/data-type/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/data-type/validation/references.d.ts +0 -5
- package/dist/tree/state/data-type/validation/validation-schema.d.ts +0 -14485
- package/dist/tree/state/definition-entity/definition-entity.d.ts +0 -167
- package/dist/tree/state/definition-entity/definition-entity.test.d.ts +0 -1
- package/dist/tree/state/definition-entity/index.d.ts +0 -2
- package/dist/tree/state/definition-entity/validation/logic-validation.d.ts +0 -15
- package/dist/tree/state/definition-entity/validation/references.d.ts +0 -5
- package/dist/tree/state/definition-entity/validation/validation-schema.d.ts +0 -472
- package/dist/tree/state/error.d.ts +0 -172
- package/dist/tree/state/function-call/function-call.d.ts +0 -146
- package/dist/tree/state/function-call/index.d.ts +0 -2
- package/dist/tree/state/function-call/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/function-call/validation/validation-schema.d.ts +0 -2517
- package/dist/tree/state/function-declaration/function-declaration.d.ts +0 -154
- package/dist/tree/state/function-declaration/function-declaration.test.d.ts +0 -1
- package/dist/tree/state/function-declaration/index.d.ts +0 -2
- package/dist/tree/state/function-declaration/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/function-declaration/validation/validation-schema.d.ts +0 -505
- package/dist/tree/state/global-event/global-event.d.ts +0 -133
- package/dist/tree/state/global-event/index.d.ts +0 -2
- package/dist/tree/state/global-event/init.d.ts +0 -4
- package/dist/tree/state/global-event/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/global-event/validation/validation-schema.d.ts +0 -1283
- package/dist/tree/state/index.d.ts +0 -35
- package/dist/tree/state/input-map/index.d.ts +0 -2
- package/dist/tree/state/input-map/input-map.d.ts +0 -159
- package/dist/tree/state/input-map/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/input-map/validation/validation-schema.d.ts +0 -43343
- package/dist/tree/state/installed-project/index.d.ts +0 -2
- package/dist/tree/state/installed-project/installed-project.d.ts +0 -117
- package/dist/tree/state/installed-project/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/installed-project/validation/validation-schema.d.ts +0 -238
- package/dist/tree/state/internal-call/index.d.ts +0 -2
- package/dist/tree/state/internal-call/internal-call.d.ts +0 -145
- package/dist/tree/state/internal-call/validation/logic-validation.d.ts +0 -5
- package/dist/tree/state/internal-call/validation/validation-schema.d.ts +0 -2433
- package/dist/tree/state/literal-value/index.d.ts +0 -2
- package/dist/tree/state/literal-value/literal-value.d.ts +0 -142
- package/dist/tree/state/literal-value/literal-value.test.d.ts +0 -1
- package/dist/tree/state/literal-value/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/literal-value/validation/references.d.ts +0 -5
- package/dist/tree/state/literal-value/validation/validation-schema.d.ts +0 -13204
- package/dist/tree/state/logic-validation.test.d.ts +0 -1
- package/dist/tree/state/loop/index.d.ts +0 -2
- package/dist/tree/state/loop/init.d.ts +0 -4
- package/dist/tree/state/loop/loop.d.ts +0 -189
- package/dist/tree/state/loop/loop.test.d.ts +0 -1
- package/dist/tree/state/loop/validation/logic-validation.d.ts +0 -5
- package/dist/tree/state/loop/validation/validation-schema.d.ts +0 -2549
- package/dist/tree/state/operation/index.d.ts +0 -2
- package/dist/tree/state/operation/operation.d.ts +0 -145
- package/dist/tree/state/operation/operation.test.d.ts +0 -1
- package/dist/tree/state/operation/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/operation/validation/validation-schema.d.ts +0 -2527
- package/dist/tree/state/output-map/index.d.ts +0 -2
- package/dist/tree/state/output-map/output-map.d.ts +0 -150
- package/dist/tree/state/output-map/output-map.test.d.ts +0 -1
- package/dist/tree/state/output-map/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/output-map/validation/validation-schema.d.ts +0 -1543
- package/dist/tree/state/primitive-entity/index.d.ts +0 -1
- package/dist/tree/state/primitive-entity/init.d.ts +0 -4
- package/dist/tree/state/primitive-entity/primitive-entity.d.ts +0 -56
- package/dist/tree/state/primitive-entity/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/primitive-entity/validation/validation-schema.d.ts +0 -251
- package/dist/tree/state/project/index.d.ts +0 -1
- package/dist/tree/state/project/project.d.ts +0 -268
- package/dist/tree/state/project/project.test.d.ts +0 -1
- package/dist/tree/state/project/validation/validation-schema.d.ts +0 -389
- package/dist/tree/state/property/index.d.ts +0 -2
- package/dist/tree/state/property/property.d.ts +0 -142
- package/dist/tree/state/property/property.test.d.ts +0 -1
- package/dist/tree/state/property/validation/logic-validation.d.ts +0 -5
- package/dist/tree/state/property/validation/references.d.ts +0 -5
- package/dist/tree/state/property/validation/validation-schema.d.ts +0 -365
- package/dist/tree/state/return-declaration/index.d.ts +0 -2
- package/dist/tree/state/return-declaration/return-declaration.d.ts +0 -143
- package/dist/tree/state/return-declaration/return-declaration.test.d.ts +0 -1
- package/dist/tree/state/return-declaration/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/return-declaration/validation/validation-schema.d.ts +0 -499
- package/dist/tree/state/return-statement/index.d.ts +0 -2
- package/dist/tree/state/return-statement/return-statement.d.ts +0 -128
- package/dist/tree/state/return-statement/return-statement.test.d.ts +0 -1
- package/dist/tree/state/return-statement/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/return-statement/validation/references.d.ts +0 -8
- package/dist/tree/state/return-statement/validation/validation-schema.d.ts +0 -1217
- package/dist/tree/state/search/index.d.ts +0 -5
- package/dist/tree/state/search/query/hydrate.d.ts +0 -113
- package/dist/tree/state/search/query/search-statement-state.d.ts +0 -233
- package/dist/tree/state/search/query/search-statement-state.test.d.ts +0 -1
- package/dist/tree/state/search/search.d.ts +0 -160
- package/dist/tree/state/search/search.test.d.ts +0 -1
- package/dist/tree/state/search/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/search/validation/validation-schema.d.ts +0 -2493
- package/dist/tree/state/state.test.d.ts +0 -1
- package/dist/tree/state/store.d.ts +0 -40
- package/dist/tree/state/store.test.d.ts +0 -1
- package/dist/tree/state/types/constructors.d.ts +0 -31
- package/dist/tree/state/types/index.d.ts +0 -22
- package/dist/tree/state/types/state.d.ts +0 -52
- package/dist/tree/state/types/validation.d.ts +0 -3591
- package/dist/tree/state/validate.d.ts +0 -123
- package/dist/tree/state/validate.test.d.ts +0 -1
- package/dist/tree/state/value-descriptor/index.d.ts +0 -2
- package/dist/tree/state/value-descriptor/init.d.ts +0 -4
- package/dist/tree/state/value-descriptor/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/value-descriptor/validation/validation-schema.d.ts +0 -191
- package/dist/tree/state/value-descriptor/value-descriptor.d.ts +0 -136
- package/dist/tree/state/variable-declaration/index.d.ts +0 -2
- package/dist/tree/state/variable-declaration/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/variable-declaration/validation/validation-schema.d.ts +0 -2687
- package/dist/tree/state/variable-declaration/variable-declaration.d.ts +0 -177
- package/dist/tree/state/variable-instance/index.d.ts +0 -2
- package/dist/tree/state/variable-instance/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +0 -2689
- package/dist/tree/state/variable-instance/variable-instance.d.ts +0 -170
- package/dist/tree/state/variables.test.d.ts +0 -1
- package/dist/tree/state/version.d.ts +0 -11
- package/dist/tree/utils/data-type.d.ts +0 -53
- package/dist/tree/utils/index.d.ts +0 -292
- package/dist/tree/utils/names.d.ts +0 -28
- package/dist/tree/utils/names.test.d.ts +0 -1
- package/dist/tree/utils/references.d.ts +0 -4
- package/dist/tree/utils/shared-data-structure-entity.d.ts +0 -41
- package/dist/tree/utils/shared-data-structure-entity.test.d.ts +0 -1
- package/dist/tree/utils/string.d.ts +0 -2
- package/dist/tree/utils/traverser.d.ts +0 -21
- package/dist/tree/utils/traverser.test.d.ts +0 -1
- package/dist/tree/utils/utils.test.d.ts +0 -1
- package/dist/tree/utils/uuid.d.ts +0 -7
- package/dist/tree/utils/values-validations.d.ts +0 -9
- package/dist/tree/utils/variables.d.ts +0 -5
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, EntityVersion, IVariableInstance, IVariableInstanceGenerationTarget, IVariableInstanceReference, IVariableInstanceShallowTransfer, IVariableInstanceTransfer, IVariableInstance_meta, VariableInstanceTypesUnion } from '../../../definitions';
|
|
2
|
-
import { ZodError } from 'zod';
|
|
3
|
-
import { BaseCanvasDraggableState, BaseState, CallableEntityClass, ChildEntityState, EntityWithValueClass, IEditableEntityPersistanceRepository, IEntityJSONCloneOptions, IEntityPersistanceOptions, IEntityRecursionOptions, PassThroughCallableEntityClass, UserManagedEntityStateTemplate, ValueReadingEntityClass, ValueValidationCallback, ValueWritingEntityClass } from '../base';
|
|
4
|
-
import { CallableEntityState, CallerEntityState, EntityState, EntityWithLogicScopeState, EntryPointEntityState, PassThroughCallableEntityState, UserManagedEntityState, ValueReadingEntityState, ValueWritingEntityState } from '../types';
|
|
5
|
-
import { ProjectState } from '../project';
|
|
6
|
-
import { VariableInputMapState } from '../input-map';
|
|
7
|
-
import { VariableOutputMapState } from '../output-map';
|
|
8
|
-
import { InternalCallState } from '../internal-call';
|
|
9
|
-
import { VariableDeclarationState } from '../variable-declaration';
|
|
10
|
-
import { EntityError, EntityGenerationError } from '../error';
|
|
11
|
-
import { LiteralValueState } from '../literal-value';
|
|
12
|
-
import { DataTypeState } from '../data-type';
|
|
13
|
-
import { VersionedState } from '../version';
|
|
14
|
-
import { ChangeSet, IChangeSet } from '../change-set';
|
|
15
|
-
|
|
16
|
-
export declare enum VariableInstanceDependencyField {
|
|
17
|
-
Parent = "parent",
|
|
18
|
-
DataTypeEntity = "data-type-entity",
|
|
19
|
-
VarDeclaration = "var-declaration"
|
|
20
|
-
}
|
|
21
|
-
export declare class VariableInstanceState extends VersionedState implements IVariableInstance, BaseState, UserManagedEntityStateTemplate, ValueWritingEntityClass, ValueReadingEntityClass, BaseCanvasDraggableState, ChildEntityState, EntityWithValueClass, PassThroughCallableEntityClass, CallableEntityClass {
|
|
22
|
-
initialData: IVariableInstance | IVariableInstanceTransfer;
|
|
23
|
-
readonly id: EntityId;
|
|
24
|
-
x: number;
|
|
25
|
-
y: number;
|
|
26
|
-
readonly type: EntityType.VariableInstance;
|
|
27
|
-
defaultValue: LiteralValueState | null;
|
|
28
|
-
writesValues: ValueReadingEntityState[];
|
|
29
|
-
readsValue: ValueWritingEntityState | null;
|
|
30
|
-
declaration: VariableDeclarationState;
|
|
31
|
-
inputs: VariableInputMapState[];
|
|
32
|
-
outputs: VariableOutputMapState[];
|
|
33
|
-
calledBySuccess: PassThroughCallableEntityState[];
|
|
34
|
-
calledByError: PassThroughCallableEntityState[];
|
|
35
|
-
calledByEntry: EntryPointEntityState[];
|
|
36
|
-
successCalls: CallableEntityState[];
|
|
37
|
-
errorCalls: CallableEntityState[];
|
|
38
|
-
internalCalls: InternalCallState[];
|
|
39
|
-
project: ProjectState;
|
|
40
|
-
errors: EntityError[];
|
|
41
|
-
parent: EntityWithLogicScopeState | ProjectState;
|
|
42
|
-
detachedDependents: Record<EntityId, {
|
|
43
|
-
entity: UserManagedEntityState;
|
|
44
|
-
field: string;
|
|
45
|
-
}>;
|
|
46
|
-
knownVersions: Map<string, EntityState> | null;
|
|
47
|
-
activeVersion: boolean;
|
|
48
|
-
initialized: boolean;
|
|
49
|
-
startedInitialization: boolean;
|
|
50
|
-
suggestion: boolean;
|
|
51
|
-
readonly _codeNativeValueValidation: ValueValidationCallback | null;
|
|
52
|
-
constructor(initialData: IVariableInstance | IVariableInstanceTransfer, parentProjectState: ProjectState);
|
|
53
|
-
static repository: IEditableEntityPersistanceRepository;
|
|
54
|
-
static type: EntityType.VariableInstance;
|
|
55
|
-
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
56
|
-
static PARENT_TYPES: EntityType[];
|
|
57
|
-
static MUTABLE_BASE_PROPERTIES: string[];
|
|
58
|
-
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
59
|
-
static BASE_PROPERTIES: string[];
|
|
60
|
-
static MUTABLE_META_PROPERTIES: string[];
|
|
61
|
-
static INMUTABLE_META_PROPERTIES: string[];
|
|
62
|
-
static META_PROPERTIES: string[];
|
|
63
|
-
static MUTABLE_UPSTREAM_PROPERTIES: string[];
|
|
64
|
-
static INMUTABLE_UPSTREAM_PROPERTIES: string[];
|
|
65
|
-
static UPSTREAM_PROPERTIES: string[];
|
|
66
|
-
static MUTABLE_DOWNSTREAM_PROPERTIES: string[];
|
|
67
|
-
static INMUTABLE_DOWNSTREAM_PROPERTIES: string[];
|
|
68
|
-
static DOWNSTREAM_PROPERTIES: string[];
|
|
69
|
-
static PROPERTIES: string[];
|
|
70
|
-
static new(changeSet?: ChangeSet | null): IVariableInstanceTransfer;
|
|
71
|
-
static fromGenerationTarget(data: IVariableInstanceGenerationTarget, parentProjectState: ProjectState): VariableInstanceState;
|
|
72
|
-
static validateGenerationTarget(data: IVariableInstanceGenerationTarget, project: ProjectState): {
|
|
73
|
-
errors: EntityGenerationError[];
|
|
74
|
-
modifiedData: IVariableInstanceGenerationTarget;
|
|
75
|
-
};
|
|
76
|
-
get codeNativeValueValidation(): ValueValidationCallback | null;
|
|
77
|
-
validateGeneratedUpdate(data: Partial<IVariableInstanceGenerationTarget>): {
|
|
78
|
-
errors: EntityGenerationError[];
|
|
79
|
-
modifiedData: Partial<IVariableInstanceGenerationTarget>;
|
|
80
|
-
};
|
|
81
|
-
subscribeDependents(dependencies: {
|
|
82
|
-
entity: UserManagedEntityState;
|
|
83
|
-
field: string;
|
|
84
|
-
}[]): UserManagedEntityState;
|
|
85
|
-
unsubscribeDependents(dependencies: {
|
|
86
|
-
entity: UserManagedEntityState;
|
|
87
|
-
field: string;
|
|
88
|
-
}[]): UserManagedEntityState;
|
|
89
|
-
syncDependents(changeSet?: ChangeSet | null): IChangeSet<UserManagedEntityState>;
|
|
90
|
-
onDetachedDependencyRemoved(_dependency: UserManagedEntityState, field: string, changeSet: ChangeSet | null): IChangeSet<UserManagedEntityState>;
|
|
91
|
-
onDetachedDependencyRestored(_dependency: UserManagedEntityState, field: string, changeSet: ChangeSet | null): IChangeSet<UserManagedEntityState>;
|
|
92
|
-
unsubscribeFromDependencies(): UserManagedEntityState;
|
|
93
|
-
subscribeToDependencies(): UserManagedEntityState;
|
|
94
|
-
increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
|
|
95
|
-
captureVersion(): VariableInstanceState;
|
|
96
|
-
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<VariableInstanceState>;
|
|
97
|
-
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<VariableInstanceState>>;
|
|
98
|
-
hydrateAncestors(): IChangeSet<VariableInstanceState>;
|
|
99
|
-
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<VariableInstanceState>;
|
|
100
|
-
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<VariableInstanceState>;
|
|
101
|
-
get calledBy(): CallerEntityState[];
|
|
102
|
-
get usedInputs(): VariableInputMapState[];
|
|
103
|
-
get unusedInputs(): VariableInputMapState[];
|
|
104
|
-
get usedOutputs(): VariableOutputMapState[];
|
|
105
|
-
get unusedOutputs(): VariableOutputMapState[];
|
|
106
|
-
get usedInternalCalls(): InternalCallState[];
|
|
107
|
-
get unusedInternalCalls(): InternalCallState[];
|
|
108
|
-
removeInput(input: VariableInputMapState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
109
|
-
addInput(input: VariableInputMapState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
110
|
-
addOutput(output: VariableOutputMapState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
111
|
-
removeOutput(output: VariableOutputMapState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
112
|
-
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
113
|
-
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
114
|
-
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
115
|
-
addErrorCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
116
|
-
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
117
|
-
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
118
|
-
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
119
|
-
addValueReader(entity: ValueReadingEntityState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
120
|
-
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
121
|
-
initChildren(changeSet?: ChangeSet | null): VariableInstanceState;
|
|
122
|
-
setValueWriter(valueWriter: ValueWritingEntityState | null, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
123
|
-
removeValueWriter(changeSet?: ChangeSet | null): VariableInstanceState;
|
|
124
|
-
removeValueReader(valueReader: ValueReadingEntityState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
125
|
-
subscribe(): VariableInstanceState;
|
|
126
|
-
unsubscribe(): VariableInstanceState;
|
|
127
|
-
metaSync(data: Partial<IVariableInstance_meta | IVariableInstance | IVariableInstanceTransfer | IVariableInstanceShallowTransfer>, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
128
|
-
APILoad(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<VariableInstanceState>;
|
|
129
|
-
APICreate(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<VariableInstanceState>;
|
|
130
|
-
APIUpdate(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<VariableInstanceState>;
|
|
131
|
-
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<VariableInstanceState>;
|
|
132
|
-
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<VariableInstanceState>;
|
|
133
|
-
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IVariableInstanceShallowTransfer | null>;
|
|
134
|
-
remove({ ignoreUpstream }?: {
|
|
135
|
-
ignoreUpstream: boolean;
|
|
136
|
-
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
137
|
-
restore({}?: {}, changeSet?: ChangeSet | null): IChangeSet<VariableInstanceState>;
|
|
138
|
-
toFlat(seenEntities?: Set<EntityId>): EntityState[];
|
|
139
|
-
toFlatIds(seenEntities?: Set<EntityId>): EntityId[];
|
|
140
|
-
toMeta(): IVariableInstance_meta;
|
|
141
|
-
toJSON(seenEntities?: Set<EntityId>): IVariableInstanceTransfer | IVariableInstanceReference;
|
|
142
|
-
toJSONClone(options?: IEntityJSONCloneOptions): IVariableInstanceTransfer | IVariableInstanceReference;
|
|
143
|
-
toReference(options?: IEntityRecursionOptions): IVariableInstanceReference;
|
|
144
|
-
toShallowJSON(options?: IEntityRecursionOptions): IVariableInstanceShallowTransfer;
|
|
145
|
-
toFlatJSON(seenEntities?: Set<EntityId>): ElementShallowTransfer[];
|
|
146
|
-
toGenerationTarget(): IVariableInstanceGenerationTarget;
|
|
147
|
-
toFlatGenerationTarget(seenEntities?: Set<EntityId>): ElementGenerationTarget[];
|
|
148
|
-
clearErrors(): VariableInstanceState;
|
|
149
|
-
validate(): {
|
|
150
|
-
success: boolean;
|
|
151
|
-
error: ZodError | null;
|
|
152
|
-
data: IVariableInstanceTransfer | null;
|
|
153
|
-
};
|
|
154
|
-
getErrors(): EntityError[];
|
|
155
|
-
getShallowErrors(): EntityError[];
|
|
156
|
-
getDefaultValue(): LiteralValueState | null;
|
|
157
|
-
setDefaultValue(value: LiteralValueState): VariableInstanceState;
|
|
158
|
-
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): VariableInstanceState;
|
|
159
|
-
addInternalCall(internalCall: InternalCallState): VariableInstanceState;
|
|
160
|
-
setDeclaration(declaration: VariableDeclarationState): VariableInstanceState;
|
|
161
|
-
generateUnusedInputs(changeSet?: ChangeSet | null): IChangeSet<VariableInstanceState>;
|
|
162
|
-
generateUnusedOutputs(changeSet?: ChangeSet | null): IChangeSet<VariableInstanceState>;
|
|
163
|
-
generateUnusedInternalCalls(changeSet?: ChangeSet | null): IChangeSet<VariableInstanceState>;
|
|
164
|
-
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
165
|
-
getUnusedInputs(): VariableInputMapState[];
|
|
166
|
-
getUnusedOutputs(): VariableOutputMapState[];
|
|
167
|
-
getUsedInputs(): VariableInputMapState[];
|
|
168
|
-
getUsedOutputs(): VariableOutputMapState[];
|
|
169
|
-
}
|
|
170
|
-
export type VariableInstancePayloadUnion = VariableInstanceTypesUnion | VariableInstanceState;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { EntityVersion, IVersionMetadata } from '../../definitions';
|
|
2
|
-
|
|
3
|
-
export declare class VersionedState implements IVersionMetadata {
|
|
4
|
-
version: EntityVersion;
|
|
5
|
-
previousVersion: EntityVersion | null;
|
|
6
|
-
createdAt: string;
|
|
7
|
-
deleted: boolean;
|
|
8
|
-
author: string;
|
|
9
|
-
constructor(data: IVersionMetadata);
|
|
10
|
-
metaSync(data: Partial<IVersionMetadata>): void;
|
|
11
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ArgumentDeclarationState, DefinitionEntityState, DataTypeState, EntityWithValueState, InputMapState, OutputMapState, PropertyState, ReturnDeclarationState, VariableDeclarationState, VariableInstanceState, ChangeSet } from '../state';
|
|
2
|
-
import { ValueDescriptorState } from '../state/value-descriptor';
|
|
3
|
-
|
|
4
|
-
export declare function checkArePropertiesCompatibleAsDataType(sourceProperty: PropertyState, targetProperty: PropertyState): boolean;
|
|
5
|
-
export declare function checkAreDefinitionEntitiesCompatibleAsDataType(sourceDefinitionEntity: DefinitionEntityState, targetDefinitionEntity: DefinitionEntityState): boolean;
|
|
6
|
-
export declare enum DataTypeCompatibilityTypes {
|
|
7
|
-
BothUnconstrained = "both-unconstrained",
|
|
8
|
-
AConstraintBUnconstrained = "a-constraint-b-unconstrained",
|
|
9
|
-
BConstraintAUnconstrained = "b-constraint-a-unconstrained",
|
|
10
|
-
Same = "same",
|
|
11
|
-
AIsListBIsNot = "a-is-list-b-is-not",
|
|
12
|
-
BIsListAIsNot = "b-is-list-a-is-not",
|
|
13
|
-
AIsNullableBIsNot = "a-is-nullable-b-is-not",
|
|
14
|
-
BIsNullableAIsNot = "b-is-nullable-a-is-not",
|
|
15
|
-
AIsTemplateBIsNot = "a-is-template-b-is-not",
|
|
16
|
-
BIsTemplateAIsNot = "b-is-template-a-is-not",
|
|
17
|
-
BothUntyped = "both-untyped",
|
|
18
|
-
AIsUntypedBIsNot = "a-is-untyped-b-is-not",
|
|
19
|
-
BIsUntypedAIsNot = "b-is-untyped-a-is-not",
|
|
20
|
-
TypeEntityMismatch = "type-entity-mismatch",
|
|
21
|
-
SameDefinitionEntities = "same-definition-entities",
|
|
22
|
-
CompatibleDefinitionEntities = "compatible-definition-entities",
|
|
23
|
-
IncompatibleDefinitionEntities = "incompatible-definition-entities",
|
|
24
|
-
SamePrimitiveEntities = "same-primitive-entities",
|
|
25
|
-
IncompatiblePrimitiveEntities = "incompatible-primitive-entities",
|
|
26
|
-
SameBuiltInBaseEntities = "same-built-in-base-entities",
|
|
27
|
-
IncompatibleBuiltInBaseEntities = "incompatible-built-in-base-entities",
|
|
28
|
-
CheckUnknown = "check-unknown"
|
|
29
|
-
}
|
|
30
|
-
export interface IDataTypeCompatibility {
|
|
31
|
-
compatible: boolean;
|
|
32
|
-
type: DataTypeCompatibilityTypes;
|
|
33
|
-
}
|
|
34
|
-
export interface IDataTypeCompatible extends IDataTypeCompatibility {
|
|
35
|
-
compatible: true;
|
|
36
|
-
type: DataTypeCompatibilityTypes.BothUnconstrained | DataTypeCompatibilityTypes.AConstraintBUnconstrained | DataTypeCompatibilityTypes.BConstraintAUnconstrained | DataTypeCompatibilityTypes.Same | DataTypeCompatibilityTypes.BothUntyped | DataTypeCompatibilityTypes.AIsUntypedBIsNot | DataTypeCompatibilityTypes.BIsUntypedAIsNot | DataTypeCompatibilityTypes.SameDefinitionEntities | DataTypeCompatibilityTypes.CompatibleDefinitionEntities | DataTypeCompatibilityTypes.SamePrimitiveEntities | DataTypeCompatibilityTypes.SameBuiltInBaseEntities;
|
|
37
|
-
}
|
|
38
|
-
export interface IDataTypeIncompatibile extends IDataTypeCompatibility {
|
|
39
|
-
compatible: false;
|
|
40
|
-
type: DataTypeCompatibilityTypes.AIsListBIsNot | DataTypeCompatibilityTypes.BIsListAIsNot | DataTypeCompatibilityTypes.AIsNullableBIsNot | DataTypeCompatibilityTypes.BIsNullableAIsNot | DataTypeCompatibilityTypes.AIsTemplateBIsNot | DataTypeCompatibilityTypes.BIsTemplateAIsNot | DataTypeCompatibilityTypes.TypeEntityMismatch | DataTypeCompatibilityTypes.IncompatibleDefinitionEntities | DataTypeCompatibilityTypes.IncompatiblePrimitiveEntities | DataTypeCompatibilityTypes.IncompatibleBuiltInBaseEntities | DataTypeCompatibilityTypes.CheckUnknown;
|
|
41
|
-
}
|
|
42
|
-
export declare function checkAreDataTypesCompatible(dataTypeA: DataTypeState | null, dataTypeB: DataTypeState | null): IDataTypeCompatible | IDataTypeIncompatibile;
|
|
43
|
-
export declare function generateExecutionDataType(entity: PropertyState | ArgumentDeclarationState | ReturnDeclarationState | VariableDeclarationState | ValueDescriptorState | DataTypeState, changeSet: ChangeSet | null): DataTypeState;
|
|
44
|
-
export declare function inferArgumentDeclarationDataType(entity: ArgumentDeclarationState, _changeSet?: ChangeSet | null): DataTypeState | null;
|
|
45
|
-
export declare function inferInputMapDataType(entity: InputMapState, changeSet?: ChangeSet | null): DataTypeState | null;
|
|
46
|
-
export declare function inferReturnDeclarationDataType(entity: ReturnDeclarationState, changeSet?: ChangeSet | null): DataTypeState | null;
|
|
47
|
-
export declare function inferVariableInstanceDataType(entity: VariableInstanceState, changeSet?: ChangeSet | null): DataTypeState | null;
|
|
48
|
-
export declare function inferVariableDeclarationDataType(entity: VariableDeclarationState, changeSet?: ChangeSet | null): DataTypeState | null;
|
|
49
|
-
export declare function inferOutputMapDataType(entity: OutputMapState, _changeSet?: ChangeSet | null): DataTypeState | null;
|
|
50
|
-
export declare function inferPropertyDataType(entity: PropertyState, _changeSet?: ChangeSet | null): DataTypeState | null;
|
|
51
|
-
export declare function inferValueDescriptorDataType(entity: ValueDescriptorState, _changeSet?: ChangeSet | null): DataTypeState | null;
|
|
52
|
-
export declare function inferDataType(entity: EntityWithValueState | PropertyState | ValueDescriptorState, changeSet?: ChangeSet | null): DataTypeState | null;
|
|
53
|
-
export declare function resolveDataType(entity: EntityWithValueState | PropertyState | ValueDescriptorState, changeSet?: ChangeSet | null): DataTypeState | null;
|
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
import { BaseEntityNames, ElementGenerationTarget, ElementShallowTransfer, ElementTransfer, EntityType, Element, IGenericReference, EntityId, ValueReadingEntity, IActionDescriptor, IActionDescriptorTransfer, IArgumentDeclaration, IArgumentDeclarationTransfer, DraggableElement, Reference, IBreakStatement, IBreakStatementTransfer, IBuiltInBaseEntity, IBuiltInBaseEntityTransfer, ICondition, IConditionTransfer, IContinueStatement, IContinueStatementTransfer, CallableEntity, CallableEntityTransfer, CallerEntity, CallerEntityTransfer, IDefinitionEntity, IDefinitionEntityTransfer, IDataType, IDataTypeTransfer, IFunctionCall, IFunctionCallTransfer, IFunctionDeclaration, IFunctionDeclarationTransfer, IGlobalEvent, IGlobalEventTransfer, IInputMap, IInputMapTransfer, IInstalledProject, IInstalledProjectTransfer, IInternalCall, IInternalCallTransfer, ILiteralValue, ILiteralValueTransfer, ILoop, ILoopTransfer, IOperation, IOperationTransfer, IOutputMap, IOutputMapTransfer, IPrimitiveEntity, IPrimitiveEntityTransfer, IProject, IProjectTransfer, IProperty, IPropertyTransfer, IReturnDeclaration, IReturnDeclarationTransfer, IReturnStatement, IReturnStatementTransfer, ISearch, ISearchTransfer, IValueDescriptor, IValueDescriptorTransfer, IVariableDeclarationTransfer, IVariableDeclaration, IVariableInstance, IVariableInstanceTransfer, DraggableElementTransfer, ValueReadingEntityTransfer, IActionDescriptorShallowTransfer, IDataTypeShallowTransfer, IDefinitionEntityShallowTransfer, IFunctionDeclarationShallowTransfer, IInstalledProjectShallowTransfer, ILoopShallowTransfer, IOperationShallowTransfer, ILiteralValueShallowTransfer, IPrimitiveEntityShallowTransfer, IProjectShallowTransfer, IPropertyShallowTransfer, IReturnDeclarationShallowTransfer, IReturnStatementShallowTransfer, ISearchShallowTransfer, IValueDescriptorShallowTransfer, IVariableDeclarationShallowTransfer, IVariableInstanceShallowTransfer, IFunctionCallShallowTransfer, IGlobalEventShallowTransfer, IInputMapShallowTransfer, IInternalCallShallowTransfer, CallableEntityShallowTransfer, IOutputMapShallowTransfer, IConditionShallowTransfer, IContinueStatementShallowTransfer, IBreakStatementShallowTransfer, IArgumentDeclarationShallowTransfer, IBuiltInBaseEntityShallowTransfer, DraggableElementShallowTransfer } from '../../definitions';
|
|
2
|
-
import { DraggableCallableEntityState, CanvasEntityState, EntityState, EntityWithLogicScopeState, EntryPointEntityState, DraggableExecutableEntityState, DraggablePassThroughCallableEntityState, ValueReadingEntityState, ValueWritingEntityState, EntityWithValueState, VariableState, BuiltInBaseEntityState, TerminationState, ExecutableEntityState, ValueDescriptorState, CallableEntityState, CallerEntityState, PassThroughCallableEntityState, PrimitiveEntityState, InternalCallState } from '../state';
|
|
3
|
-
import { IChangeSet, IRecordChangeSet, ChangeSet } from '../state/change-set/change-set';
|
|
4
|
-
import { FunctionCallState } from '../state/function-call';
|
|
5
|
-
import { InputMapState } from '../state/input-map';
|
|
6
|
-
import { VariableDeclarationState } from '../state/variable-declaration';
|
|
7
|
-
import { ArgumentDeclarationState } from '../state/argument-declaration';
|
|
8
|
-
import { ReturnDeclarationState } from '../state/return-declaration';
|
|
9
|
-
import { OutputMapState } from '../state/output-map';
|
|
10
|
-
import { ConditionState } from '../state/condition';
|
|
11
|
-
import { ProjectState } from '../state/project/project';
|
|
12
|
-
import { PropertyState } from '../state/property';
|
|
13
|
-
import { OperationState } from '../state/operation';
|
|
14
|
-
import { DefinitionEntityState } from '../state/definition-entity';
|
|
15
|
-
import { VariableInstanceState } from '../state/variable-instance';
|
|
16
|
-
import { LoopState } from '../state/loop';
|
|
17
|
-
import { SearchState } from '../state/search';
|
|
18
|
-
import { EntityStateConstructor } from '../state/types/constructors';
|
|
19
|
-
|
|
20
|
-
export * from './data-type';
|
|
21
|
-
export * from './traverser';
|
|
22
|
-
export * from './names';
|
|
23
|
-
export * from './references';
|
|
24
|
-
export * from './uuid';
|
|
25
|
-
export * from './variables';
|
|
26
|
-
export * from './shared-data-structure-entity';
|
|
27
|
-
export * from './string';
|
|
28
|
-
export * from './values-validations';
|
|
29
|
-
export declare function flattenCanvasAncestorsUntil(entity: CanvasEntityState, until: CanvasEntityState): {
|
|
30
|
-
list: CanvasEntityState[];
|
|
31
|
-
last: CanvasEntityState | null;
|
|
32
|
-
};
|
|
33
|
-
export declare function calculateNewParentBasedOnCallers(self: CallableEntityState): EntityWithLogicScopeState | ProjectState;
|
|
34
|
-
export declare function applyNewScope(self: CallableEntityState, changeSet: ChangeSet | null): void;
|
|
35
|
-
export declare function getCommonChildren(entityA: CanvasEntityState, entityB: CanvasEntityState, seenEntities?: Set<EntityId>): CanvasEntityState[];
|
|
36
|
-
export declare function checkIsBranchDependentButNotDirectlyOnBranch(branchA: CanvasEntityState, branchB: CanvasEntityState): boolean;
|
|
37
|
-
export declare function checkIsBranchDependentOnBranch(branchA: CanvasEntityState, branchB: CanvasEntityState): boolean;
|
|
38
|
-
export declare function getParentEntryPoint(entity: EntityState): EntryPointEntityState | null;
|
|
39
|
-
export declare function getCommonAncestor(entityA: EntityState, entityB: EntityState): EntityState | null;
|
|
40
|
-
export declare function getParentCanvasEntity(entity: EntityState): CanvasEntityState | null;
|
|
41
|
-
export declare function getParentCanvasEntityFromTransfer(entity: Element | ElementTransfer | ElementShallowTransfer | IGenericReference, allKnownEntities: Record<EntityId, Element | ElementTransfer | ElementShallowTransfer>): DraggableElement | DraggableElementTransfer | DraggableElementShallowTransfer | null;
|
|
42
|
-
export declare function getParentCallableEntity(entity: EntityState): CallableEntityState | null;
|
|
43
|
-
export declare function getParentPassthroughCallableEntity(entity: EntityState): PassThroughCallableEntityState | null;
|
|
44
|
-
export declare function getParentCallerEntity(entity: EntityState): CallerEntityState | null;
|
|
45
|
-
export declare function getChildrenEntityWithValues(entity: CanvasEntityState | InternalCallState): EntityWithValueState[];
|
|
46
|
-
export declare function sortChildrenEntitiesBasedOnExecutionDependencies(entity: CanvasEntityState): CanvasEntityState[];
|
|
47
|
-
export declare function sortCallsBasedOnExecutionDependencies(calls: DraggableCallableEntityState[]): DraggableCallableEntityState[];
|
|
48
|
-
export declare function groupCallsBasedOnParallelizableExecution(calls: DraggableCallableEntityState[]): DraggableCallableEntityState[][];
|
|
49
|
-
export declare function getParentCanvasEntities(entities: EntityState[]): CanvasEntityState[];
|
|
50
|
-
export declare function getCalls(entity: DraggableExecutableEntityState): DraggableCallableEntityState[];
|
|
51
|
-
export declare function resolveFirstCallsSecond(first: DraggableExecutableEntityState, second: DraggableCallableEntityState): boolean;
|
|
52
|
-
export declare function getWrites(entity: ValueWritingEntityState): ValueReadingEntityState[];
|
|
53
|
-
export declare function resolveFirstWritesSecond(first: ValueWritingEntityState, second: ValueReadingEntityState): boolean;
|
|
54
|
-
export declare function getVariableFromInputMapping(input: InputMapState): VariableState | null;
|
|
55
|
-
export declare function getLinkedEntitiesFromArgumentDeclaration(argumentDeclaration: ArgumentDeclarationState): ValueReadingEntityState[];
|
|
56
|
-
export declare function getVariablesFromInputMaps(args?: InputMapState[]): VariableState[];
|
|
57
|
-
export declare function getVariablesFromArgumentDeclarations(args?: ArgumentDeclarationState[]): VariableState[];
|
|
58
|
-
export declare function getVariablesFromReturnDeclarations(returnDecls?: ReturnDeclarationState[]): VariableState[];
|
|
59
|
-
export declare function getVariableFromReturnVariablePointer(entity: VariableState | InputMapState): VariableState | null;
|
|
60
|
-
export declare function getVariablesFromOutputMapping(returnedElement: OutputMapState): VariableState[];
|
|
61
|
-
export declare function getVariablesFromOutputMaps(returnedElements?: OutputMapState[]): VariableState[];
|
|
62
|
-
export declare function flattenElementCalls(element: CallerEntityState): CallableEntityState[];
|
|
63
|
-
export declare function flattenElementCallsOnTheSameScope(element: CallerEntityState): CallableEntityState[];
|
|
64
|
-
export declare function flattenVariableWrites(variable: VariableState, seenVariables?: Set<string>): VariableState[];
|
|
65
|
-
export declare function flattenVariableReads(variable: VariableState, seenVariables?: Set<string>): VariableState[];
|
|
66
|
-
export declare function flattenVariables(element: CanvasEntityState, seenVariables?: Set<string>): VariableState[];
|
|
67
|
-
export declare function flattenDerivedCanvasEntities(entity: CanvasEntityState, seenEntities?: Set<EntityId>): CanvasEntityState[];
|
|
68
|
-
export declare function flattenCalls(entities: CallableEntityState[]): CallableEntityState[];
|
|
69
|
-
export declare function flattenProjectElements(project: ProjectState): EntityState[];
|
|
70
|
-
export declare function findReferenceToSelfInList(element: EntityState, elements: EntityState[]): EntityState[];
|
|
71
|
-
export declare function findReferencesToSelfInProject(element: EntityState): EntityState[];
|
|
72
|
-
export declare function enrichFromKnownEntities(entity: ElementTransfer | Element | ElementShallowTransfer | IGenericReference | EntityId, allKnownEntities: Record<EntityId, Element | ElementTransfer | ElementShallowTransfer>): Element | ElementTransfer | ElementShallowTransfer | null;
|
|
73
|
-
export declare function getReferencedIds(entity: ElementTransfer | Element | ElementShallowTransfer | EntityState, allKnownEntities?: Record<EntityId, Element | ElementTransfer | ElementShallowTransfer>, options?: {
|
|
74
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
75
|
-
allBuiltInEntityIds?: EntityId[];
|
|
76
|
-
}): {
|
|
77
|
-
upstream: Record<EntityId, EntityId>;
|
|
78
|
-
downstream: Record<EntityId, EntityId>;
|
|
79
|
-
};
|
|
80
|
-
export declare function getRelatedCanvasElementsOnTheLeftFromTransfer(entity: DraggableElement | DraggableElementTransfer | DraggableElementShallowTransfer, allKnownEntities: Record<EntityId, Element | ElementTransfer | ElementShallowTransfer>): (DraggableElement | DraggableElementTransfer | DraggableElementShallowTransfer)[];
|
|
81
|
-
export declare function getRelatedCanvasElementsOnTheLeft(entity: CanvasEntityState): CanvasEntityState[];
|
|
82
|
-
export declare function getCalledBy(entity: CallableEntityState | CallableEntity | CallableEntityTransfer | CallableEntityShallowTransfer): (CallerEntityState | CallerEntity | CallerEntityTransfer)[];
|
|
83
|
-
export declare function flattenActionDescriptor(entity: IActionDescriptor | IActionDescriptorTransfer | IActionDescriptorShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
84
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
85
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
86
|
-
export declare function flattenArgumentDeclaration(entity: IArgumentDeclaration | IArgumentDeclarationTransfer | IArgumentDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
87
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
88
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
89
|
-
export declare function flattenBreakStatement(entity: IBreakStatement | IBreakStatementTransfer | IBreakStatementShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
90
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
91
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
92
|
-
export declare function flattenBuiltInBaseEntity(entity: IBuiltInBaseEntity | IBuiltInBaseEntityTransfer | IBuiltInBaseEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
93
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
94
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
95
|
-
export declare function flattenCondition(entity: ICondition | IConditionTransfer | IConditionShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
96
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
97
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
98
|
-
export declare function flattenContinueStatement(entity: IContinueStatement | IContinueStatementTransfer | IContinueStatementShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
99
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
100
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
101
|
-
export declare function flattenDefinitionEntity(entity: IDefinitionEntity | IDefinitionEntityTransfer | IDefinitionEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
102
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
103
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
104
|
-
export declare function flattenDataType(entity: IDataType | IDataTypeTransfer | IDataTypeShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
105
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
106
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
107
|
-
export declare function flattenFunctionCall(entity: IFunctionCall | IFunctionCallTransfer | IFunctionCallShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
108
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
109
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
110
|
-
export declare function flattenFunctionDeclaration(entity: IFunctionDeclaration | IFunctionDeclarationTransfer | IFunctionDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
111
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
112
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
113
|
-
export declare function flattenGlobalEvent(entity: IGlobalEvent | IGlobalEventTransfer | IGlobalEventShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
114
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
115
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
116
|
-
export declare function flattenInputMap(entity: IInputMap | IInputMapTransfer | IInputMapShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
117
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
118
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
119
|
-
export declare function flattenInstalledProject(entity: IInstalledProject | IInstalledProjectTransfer | IInstalledProjectShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
120
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
121
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
122
|
-
export declare function flattenInternalCall(entity: IInternalCall | IInternalCallTransfer | IInternalCallShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
123
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
124
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
125
|
-
export declare function flattenLiteralValue(entity: ILiteralValue | ILiteralValueTransfer | ILiteralValueShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
126
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
127
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
128
|
-
export declare function flattenLoop(entity: ILoop | ILoopTransfer | ILoopShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
129
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
130
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
131
|
-
export declare function flattenOperation(entity: IOperation | IOperationTransfer | IOperationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
132
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
133
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
134
|
-
export declare function flattenOutputMap(entity: IOutputMap | IOutputMapTransfer | IOutputMapShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
135
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
136
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
137
|
-
export declare function flattenPrimitiveEntity(entity: IPrimitiveEntity | IPrimitiveEntityTransfer | IPrimitiveEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
138
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
139
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
140
|
-
export declare function flattenProject(entity: IProject | IProjectTransfer | IProjectShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
141
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
142
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
143
|
-
export declare function flattenProperty(entity: IProperty | IPropertyTransfer | IPropertyShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
144
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
145
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
146
|
-
export declare function flattenReturnDeclaration(entity: IReturnDeclaration | IReturnDeclarationTransfer | IReturnDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
147
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
148
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
149
|
-
export declare function flattenReturnStatement(entity: IReturnStatement | IReturnStatementTransfer | IReturnStatementShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
150
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
151
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
152
|
-
export declare function flattenSearch(entity: ISearch | ISearchTransfer | ISearchShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
153
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
154
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
155
|
-
export declare function flattenValueDescriptor(entity: IValueDescriptor | IValueDescriptorTransfer | IValueDescriptorShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
156
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
157
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
158
|
-
export declare function flattenVariableDeclaration(entity: IVariableDeclaration | IVariableDeclarationTransfer | IVariableDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
159
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
160
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
161
|
-
export declare function flattenVariableInstance(entity: IVariableInstance | IVariableInstanceTransfer | IVariableInstanceShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
162
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
163
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
164
|
-
export declare function getAllBuiltInEntityIds(): EntityId[];
|
|
165
|
-
export declare function flattenEntity(entity: Element | ElementTransfer | ElementShallowTransfer | Reference, seenEntities?: Set<EntityId>, options?: {
|
|
166
|
-
ignoreBuiltInBaseEntities?: boolean;
|
|
167
|
-
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
168
|
-
export declare function getEntityArgumentDeclarations(entity: ExecutableEntityState): (ArgumentDeclarationState | ValueDescriptorState)[];
|
|
169
|
-
export declare function getUsedArgFromDeclaration(argumentDeclaration: ArgumentDeclarationState, entity: ConditionState | FunctionCallState | OperationState): InputMapState | null;
|
|
170
|
-
export declare function getEntityInputMaps(entity: DraggablePassThroughCallableEntityState): InputMapState[];
|
|
171
|
-
export declare function getEntityReturnDeclarations(entity: TerminationState | FunctionCallState | OperationState | SearchState): (ReturnDeclarationState | ValueDescriptorState)[];
|
|
172
|
-
export declare function getUsedReturnFromDeclaration(returnDeclaration: ReturnDeclarationState, entity: ConditionState | FunctionCallState | OperationState): OutputMapState | null;
|
|
173
|
-
export declare function getEntityOutputMaps(entity: DraggablePassThroughCallableEntityState): OutputMapState[];
|
|
174
|
-
export declare function getCanvasEntityDerivedFromValueReadingEntity(valueReadingEntity: ValueReadingEntityState): CanvasEntityState | null;
|
|
175
|
-
export declare function getCanvasEntityDerivedFromValueReadingEntityFromTransfer(valueReadingEntity: ValueReadingEntity | ValueReadingEntityTransfer, allKnownEntities: Record<EntityId, ElementTransfer | ElementShallowTransfer>): DraggableElement | DraggableElementTransfer | DraggableElementShallowTransfer | null;
|
|
176
|
-
export declare function getCanvasEntitiesDerivedFromInternalCalls(entity: VariableState): CanvasEntityState[];
|
|
177
|
-
export declare function getCanvasEntitiesDerivedFromWrites(valueWrittingEntity: ValueWritingEntityState): CanvasEntityState[];
|
|
178
|
-
export declare function filterOutDuplicateEntities(entities: (EntityState | Element | ElementTransfer | ElementShallowTransfer | ElementGenerationTarget)[]): (Element | ElementTransfer | ElementShallowTransfer | ElementGenerationTarget | EntityState)[];
|
|
179
|
-
export declare function getRelatedCanvasElementsOnTheRight(entity: CanvasEntityState | ProjectState | InternalCallState, respectCollapse?: boolean): CanvasEntityState[];
|
|
180
|
-
export declare function flattenRelatedCanvasElementsOnTheRight(entity: CanvasEntityState | ProjectState, respectCollapse?: boolean): CanvasEntityState[];
|
|
181
|
-
export declare function flattenRelatedCanvasElementsOnTheLeft(entity: CanvasEntityState): CanvasEntityState[];
|
|
182
|
-
export declare function flattenDefinitionEntityImplementionTypes(entity: DefinitionEntityState): (BaseEntityNames | EntityType.DefinitionEntity)[];
|
|
183
|
-
export declare function flattenDefinitionEntityExtensionTypes(entity: DefinitionEntityState): (BaseEntityNames | EntityType.DefinitionEntity)[];
|
|
184
|
-
export declare function flattenDefinitionEntityExtensions(entity: DefinitionEntityState): (BuiltInBaseEntityState | DefinitionEntityState)[];
|
|
185
|
-
export declare function flattenDefinitionEntityImplementations(entity: DefinitionEntityState): (BuiltInBaseEntityState | DefinitionEntityState)[];
|
|
186
|
-
export declare function flattenDefinitionEntityExtensionAndImplementationTypes(entity: DefinitionEntityState): (BaseEntityNames | EntityType.DefinitionEntity)[];
|
|
187
|
-
export declare function getLowestPersistedEntityImplementation(entity: DefinitionEntityState): DefinitionEntityState | null;
|
|
188
|
-
export declare function getExtendedBuiltInEntity(entity: DefinitionEntityState): BuiltInBaseEntityState | null;
|
|
189
|
-
export declare function getImplementedBuiltInEntity(entity: DefinitionEntityState): BuiltInBaseEntityState | null;
|
|
190
|
-
export declare function getExtendedDefinitionEntity(entity: DefinitionEntityState): DefinitionEntityState | null;
|
|
191
|
-
export declare function getBaseBuiltInEntities(entity: DefinitionEntityState | BuiltInBaseEntityState): BuiltInBaseEntityState[];
|
|
192
|
-
export declare function getIsInteractive(entity: DefinitionEntityState | BuiltInBaseEntityState | PrimitiveEntityState): boolean;
|
|
193
|
-
export declare function checkIsGlobalVariable(entity: VariableDeclarationState): boolean;
|
|
194
|
-
export declare function checkIsGloballyDeclared(entity: ConditionState | FunctionCallState | OperationState | VariableDeclarationState | VariableInstanceState | FunctionCallState | LoopState | SearchState): boolean;
|
|
195
|
-
export declare function checkIsDetachedBranch(entity: CanvasEntityState): boolean;
|
|
196
|
-
export declare function checkIsDetachedBranchShallow(entity: CanvasEntityState): boolean;
|
|
197
|
-
export declare function getHeadIfPartOfDetachedBranch(entity: CanvasEntityState, levelsChecked?: number): CanvasEntityState | null;
|
|
198
|
-
export declare function flattenDetachedBranch(entity: CanvasEntityState): CanvasEntityState[];
|
|
199
|
-
export declare function checkIsMethod(entity: EntityState): boolean;
|
|
200
|
-
export declare function mergeListOfEntities(oldErrors: EntityState[], newErrors: EntityState[]): EntityState[];
|
|
201
|
-
export declare function getPrototypeByType(type: EntityType): EntityStateConstructor | null;
|
|
202
|
-
export declare function getScopeOwner(entity: EntityState | Element | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, project: ProjectState, _initialEntity?: EntityState | Element | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer | null): EntityWithLogicScopeState | ProjectState | null;
|
|
203
|
-
export declare function getFirstNonLoopScopeOwner(entity: EntityState | Element | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, project: ProjectState, _initialEntity?: EntityState | Element | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer | null): EntryPointEntityState | ProjectState | null;
|
|
204
|
-
export declare function getRootEntryPointScopeOwner(entity: EntityState | Element | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, project: ProjectState): EntityWithLogicScopeState | null;
|
|
205
|
-
export declare function checkIsNestedScope(parent: EntityWithLogicScopeState | ProjectState, child: EntityWithLogicScopeState | ProjectState, project: ProjectState): boolean;
|
|
206
|
-
export declare enum ScopeCompatibilityType {
|
|
207
|
-
SameBothLocal = "same-both-local",
|
|
208
|
-
AInB = "a-in-b",
|
|
209
|
-
BInA = "b-in-a",
|
|
210
|
-
ParallelInCommonParent = "parallel-in-common-parent",
|
|
211
|
-
ParallelInProject = "parallel-in-project",
|
|
212
|
-
AIsGlobalBIsNot = "a-is-global-b-is-not",
|
|
213
|
-
BIsGlobalAIsNot = "b-is-global-a-is-not",
|
|
214
|
-
SameBothGlobal = "same-both-global"
|
|
215
|
-
}
|
|
216
|
-
export interface IScopeCompatibility {
|
|
217
|
-
compatible: boolean;
|
|
218
|
-
type: ScopeCompatibilityType;
|
|
219
|
-
commonAncestorScope: EntityWithLogicScopeState | ProjectState;
|
|
220
|
-
}
|
|
221
|
-
export interface ICompatibleSameBothLocalScope extends IScopeCompatibility {
|
|
222
|
-
compatible: true;
|
|
223
|
-
type: ScopeCompatibilityType.SameBothLocal;
|
|
224
|
-
}
|
|
225
|
-
export interface ICompatibleSameBothGlobalScope extends IScopeCompatibility {
|
|
226
|
-
compatible: true;
|
|
227
|
-
type: ScopeCompatibilityType.SameBothGlobal;
|
|
228
|
-
}
|
|
229
|
-
export interface ICompatibleAInBScope extends IScopeCompatibility {
|
|
230
|
-
compatible: true;
|
|
231
|
-
type: ScopeCompatibilityType.AInB;
|
|
232
|
-
}
|
|
233
|
-
export interface ICompatibleBInAScope extends IScopeCompatibility {
|
|
234
|
-
compatible: true;
|
|
235
|
-
type: ScopeCompatibilityType.BInA;
|
|
236
|
-
}
|
|
237
|
-
export interface IIncompatibleParallelInProjectScope extends IScopeCompatibility {
|
|
238
|
-
compatible: false;
|
|
239
|
-
type: ScopeCompatibilityType.ParallelInProject;
|
|
240
|
-
}
|
|
241
|
-
export interface IIncompatibleParallelInCommonParentScope extends IScopeCompatibility {
|
|
242
|
-
compatible: false;
|
|
243
|
-
type: ScopeCompatibilityType.ParallelInCommonParent;
|
|
244
|
-
}
|
|
245
|
-
export interface IIncompatibleAIsGlobalBIsNotScope extends IScopeCompatibility {
|
|
246
|
-
compatible: false;
|
|
247
|
-
type: ScopeCompatibilityType.AIsGlobalBIsNot;
|
|
248
|
-
}
|
|
249
|
-
export interface IIncompatibleBIsGlobalAIsNotScope extends IScopeCompatibility {
|
|
250
|
-
compatible: false;
|
|
251
|
-
type: ScopeCompatibilityType.BIsGlobalAIsNot;
|
|
252
|
-
}
|
|
253
|
-
export type ScopeCompatibility = ICompatibleSameBothLocalScope | ICompatibleSameBothGlobalScope | ICompatibleAInBScope | ICompatibleBInAScope | IIncompatibleParallelInProjectScope | IIncompatibleParallelInCommonParentScope | IIncompatibleAIsGlobalBIsNotScope | IIncompatibleBIsGlobalAIsNotScope;
|
|
254
|
-
export type CompatibleScope = ICompatibleSameBothLocalScope | ICompatibleSameBothGlobalScope | ICompatibleAInBScope | ICompatibleBInAScope;
|
|
255
|
-
export type IncompatibleScope = IIncompatibleParallelInProjectScope | IIncompatibleParallelInCommonParentScope | IIncompatibleAIsGlobalBIsNotScope | IIncompatibleBIsGlobalAIsNotScope;
|
|
256
|
-
export declare function checkScopeCompatibility(entityA: EntityState | Element | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, entityB: EntityState | Element | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, project: ProjectState): ScopeCompatibility;
|
|
257
|
-
export declare function getHighestScope(scopeOwnerA: EntityWithLogicScopeState, scopeOwnerB: EntityWithLogicScopeState, project: ProjectState): EntityWithLogicScopeState | null;
|
|
258
|
-
export declare function getDeepestScope(scopeOwners: EntityWithLogicScopeState[]): EntityWithLogicScopeState | null;
|
|
259
|
-
export declare function toEntityState(entity: string | EntityState | IGenericReference | Element | ElementTransfer | ElementShallowTransfer | ElementGenerationTarget, project: ProjectState): EntityState | null;
|
|
260
|
-
export declare function getBuiltInEntityOwner(entity: EntityState): EntityState | null;
|
|
261
|
-
export declare function checkIsCallableEntityReachable(entity: CallableEntityState): {
|
|
262
|
-
reachable: boolean;
|
|
263
|
-
entryPoint: EntryPointEntityState;
|
|
264
|
-
blocks: {
|
|
265
|
-
blockedByCaller: CallerEntityState;
|
|
266
|
-
blockedByCalling: TerminationState;
|
|
267
|
-
}[];
|
|
268
|
-
};
|
|
269
|
-
export declare function checkIsCanvasEntity(entity: EntityState): boolean;
|
|
270
|
-
export declare function mapActionDescriptorToTypeItRepresents(entity: EntityState): EntityType;
|
|
271
|
-
export declare function checkExtendsBaseEntity(entity: DefinitionEntityState | BuiltInBaseEntityState, baseEntityName: BaseEntityNames): boolean;
|
|
272
|
-
export declare function checkImplementsBaseEntity(entity: DefinitionEntityState | BuiltInBaseEntityState, baseEntityName: BaseEntityNames): boolean;
|
|
273
|
-
export declare function checkHasBaseEntity(entity: DefinitionEntityState | BuiltInBaseEntityState, baseEntityName: BaseEntityNames): boolean;
|
|
274
|
-
export declare function getPeristedEntities(project: ProjectState): DefinitionEntityState[];
|
|
275
|
-
export declare function getDatabaseEntities(project: ProjectState): DefinitionEntityState[];
|
|
276
|
-
export declare function resolvePrimaryKeyProperty(entity: DefinitionEntityState): PropertyState | null;
|
|
277
|
-
export declare function resolvePersistedDefinitionEntityDatabaseEntity(entity: DefinitionEntityState): DefinitionEntityState | null;
|
|
278
|
-
export declare function getColumnProperties(entity: DefinitionEntityState): PropertyState[];
|
|
279
|
-
export declare function getDatabaseEntity(entity: DefinitionEntityState): DefinitionEntityState | null;
|
|
280
|
-
export declare function resolveClonedEntityProject(newParent: EntityState | null, self: EntityState): ProjectState;
|
|
281
|
-
export declare function getStateClassFromType(entityType: EntityType): EntityStateConstructor | null;
|
|
282
|
-
export declare function fromChangeSetToRecordChangeSet<TSelf extends {
|
|
283
|
-
id: string;
|
|
284
|
-
type: EntityType;
|
|
285
|
-
} | null = EntityState, TGeneric extends {
|
|
286
|
-
id: string;
|
|
287
|
-
type: EntityType;
|
|
288
|
-
} = EntityState>(changeSet: IChangeSet<TSelf, TGeneric>): IRecordChangeSet<TSelf, TGeneric>;
|
|
289
|
-
export declare function checkHasMetadataChanged(currentEntityState: EntityState, newMetadata: Partial<Element | ElementTransfer | ElementShallowTransfer>): boolean;
|
|
290
|
-
export declare function getRecusriveParentsIds(entity: Element | ElementTransfer | ElementShallowTransfer | EntityState, allKnownEntities?: Record<EntityId, Element | ElementTransfer | ElementShallowTransfer | EntityState>): EntityId[];
|
|
291
|
-
export declare function getTouchedCanvasEntitiesFromChangeSet(changeSet: ChangeSet): CanvasEntityState[];
|
|
292
|
-
export declare function getDeclarationOutputedError(entity: PassThroughCallableEntityState): ReturnDeclarationState | ValueDescriptorState | null;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { BaseEntityNames, ElementGenerationTarget, ElementShallowTransfer, ElementTransfer, IArgumentDeclarationGenerationTarget, IArgumentDeclarationShallowTransfer, IArgumentDeclarationTransfer, IDefinitionEntityGenerationTarget, IDefinitionEntityShallowTransfer, IDefinitionEntityTransfer, IFunctionDeclarationGenerationTarget, IFunctionDeclarationShallowTransfer, IFunctionDeclarationTransfer, IPropertyGenerationTarget, IPropertyShallowTransfer, IPropertyTransfer, IReturnDeclarationGenerationTarget, IReturnDeclarationShallowTransfer, IReturnDeclarationTransfer, IVariableDeclarationGenerationTarget, IVariableDeclarationShallowTransfer, IVariableDeclarationTransfer, PrimitiveTypes } from '../../definitions';
|
|
2
|
-
import { ArgumentDeclarationState, BuiltInBaseEntityState, ConditionState, DefinitionEntityState, DataTypeState, EntityPayloadUnion, EntityWithValueState, FunctionDeclarationState, ActionDescriptorState, ProjectState, PropertyState, ReturnDeclarationState, SearchState, VariableDeclarationState, ValueDescriptorState } from '../state';
|
|
3
|
-
import { EntityGenerationError } from '../state/error';
|
|
4
|
-
|
|
5
|
-
export declare function toCamelCase(str: string): string;
|
|
6
|
-
export declare function toPascalCase(str: string): string;
|
|
7
|
-
export declare function toKebabCase(str: string): string;
|
|
8
|
-
export declare function toLowerCaseKebabCase(str: string): string;
|
|
9
|
-
export declare function resolveDataTypeLabel(dataType: DataTypeState | null): string;
|
|
10
|
-
export declare function resolveEntityDataTypeLabel(entity: PropertyState | EntityWithValueState | ValueDescriptorState): string;
|
|
11
|
-
export declare function resolveConditionOperatorLabel(condition: ConditionState): "and" | "or" | "is equal to" | "is not equal to" | "is greater than" | "is greater than or equal to" | "is less than" | "is less than or equal to" | "is empty" | "is not empty" | undefined;
|
|
12
|
-
export declare function resolveBaseEntityName(baseEntities: BaseEntityNames[]): string;
|
|
13
|
-
export declare function resolveBuiltInBaseEntityDataTypeLabel(entity: BuiltInBaseEntityState): string;
|
|
14
|
-
export declare function resolveDefinitionEntityDataTypeLabel(entity: DefinitionEntityState): string;
|
|
15
|
-
export declare function resolveSearchName(search: SearchState): string;
|
|
16
|
-
export declare function resolvePrimitiveEntityName(primitiveEntity: {
|
|
17
|
-
name: PrimitiveTypes;
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
}): string;
|
|
20
|
-
export declare function resolveActionDescriptorName(actionDescriptor: ActionDescriptorState): string;
|
|
21
|
-
export declare function resolveEntityName(entity: EntityPayloadUnion, project: ProjectState): string;
|
|
22
|
-
export declare function validateDefinitionEntityName(entity: DefinitionEntityState | IDefinitionEntityGenerationTarget | IDefinitionEntityShallowTransfer | IDefinitionEntityTransfer, project: ProjectState): EntityGenerationError[];
|
|
23
|
-
export declare function validateFunctionDeclarationName(entity: FunctionDeclarationState | IFunctionDeclarationGenerationTarget | IFunctionDeclarationShallowTransfer | IFunctionDeclarationTransfer, project: ProjectState): EntityGenerationError[];
|
|
24
|
-
export declare function validateVariableDeclarationName(entity: VariableDeclarationState | IVariableDeclarationGenerationTarget | IVariableDeclarationShallowTransfer | IVariableDeclarationTransfer, project: ProjectState): EntityGenerationError[];
|
|
25
|
-
export declare function validatePropertyName(entity: PropertyState | IPropertyGenerationTarget | IPropertyShallowTransfer | IPropertyTransfer, project: ProjectState): EntityGenerationError[];
|
|
26
|
-
export declare function validateArgumentDeclarationName(entity: ArgumentDeclarationState | IArgumentDeclarationGenerationTarget | IArgumentDeclarationShallowTransfer | IArgumentDeclarationTransfer, project: ProjectState): EntityGenerationError[];
|
|
27
|
-
export declare function validateReturnDeclarationName(entity: ReturnDeclarationState | IReturnDeclarationGenerationTarget | IReturnDeclarationShallowTransfer | IReturnDeclarationTransfer, project: ProjectState): EntityGenerationError[];
|
|
28
|
-
export declare function validateName(entity: ElementGenerationTarget | ElementShallowTransfer | ElementTransfer, project: ProjectState): EntityGenerationError[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Element, ElementGenerationTarget, ElementShallowTransfer, ElementTransfer, IGenericReference } from '../../definitions';
|
|
2
|
-
import { EntityState } from '../state';
|
|
3
|
-
|
|
4
|
-
export declare function getReferenceEntityId(reference: string | IGenericReference | EntityState | Element | ElementShallowTransfer | ElementTransfer | ElementGenerationTarget): string | null;
|