@elsikora/nestjs-crud-automator 4.3.5 → 4.4.0-dev.2
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/cjs/class/api/controller/generated/read-scope-storage.class.d.ts +3 -1
- package/dist/cjs/class/api/controller/generated/read-scope-storage.class.js +26 -3
- package/dist/cjs/class/api/controller/generated/read-scope-storage.class.js.map +1 -1
- package/dist/cjs/class/api/controller/get-list/cursor/data-source-contract.class.js +1 -0
- package/dist/cjs/class/api/controller/get-list/cursor/data-source-contract.class.js.map +1 -1
- package/dist/cjs/class/api/controller/get-list/cursor/runtime.class.js +1 -0
- package/dist/cjs/class/api/controller/get-list/cursor/runtime.class.js.map +1 -1
- package/dist/cjs/class/api/controller/get-list/query/plan-compiler.class.js +1 -0
- package/dist/cjs/class/api/controller/get-list/query/plan-compiler.class.js.map +1 -1
- package/dist/cjs/class/api/controller/get-list/query/runtime.class.js +1 -0
- package/dist/cjs/class/api/controller/get-list/query/runtime.class.js.map +1 -1
- package/dist/cjs/class/api/controller/identity-plan-compiler.class.js +1 -0
- package/dist/cjs/class/api/controller/identity-plan-compiler.class.js.map +1 -1
- package/dist/cjs/class/api/controller/read-plan-compiler.class.js +1 -0
- package/dist/cjs/class/api/controller/read-plan-compiler.class.js.map +1 -1
- package/dist/cjs/class/api/function/context-storage.class.js +1 -0
- package/dist/cjs/class/api/function/context-storage.class.js.map +1 -1
- package/dist/cjs/class/api/function/custom-runtime.class.js +1 -0
- package/dist/cjs/class/api/function/custom-runtime.class.js.map +1 -1
- package/dist/cjs/class/api/function/step-runtime.class.js +1 -0
- package/dist/cjs/class/api/function/step-runtime.class.js.map +1 -1
- package/dist/cjs/class/api/function/transaction/exception/commit-unknown-outcome.class.js +1 -0
- package/dist/cjs/class/api/function/transaction/exception/commit-unknown-outcome.class.js.map +1 -1
- package/dist/cjs/class/api/function/transaction/exception/post-commit.class.js +1 -0
- package/dist/cjs/class/api/function/transaction/exception/post-commit.class.js.map +1 -1
- package/dist/cjs/class/api/function/transaction/exception/rollback.class.js +1 -0
- package/dist/cjs/class/api/function/transaction/exception/rollback.class.js.map +1 -1
- package/dist/cjs/class/api/function/transaction/lifecycle.class.js +1 -0
- package/dist/cjs/class/api/function/transaction/lifecycle.class.js.map +1 -1
- package/dist/cjs/class/api/function/transaction/registry.class.js +1 -0
- package/dist/cjs/class/api/function/transaction/registry.class.js.map +1 -1
- package/dist/cjs/class/api/function/transaction/runtime.class.js +1 -0
- package/dist/cjs/class/api/function/transaction/runtime.class.js.map +1 -1
- package/dist/cjs/class/api/function/transaction/scope.class.js +1 -0
- package/dist/cjs/class/api/function/transaction/scope.class.js.map +1 -1
- package/dist/cjs/class/api/route-runtime.class.js +1 -0
- package/dist/cjs/class/api/route-runtime.class.js.map +1 -1
- package/dist/cjs/class/api/subscriber/executor.class.js +1 -0
- package/dist/cjs/class/api/subscriber/executor.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/exception/details/foreign-key-violation.class.js +1 -0
- package/dist/cjs/class/utility/dto/exception/details/foreign-key-violation.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/exception/details/unique-violation.class.js +1 -0
- package/dist/cjs/class/utility/dto/exception/details/unique-violation.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/property/factory/number.class.js +1 -0
- package/dist/cjs/class/utility/dto/property/factory/number.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/property/factory/relation.class.js +1 -0
- package/dist/cjs/class/utility/dto/property/factory/relation.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/strategy/body.class.js +1 -0
- package/dist/cjs/class/utility/dto/strategy/body.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/strategy/query.class.js +1 -0
- package/dist/cjs/class/utility/dto/strategy/query.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/strategy/request.class.js +1 -0
- package/dist/cjs/class/utility/dto/strategy/request.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/strategy/response.class.js +1 -0
- package/dist/cjs/class/utility/dto/strategy/response.class.js.map +1 -1
- package/dist/cjs/constant/filter/operator-registry.constant.js +1 -0
- package/dist/cjs/constant/filter/operator-registry.constant.js.map +1 -1
- package/dist/cjs/constant/utility/api/get-default-string-format-properties/customizer-map.constant.js +1 -0
- package/dist/cjs/constant/utility/api/get-default-string-format-properties/customizer-map.constant.js.map +1 -1
- package/dist/cjs/constant/utility/dto/constant.js +1 -0
- package/dist/cjs/constant/utility/dto/constant.js.map +1 -1
- package/dist/cjs/decorator/api/function/create.decorator.js +1 -0
- package/dist/cjs/decorator/api/function/create.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/custom.decorator.js +1 -0
- package/dist/cjs/decorator/api/function/custom.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/decorator.js +5 -1
- package/dist/cjs/decorator/api/function/decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/delete.decorator.js +1 -0
- package/dist/cjs/decorator/api/function/delete.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/get/decorator.js +2 -0
- package/dist/cjs/decorator/api/function/get/decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/get/list.decorator.js +1 -0
- package/dist/cjs/decorator/api/function/get/list.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/get/many.decorator.js +1 -0
- package/dist/cjs/decorator/api/function/get/many.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/step.decorator.js +1 -0
- package/dist/cjs/decorator/api/function/step.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/update.decorator.d.ts +3 -3
- package/dist/cjs/decorator/api/function/update.decorator.js +257 -13
- package/dist/cjs/decorator/api/function/update.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/method.decorator.js +1 -0
- package/dist/cjs/decorator/api/method.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/boolean.decorator.js +1 -0
- package/dist/cjs/decorator/api/property/boolean.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/date.decorator.js +1 -0
- package/dist/cjs/decorator/api/property/date.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/describe.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/number.decorator.js +1 -0
- package/dist/cjs/decorator/api/property/number.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/string.decorator.js +1 -0
- package/dist/cjs/decorator/api/property/string.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/uuid.decorator.js +1 -0
- package/dist/cjs/decorator/api/property/uuid.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/route-custom.decorator.js +1 -0
- package/dist/cjs/decorator/api/route-custom.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/service/decorator.js +8 -0
- package/dist/cjs/decorator/api/service/decorator.js.map +1 -1
- package/dist/cjs/enum/decorator/api/function/index.d.ts +1 -0
- package/dist/cjs/enum/decorator/api/function/update-persistence-mode.enum.d.ts +4 -0
- package/dist/cjs/enum/decorator/api/function/update-persistence-mode.enum.js +8 -0
- package/dist/cjs/enum/decorator/api/function/update-persistence-mode.enum.js.map +1 -0
- package/dist/cjs/factory/api-controller.factory.js +1 -0
- package/dist/cjs/factory/api-controller.factory.js.map +1 -1
- package/dist/cjs/index.js +5 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interface/class/api/controller/generated/read-scope-entry.interface.d.ts +2 -0
- package/dist/cjs/interface/decorator/api/function/index.d.ts +1 -0
- package/dist/cjs/interface/decorator/api/function/update-executor-properties.interface.d.ts +6 -1
- package/dist/cjs/interface/decorator/api/function/update-properties.interface.d.ts +6 -0
- package/dist/cjs/type/decorator/api/function/properties.type.d.ts +8 -3
- package/dist/cjs/type/decorator/api/service/function/map.type.d.ts +7 -2
- package/dist/cjs/utility/api/controller/apply/decorators.utility.js +1 -0
- package/dist/cjs/utility/api/controller/apply/decorators.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/apply/metadata.utility.js +1 -0
- package/dist/cjs/utility/api/controller/apply/metadata.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/build-route-documentation.utility.js +1 -0
- package/dist/cjs/utility/api/controller/build-route-documentation.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/get/dto.utility.js +1 -0
- package/dist/cjs/utility/api/controller/get/dto.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/get-list/query/get-pagination-mode.utility.js +1 -0
- package/dist/cjs/utility/api/controller/get-list/query/get-pagination-mode.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/get-list/query/open-api/decorators.utility.js +1 -0
- package/dist/cjs/utility/api/controller/get-list/query/open-api/decorators.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/get-list/query/open-api/value-schema.utility.js +1 -0
- package/dist/cjs/utility/api/controller/get-list/query/open-api/value-schema.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/get-list/transform/filter.utility.js +1 -0
- package/dist/cjs/utility/api/controller/get-list/transform/filter.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/handle-request-relations.utility.js +1 -0
- package/dist/cjs/utility/api/controller/handle-request-relations.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/transform-data.utility.js +1 -0
- package/dist/cjs/utility/api/controller/transform-data.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/write/dto-swagger.utility.js +1 -0
- package/dist/cjs/utility/api/controller/write/dto-swagger.utility.js.map +1 -1
- package/dist/cjs/utility/api/function-transaction.utility.js +1 -0
- package/dist/cjs/utility/api/function-transaction.utility.js.map +1 -1
- package/dist/cjs/utility/api/route/apply-dto-metadata.utility.js +1 -0
- package/dist/cjs/utility/api/route/apply-dto-metadata.utility.js.map +1 -1
- package/dist/cjs/utility/api/route/response/project-relation.utility.js +1 -0
- package/dist/cjs/utility/api/route/response/project-relation.utility.js.map +1 -1
- package/dist/cjs/utility/dto/build-decorator.utility.js +1 -0
- package/dist/cjs/utility/dto/build-decorator.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate/core.utility.js +1 -0
- package/dist/cjs/utility/dto/generate/core.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate/dynamic.utility.js +1 -0
- package/dist/cjs/utility/dto/generate/dynamic.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate/exception.utility.js +1 -0
- package/dist/cjs/utility/dto/generate/exception.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate/filter-decorator.utility.js +1 -0
- package/dist/cjs/utility/dto/generate/filter-decorator.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate/get-list/cursor-response.utility.js +1 -0
- package/dist/cjs/utility/dto/generate/get-list/cursor-response.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate/get-list/query-properties.utility.js +1 -0
- package/dist/cjs/utility/dto/generate/get-list/query-properties.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate/get-list/response.utility.js +1 -0
- package/dist/cjs/utility/dto/generate/get-list/response.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate/identity-read-parameters.utility.js +1 -0
- package/dist/cjs/utility/dto/generate/identity-read-parameters.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate/read-parameters.utility.js +1 -0
- package/dist/cjs/utility/dto/generate/read-parameters.utility.js.map +1 -1
- package/dist/cjs/utility/dto/get/get-list-query-base-class.utility.js +1 -0
- package/dist/cjs/utility/dto/get/get-list-query-base-class.utility.js.map +1 -1
- package/dist/cjs/utility/dto/handle-date-property.utility.js +1 -0
- package/dist/cjs/utility/dto/handle-date-property.utility.js.map +1 -1
- package/dist/cjs/utility/dto/is/property/infrastructure-timestamp.utility.js +1 -0
- package/dist/cjs/utility/dto/is/property/infrastructure-timestamp.utility.js.map +1 -1
- package/dist/cjs/utility/dto/is/property/should-be-marked.utility.js +1 -0
- package/dist/cjs/utility/dto/is/property/should-be-marked.utility.js.map +1 -1
- package/dist/cjs/utility/dto/is/should-be-generated.utility.js +1 -0
- package/dist/cjs/utility/dto/is/should-be-generated.utility.js.map +1 -1
- package/dist/esm/class/api/controller/generated/read-scope-storage.class.d.ts +3 -1
- package/dist/esm/class/api/controller/generated/read-scope-storage.class.js +26 -3
- package/dist/esm/class/api/controller/generated/read-scope-storage.class.js.map +1 -1
- package/dist/esm/class/api/controller/get-list/cursor/data-source-contract.class.js +1 -0
- package/dist/esm/class/api/controller/get-list/cursor/data-source-contract.class.js.map +1 -1
- package/dist/esm/class/api/controller/get-list/cursor/runtime.class.js +1 -0
- package/dist/esm/class/api/controller/get-list/cursor/runtime.class.js.map +1 -1
- package/dist/esm/class/api/controller/get-list/query/plan-compiler.class.js +1 -0
- package/dist/esm/class/api/controller/get-list/query/plan-compiler.class.js.map +1 -1
- package/dist/esm/class/api/controller/get-list/query/runtime.class.js +1 -0
- package/dist/esm/class/api/controller/get-list/query/runtime.class.js.map +1 -1
- package/dist/esm/class/api/controller/identity-plan-compiler.class.js +1 -0
- package/dist/esm/class/api/controller/identity-plan-compiler.class.js.map +1 -1
- package/dist/esm/class/api/controller/read-plan-compiler.class.js +1 -0
- package/dist/esm/class/api/controller/read-plan-compiler.class.js.map +1 -1
- package/dist/esm/class/api/function/context-storage.class.js +1 -0
- package/dist/esm/class/api/function/context-storage.class.js.map +1 -1
- package/dist/esm/class/api/function/custom-runtime.class.js +1 -0
- package/dist/esm/class/api/function/custom-runtime.class.js.map +1 -1
- package/dist/esm/class/api/function/step-runtime.class.js +1 -0
- package/dist/esm/class/api/function/step-runtime.class.js.map +1 -1
- package/dist/esm/class/api/function/transaction/exception/commit-unknown-outcome.class.js +1 -0
- package/dist/esm/class/api/function/transaction/exception/commit-unknown-outcome.class.js.map +1 -1
- package/dist/esm/class/api/function/transaction/exception/post-commit.class.js +1 -0
- package/dist/esm/class/api/function/transaction/exception/post-commit.class.js.map +1 -1
- package/dist/esm/class/api/function/transaction/exception/rollback.class.js +1 -0
- package/dist/esm/class/api/function/transaction/exception/rollback.class.js.map +1 -1
- package/dist/esm/class/api/function/transaction/lifecycle.class.js +1 -0
- package/dist/esm/class/api/function/transaction/lifecycle.class.js.map +1 -1
- package/dist/esm/class/api/function/transaction/registry.class.js +1 -0
- package/dist/esm/class/api/function/transaction/registry.class.js.map +1 -1
- package/dist/esm/class/api/function/transaction/runtime.class.js +1 -0
- package/dist/esm/class/api/function/transaction/runtime.class.js.map +1 -1
- package/dist/esm/class/api/function/transaction/scope.class.js +1 -0
- package/dist/esm/class/api/function/transaction/scope.class.js.map +1 -1
- package/dist/esm/class/api/route-runtime.class.js +1 -0
- package/dist/esm/class/api/route-runtime.class.js.map +1 -1
- package/dist/esm/class/api/subscriber/executor.class.js +1 -0
- package/dist/esm/class/api/subscriber/executor.class.js.map +1 -1
- package/dist/esm/class/utility/dto/exception/details/foreign-key-violation.class.js +1 -0
- package/dist/esm/class/utility/dto/exception/details/foreign-key-violation.class.js.map +1 -1
- package/dist/esm/class/utility/dto/exception/details/unique-violation.class.js +1 -0
- package/dist/esm/class/utility/dto/exception/details/unique-violation.class.js.map +1 -1
- package/dist/esm/class/utility/dto/property/factory/number.class.js +1 -0
- package/dist/esm/class/utility/dto/property/factory/number.class.js.map +1 -1
- package/dist/esm/class/utility/dto/property/factory/relation.class.js +1 -0
- package/dist/esm/class/utility/dto/property/factory/relation.class.js.map +1 -1
- package/dist/esm/class/utility/dto/strategy/body.class.js +1 -0
- package/dist/esm/class/utility/dto/strategy/body.class.js.map +1 -1
- package/dist/esm/class/utility/dto/strategy/query.class.js +1 -0
- package/dist/esm/class/utility/dto/strategy/query.class.js.map +1 -1
- package/dist/esm/class/utility/dto/strategy/request.class.js +1 -0
- package/dist/esm/class/utility/dto/strategy/request.class.js.map +1 -1
- package/dist/esm/class/utility/dto/strategy/response.class.js +1 -0
- package/dist/esm/class/utility/dto/strategy/response.class.js.map +1 -1
- package/dist/esm/constant/filter/operator-registry.constant.js +1 -0
- package/dist/esm/constant/filter/operator-registry.constant.js.map +1 -1
- package/dist/esm/constant/utility/api/get-default-string-format-properties/customizer-map.constant.js +1 -0
- package/dist/esm/constant/utility/api/get-default-string-format-properties/customizer-map.constant.js.map +1 -1
- package/dist/esm/constant/utility/dto/constant.js +1 -0
- package/dist/esm/constant/utility/dto/constant.js.map +1 -1
- package/dist/esm/decorator/api/function/create.decorator.js +1 -0
- package/dist/esm/decorator/api/function/create.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/custom.decorator.js +1 -0
- package/dist/esm/decorator/api/function/custom.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/decorator.js +5 -1
- package/dist/esm/decorator/api/function/decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/delete.decorator.js +1 -0
- package/dist/esm/decorator/api/function/delete.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/get/decorator.js +2 -0
- package/dist/esm/decorator/api/function/get/decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/get/list.decorator.js +1 -0
- package/dist/esm/decorator/api/function/get/list.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/get/many.decorator.js +1 -0
- package/dist/esm/decorator/api/function/get/many.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/step.decorator.js +1 -0
- package/dist/esm/decorator/api/function/step.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/update.decorator.d.ts +3 -3
- package/dist/esm/decorator/api/function/update.decorator.js +259 -15
- package/dist/esm/decorator/api/function/update.decorator.js.map +1 -1
- package/dist/esm/decorator/api/method.decorator.js +1 -0
- package/dist/esm/decorator/api/method.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/boolean.decorator.js +1 -0
- package/dist/esm/decorator/api/property/boolean.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/date.decorator.js +1 -0
- package/dist/esm/decorator/api/property/date.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/describe.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/number.decorator.js +1 -0
- package/dist/esm/decorator/api/property/number.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/string.decorator.js +1 -0
- package/dist/esm/decorator/api/property/string.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/uuid.decorator.js +1 -0
- package/dist/esm/decorator/api/property/uuid.decorator.js.map +1 -1
- package/dist/esm/decorator/api/route-custom.decorator.js +1 -0
- package/dist/esm/decorator/api/route-custom.decorator.js.map +1 -1
- package/dist/esm/decorator/api/service/decorator.js +8 -0
- package/dist/esm/decorator/api/service/decorator.js.map +1 -1
- package/dist/esm/enum/decorator/api/function/index.d.ts +1 -0
- package/dist/esm/enum/decorator/api/function/update-persistence-mode.enum.d.ts +4 -0
- package/dist/esm/enum/decorator/api/function/update-persistence-mode.enum.js +8 -0
- package/dist/esm/enum/decorator/api/function/update-persistence-mode.enum.js.map +1 -0
- package/dist/esm/factory/api-controller.factory.js +1 -0
- package/dist/esm/factory/api-controller.factory.js.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interface/class/api/controller/generated/read-scope-entry.interface.d.ts +2 -0
- package/dist/esm/interface/decorator/api/function/index.d.ts +1 -0
- package/dist/esm/interface/decorator/api/function/update-executor-properties.interface.d.ts +6 -1
- package/dist/esm/interface/decorator/api/function/update-properties.interface.d.ts +6 -0
- package/dist/esm/type/decorator/api/function/properties.type.d.ts +8 -3
- package/dist/esm/type/decorator/api/service/function/map.type.d.ts +7 -2
- package/dist/esm/utility/api/controller/apply/decorators.utility.js +1 -0
- package/dist/esm/utility/api/controller/apply/decorators.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/apply/metadata.utility.js +1 -0
- package/dist/esm/utility/api/controller/apply/metadata.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/build-route-documentation.utility.js +1 -0
- package/dist/esm/utility/api/controller/build-route-documentation.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/get/dto.utility.js +1 -0
- package/dist/esm/utility/api/controller/get/dto.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/get-list/query/get-pagination-mode.utility.js +1 -0
- package/dist/esm/utility/api/controller/get-list/query/get-pagination-mode.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/get-list/query/open-api/decorators.utility.js +1 -0
- package/dist/esm/utility/api/controller/get-list/query/open-api/decorators.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/get-list/query/open-api/value-schema.utility.js +1 -0
- package/dist/esm/utility/api/controller/get-list/query/open-api/value-schema.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/get-list/transform/filter.utility.js +1 -0
- package/dist/esm/utility/api/controller/get-list/transform/filter.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/handle-request-relations.utility.js +1 -0
- package/dist/esm/utility/api/controller/handle-request-relations.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/transform-data.utility.js +1 -0
- package/dist/esm/utility/api/controller/transform-data.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/write/dto-swagger.utility.js +1 -0
- package/dist/esm/utility/api/controller/write/dto-swagger.utility.js.map +1 -1
- package/dist/esm/utility/api/function-transaction.utility.js +1 -0
- package/dist/esm/utility/api/function-transaction.utility.js.map +1 -1
- package/dist/esm/utility/api/route/apply-dto-metadata.utility.js +1 -0
- package/dist/esm/utility/api/route/apply-dto-metadata.utility.js.map +1 -1
- package/dist/esm/utility/api/route/response/project-relation.utility.js +1 -0
- package/dist/esm/utility/api/route/response/project-relation.utility.js.map +1 -1
- package/dist/esm/utility/dto/build-decorator.utility.js +1 -0
- package/dist/esm/utility/dto/build-decorator.utility.js.map +1 -1
- package/dist/esm/utility/dto/generate/core.utility.js +1 -0
- package/dist/esm/utility/dto/generate/core.utility.js.map +1 -1
- package/dist/esm/utility/dto/generate/dynamic.utility.js +1 -0
- package/dist/esm/utility/dto/generate/dynamic.utility.js.map +1 -1
- package/dist/esm/utility/dto/generate/exception.utility.js +1 -0
- package/dist/esm/utility/dto/generate/exception.utility.js.map +1 -1
- package/dist/esm/utility/dto/generate/filter-decorator.utility.js +1 -0
- package/dist/esm/utility/dto/generate/filter-decorator.utility.js.map +1 -1
- package/dist/esm/utility/dto/generate/get-list/cursor-response.utility.js +1 -0
- package/dist/esm/utility/dto/generate/get-list/cursor-response.utility.js.map +1 -1
- package/dist/esm/utility/dto/generate/get-list/query-properties.utility.js +1 -0
- package/dist/esm/utility/dto/generate/get-list/query-properties.utility.js.map +1 -1
- package/dist/esm/utility/dto/generate/get-list/response.utility.js +1 -0
- package/dist/esm/utility/dto/generate/get-list/response.utility.js.map +1 -1
- package/dist/esm/utility/dto/generate/identity-read-parameters.utility.js +1 -0
- package/dist/esm/utility/dto/generate/identity-read-parameters.utility.js.map +1 -1
- package/dist/esm/utility/dto/generate/read-parameters.utility.js +1 -0
- package/dist/esm/utility/dto/generate/read-parameters.utility.js.map +1 -1
- package/dist/esm/utility/dto/get/get-list-query-base-class.utility.js +1 -0
- package/dist/esm/utility/dto/get/get-list-query-base-class.utility.js.map +1 -1
- package/dist/esm/utility/dto/handle-date-property.utility.js +1 -0
- package/dist/esm/utility/dto/handle-date-property.utility.js.map +1 -1
- package/dist/esm/utility/dto/is/property/infrastructure-timestamp.utility.js +1 -0
- package/dist/esm/utility/dto/is/property/infrastructure-timestamp.utility.js.map +1 -1
- package/dist/esm/utility/dto/is/property/should-be-marked.utility.js +1 -0
- package/dist/esm/utility/dto/is/property/should-be-marked.utility.js.map +1 -1
- package/dist/esm/utility/dto/is/should-be-generated.utility.js +1 -0
- package/dist/esm/utility/dto/is/should-be-generated.utility.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
var node_util = require('node:util');
|
|
4
4
|
var functionCapability_class = require('../../../class/api/controller/generated/function-capability.class.js');
|
|
5
5
|
var readScopeStorage_class = require('../../../class/api/controller/generated/read-scope-storage.class.js');
|
|
6
|
+
var scopeWhereContract_class = require('../../../class/api/controller/generated/scope-where-contract.class.js');
|
|
7
|
+
var securitySnapshot_class = require('../../../class/api/controller/generated/security-snapshot.class.js');
|
|
6
8
|
var contextStorage_class = require('../../../class/api/function/context-storage.class.js');
|
|
7
9
|
var executor_class = require('../../../class/api/subscriber/executor.class.js');
|
|
8
10
|
var decorator = require('./get/decorator.js');
|
|
@@ -25,6 +27,7 @@ require('../../../enum/decorator/api/function/transaction/outcome.enum.js');
|
|
|
25
27
|
require('../../../enum/decorator/api/function/transaction/owner-kind.enum.js');
|
|
26
28
|
require('../../../enum/decorator/api/function/transaction/trace-type.enum.js');
|
|
27
29
|
var type_enum = require('../../../enum/decorator/api/function/type.enum.js');
|
|
30
|
+
var updatePersistenceMode_enum = require('../../../enum/decorator/api/function/update-persistence-mode.enum.js');
|
|
28
31
|
var onType_enum = require('../../../enum/decorator/api/on-type.enum.js');
|
|
29
32
|
require('../../../enum/decorator/api/property/data-type.enum.js');
|
|
30
33
|
require('../../../enum/decorator/api/property/date/identifier.enum.js');
|
|
@@ -41,6 +44,7 @@ require('../../../enum/utility/get-default-string-format-properties-bigint-strin
|
|
|
41
44
|
require('../../../enum/utility/manual-dto-property-metadata-decorator.enum.js');
|
|
42
45
|
var common = require('@nestjs/common');
|
|
43
46
|
var functionTransaction_utility = require('../../../utility/api/function-transaction.utility.js');
|
|
47
|
+
var scopeMergeWhere_utility = require('../../../utility/authorization/scope-merge-where.utility.js');
|
|
44
48
|
var foreignKeyViolationDetails_utility = require('../../../utility/database/typeorm/get/foreign-key-violation-details.utility.js');
|
|
45
49
|
var uniqueViolationDetails_utility = require('../../../utility/database/typeorm/get/unique-violation-details.utility.js');
|
|
46
50
|
var metadataNotFound_utility = require('../../../utility/database/typeorm/is/entity/metadata-not-found.utility.js');
|
|
@@ -51,16 +55,18 @@ var evidenceForLog_utility = require('../../../utility/error/evidence-for-log.ut
|
|
|
51
55
|
var exception_utility = require('../../../utility/error/exception.utility.js');
|
|
52
56
|
var string_utility = require('../../../utility/error/string.utility.js');
|
|
53
57
|
var logger_utility = require('../../../utility/logger.utility.js');
|
|
58
|
+
var typeorm = require('typeorm');
|
|
54
59
|
|
|
55
60
|
/**
|
|
56
61
|
* Creates a decorator that adds entity update functionality to a service method
|
|
57
62
|
* @template E The entity type
|
|
58
|
-
* @param {
|
|
63
|
+
* @param {IApiFunctionUpdateProperties<E>} properties - Configuration properties for the update function
|
|
59
64
|
* @returns {(target: unknown, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor} A decorator function that modifies the target method to handle entity updates
|
|
60
65
|
* @see {@link https://elsikora.com/docs/nestjs-crud-automator/api-reference/decorators/api-function/api-function-update | API Reference - ApiFunctionUpdate}
|
|
61
66
|
*/
|
|
62
67
|
function ApiFunctionUpdate(properties) {
|
|
63
68
|
const { entity } = properties;
|
|
69
|
+
const persistenceMode = properties.persistenceMode ?? updatePersistenceMode_enum.EApiFunctionUpdatePersistenceMode.SAVE;
|
|
64
70
|
const transactionMode = properties.transaction?.mode ?? mode_enum.EApiFunctionTransactionMode.SUPPORTS;
|
|
65
71
|
const getDecorator = decorator.ApiFunctionGet({ entity, transaction: properties.transaction });
|
|
66
72
|
let getFunction;
|
|
@@ -92,8 +98,40 @@ function ApiFunctionUpdate(properties) {
|
|
|
92
98
|
}
|
|
93
99
|
}
|
|
94
100
|
let existingEntity;
|
|
101
|
+
let patch;
|
|
102
|
+
let protectedCriteria = criteria;
|
|
103
|
+
let protectedWhere = mandatoryWhere;
|
|
104
|
+
let identity;
|
|
95
105
|
try {
|
|
96
|
-
|
|
106
|
+
if (persistenceMode !== updatePersistenceMode_enum.EApiFunctionUpdatePersistenceMode.SAVE && persistenceMode !== updatePersistenceMode_enum.EApiFunctionUpdatePersistenceMode.PATCH) {
|
|
107
|
+
throw new common.BadRequestException("Unknown UPDATE persistence mode");
|
|
108
|
+
}
|
|
109
|
+
if (persistenceMode === updatePersistenceMode_enum.EApiFunctionUpdatePersistenceMode.PATCH) {
|
|
110
|
+
if (transactionMode !== mode_enum.EApiFunctionTransactionMode.REQUIRED && transactionMode !== mode_enum.EApiFunctionTransactionMode.MANDATORY) {
|
|
111
|
+
throw new common.BadRequestException("PATCH requires an explicit REQUIRED or MANDATORY transaction");
|
|
112
|
+
}
|
|
113
|
+
assertPatchDataGraph(criteria, true);
|
|
114
|
+
protectedCriteria = securitySnapshot_class.ApiControllerGeneratedSecuritySnapshot.detach(criteria);
|
|
115
|
+
identity = readPatchIdentity(repository, protectedCriteria);
|
|
116
|
+
protectedWhere = scopeWhereContract_class.ApiControllerGeneratedScopeWhereContract.merge(protectedCriteria, securitySnapshot_class.ApiControllerGeneratedSecuritySnapshot.detach(mandatoryWhere));
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
catch (caughtError) {
|
|
120
|
+
await executor_class.ApiSubscriberExecutor.executeFunctionErrorSubscribers(this.constructor, entityInstance, type_enum.EApiFunctionType.UPDATE, onType_enum.EApiSubscriberOnType.BEFORE_ERROR, {
|
|
121
|
+
DATA: { criteria, eventManager, repository },
|
|
122
|
+
ENTITY: entityInstance,
|
|
123
|
+
FUNCTION_TYPE: type_enum.EApiFunctionType.UPDATE,
|
|
124
|
+
}, caughtError);
|
|
125
|
+
throw caughtError;
|
|
126
|
+
}
|
|
127
|
+
try {
|
|
128
|
+
const captures = [];
|
|
129
|
+
existingEntity = await executeProtectedGet(this, getFunction, protectedCriteria, protectedWhere, identity ? createPatchReadCapture(repository, identity, captures) : undefined);
|
|
130
|
+
patch = captures[0];
|
|
131
|
+
if (identity && !patch)
|
|
132
|
+
throw new common.BadRequestException("PATCH read properties were not captured");
|
|
133
|
+
if (patch)
|
|
134
|
+
readPatchValues(repository, patch.selectedColumns, normalizedUpdateProperties);
|
|
97
135
|
}
|
|
98
136
|
catch (caughtError) {
|
|
99
137
|
const errorExecutionContext = {
|
|
@@ -116,7 +154,7 @@ function ApiFunctionUpdate(properties) {
|
|
|
116
154
|
executionContext.result = result;
|
|
117
155
|
}
|
|
118
156
|
const executorProperties = normalizeUpdateProperties(executionContext.result ?? {});
|
|
119
|
-
return await executor({ constructor: this.constructor, criteria, entity, existingEntity, properties: executorProperties, repository });
|
|
157
|
+
return await executor({ constructor: this.constructor, criteria, entity, existingEntity, patch, properties: executorProperties, repository });
|
|
120
158
|
},
|
|
121
159
|
entity,
|
|
122
160
|
functionType: type_enum.EApiFunctionType.UPDATE,
|
|
@@ -140,6 +178,55 @@ function ApiFunctionUpdate(properties) {
|
|
|
140
178
|
return descriptor;
|
|
141
179
|
};
|
|
142
180
|
}
|
|
181
|
+
/**
|
|
182
|
+
* Rejects executable PATCH data before the existing snapshot owner detaches it.
|
|
183
|
+
* @param {unknown} value - PATCH data or original criteria.
|
|
184
|
+
* @param {boolean} isCriteria - Whether native WHERE operator identities are allowed.
|
|
185
|
+
* @param {WeakSet<object>} visited - Already inspected containers.
|
|
186
|
+
*/
|
|
187
|
+
function assertPatchDataGraph(value, isCriteria = false, visited = new WeakSet()) {
|
|
188
|
+
if (node_util.types.isProxy(value))
|
|
189
|
+
throw new common.BadRequestException("PATCH data cannot contain proxies");
|
|
190
|
+
if (typeof value === "function") {
|
|
191
|
+
if (!isCriteria)
|
|
192
|
+
throw new common.BadRequestException("PATCH data cannot contain executable values");
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
if (value === null || typeof value !== "object" || visited.has(value))
|
|
196
|
+
return;
|
|
197
|
+
visited.add(value);
|
|
198
|
+
if (value instanceof Date || value instanceof ArrayBuffer || ArrayBuffer.isView(value))
|
|
199
|
+
return;
|
|
200
|
+
const prototype = Object.getPrototypeOf(value);
|
|
201
|
+
if (!Array.isArray(value) && prototype !== null && prototype !== Object.prototype && !(isCriteria && typeorm.InstanceChecker.isFindOperator(value)))
|
|
202
|
+
throw new common.BadRequestException("PATCH data must contain plain data containers");
|
|
203
|
+
for (const key of Reflect.ownKeys(value)) {
|
|
204
|
+
if (Array.isArray(value) && key === "length")
|
|
205
|
+
continue;
|
|
206
|
+
const descriptor = Object.getOwnPropertyDescriptor(value, key);
|
|
207
|
+
if (typeof key !== "string" || !descriptor?.enumerable || !("value" in descriptor))
|
|
208
|
+
throw new common.BadRequestException("PATCH data must contain enumerable data properties only");
|
|
209
|
+
assertPatchDataGraph(descriptor.value, isCriteria, visited);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Captures the one protected GET selection used by a PATCH executor.
|
|
214
|
+
* @template E Entity type.
|
|
215
|
+
* @param {Repository<E>} repository - Native metadata owner.
|
|
216
|
+
* @param {TApiFunctionUpdateCriteria<E>} identity - Immutable original primary tuple.
|
|
217
|
+
* @param {Array<NonNullable<IApiFunctionUpdateExecutorProperties<E>["patch"]>>} captures - This invocation's private capture slot.
|
|
218
|
+
* @returns {(properties: TApiFunctionGetProperties<E>) => void} Once-only effective read observer.
|
|
219
|
+
*/
|
|
220
|
+
function createPatchReadCapture(repository, identity, captures) {
|
|
221
|
+
return (properties) => {
|
|
222
|
+
if (captures.length > 0)
|
|
223
|
+
throw new common.BadRequestException("PATCH read properties must be captured exactly once");
|
|
224
|
+
const selectedColumns = readPatchSelectedColumns(repository, properties);
|
|
225
|
+
if (!node_util.isDeepStrictEqual(readPatchIdentity(repository, properties.where), identity))
|
|
226
|
+
throw new common.BadRequestException("PATCH read scope changed its primary identity");
|
|
227
|
+
captures.push({ identity, readProperties: securitySnapshot_class.ApiControllerGeneratedSecuritySnapshot.detach(properties), selectedColumns });
|
|
228
|
+
};
|
|
229
|
+
}
|
|
143
230
|
/**
|
|
144
231
|
* Loads the generated update target through the protected decorated GET lifecycle.
|
|
145
232
|
* @template E The entity type
|
|
@@ -148,11 +235,12 @@ function ApiFunctionUpdate(properties) {
|
|
|
148
235
|
* @param {(properties: TApiFunctionGetProperties<E>) => Promise<E>} getFunction - Decorated GET implementation
|
|
149
236
|
* @param {TApiFunctionUpdateCriteria<E>} criteria - Update criteria passed to the generated service function
|
|
150
237
|
* @param {TApiAuthorizationScopeWhere<E>} [mandatoryWhere] - Generated route scope that the internal GET must preserve
|
|
238
|
+
* @param {(properties: TApiFunctionGetProperties<E>) => void} [capture] - PATCH-only capture of the effective protected read
|
|
151
239
|
* @returns {Promise<E>} The entity loaded within the generated route scope
|
|
152
240
|
*/
|
|
153
|
-
async function executeProtectedGet(service, getFunction, criteria, mandatoryWhere) {
|
|
241
|
+
async function executeProtectedGet(service, getFunction, criteria, mandatoryWhere, capture) {
|
|
154
242
|
const getProperties = { where: criteria };
|
|
155
|
-
return mandatoryWhere ? await readScopeStorage_class.ApiControllerGeneratedReadScopeStorage.runWriteHydration(getProperties, mandatoryWhere, async () => await Reflect.apply(getFunction, service, [getProperties])) : await Reflect.apply(getFunction, service, [getProperties]);
|
|
243
|
+
return mandatoryWhere ? await readScopeStorage_class.ApiControllerGeneratedReadScopeStorage.runWriteHydration(getProperties, mandatoryWhere, async () => await Reflect.apply(getFunction, service, [getProperties]), capture) : await Reflect.apply(getFunction, service, [getProperties]);
|
|
156
244
|
}
|
|
157
245
|
/**
|
|
158
246
|
* Executes the entity update operation with error handling
|
|
@@ -162,18 +250,50 @@ async function executeProtectedGet(service, getFunction, criteria, mandatoryWher
|
|
|
162
250
|
* @throws {InternalServerErrorException} If the update operation fails
|
|
163
251
|
*/
|
|
164
252
|
async function executor(options) {
|
|
165
|
-
const { constructor, criteria, entity, existingEntity, properties, repository } = options;
|
|
253
|
+
const { constructor, criteria, entity, existingEntity, patch, properties, repository } = options;
|
|
166
254
|
const eventManager = contextStorage_class.ApiFunctionContextStorage.getEventManager();
|
|
167
255
|
try {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
256
|
+
let result;
|
|
257
|
+
if (patch) {
|
|
258
|
+
const values = readPatchValues(repository, patch.selectedColumns, properties);
|
|
259
|
+
let where = scopeWhereContract_class.ApiControllerGeneratedScopeWhereContract.merge(patch.readProperties.where, scopeMergeWhere_utility.AuthorizationScopeMergeWhere(undefined, patch.identity));
|
|
260
|
+
if (patch.readProperties.withDeleted !== true && repository.metadata.deleteDateColumn) {
|
|
261
|
+
where = scopeMergeWhere_utility.AuthorizationScopeMergeWhere(where, { [repository.metadata.deleteDateColumn.propertyName]: typeorm.IsNull() });
|
|
262
|
+
}
|
|
263
|
+
const hasValues = Object.keys(values).length > 0;
|
|
264
|
+
if (hasValues) {
|
|
265
|
+
const updateResult = await repository
|
|
266
|
+
.createQueryBuilder()
|
|
267
|
+
.update()
|
|
268
|
+
.set(values)
|
|
269
|
+
.where(where ?? {})
|
|
270
|
+
.execute();
|
|
271
|
+
if (updateResult.affected === 0)
|
|
272
|
+
throw new common.NotFoundException(string_utility.ErrorString({ entity, type: action_enum.EErrorStringAction.NOT_FOUND }));
|
|
273
|
+
if (updateResult.affected !== 1)
|
|
274
|
+
throw new common.InternalServerErrorException("PATCH must affect exactly one row");
|
|
275
|
+
}
|
|
276
|
+
const reloadProperties = {
|
|
277
|
+
...patch.readProperties,
|
|
278
|
+
// eslint-disable-next-line @elsikora/typescript/naming-convention -- TypeORM owns this fixed FindOneOptions field.
|
|
279
|
+
cache: false,
|
|
280
|
+
// eslint-disable-next-line @elsikora/typescript/naming-convention -- TypeORM owns this fixed FindOneOptions field.
|
|
281
|
+
loadEagerRelations: false,
|
|
282
|
+
where: hasValues ? patch.identity : where,
|
|
283
|
+
};
|
|
284
|
+
result = await repository.findOneOrFail(reloadProperties);
|
|
285
|
+
}
|
|
286
|
+
else {
|
|
287
|
+
const updatedProperties = {};
|
|
288
|
+
const typedEntries = Object.entries(properties);
|
|
289
|
+
for (const [key, value] of typedEntries) {
|
|
290
|
+
if (key in existingEntity) {
|
|
291
|
+
updatedProperties[key] = value;
|
|
292
|
+
}
|
|
173
293
|
}
|
|
294
|
+
const mergedEntity = { ...existingEntity, ...updatedProperties };
|
|
295
|
+
result = await repository.save(mergedEntity);
|
|
174
296
|
}
|
|
175
|
-
const mergedEntity = { ...existingEntity, ...updatedProperties };
|
|
176
|
-
const result = await repository.save(mergedEntity);
|
|
177
297
|
const executionContext = {
|
|
178
298
|
DATA: { criteria, eventManager, repository },
|
|
179
299
|
ENTITY: result,
|
|
@@ -255,6 +375,130 @@ function normalizeUpdateProperties(properties) {
|
|
|
255
375
|
}
|
|
256
376
|
return normalizedProperties;
|
|
257
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* Extracts a literal equality implied by a primary-column predicate.
|
|
380
|
+
* @param {unknown} value - Native literal or WHERE operator.
|
|
381
|
+
* @returns {unknown} Exact equality value, or undefined when no equality is proven.
|
|
382
|
+
*/
|
|
383
|
+
function readPatchEquality(value) {
|
|
384
|
+
if (typeorm.InstanceChecker.isFindOperator(value)) {
|
|
385
|
+
if (value.type === "equal")
|
|
386
|
+
return readPatchEquality(value.value);
|
|
387
|
+
if (value.type !== "and" || !Array.isArray(value.value))
|
|
388
|
+
return undefined;
|
|
389
|
+
const equalities = value.value.map((item) => readPatchEquality(item)).filter((item) => item !== undefined);
|
|
390
|
+
if (equalities.some((item) => !node_util.isDeepStrictEqual(item, equalities[0])))
|
|
391
|
+
throw new common.BadRequestException("PATCH primary equality is ambiguous");
|
|
392
|
+
return equalities[0];
|
|
393
|
+
}
|
|
394
|
+
if (value === null || value === undefined)
|
|
395
|
+
return undefined;
|
|
396
|
+
if (typeof value === "number")
|
|
397
|
+
return Number.isFinite(value) ? value : undefined;
|
|
398
|
+
return ["bigint", "boolean", "string"].includes(typeof value) || value instanceof Date || ArrayBuffer.isView(value) ? value : undefined;
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* Pins one complete direct primary tuple shared by every original OR branch.
|
|
402
|
+
* @template E Entity type.
|
|
403
|
+
* @param {Repository<E>} repository - Native transaction-bound repository.
|
|
404
|
+
* @param {TApiAuthorizationScopeWhere<E>} where - Detached native WHERE.
|
|
405
|
+
* @returns {TApiFunctionUpdateCriteria<E>} Exact primary tuple.
|
|
406
|
+
*/
|
|
407
|
+
function readPatchIdentity(repository, where) {
|
|
408
|
+
assertPatchDataGraph(where, true);
|
|
409
|
+
const normalized = scopeMergeWhere_utility.AuthorizationScopeMergeWhere(undefined, where);
|
|
410
|
+
const branches = Array.isArray(normalized) ? normalized : [normalized];
|
|
411
|
+
const columns = repository.metadata.primaryColumns;
|
|
412
|
+
if (columns.length === 0 || columns.some((column) => Boolean(column.embeddedMetadata) || column.propertyPath !== column.propertyName || column.isVirtual || column.isVirtualProperty))
|
|
413
|
+
throw new common.BadRequestException("PATCH requires a complete direct primary identity");
|
|
414
|
+
let identity;
|
|
415
|
+
for (const branch of branches) {
|
|
416
|
+
if (!branch || typeof branch !== "object")
|
|
417
|
+
throw new common.BadRequestException("PATCH requires a complete primary equality in every branch");
|
|
418
|
+
const tupleEntries = [];
|
|
419
|
+
for (const column of columns) {
|
|
420
|
+
const descriptor = Object.getOwnPropertyDescriptor(branch, column.propertyName);
|
|
421
|
+
const value = descriptor && "value" in descriptor ? readPatchEquality(descriptor.value) : undefined;
|
|
422
|
+
if (value === undefined)
|
|
423
|
+
throw new common.BadRequestException("PATCH requires a complete primary equality in every branch");
|
|
424
|
+
tupleEntries.push([column.propertyName, value]);
|
|
425
|
+
}
|
|
426
|
+
const tuple = Object.fromEntries(tupleEntries);
|
|
427
|
+
if (identity && !node_util.isDeepStrictEqual(identity, tuple))
|
|
428
|
+
throw new common.BadRequestException("PATCH primary identity differs between branches");
|
|
429
|
+
identity = tuple;
|
|
430
|
+
}
|
|
431
|
+
return securitySnapshot_class.ApiControllerGeneratedSecuritySnapshot.detach(identity);
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* Reads the actual GET projection and admits only flat native hydration.
|
|
435
|
+
* @template E Entity type.
|
|
436
|
+
* @param {Repository<E>} repository - Native repository metadata owner.
|
|
437
|
+
* @param {TApiFunctionGetProperties<E>} properties - Captured effective GET options.
|
|
438
|
+
* @returns {ReadonlySet<string>} Direct selected physical column names.
|
|
439
|
+
*/
|
|
440
|
+
function readPatchSelectedColumns(repository, properties) {
|
|
441
|
+
assertPatchDataGraph(properties, true);
|
|
442
|
+
const metadata = repository.metadata;
|
|
443
|
+
if (properties.lock || Object.getOwnPropertyDescriptor(properties, "join")?.value || properties.loadRelationIds || (properties.relations && Object.keys(properties.relations).length > 0) || metadata.relations.some((relation) => relation.isLazy || (relation.isEager && properties.loadEagerRelations !== false)))
|
|
444
|
+
throw new common.BadRequestException("PATCH requires flat hydration without relation loads or initial row locks");
|
|
445
|
+
const columns = metadata.columns.filter((column) => !column.embeddedMetadata && !column.isVirtual && !column.isVirtualProperty && column.propertyPath === column.propertyName);
|
|
446
|
+
const selected = new Set();
|
|
447
|
+
const selection = properties.select;
|
|
448
|
+
if (selection === undefined) {
|
|
449
|
+
if (metadata.columns.some((column) => Boolean(column.embeddedMetadata) && column.isSelect))
|
|
450
|
+
throw new common.BadRequestException("PATCH default selection must not hydrate embedded columns");
|
|
451
|
+
for (const column of columns)
|
|
452
|
+
if (column.isSelect)
|
|
453
|
+
selected.add(column.propertyName);
|
|
454
|
+
}
|
|
455
|
+
else if (Array.isArray(selection)) {
|
|
456
|
+
for (const key of selection) {
|
|
457
|
+
if (typeof key !== "string" || !columns.some((column) => column.propertyName === key))
|
|
458
|
+
throw new common.BadRequestException("PATCH select must name direct physical columns");
|
|
459
|
+
selected.add(key);
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
else if (selection && typeof selection === "object") {
|
|
463
|
+
for (const [key, value] of Object.entries(selection)) {
|
|
464
|
+
if (typeof value !== "boolean" || !columns.some((column) => column.propertyName === key))
|
|
465
|
+
throw new common.BadRequestException("PATCH select must be a flat column projection");
|
|
466
|
+
if (value)
|
|
467
|
+
selected.add(key);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
else
|
|
471
|
+
throw new common.BadRequestException("PATCH select must be a nonempty direct projection");
|
|
472
|
+
if (selected.size === 0 || metadata.primaryColumns.some((column) => !selected.has(column.propertyName)))
|
|
473
|
+
throw new common.BadRequestException("PATCH select must include every primary column");
|
|
474
|
+
return selected;
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* Builds an isolated supplied-column SET without merging the earlier entity.
|
|
478
|
+
* @template E Entity type.
|
|
479
|
+
* @param {Repository<E>} repository - Native metadata owner.
|
|
480
|
+
* @param {ReadonlySet<string>} selected - Actual selected physical columns.
|
|
481
|
+
* @param {TApiFunctionUpdateProperties<E>} properties - Caller or subscriber patch.
|
|
482
|
+
* @returns {TApiFunctionUpdateProperties<E>} Detached writable values, with undefined omitted.
|
|
483
|
+
*/
|
|
484
|
+
function readPatchValues(repository, selected, properties) {
|
|
485
|
+
if (!properties || typeof properties !== "object" || Array.isArray(properties) || node_util.types.isProxy(properties))
|
|
486
|
+
throw new common.BadRequestException("PATCH must be a data record");
|
|
487
|
+
const values = [];
|
|
488
|
+
for (const key of Reflect.ownKeys(properties)) {
|
|
489
|
+
const descriptor = Object.getOwnPropertyDescriptor(properties, key);
|
|
490
|
+
if (typeof key !== "string" || !descriptor?.enumerable || !("value" in descriptor))
|
|
491
|
+
throw new common.BadRequestException("PATCH must contain enumerable data properties only");
|
|
492
|
+
if (descriptor.value === undefined)
|
|
493
|
+
continue;
|
|
494
|
+
const column = repository.metadata.columns.find((candidate) => candidate.propertyName === key && candidate.propertyPath === key && !candidate.embeddedMetadata && !candidate.isVirtual && !candidate.isVirtualProperty);
|
|
495
|
+
if (!column || !selected.has(key) || !column.isUpdate || column.isGenerated || column.isPrimary || column.isCreateDate || column.isUpdateDate || column.isVersion || column.isDeleteDate)
|
|
496
|
+
throw new common.BadRequestException("PATCH can write only selected writable physical columns");
|
|
497
|
+
assertPatchDataGraph(descriptor.value);
|
|
498
|
+
values.push([key, descriptor.value]);
|
|
499
|
+
}
|
|
500
|
+
return securitySnapshot_class.ApiControllerGeneratedSecuritySnapshot.detach(Object.fromEntries(values));
|
|
501
|
+
}
|
|
258
502
|
|
|
259
503
|
exports.ApiFunctionUpdate = ApiFunctionUpdate;
|
|
260
504
|
//# sourceMappingURL=update.decorator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.decorator.js","sources":["../../../../../../src/decorator/api/function/update.decorator.ts"],"sourcesContent":[null],"names":["EApiFunctionTransactionMode","ApiFunctionGet","ApiControllerGeneratedReadScopeStorage","EApiFunctionType","ApiFunctionExecuteWithTransaction","ApiSubscriberExecutor","EApiSubscriberOnType","ErrorException","ApiControllerGeneratedFunctionCapability","ApiFunctionContextStorage","DatabaseTypeOrmIsEntityNotFound","NotFoundException","ErrorString","EErrorStringAction","DatabaseTypeOrmIsEntityMetadataNotFound","InternalServerErrorException","DatabaseTypeOrmIsForeignKeyViolation","DatabaseTypeOrmGetForeignKeyViolationDetails","EApiExceptionDetailsType","BadRequestException","HttpStatus","DatabaseTypeOrmIsUniqueViolation","DatabaseTypeOrmGetUniqueViolationDetails","ConflictException","HttpException","LoggerUtility","FormatErrorEvidenceForLog","utilityTypes"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA;;;;;;AAMG;AACG,SAAU,iBAAiB,CAA2B,UAAqC,EAAA;AAChG,IAAA,MAAM,EAAE,MAAM,EAAE,GAA8B,UAAU;IACxD,MAAM,eAAe,GAAgC,UAAU,CAAC,WAAW,EAAE,IAAI,IAAIA,qCAA2B,CAAC,QAAQ;AACzH,IAAA,MAAM,YAAY,GAAiGC,wBAAc,CAAI,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,CAAC,WAAW,EAAE,CAAC;AACrL,IAAA,IAAI,WAAwH;AAE5H,IAAA,OAAO,UAAU,OAAgB,EAAE,WAAmB,EAAE,UAA8B,EAAA;AACrF,QAAA,UAAU,CAAC,KAAK,GAAG,gBAAqD,QAAuC,EAAE,gBAAiD,EAAA;AACjK,YAAA,MAAM,cAAc,GAA+CC,6DAAsC,CAAC,KAAK,CAACC,0BAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC;AAClJ,YAAA,MAAM,0BAA0B,GAAoC,yBAAyB,CAAC,gBAAgB,CAAC;YAE/G,OAAO,MAAMC,6DAAiC,CAAC;AAC9C,gBAAA,QAAQ,EAAE,OAAO,YAAuC,KAAgB;AACvE,oBAAA,MAAM,cAAc,GAAM,IAAI,MAAM,EAAE;AACtC,oBAAA,MAAM,UAAU,GAAkB,YAAY,GAAG,YAAY,CAAC,aAAa,CAAI,MAAM,CAAC,GAA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AAC,mBAAmB,CAAC,EAAE;AAC/J,QAAA,OAAO,UAAU;IAClB;IAEA,MAAM,WAAW,GAA4C,MAAM,CAAC,yBAAyB,CAAC,mBAAmB,CAAC;IAClH,MAAM,IAAI,GAAuB,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC;IAE7D,MAAM,2BAA2B,GAAY,IAAI,CAAC,IAAI,CAAC,CAAC,GAAgB,KAAa;AACpF,QAAA,MAAM,UAAU,GAAmC,WAAW,CAAC,GAAG,CAAC;QAEnE,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,UAAU,EAAE,UAAU,KAAK,IAAI,IAAI,OAAO,IAAI,UAAU,IAAI,UAAU,CAAC,KAAK,KAAK,SAAS;AAC7H,IAAA,CAAC,CAAC;IAEF,IAAI,CAAC,2BAA2B,EAAE;AACjC,QAAA,OAAO,UAAU;IAClB;AAEA,IAAA,MAAM,oBAAoB,GAAW,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,mBAAmB,CAAkB,CAAW;AAEzH,IAAA,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;AACvB,QAAA,MAAM,UAAU,GAAmC,WAAW,CAAC,GAAG,CAAC;QAEnE,IAAI,CAAC,UAAU,KAAK,OAAO,GAAG,KAAK,QAAQ,IAAI,UAAU,CAAC,UAAU,IAAI,OAAO,IAAI,UAAU,IAAI,UAAU,CAAC,KAAK,KAAK,SAAS,CAAC,EAAE;YACjI;QACD;QAEA,MAAM,CAAC,cAAc,CAAC,oBAAoB,EAAE,GAAG,EAAE,UAAU,CAAC;IAC7D;AAEA,IAAA,OAAO,oBAAuD;AAC/D;;"}
|
|
1
|
+
{"version":3,"file":"update.decorator.js","sources":["../../../../../../src/decorator/api/function/update.decorator.ts"],"sourcesContent":[null],"names":["EApiFunctionUpdatePersistenceMode","EApiFunctionTransactionMode","ApiFunctionGet","ApiControllerGeneratedReadScopeStorage","EApiFunctionType","ApiFunctionExecuteWithTransaction","ApiSubscriberExecutor","EApiSubscriberOnType","ErrorException","BadRequestException","ApiControllerGeneratedSecuritySnapshot","ApiControllerGeneratedScopeWhereContract","ApiControllerGeneratedFunctionCapability","utilityTypes","InstanceChecker","isDeepStrictEqual","ApiFunctionContextStorage","AuthorizationScopeMergeWhere","IsNull","NotFoundException","ErrorString","EErrorStringAction","InternalServerErrorException","DatabaseTypeOrmIsEntityNotFound","DatabaseTypeOrmIsEntityMetadataNotFound","DatabaseTypeOrmIsForeignKeyViolation","DatabaseTypeOrmGetForeignKeyViolationDetails","EApiExceptionDetailsType","HttpStatus","DatabaseTypeOrmIsUniqueViolation","DatabaseTypeOrmGetUniqueViolationDetails","ConflictException","HttpException","LoggerUtility","FormatErrorEvidenceForLog"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCA;;;;;;AAMG;AACG,SAAU,iBAAiB,CAA2B,UAA2C,EAAA;AACtG,IAAA,MAAM,EAAE,MAAM,EAAE,GAAoC,UAAU;IAC9D,MAAM,eAAe,GAAsC,UAAU,CAAC,eAAe,IAAIA,4DAAiC,CAAC,IAAI;IAC/H,MAAM,eAAe,GAAgC,UAAU,CAAC,WAAW,EAAE,IAAI,IAAIC,qCAA2B,CAAC,QAAQ;AACzH,IAAA,MAAM,YAAY,GAAiGC,wBAAc,CAAI,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,CAAC,WAAW,EAAE,CAAC;AACrL,IAAA,IAAI,WAAwH;AAE5H,IAAA,OAAO,UAAU,OAAgB,EAAE,WAAmB,EAAE,UAA8B,EAAA;AACrF,QAAA,UAAU,CAAC,KAAK,GAAG,gBAAqD,QAAuC,EAAE,gBAAiD,EAAA;AACjK,YAAA,MAAM,cAAc,GAA+CC,6DAAsC,CAAC,KAAK,CAACC,0BAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC;AAClJ,YAAA,MAAM,0BAA0B,GAAoC,yBAAyB,CAAC,gBAAgB,CAAC;YAE/G,OAAO,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BAAgB,IAAI,CAAC,SAAS,CAAC,SAAS,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAC;AAE5Q,QAAA,IAAI,CAAC,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,IAAI,MAAM,CAAC,WAAW,IAAI,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC,YAAY,IAAI,MAAM,CAAC,YAAY,IAAI,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC,YAAY;AAAE,YAAA,MAAM,IAAIA,0BAAmB,CAAC,yDAAyD,CAAC;AAClR,QAAA,oBAAoB,CAAC,UAAU,CAAC,KAAK,CAAC;QACtC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IACrC;IAEA,OAAOC,6DAAsC,CAAC,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAoC;AACpH;;"}
|
|
@@ -22,6 +22,7 @@ require('../../enum/decorator/api/function/transaction/outcome.enum.js');
|
|
|
22
22
|
require('../../enum/decorator/api/function/transaction/owner-kind.enum.js');
|
|
23
23
|
require('../../enum/decorator/api/function/transaction/trace-type.enum.js');
|
|
24
24
|
require('../../enum/decorator/api/function/type.enum.js');
|
|
25
|
+
require('../../enum/decorator/api/function/update-persistence-mode.enum.js');
|
|
25
26
|
require('../../enum/decorator/api/on-type.enum.js');
|
|
26
27
|
require('../../enum/decorator/api/property/data-type.enum.js');
|
|
27
28
|
require('../../enum/decorator/api/property/date/identifier.enum.js');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method.decorator.js","sources":["../../../../../src/decorator/api/method.decorator.ts"],"sourcesContent":[null],"names":["EApiRouteType","HttpStatus","ErrorException","ApiRouteCollectDtoWithRegisteredChildren","ApiExtraModels","ApiResponse","ApiRouteBuildDiscriminatedDtoOpenApiSchema","SetMetadata","METHOD_API_DECORATOR_CONSTANT","ApiOperation","HttpCode","ApiHeaders","ApiConsumes","ApiProduces","Throttle","ApiUnauthorizedResponse","DtoGenerateException","ApiForbiddenResponse","ApiInternalServerErrorResponse","ApiNotFoundResponse","ApiBadRequestResponse","ApiConflictResponse","ApiTooManyRequestsResponse","RequestMethod","Delete","Get","Patch","Post","Put","ApiSecurity","ApiAuthorizationGuard","UseGuards","UseInterceptors","applyDecorators"],"mappings":"
|
|
1
|
+
{"version":3,"file":"method.decorator.js","sources":["../../../../../src/decorator/api/method.decorator.ts"],"sourcesContent":[null],"names":["EApiRouteType","HttpStatus","ErrorException","ApiRouteCollectDtoWithRegisteredChildren","ApiExtraModels","ApiResponse","ApiRouteBuildDiscriminatedDtoOpenApiSchema","SetMetadata","METHOD_API_DECORATOR_CONSTANT","ApiOperation","HttpCode","ApiHeaders","ApiConsumes","ApiProduces","Throttle","ApiUnauthorizedResponse","DtoGenerateException","ApiForbiddenResponse","ApiInternalServerErrorResponse","ApiNotFoundResponse","ApiBadRequestResponse","ApiConflictResponse","ApiTooManyRequestsResponse","RequestMethod","Delete","Get","Patch","Post","Put","ApiSecurity","ApiAuthorizationGuard","UseGuards","UseInterceptors","applyDecorators"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA;;;;;AAKG;AACG,SAAU,SAAS,CAA2B,OAAgC,EAAA;AACnF,IAAA,MAAM,QAAQ,GAAwC,OAAO,CAAC,QAAQ;AACtE,IAAA,IAAI,gBAAgB,GAAuB,QAAQ,CAAC,aAAa,EAAE,OAAO,IAAI,QAAQ,CAAC,QAAQ,CAAC,MAAM;AAEtG,IAAA,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,OAAO,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE;AAC5D,QAAA,QAAQ,QAAQ,CAAC,KAAK,CAAC,IAAI;AAC1B,YAAA,KAAKA,uBAAa,CAAC,MAAM,EAAE;gBAC1B,gBAAgB,GAAG,iBAAiB;gB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,sBAAe,CAAC,GAAG,OAAO,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;IACpE;AAEA,IAAA,OAAOC,sBAAe,CAAC,GAAG,UAAU,CAAC;AACtC;AAEA;;;;AAIG;AACH,SAAS,+BAA+B,CAAC,mBAAiD,EAAA;IACzF,MAAM,0BAA0B,GAA8B,EAAE;AAEhE,IAAA,KAAK,MAAM,QAAQ,IAAI,CAAC,IAAI,mBAAmB,CAAC,gBAAgB,IAAI,EAAE,CAAC,EAAE,IAAI,mBAAmB,CAAC,gBAAgB,IAAI,EAAE,CAAC,EAAE,IAAI,mBAAmB,CAAC,kBAAkB,IAAI,EAAE,CAAC,CAAC,EAAE;AAC7K,QAAA,0BAA0B,CAAC,QAAQ,CAAC,GAAG,EAAE;IAC1C;AAEA,IAAA,OAAO,0BAA0B;AAClC;;"}
|
|
@@ -19,6 +19,7 @@ require('../../../enum/decorator/api/function/transaction/outcome.enum.js');
|
|
|
19
19
|
require('../../../enum/decorator/api/function/transaction/owner-kind.enum.js');
|
|
20
20
|
require('../../../enum/decorator/api/function/transaction/trace-type.enum.js');
|
|
21
21
|
require('../../../enum/decorator/api/function/type.enum.js');
|
|
22
|
+
require('../../../enum/decorator/api/function/update-persistence-mode.enum.js');
|
|
22
23
|
require('../../../enum/decorator/api/on-type.enum.js');
|
|
23
24
|
var dataType_enum = require('../../../enum/decorator/api/property/data-type.enum.js');
|
|
24
25
|
require('../../../enum/decorator/api/property/date/identifier.enum.js');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boolean.decorator.js","sources":["../../../../../../src/decorator/api/property/boolean.decorator.ts"],"sourcesContent":[null],"names":["WithResolvedPropertyEntity","RegisterManualDtoPropertyMetadata","EManualDtoPropertyMetadataDecorator","applyDecorators","ApplyAutoDtoResponseExposure","EApiPropertyDataType","ApiProperty","IsBoolean","ValidateIf","IsArray","ArrayMinSize","ArrayMaxSize","ArrayNotEmpty","ApiResponseProperty","Expose","Exclude","Transform","ErrorException"],"mappings":"
|
|
1
|
+
{"version":3,"file":"boolean.decorator.js","sources":["../../../../../../src/decorator/api/property/boolean.decorator.ts"],"sourcesContent":[null],"names":["WithResolvedPropertyEntity","RegisterManualDtoPropertyMetadata","EManualDtoPropertyMetadataDecorator","applyDecorators","ApplyAutoDtoResponseExposure","EApiPropertyDataType","ApiProperty","IsBoolean","ValidateIf","IsArray","ArrayMinSize","ArrayMaxSize","ArrayNotEmpty","ApiResponseProperty","Expose","Exclude","Transform","ErrorException"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDG;AACG,SAAU,kBAAkB,CAAC,UAAsC,EAAA;AACxE,IAAA,OAAO,CAAC,MAAc,EAAE,WAA4B,KAAU;QAC7DA,6DAA0B,CAAC,UAAU,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC,cAAqD,KAAI;YAC7H,MAAM,oBAAoB,GAA+B,EAAE,GAAG,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE;YAElG,eAAe,CAAC,oBAAoB,CAAC;AACrC,YAAAC,kDAAiC,CAAC,MAAM,EAAE,WAAW,EAAE;AACtD,gBAAA,KAAK,EAAE,kBAAkB,CAAC,oBAAoB,CAAC;gBAC/C,SAAS,EAAEC,2EAAmC,CAAC,OAAO;AACtD,gBAAA,UAAU,EAAE,oBAAoB;AAChC,aAAA,CAAC;AAEF,YAAA,MAAM,kBAAkB,GAAuB,uBAAuB,CAAC,oBAAoB,CAAC;YAC5F,MAAM,UAAU,GAA6B,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC;YAEtGC,sBAAe,CAAC,GAAG,UAAU,CAAC,CAAC,MAAM,EAAE,WAAW,CAAC;AACnD,YAAAC,iEAA4B,CAAC,MAAM,EAAE,WAAW,EAAE,oBAAoB,CAAC;AACxE,QAAA,CAAC,CAAC;AACH,IAAA,CAAC;AACF;AA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,CAAC,2BAA2B,CAAC;QACzC;QAEA,IAAI,UAAU,CAAC,aAAa,IAAI,UAAU,CAAC,QAAQ,IAAI,CAAC,EAAE;AACzD,YAAA,MAAM,CAAC,IAAI,CAAC,iEAAiE,CAAC;QAC/E;IACD;AAEA,IAAA,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;QACtB,MAAMC,gCAAc,CAAC,CAAA,0BAAA,EAA6B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA,CAAE,CAAC;IACvE;AACD;;"}
|
|
@@ -19,6 +19,7 @@ require('../../../enum/decorator/api/function/transaction/outcome.enum.js');
|
|
|
19
19
|
require('../../../enum/decorator/api/function/transaction/owner-kind.enum.js');
|
|
20
20
|
require('../../../enum/decorator/api/function/transaction/trace-type.enum.js');
|
|
21
21
|
require('../../../enum/decorator/api/function/type.enum.js');
|
|
22
|
+
require('../../../enum/decorator/api/function/update-persistence-mode.enum.js');
|
|
22
23
|
require('../../../enum/decorator/api/on-type.enum.js');
|
|
23
24
|
var dataType_enum = require('../../../enum/decorator/api/property/data-type.enum.js');
|
|
24
25
|
var identifier_enum = require('../../../enum/decorator/api/property/date/identifier.enum.js');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.decorator.js","sources":["../../../../../../src/decorator/api/property/date.decorator.ts"],"sourcesContent":[null],"names":["WithResolvedPropertyEntity","RegisterManualDtoPropertyMetadata","EManualDtoPropertyMetadataDecorator","applyDecorators","ApplyAutoDtoResponseExposure","EApiPropertyDataType","ApiProperty","IsDate","ValidateIf","IsArray","ArrayMinSize","ArrayMaxSize","ArrayNotEmpty","ApiResponseProperty","Expose","Exclude","Transform","EApiPropertyDateIdentifier","EApiPropertyDateType","ErrorException"],"mappings":"
|
|
1
|
+
{"version":3,"file":"date.decorator.js","sources":["../../../../../../src/decorator/api/property/date.decorator.ts"],"sourcesContent":[null],"names":["WithResolvedPropertyEntity","RegisterManualDtoPropertyMetadata","EManualDtoPropertyMetadataDecorator","applyDecorators","ApplyAutoDtoResponseExposure","EApiPropertyDataType","ApiProperty","IsDate","ValidateIf","IsArray","ArrayMinSize","ArrayMaxSize","ArrayNotEmpty","ApiResponseProperty","Expose","Exclude","Transform","EApiPropertyDateIdentifier","EApiPropertyDateType","ErrorException"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuDG;AACG,SAAU,eAAe,CAAC,UAAsC,EAAA;AACrE,IAAA,OAAO,CAAC,MAAc,EAAE,WAA4B,KAAU;QAC7DA,6DAA0B,CAAC,UAAU,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,cAAqD,KAAI;YAC1H,MAAM,oBAAoB,GAA+B,EAAE,GAAG,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE;YAElG,eAAe,CAAC,oBAAoB,CAAC;AACrC,YAAAC,kDAAiC,CAAC,MAAM,EAAE,WAAW,EAAE;AACtD,gBAAA,KAAK,EAAE,eAAe,CAAC,oBAAoB,CAAC;gBAC5C,SAAS,EAAEC,2EAAmC,CAAC,IAAI;AACnD,gBAAA,UAAU,EAAE,oBAAoB;AAChC,aAAA,CAAC;AAEF,YAAA,MAAM,kBAAkB,GAAuB,uBAAuB,CAAC,oBAAoB,CAAC;YAC5F,MAAM,UAAU,GAA6B,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC;YAEtGC,sBAAe,CAAC,GAAG,UAAU,CAAC,CAAC,MAAM,EAAE,WAAW,CAAC;AACnD,YAAAC,iEAA4B,CAAC,MAAM,EAAE,WAAW,EAAE,oBAAoB,CAAC;AACxE,QAAA,CAAC,CAAC;AACH,IAAA,CAAC;AACF;AAEA;;;;;AAKG;AACH,SAAS,uBAAuB,CAAC,UAAsC,EAAA;IACtE,MAAM,OAAO,GAAW,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC;AAErD,IAAA,MAA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KAAKA,8BAAoB,CAAC,IAAI,EAAE;AAC/B,YAAA,OAAO,8BAA8B;QACtC;AAEA,QAAA,KAAKA,8BAAoB,CAAC,SAAS,EAAE;AACpC,YAAA,OAAO,mEAAmE;QAC3E;AAEA,QAAA,KAAKA,8BAAoB,CAAC,IAAI,EAAE;AAC/B,YAAA,OAAO,8BAA8B;QACtC;;AAEF;AAEA;;;;;;;;AAQG;AACH,SAAS,eAAe,CAAC,UAAsC,EAAA;IAC9D,MAAM,MAAM,GAAkB,EAAE;AAEhC,IAAA,IAAI,UAAU,CAAC,OAAO,KAAK,IAAI,EAAE;QAChC,IAAI,UAAU,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,EAAE;AAC9C,YAAA,MAAM,CAAC,IAAI,CAAC,uCAAuC,CAAC;QACrD;AAEA,QAAA,IAAI,UAAU,CAAC,QAAQ,GAAG,CAAC,EAAE;AAC5B,YAAA,MAAM,CAAC,IAAI,CAAC,2BAA2B,CAAC;QACzC;AAEA,QAAA,IAAI,UAAU,CAAC,QAAQ,GAAG,CAAC,EAAE;AAC5B,YAAA,MAAM,CAAC,IAAI,CAAC,2BAA2B,CAAC;QACzC;QAEA,IAAI,UAAU,CAAC,aAAa,IAAI,UAAU,CAAC,QAAQ,IAAI,CAAC,EAAE;AACzD,YAAA,MAAM,CAAC,IAAI,CAAC,iEAAiE,CAAC;QAC/E;IACD;AAEA,IAAA,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;QACtB,MAAMC,gCAAc,CAAC,CAAA,uBAAA,EAA0B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA,CAAE,CAAC;IACpE;AACD;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe.decorator.js","sources":["../../../../../../src/decorator/api/property/describe.decorator.ts"],"sourcesContent":[null],"names":["MetadataStorage","PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT"],"mappings":";;;;;;AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFG;AACG,SAAU,mBAAmB,CAAC,UAA0C,EAAA;AAC7E,IAAA,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"describe.decorator.js","sources":["../../../../../../src/decorator/api/property/describe.decorator.ts"],"sourcesContent":[null],"names":["MetadataStorage","PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT"],"mappings":";;;;;;AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFG;AACG,SAAU,mBAAmB,CAAC,UAA0C,EAAA;AAC7E,IAAA,OAAO,CAAC,MAAc,EAAE,WAA4B,KAAU;AAC7D,QAAA,MAAM,UAAU,GAAW,MAAM,CAAC,WAAW,CAAC,IAAI;AAClD,QAAAA,qCAAe,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC,UAAU,EAAE,WAAW,EAAEC,kEAAwC,CAAC,YAAY,EAAE,UAAU,CAAC;AACtI,IAAA,CAAC;AACF;;"}
|
|
@@ -20,6 +20,7 @@ require('../../../enum/decorator/api/function/transaction/outcome.enum.js');
|
|
|
20
20
|
require('../../../enum/decorator/api/function/transaction/owner-kind.enum.js');
|
|
21
21
|
require('../../../enum/decorator/api/function/transaction/trace-type.enum.js');
|
|
22
22
|
require('../../../enum/decorator/api/function/type.enum.js');
|
|
23
|
+
require('../../../enum/decorator/api/function/update-persistence-mode.enum.js');
|
|
23
24
|
require('../../../enum/decorator/api/on-type.enum.js');
|
|
24
25
|
var dataType_enum = require('../../../enum/decorator/api/property/data-type.enum.js');
|
|
25
26
|
require('../../../enum/decorator/api/property/date/identifier.enum.js');
|