@elsikora/nestjs-crud-automator 1.9.0-dev.2 → 1.10.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/class/api/index.d.ts +2 -1
- package/dist/cjs/class/api/subscriber/base.class.d.ts +3 -0
- package/dist/cjs/class/api/subscriber/base.class.js +7 -0
- package/dist/cjs/class/api/subscriber/base.class.js.map +1 -0
- package/dist/cjs/class/api/subscriber/discovery-service.class.d.ts +9 -0
- package/dist/cjs/class/api/subscriber/discovery-service.class.js +46 -0
- package/dist/cjs/class/api/subscriber/discovery-service.class.js.map +1 -0
- package/dist/cjs/class/api/subscriber/executor.class.d.ts +10 -0
- package/dist/cjs/class/api/subscriber/executor.class.js +52 -0
- package/dist/cjs/class/api/subscriber/executor.class.js.map +1 -0
- package/dist/cjs/class/api/subscriber/function-base.class.d.ts +5 -0
- package/dist/cjs/class/api/subscriber/function-base.class.js +9 -0
- package/dist/cjs/class/api/subscriber/function-base.class.js.map +1 -0
- package/dist/cjs/class/api/subscriber/index.d.ts +6 -0
- package/dist/cjs/class/api/subscriber/registry.class.d.ts +15 -0
- package/dist/cjs/class/api/subscriber/registry.class.js +57 -0
- package/dist/cjs/class/api/subscriber/registry.class.js.map +1 -0
- package/dist/cjs/class/api/subscriber/route-base.class.d.ts +5 -0
- package/dist/cjs/class/api/subscriber/route-base.class.js +9 -0
- package/dist/cjs/class/api/subscriber/route-base.class.js.map +1 -0
- package/dist/cjs/class/metadata-storage.class.js +1 -2
- package/dist/cjs/class/metadata-storage.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/decorator/api/controller.constant.d.ts +1 -0
- package/dist/cjs/constant/decorator/api/controller.constant.js +2 -0
- package/dist/cjs/constant/decorator/api/controller.constant.js.map +1 -1
- package/dist/cjs/constant/decorator/api/property-describe.constant.d.ts +1 -1
- package/dist/cjs/constant/decorator/api/property-describe.constant.js +2 -2
- package/dist/cjs/constant/decorator/api/property-describe.constant.js.map +1 -1
- package/dist/cjs/constant/decorator/api/service.constant.d.ts +3 -0
- package/dist/cjs/constant/decorator/api/service.constant.js +9 -0
- package/dist/cjs/constant/decorator/api/service.constant.js.map +1 -0
- package/dist/cjs/constant/decorator/api/subscriber.constant.d.ts +4 -0
- package/dist/cjs/constant/decorator/api/subscriber.constant.js +11 -0
- package/dist/cjs/constant/decorator/api/subscriber.constant.js.map +1 -0
- package/dist/cjs/constant/utility/dto/constant.js +1 -0
- package/dist/cjs/constant/utility/dto/constant.js.map +1 -1
- package/dist/cjs/constant/validator/has-paired-custom-suffixes-fields.constant.js +0 -1
- package/dist/cjs/constant/validator/has-paired-custom-suffixes-fields.constant.js.map +1 -1
- package/dist/cjs/decorator/api/controller/index.d.ts +1 -0
- package/dist/cjs/decorator/api/controller/observable.decorator.d.ts +4 -0
- package/dist/cjs/decorator/api/controller/observable.decorator.js +15 -0
- package/dist/cjs/decorator/api/controller/observable.decorator.js.map +1 -0
- package/dist/cjs/decorator/api/function/create.decorator.d.ts +2 -2
- package/dist/cjs/decorator/api/function/create.decorator.js +45 -8
- package/dist/cjs/decorator/api/function/create.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/decorator.js +1 -1
- package/dist/cjs/decorator/api/function/decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/delete.decorator.d.ts +5 -1
- package/dist/cjs/decorator/api/function/delete.decorator.js +59 -7
- package/dist/cjs/decorator/api/function/delete.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/get-list.decorator.d.ts +5 -1
- package/dist/cjs/decorator/api/function/get-list.decorator.js +56 -10
- package/dist/cjs/decorator/api/function/get-list.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/get-many.decorator.d.ts +5 -1
- package/dist/cjs/decorator/api/function/get-many.decorator.js +53 -5
- package/dist/cjs/decorator/api/function/get-many.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/get.decorator.d.ts +5 -1
- package/dist/cjs/decorator/api/function/get.decorator.js +53 -5
- package/dist/cjs/decorator/api/function/get.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/update.decorator.d.ts +5 -1
- package/dist/cjs/decorator/api/function/update.decorator.js +60 -11
- package/dist/cjs/decorator/api/function/update.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/index.d.ts +6 -3
- 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 -2
- package/dist/cjs/decorator/api/property/boolean.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/copy.decorator.js +1 -1
- package/dist/cjs/decorator/api/property/copy.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/date.decorator.js +1 -2
- package/dist/cjs/decorator/api/property/date.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/describe.decorator.js +1 -1
- package/dist/cjs/decorator/api/property/describe.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/enum.decorator.js +0 -2
- package/dist/cjs/decorator/api/property/enum.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/number.decorator.js +1 -4
- package/dist/cjs/decorator/api/property/number.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/object.decorator.js +0 -4
- package/dist/cjs/decorator/api/property/object.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/string.decorator.js +4 -21
- package/dist/cjs/decorator/api/property/string.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/uuid.decorator.js +1 -2
- package/dist/cjs/decorator/api/property/uuid.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/service/index.d.ts +1 -0
- package/dist/cjs/decorator/api/service/observable.decorator.d.ts +4 -0
- package/dist/cjs/decorator/api/service/observable.decorator.js +15 -0
- package/dist/cjs/decorator/api/service/observable.decorator.js.map +1 -0
- package/dist/cjs/decorator/api/service.decorator.js +3 -37
- package/dist/cjs/decorator/api/service.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/subscriber/function.decorator.d.ts +9 -0
- package/dist/cjs/decorator/api/subscriber/function.decorator.js +18 -0
- package/dist/cjs/decorator/api/subscriber/function.decorator.js.map +1 -0
- package/dist/cjs/decorator/api/subscriber/index.d.ts +2 -0
- package/dist/cjs/decorator/api/subscriber/route.decorator.d.ts +9 -0
- package/dist/cjs/decorator/api/subscriber/route.decorator.js +18 -0
- package/dist/cjs/decorator/api/subscriber/route.decorator.js.map +1 -0
- package/dist/cjs/enum/decorator/api/index.d.ts +5 -4
- package/dist/cjs/enum/decorator/api/on-type.enum.d.ts +6 -0
- package/dist/cjs/enum/decorator/api/on-type.enum.js +10 -0
- package/dist/cjs/enum/decorator/api/on-type.enum.js.map +1 -0
- package/dist/cjs/external/@elsikora/cladi/dist/esm/domain/enum/logger-log-level.enum.js +14 -0
- package/dist/cjs/external/@elsikora/cladi/dist/esm/domain/enum/logger-log-level.enum.js.map +1 -0
- package/dist/cjs/external/@elsikora/cladi/dist/esm/infrastructure/class/base/error.class.js +31 -0
- package/dist/cjs/external/@elsikora/cladi/dist/esm/infrastructure/class/base/error.class.js.map +1 -0
- package/dist/cjs/external/@elsikora/cladi/dist/esm/infrastructure/class/base/registry.class.js +222 -0
- package/dist/cjs/external/@elsikora/cladi/dist/esm/infrastructure/class/base/registry.class.js.map +1 -0
- package/dist/cjs/external/@elsikora/cladi/dist/esm/infrastructure/constant/console-logger-default-options.constant.js +11 -0
- package/dist/cjs/external/@elsikora/cladi/dist/esm/infrastructure/constant/console-logger-default-options.constant.js.map +1 -0
- package/dist/cjs/external/@elsikora/cladi/dist/esm/infrastructure/service/console-logger.service.js +131 -0
- package/dist/cjs/external/@elsikora/cladi/dist/esm/infrastructure/service/console-logger.service.js.map +1 -0
- package/dist/cjs/external/@elsikora/cladi/dist/esm/presentation/utility/create/registry.utility.js +19 -0
- package/dist/cjs/external/@elsikora/cladi/dist/esm/presentation/utility/create/registry.utility.js.map +1 -0
- package/dist/cjs/factory/api/controller.factory.d.ts +2 -1
- package/dist/cjs/factory/api/controller.factory.js +299 -105
- package/dist/cjs/factory/api/controller.factory.js.map +1 -1
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +33 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interface/class/api/subscriber/execution-context.interface.d.ts +15 -0
- package/dist/cjs/interface/class/api/subscriber/function-execution-context.interface.d.ts +6 -0
- package/dist/cjs/interface/class/api/subscriber/function.interface.d.ts +31 -0
- package/dist/cjs/interface/class/api/subscriber/interface.d.ts +2 -0
- package/dist/cjs/interface/class/api/subscriber/route-execution-context.interface.d.ts +6 -0
- package/dist/cjs/interface/class/api/subscriber/route.interface.d.ts +39 -0
- package/dist/cjs/interface/decorator/api/function/create-executor-properties.interface.d.ts +2 -1
- package/dist/cjs/interface/decorator/api/function/delete-executor-properties.interface.d.ts +5 -4
- package/dist/cjs/interface/decorator/api/function/get-executor-properties.interface.d.ts +2 -1
- package/dist/cjs/interface/decorator/api/function/get-list-executor-properties.interface.d.ts +2 -1
- package/dist/cjs/interface/decorator/api/function/get-many-executor-properties.interface.d.ts +2 -1
- package/dist/cjs/interface/decorator/api/function/properties.interface.d.ts +2 -2
- package/dist/cjs/interface/decorator/api/function/update-executor-properties.interface.d.ts +5 -4
- package/dist/cjs/interface/decorator/api/index.d.ts +6 -5
- package/dist/cjs/interface/decorator/api/subscriber/function-properties.interface.d.ts +5 -0
- package/dist/cjs/interface/decorator/api/subscriber/index.d.ts +2 -0
- package/dist/cjs/interface/decorator/api/subscriber/route-properties.interface.d.ts +5 -0
- package/dist/cjs/module/api-subscriber.module.d.ts +2 -0
- package/dist/cjs/module/api-subscriber.module.js +17 -0
- package/dist/cjs/module/api-subscriber.module.js.map +1 -0
- package/dist/cjs/module/index.d.ts +1 -0
- package/dist/cjs/package.json +1 -0
- 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/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/get-list/transform-operation.utility.d.ts +5 -0
- package/dist/cjs/utility/api/controller/get-list/transform-operation.utility.js +5 -1
- package/dist/cjs/utility/api/controller/get-list/transform-operation.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/handle-request-relations.utility.js +4 -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 +2 -4
- package/dist/cjs/utility/api/controller/write-dto-swagger.utility.js.map +1 -1
- package/dist/cjs/utility/api/filter-order-by-from-entity.utility.js +1 -1
- package/dist/cjs/utility/api/filter-order-by-from-entity.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-dynamic.utility.js +1 -3
- 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-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.utility.js +4 -18
- package/dist/cjs/utility/dto/generate.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-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/cjs/utility/logger.utility.js +3 -2
- package/dist/cjs/utility/logger.utility.js.map +1 -1
- package/dist/cjs/validator/all-or-none-of-listed-properties.validator.js +0 -1
- package/dist/cjs/validator/all-or-none-of-listed-properties.validator.js.map +1 -1
- package/dist/cjs/validator/has-at-least-one-and-only-one-of-listed-properties.validator.js +0 -1
- package/dist/cjs/validator/has-at-least-one-and-only-one-of-listed-properties.validator.js.map +1 -1
- package/dist/cjs/validator/has-at-least-one-of-listed-properties.validator.js +0 -1
- package/dist/cjs/validator/has-at-least-one-of-listed-properties.validator.js.map +1 -1
- package/dist/cjs/validator/has-at-least-one-property.validator.js +0 -1
- package/dist/cjs/validator/has-at-least-one-property.validator.js.map +1 -1
- package/dist/cjs/validator/has-paired-custom-suffixes-fields.validator.js +0 -1
- package/dist/cjs/validator/has-paired-custom-suffixes-fields.validator.js.map +1 -1
- package/dist/cjs/validator/must-match-one-of-schemas.validator.js +0 -1
- package/dist/cjs/validator/must-match-one-of-schemas.validator.js.map +1 -1
- package/dist/cjs/validator/only-one-of-listed-properties.validator.js +0 -1
- package/dist/cjs/validator/only-one-of-listed-properties.validator.js.map +1 -1
- package/dist/esm/class/api/index.d.ts +2 -1
- package/dist/esm/class/api/subscriber/base.class.d.ts +3 -0
- package/dist/esm/class/api/subscriber/base.class.js +5 -0
- package/dist/esm/class/api/subscriber/base.class.js.map +1 -0
- package/dist/esm/class/api/subscriber/discovery-service.class.d.ts +9 -0
- package/dist/esm/class/api/subscriber/discovery-service.class.js +46 -0
- package/dist/esm/class/api/subscriber/discovery-service.class.js.map +1 -0
- package/dist/esm/class/api/subscriber/executor.class.d.ts +10 -0
- package/dist/esm/class/api/subscriber/executor.class.js +50 -0
- package/dist/esm/class/api/subscriber/executor.class.js.map +1 -0
- package/dist/esm/class/api/subscriber/function-base.class.d.ts +5 -0
- package/dist/esm/class/api/subscriber/function-base.class.js +7 -0
- package/dist/esm/class/api/subscriber/function-base.class.js.map +1 -0
- package/dist/esm/class/api/subscriber/index.d.ts +6 -0
- package/dist/esm/class/api/subscriber/registry.class.d.ts +15 -0
- package/dist/esm/class/api/subscriber/registry.class.js +55 -0
- package/dist/esm/class/api/subscriber/registry.class.js.map +1 -0
- package/dist/esm/class/api/subscriber/route-base.class.d.ts +5 -0
- package/dist/esm/class/api/subscriber/route-base.class.js +7 -0
- package/dist/esm/class/api/subscriber/route-base.class.js.map +1 -0
- package/dist/esm/class/metadata-storage.class.js +1 -2
- package/dist/esm/class/metadata-storage.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/decorator/api/controller.constant.d.ts +1 -0
- package/dist/esm/constant/decorator/api/controller.constant.js +2 -0
- package/dist/esm/constant/decorator/api/controller.constant.js.map +1 -1
- package/dist/esm/constant/decorator/api/property-describe.constant.d.ts +1 -1
- package/dist/esm/constant/decorator/api/property-describe.constant.js +2 -2
- package/dist/esm/constant/decorator/api/property-describe.constant.js.map +1 -1
- package/dist/esm/constant/decorator/api/service.constant.d.ts +3 -0
- package/dist/esm/constant/decorator/api/service.constant.js +7 -0
- package/dist/esm/constant/decorator/api/service.constant.js.map +1 -0
- package/dist/esm/constant/decorator/api/subscriber.constant.d.ts +4 -0
- package/dist/esm/constant/decorator/api/subscriber.constant.js +9 -0
- package/dist/esm/constant/decorator/api/subscriber.constant.js.map +1 -0
- package/dist/esm/constant/utility/dto/constant.js +1 -0
- package/dist/esm/constant/utility/dto/constant.js.map +1 -1
- package/dist/esm/constant/validator/has-paired-custom-suffixes-fields.constant.js +0 -1
- package/dist/esm/constant/validator/has-paired-custom-suffixes-fields.constant.js.map +1 -1
- package/dist/esm/decorator/api/controller/index.d.ts +1 -0
- package/dist/esm/decorator/api/controller/observable.decorator.d.ts +4 -0
- package/dist/esm/decorator/api/controller/observable.decorator.js +13 -0
- package/dist/esm/decorator/api/controller/observable.decorator.js.map +1 -0
- package/dist/esm/decorator/api/function/create.decorator.d.ts +2 -2
- package/dist/esm/decorator/api/function/create.decorator.js +45 -8
- package/dist/esm/decorator/api/function/create.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/decorator.js +1 -1
- package/dist/esm/decorator/api/function/decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/delete.decorator.d.ts +5 -1
- package/dist/esm/decorator/api/function/delete.decorator.js +59 -7
- package/dist/esm/decorator/api/function/delete.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/get-list.decorator.d.ts +5 -1
- package/dist/esm/decorator/api/function/get-list.decorator.js +56 -10
- package/dist/esm/decorator/api/function/get-list.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/get-many.decorator.d.ts +5 -1
- package/dist/esm/decorator/api/function/get-many.decorator.js +53 -5
- package/dist/esm/decorator/api/function/get-many.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/get.decorator.d.ts +5 -1
- package/dist/esm/decorator/api/function/get.decorator.js +53 -5
- package/dist/esm/decorator/api/function/get.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/update.decorator.d.ts +5 -1
- package/dist/esm/decorator/api/function/update.decorator.js +60 -11
- package/dist/esm/decorator/api/function/update.decorator.js.map +1 -1
- package/dist/esm/decorator/api/index.d.ts +6 -3
- 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 -2
- package/dist/esm/decorator/api/property/boolean.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/copy.decorator.js +1 -1
- package/dist/esm/decorator/api/property/copy.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/date.decorator.js +1 -2
- package/dist/esm/decorator/api/property/date.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/describe.decorator.js +1 -1
- package/dist/esm/decorator/api/property/describe.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/enum.decorator.js +0 -2
- package/dist/esm/decorator/api/property/enum.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/number.decorator.js +1 -4
- package/dist/esm/decorator/api/property/number.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/object.decorator.js +0 -4
- package/dist/esm/decorator/api/property/object.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/string.decorator.js +4 -21
- package/dist/esm/decorator/api/property/string.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/uuid.decorator.js +1 -2
- package/dist/esm/decorator/api/property/uuid.decorator.js.map +1 -1
- package/dist/esm/decorator/api/service/index.d.ts +1 -0
- package/dist/esm/decorator/api/service/observable.decorator.d.ts +4 -0
- package/dist/esm/decorator/api/service/observable.decorator.js +13 -0
- package/dist/esm/decorator/api/service/observable.decorator.js.map +1 -0
- package/dist/esm/decorator/api/service.decorator.js +3 -37
- package/dist/esm/decorator/api/service.decorator.js.map +1 -1
- package/dist/esm/decorator/api/subscriber/function.decorator.d.ts +9 -0
- package/dist/esm/decorator/api/subscriber/function.decorator.js +16 -0
- package/dist/esm/decorator/api/subscriber/function.decorator.js.map +1 -0
- package/dist/esm/decorator/api/subscriber/index.d.ts +2 -0
- package/dist/esm/decorator/api/subscriber/route.decorator.d.ts +9 -0
- package/dist/esm/decorator/api/subscriber/route.decorator.js +16 -0
- package/dist/esm/decorator/api/subscriber/route.decorator.js.map +1 -0
- package/dist/esm/enum/decorator/api/index.d.ts +5 -4
- package/dist/esm/enum/decorator/api/on-type.enum.d.ts +6 -0
- package/dist/esm/enum/decorator/api/on-type.enum.js +10 -0
- package/dist/esm/enum/decorator/api/on-type.enum.js.map +1 -0
- package/dist/esm/external/@elsikora/cladi/dist/esm/domain/enum/logger-log-level.enum.js +14 -0
- package/dist/esm/external/@elsikora/cladi/dist/esm/domain/enum/logger-log-level.enum.js.map +1 -0
- package/dist/esm/external/@elsikora/cladi/dist/esm/infrastructure/class/base/error.class.js +29 -0
- package/dist/esm/external/@elsikora/cladi/dist/esm/infrastructure/class/base/error.class.js.map +1 -0
- package/dist/esm/external/@elsikora/cladi/dist/esm/infrastructure/class/base/registry.class.js +220 -0
- package/dist/esm/external/@elsikora/cladi/dist/esm/infrastructure/class/base/registry.class.js.map +1 -0
- package/dist/esm/external/@elsikora/cladi/dist/esm/infrastructure/constant/console-logger-default-options.constant.js +9 -0
- package/dist/esm/external/@elsikora/cladi/dist/esm/infrastructure/constant/console-logger-default-options.constant.js.map +1 -0
- package/dist/esm/external/@elsikora/cladi/dist/esm/infrastructure/service/console-logger.service.js +129 -0
- package/dist/esm/external/@elsikora/cladi/dist/esm/infrastructure/service/console-logger.service.js.map +1 -0
- package/dist/esm/external/@elsikora/cladi/dist/esm/presentation/utility/create/registry.utility.js +17 -0
- package/dist/esm/external/@elsikora/cladi/dist/esm/presentation/utility/create/registry.utility.js.map +1 -0
- package/dist/esm/factory/api/controller.factory.d.ts +2 -1
- package/dist/esm/factory/api/controller.factory.js +299 -105
- package/dist/esm/factory/api/controller.factory.js.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +12 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interface/class/api/subscriber/execution-context.interface.d.ts +15 -0
- package/dist/esm/interface/class/api/subscriber/function-execution-context.interface.d.ts +6 -0
- package/dist/esm/interface/class/api/subscriber/function.interface.d.ts +31 -0
- package/dist/esm/interface/class/api/subscriber/interface.d.ts +2 -0
- package/dist/esm/interface/class/api/subscriber/route-execution-context.interface.d.ts +6 -0
- package/dist/esm/interface/class/api/subscriber/route.interface.d.ts +39 -0
- package/dist/esm/interface/decorator/api/function/create-executor-properties.interface.d.ts +2 -1
- package/dist/esm/interface/decorator/api/function/delete-executor-properties.interface.d.ts +5 -4
- package/dist/esm/interface/decorator/api/function/get-executor-properties.interface.d.ts +2 -1
- package/dist/esm/interface/decorator/api/function/get-list-executor-properties.interface.d.ts +2 -1
- package/dist/esm/interface/decorator/api/function/get-many-executor-properties.interface.d.ts +2 -1
- package/dist/esm/interface/decorator/api/function/properties.interface.d.ts +2 -2
- package/dist/esm/interface/decorator/api/function/update-executor-properties.interface.d.ts +5 -4
- package/dist/esm/interface/decorator/api/index.d.ts +6 -5
- package/dist/esm/interface/decorator/api/subscriber/function-properties.interface.d.ts +5 -0
- package/dist/esm/interface/decorator/api/subscriber/index.d.ts +2 -0
- package/dist/esm/interface/decorator/api/subscriber/route-properties.interface.d.ts +5 -0
- package/dist/esm/module/api-subscriber.module.d.ts +2 -0
- package/dist/esm/module/api-subscriber.module.js +17 -0
- package/dist/esm/module/api-subscriber.module.js.map +1 -0
- package/dist/esm/module/index.d.ts +1 -0
- package/dist/esm/package.json +1 -0
- 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/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/get-list/transform-operation.utility.d.ts +5 -0
- package/dist/esm/utility/api/controller/get-list/transform-operation.utility.js +5 -1
- package/dist/esm/utility/api/controller/get-list/transform-operation.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/handle-request-relations.utility.js +4 -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 +2 -4
- package/dist/esm/utility/api/controller/write-dto-swagger.utility.js.map +1 -1
- package/dist/esm/utility/api/filter-order-by-from-entity.utility.js +1 -1
- package/dist/esm/utility/api/filter-order-by-from-entity.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-dynamic.utility.js +1 -3
- 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-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.utility.js +4 -18
- package/dist/esm/utility/dto/generate.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-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/dist/esm/utility/logger.utility.js +3 -2
- package/dist/esm/utility/logger.utility.js.map +1 -1
- package/dist/esm/validator/all-or-none-of-listed-properties.validator.js +0 -1
- package/dist/esm/validator/all-or-none-of-listed-properties.validator.js.map +1 -1
- package/dist/esm/validator/has-at-least-one-and-only-one-of-listed-properties.validator.js +0 -1
- package/dist/esm/validator/has-at-least-one-and-only-one-of-listed-properties.validator.js.map +1 -1
- package/dist/esm/validator/has-at-least-one-of-listed-properties.validator.js +0 -1
- package/dist/esm/validator/has-at-least-one-of-listed-properties.validator.js.map +1 -1
- package/dist/esm/validator/has-at-least-one-property.validator.js +0 -1
- package/dist/esm/validator/has-at-least-one-property.validator.js.map +1 -1
- package/dist/esm/validator/has-paired-custom-suffixes-fields.validator.js +0 -1
- package/dist/esm/validator/has-paired-custom-suffixes-fields.validator.js.map +1 -1
- package/dist/esm/validator/must-match-one-of-schemas.validator.js +0 -1
- package/dist/esm/validator/must-match-one-of-schemas.validator.js.map +1 -1
- package/dist/esm/validator/only-one-of-listed-properties.validator.js +0 -1
- package/dist/esm/validator/only-one-of-listed-properties.validator.js.map +1 -1
- package/package.json +21 -18
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-filter-decorator.utility.js","sources":["../../../../../src/utility/dto/generate-filter-decorator.utility.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-filter-decorator.utility.js","sources":["../../../../../src/utility/dto/generate-filter-decorator.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAOA;;;;;;;;AAQG;AACa,SAAA,0BAA0B,CAAI,QAAwC,EAAE,MAAqB,EAAA;AAC5G,IAAA,QAAQ,QAAQ,CAAC,IAAI;AACpB,QAAA,KAAK,wBAAwB,CAAC,OAAO,EAAE;YACtC,OAAO,eAAe,CAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,QAAQ,EAAE,yBAAyB,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;;AAG7J,QAAA,KAAK,wBAAwB,CAAC,IAAI,EAAE;;AAGnC,YAAA,OAAO,eAAe,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,sBAAsB,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;;AAGpH,QAAA,KAAK,wBAAwB,CAAC,IAAI,EAAE;YACnC,OAAO,eAAe,CAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,sBAAsB,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;;AAGvJ,QAAA,KAAK,wBAAwB,CAAC,MAAM,EAAE;;YAGrC,OAAO,eAAe,CAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,QAAQ,EAAE,wBAAwB,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;;AAG3J,QAAA,KAAK,wBAAwB,CAAC,MAAM,EAAE;YACrC,OAAO,eAAe,CAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,QAAQ,EAAE,wBAAwB,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;;AAG3J,QAAA,KAAK,wBAAwB,CAAC,QAAQ,EAAE;YACvC,OAAO,eAAe,CAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,wBAAwB,EAAE,QAAQ,EAAE,0BAA0B,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;;AAG/J,QAAA,KAAK,wBAAwB,CAAC,MAAM,EAAE;YACrC,OAAO,eAAe,CAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,QAAQ,EAAE,wBAAwB,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;;AAG3J,QAAA,KAAK,wBAAwB,CAAC,IAAI,EAAE;YACnC,OAAO,eAAe,CAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,sBAAsB,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;;;AAGzJ;;;;"}
|
|
@@ -8,6 +8,7 @@ import '../../enum/decorator/api/controller/load-relations-strategy.enum.js';
|
|
|
8
8
|
import '../../enum/decorator/api/controller/request-transformer-type.enum.js';
|
|
9
9
|
import '../../enum/decorator/api/dto-type.enum.js';
|
|
10
10
|
import '../../enum/decorator/api/function/type.enum.js';
|
|
11
|
+
import '../../enum/decorator/api/on-type.enum.js';
|
|
11
12
|
import '../../enum/decorator/api/property/data-type.enum.js';
|
|
12
13
|
import '../../enum/decorator/api/property/date/identifier.enum.js';
|
|
13
14
|
import '../../enum/decorator/api/property/date/type.enum.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-get-list-response.utility.js","sources":["../../../../../src/utility/dto/generate-get-list-response.utility.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-get-list-response.utility.js","sources":["../../../../../src/utility/dto/generate-get-list-response.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AASA;;;;;;;;AAQG;SACa,0BAA0B,CAAC,aAAyB,EAAE,qBAAiC,EAAE,IAAY,EAAA;AACpH,IAAA,MAAM,kBAAmB,SAAQ,QAAQ,CAAC,aAAa,EAAE,EAAW,CAAC,CAAA;AAWpE,QAAA,KAAK;AAYL,QAAA,WAAW;AAWX,QAAA,KAAK;AAYL,QAAA,UAAU;AAYV,QAAA,UAAU;AACV;AAhDA,IAAA,UAAA,CAAA;AAVC,QAAA,iBAAiB,CAAC;AAClB,YAAA,WAAW,EAAE,+BAA+B;AAC5C,YAAA,MAAM,EAAE,aAAa;YACrB,YAAY,EAAE,iBAAiB,CAAC,mBAAmB;YACnD,MAAM,EAAE,sBAAsB,CAAC,OAAO;AACtC,YAAA,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,iBAAiB,CAAC,mBAAmB;YAC9C,OAAO,EAAE,iBAAiB,CAAC,mBAAmB;AAC9C,YAAA,UAAU,EAAE,CAAC;SACb,CAAC;;AACa,KAAA,EAAA,kBAAA,CAAA,SAAA,EAAA,OAAA,EAAA,MAAA,CAAA;AAYf,IAAA,UAAA,CAAA;AAVC,QAAA,iBAAiB,CAAC;AAClB,YAAA,WAAW,EAAE,qBAAqB;AAClC,YAAA,MAAM,EAAE,aAAa;YACrB,YAAY,EAAE,iBAAiB,CAAC,wBAAwB;YACxD,MAAM,EAAE,sBAAsB,CAAC,OAAO;AACtC,YAAA,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,iBAAiB,CAAC,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O,EAAE,iBAAiB,CAAC,wBAAwB;AACnD,YAAA,UAAU,EAAE,CAAC;SACb,CAAC;;AACkB,KAAA,EAAA,kBAAA,CAAA,SAAA,EAAA,YAAA,EAAA,MAAA,CAAA;AAGrB,IAAA,MAAM,CAAC,cAAc,CAAC,kBAAkB,EAAE,MAAM,EAAE;AACjD,QAAA,KAAK,EAAE,IAAI;AACX,KAAA,CAAC;AAEF,IAAA,OAAO,kBAAkB;AAC1B;;;;"}
|
|
@@ -7,6 +7,7 @@ import '../../enum/decorator/api/controller/load-relations-strategy.enum.js';
|
|
|
7
7
|
import '../../enum/decorator/api/controller/request-transformer-type.enum.js';
|
|
8
8
|
import { EApiDtoType } from '../../enum/decorator/api/dto-type.enum.js';
|
|
9
9
|
import '../../enum/decorator/api/function/type.enum.js';
|
|
10
|
+
import '../../enum/decorator/api/on-type.enum.js';
|
|
10
11
|
import '../../enum/decorator/api/property/data-type.enum.js';
|
|
11
12
|
import '../../enum/decorator/api/property/date/identifier.enum.js';
|
|
12
13
|
import '../../enum/decorator/api/property/date/type.enum.js';
|
|
@@ -45,17 +46,17 @@ function DtoGenerate(entity, entityMetadata, method, dtoType, dtoConfig, current
|
|
|
45
46
|
if (!DtoIsShouldBeGenerated(method, dtoType)) {
|
|
46
47
|
return undefined;
|
|
47
48
|
}
|
|
48
|
-
if (!entityMetadata.primaryKey?.metadata?.[PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT.
|
|
49
|
+
if (!entityMetadata.primaryKey?.metadata?.[PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT.METADATA_KEY]) {
|
|
49
50
|
throw ErrorException(`Primary key for entity ${String(entityMetadata.name)} not found in metadata storage`);
|
|
50
51
|
}
|
|
51
52
|
// eslint-disable-next-line @elsikora/typescript/no-unsafe-function-type
|
|
52
53
|
const extraModels = [];
|
|
53
54
|
const markedProperties = [];
|
|
54
55
|
for (const column of entityMetadata.columns) {
|
|
55
|
-
if (column.metadata?.[PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT.
|
|
56
|
+
if (column.metadata?.[PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT.METADATA_KEY] && DtoIsPropertyShouldBeMarked(method, dtoType, column.name, column.metadata[PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT.METADATA_KEY], column.isPrimary, currentGuard)) {
|
|
56
57
|
markedProperties.push({
|
|
57
58
|
isPrimary: column.isPrimary,
|
|
58
|
-
metadata: column.metadata[PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT.
|
|
59
|
+
metadata: column.metadata[PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT.METADATA_KEY],
|
|
59
60
|
name: column.name,
|
|
60
61
|
});
|
|
61
62
|
}
|
|
@@ -68,41 +69,29 @@ function DtoGenerate(entity, entityMetadata, method, dtoType, dtoConfig, current
|
|
|
68
69
|
for (const property of markedProperties) {
|
|
69
70
|
if (method === EApiRouteType.GET_LIST && dtoType === EApiDtoType.QUERY) {
|
|
70
71
|
Object.defineProperty(this, `${property.name}[value]`, {
|
|
71
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
72
72
|
configurable: true,
|
|
73
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
74
73
|
enumerable: true,
|
|
75
74
|
value: undefined,
|
|
76
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
77
75
|
writable: true,
|
|
78
76
|
});
|
|
79
77
|
Object.defineProperty(this, `${property.name}[values]`, {
|
|
80
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
81
78
|
configurable: true,
|
|
82
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
83
79
|
enumerable: true,
|
|
84
80
|
value: undefined,
|
|
85
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
86
81
|
writable: true,
|
|
87
82
|
});
|
|
88
83
|
Object.defineProperty(this, `${property.name}[operator]`, {
|
|
89
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
90
84
|
configurable: true,
|
|
91
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
92
85
|
enumerable: true,
|
|
93
86
|
value: undefined,
|
|
94
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
95
87
|
writable: true,
|
|
96
88
|
});
|
|
97
89
|
}
|
|
98
90
|
else {
|
|
99
91
|
Object.defineProperty(this, property.name, {
|
|
100
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
101
92
|
configurable: true,
|
|
102
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
103
93
|
enumerable: true,
|
|
104
94
|
value: undefined,
|
|
105
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
106
95
|
writable: true,
|
|
107
96
|
});
|
|
108
97
|
}
|
|
@@ -150,14 +139,11 @@ function DtoGenerate(entity, entityMetadata, method, dtoType, dtoConfig, current
|
|
|
150
139
|
}
|
|
151
140
|
if (method === EApiRouteType.GET_LIST && dtoType === EApiDtoType.QUERY) {
|
|
152
141
|
Object.defineProperty(GeneratedDTO.prototype, "object", {
|
|
153
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
154
142
|
configurable: true,
|
|
155
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
156
143
|
enumerable: true,
|
|
157
144
|
value: function () {
|
|
158
145
|
return this;
|
|
159
146
|
},
|
|
160
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
161
147
|
writable: true,
|
|
162
148
|
});
|
|
163
149
|
Validate(HasPairedCustomSuffixesFieldsValidator, ["operator", ["value", "values"]])(GeneratedDTO.prototype, "object");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.utility.js","sources":["../../../../../src/utility/dto/generate.utility.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate.utility.js","sources":["../../../../../src/utility/dto/generate.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;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CAAC,SAAS,EAAE,QAAQ,CAAC;;AAGtH,IAAA,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE;AAC3B,QAAA,cAAc,CAAC,GAAG,WAAW,CAAC,CAAC,YAAY,CAAC;;AAG7C,IAAA,MAAM,CAAC,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE;AAC3C,QAAA,KAAK,EAAE,CAAG,EAAA,cAAc,CAAC,IAAI,IAAI,iBAAiB,CAAA,EAAG,eAAe,CAAC,MAAM,CAAC,CAAA,EAAG,eAAe,CAAC,OAAO,CAAC,CAAK,GAAA,CAAA;AAC5G,KAAA,CAAC;;AAGF,IAAA,OAAO,MAAM,KAAK,aAAa,CAAC,QAAQ,IAAI,OAAO,KAAK,WAAW,CAAC,QAAQ,GAAG,0BAA0B,CAAC,MAAM,EAAE,YAAY,EAAE,CAAA,EAAG,cAAc,CAAC,IAAI,IAAI,iBAAiB,GAAG,eAAe,CAAC,MAAM,CAAC,CAAA,EAAG,eAAe,CAAC,OAAO,CAAC,CAAU,QAAA,CAAA,CAAC,GAAG,YAAY;AAC3P;;;;"}
|
|
@@ -8,6 +8,7 @@ import '../../enum/decorator/api/controller/load-relations-strategy.enum.js';
|
|
|
8
8
|
import '../../enum/decorator/api/controller/request-transformer-type.enum.js';
|
|
9
9
|
import '../../enum/decorator/api/dto-type.enum.js';
|
|
10
10
|
import '../../enum/decorator/api/function/type.enum.js';
|
|
11
|
+
import '../../enum/decorator/api/on-type.enum.js';
|
|
11
12
|
import '../../enum/decorator/api/property/data-type.enum.js';
|
|
12
13
|
import '../../enum/decorator/api/property/date/identifier.enum.js';
|
|
13
14
|
import '../../enum/decorator/api/property/date/type.enum.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-get-list-query-base-class.utility.js","sources":["../../../../../src/utility/dto/get-get-list-query-base-class.utility.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-get-list-query-base-class.utility.js","sources":["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,YAAA,WAAW,EAAE,iBAAiB;AAC9B,YAAA,MAAM,EAAE,cAAc;AACtB,YAAA,IAAI,EAAE,qBAAqB;AAC3B,YAAA,QAAQ,EAAE,uBAAuB;AACjC,YAAA,UAAU,EAAE,KAAK;SACjB,CAAC;;AACqC,KAAA,EAAA,YAAA,CAAA,SAAA,EAAA,gBAAA,EAAA,MAAA,CAAA;AAYvC,IAAA,UAAA,CAAA;AAVC,QAAA,iBAAiB,CAAC;AAClB,YAAA,WAAW,EAAE,gBAAgB;AAC7B,YAAA,MAAM,EAAE,cAAc;YACtB,YAAY,EAAE,mCAAmC,CAAC,wBAAwB;YAC1E,MAAM,EAAE,sBAAsB,CAAC,OAAO;AACtC,YAAA,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,mCAAmC,CAAC,wBAAwB;YACrE,OAAO,EAAE,mCAAmC,CAAC,wBAAwB;YACrE,UAAU,EAAE,mCAAmC,CAAC,gBAAgB;SAChE,CAAC;;AACY,KAAA,EAAA,YAAA,CAAA,SAAA,EAAA,MAAA,EAAA,MAAA,CAAA;AAGd,IAAA,UAAA,CAAA;QADC,QAAQ,CAAC,oCAAoC,EAAE,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAC;;;;AAG7E,KAAA,EAAA,YAAA,CAAA,SAAA,EAAA,QAAA,EAAA,IAAA,CAAA;AAGF,IAAA,OAAO,YAAY;AACpB;;;;"}
|
|
@@ -4,6 +4,7 @@ import '../../enum/decorator/api/controller/load-relations-strategy.enum.js';
|
|
|
4
4
|
import '../../enum/decorator/api/controller/request-transformer-type.enum.js';
|
|
5
5
|
import '../../enum/decorator/api/dto-type.enum.js';
|
|
6
6
|
import '../../enum/decorator/api/function/type.enum.js';
|
|
7
|
+
import '../../enum/decorator/api/on-type.enum.js';
|
|
7
8
|
import '../../enum/decorator/api/property/data-type.enum.js';
|
|
8
9
|
import { EApiPropertyDateIdentifier } from '../../enum/decorator/api/property/date/identifier.enum.js';
|
|
9
10
|
import '../../enum/decorator/api/property/date/type.enum.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handle-date-property.utility.js","sources":["../../../../../src/utility/dto/handle-date-property.utility.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"handle-date-property.utility.js","sources":["../../../../../src/utility/dto/handle-date-property.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA;;;;;;;AAOG;MACU,qBAAqB,GAAG,CAAC,YAAoB,EAAE,UAAsC,KAAqE;AACtK,IAAA,MAAM,SAAS,GAAsH;AACpI,QAAA,CAAC,0BAA0B,CAAC,UAAU,GAAG,EAAE,IAAI,EAAE,0BAA0B,CAAC,eAAe,EAAE,EAAE,EAAE,0BAA0B,CAAC,aAAa,EAAE;AAC3I,QAAA,CAAC,0BAA0B,CAAC,WAAW,GAAG,EAAE,IAAI,EAAE,0BAA0B,CAAC,gBAAgB,EAAE,EAAE,EAAE,0BAA0B,CAAC,cAAc,EAAE;AAC9I,QAAA,CAAC,0BAA0B,CAAC,UAAU,GAAG,EAAE,IAAI,EAAE,0BAA0B,CAAC,eAAe,EAAE,EAAE,EAAE,0BAA0B,CAAC,aAAa,EAAE;KAC3I;IAED,OAAO,SAAS,CAAC,UAAU;AAC1B,UAAE;AACA,YAAA,EAAE,UAAU,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,CAAG,EAAA,YAAY,MAAM,EAAE;AACvE,YAAA,EAAE,UAAU,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,CAAG,EAAA,YAAY,IAAI,EAAE;AACnE;UACA,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;AACxC;;;;"}
|
|
@@ -4,6 +4,7 @@ import '../../enum/decorator/api/controller/load-relations-strategy.enum.js';
|
|
|
4
4
|
import '../../enum/decorator/api/controller/request-transformer-type.enum.js';
|
|
5
5
|
import { EApiDtoType } from '../../enum/decorator/api/dto-type.enum.js';
|
|
6
6
|
import '../../enum/decorator/api/function/type.enum.js';
|
|
7
|
+
import '../../enum/decorator/api/on-type.enum.js';
|
|
7
8
|
import '../../enum/decorator/api/property/data-type.enum.js';
|
|
8
9
|
import '../../enum/decorator/api/property/date/identifier.enum.js';
|
|
9
10
|
import '../../enum/decorator/api/property/date/type.enum.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-property-should-be-marked.utility.js","sources":["../../../../../src/utility/dto/is-property-should-be-marked.utility.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"is-property-should-be-marked.utility.js","sources":["../../../../../src/utility/dto/is-property-should-be-marked.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;AAOA;;;;;;;;;AASG;AACa,SAAA,2BAA2B,CAAC,MAAqB,EAAE,OAAoB,EAAE,YAAoB,EAAE,gBAAgD,EAAE,SAAkB,EAAE,YAA+B,EAAA;AACnN,IAAA,MAAM,WAAW,GAAY,CAAC,WAAW,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC;AAE5F,IAAA,IAAI,MAAM,KAAK,aAAa,CAAC,MAAM,IAAI,OAAO,KAAK,WAAW,CAAC,IAAI,IAAI,WAAW,EAAE;AACnF,QAAA,OAAO,KAAK;;IAGb,MAAM,UAAU,GAAuE,gBAAgB,CAAC,UAAU,GAAG,MAAM,CAAuE;IAElM,IAAI,UAAU,GAAG,OAAO,CAAC,EAAE,SAAS,KAAK,KAAK,EAAE;AAC/C,QAAA,OAAO,KAAK;;AAGb,IAAA,IAAI,CAAC,4BAA4B,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,YAAY,CAAC,EAAE;AACnF,QAAA,OAAO,KAAK;;AAGb,IAAA,IAAI,OAAO,KAAK,WAAW,CAAC,KAAK,IAAI,gBAAgB,CAAC,IAAI,KAAK,wBAAwB,CAAC,MAAM,EAAE;AAC/F,QAAA,OAAO,KAAK;;IAGb,IAAI,OAAO,KAAK,WAAW,CAAC,OAAO,IAAI,SAAS,EAAE;AACjD,QAAA,OAAO,IAAI;;AAGZ,IAAA,IAAI,CAAC,OAAO,KAAK,WAAW,CAAC,KAAK,IAAI,OAAO,KAAK,WAAW,CAAC,IAAI,KAAK,CAAC,SAAS,EAAE;AAClF,QAAA,OAAO,IAAI;;AAGZ,IAAA,OAAO,OAAO,KAAK,WAAW,CAAC,OAAO,IAAI,OAAO,KAAK,WAAW,CAAC,KAAK,IAAI,OAAO,KAAK,WAAW,CAAC,IAAI;AACxG;;;;"}
|
|
@@ -4,6 +4,7 @@ import '../../enum/decorator/api/controller/load-relations-strategy.enum.js';
|
|
|
4
4
|
import '../../enum/decorator/api/controller/request-transformer-type.enum.js';
|
|
5
5
|
import { EApiDtoType } from '../../enum/decorator/api/dto-type.enum.js';
|
|
6
6
|
import '../../enum/decorator/api/function/type.enum.js';
|
|
7
|
+
import '../../enum/decorator/api/on-type.enum.js';
|
|
7
8
|
import '../../enum/decorator/api/property/data-type.enum.js';
|
|
8
9
|
import '../../enum/decorator/api/property/date/identifier.enum.js';
|
|
9
10
|
import '../../enum/decorator/api/property/date/type.enum.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-should-be-generated.utility.js","sources":["../../../../../src/utility/dto/is-should-be-generated.utility.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"is-should-be-generated.utility.js","sources":["../../../../../src/utility/dto/is-should-be-generated.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA;;;;;;;;;AASG;MACU,sBAAsB,GAAG,CAAC,MAAqB,EAAE,OAAoB,KAAa;IAC9F,QAAQ,OAAO;AACd,QAAA,KAAK,WAAW,CAAC,IAAI,EAAE;AACtB,YAAA,OAAO,CAAC,aAAa,CAAC,MAAM,EAAE,aAAa,CAAC,cAAc,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC;;AAGnG,QAAA,KAAK,WAAW,CAAC,KAAK,EAAE;AACvB,YAAA,OAAO,MAAM,KAAK,aAAa,CAAC,QAAQ;;AAGzC,QAAA,KAAK,WAAW,CAAC,OAAO,EAAE;YACzB,OAAO,CAAC,aAAa,CAAC,MAAM,EAAE,aAAa,CAAC,GAAG,EAAE,aAAa,CAAC,cAAc,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC;;AAGtH,QAAA,KAAK,WAAW,CAAC,QAAQ,EAAE;AAC1B,YAAA,OAAO,MAAM,KAAK,aAAa,CAAC,MAAM;;QAGvC,SAAS;AACR,YAAA,OAAO,KAAK;;;AAGf;;;;"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { __decorate, __metadata } from '../external/tslib/tslib.es6.js';
|
|
2
2
|
import { Injectable, ConsoleLogger } from '@nestjs/common';
|
|
3
|
+
import { config } from 'dotenv';
|
|
3
4
|
|
|
4
5
|
var LoggerUtility_1;
|
|
6
|
+
config();
|
|
5
7
|
/**
|
|
6
8
|
* Custom logger that extends NestJS's ConsoleLogger with environment-based log level filtering
|
|
7
9
|
*/
|
|
8
10
|
let LoggerUtility = class LoggerUtility extends ConsoleLogger {
|
|
9
11
|
static { LoggerUtility_1 = this; }
|
|
10
12
|
static ENV_LOG_LEVEL_KEY = "NCD_LOG_LEVEL";
|
|
11
|
-
// eslint-disable-next-line @elsikora/javascript/constructor-super,@elsikora/sonar/super-invocation
|
|
12
13
|
constructor(context) {
|
|
13
|
-
if (context
|
|
14
|
+
if (context) {
|
|
14
15
|
super(context, {
|
|
15
16
|
logLevels: LoggerUtility_1.getLogLevelsFromEnv(),
|
|
16
17
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.utility.js","sources":["../../../../src/utility/logger.utility.ts"],"sourcesContent":[null],"names":[],"mappings":"
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gBAAA,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC;;YAGzB,SAAS;AACR,gBAAA,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC;;;;;AA3DtB,aAAa,GAAA,eAAA,GAAA,UAAA,CAAA;AADzB,IAAA,UAAU,EAAE;;AACA,CAAA,EAAA,aAAa,CA+DzB;;;;"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { __decorate } from '../external/tslib/tslib.es6.js';
|
|
2
2
|
import { ValidatorConstraint } from 'class-validator';
|
|
3
3
|
|
|
4
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
5
4
|
let AllOrNoneOfListedPropertiesValidator = class AllOrNoneOfListedPropertiesValidator {
|
|
6
5
|
defaultMessage(properties) {
|
|
7
6
|
return `either all or none of the following properties must be provided: ${properties.constraints.join(", ")}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-or-none-of-listed-properties.validator.js","sources":["../../../../src/validator/all-or-none-of-listed-properties.validator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"all-or-none-of-listed-properties.validator.js","sources":["../../../../src/validator/all-or-none-of-listed-properties.validator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAKa,IAAA,oCAAoC,GAA1C,MAAM,oCAAoC,CAAA;AAChD,IAAA,cAAc,CAAC,UAA+B,EAAA;QAC7C,OAAO,CAAA,iEAAA,EAAoE,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA,CAAE;;IAG/G,QAAQ,CAAC,MAAe,EAAE,UAA+B,EAAA;AACxD,QAAA,MAAM,WAAW,GAAkB,UAAU,CAAC,WAA4B;AAE1E,QAAA,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE;AAC3B,YAAA,MAAM,eAAe,GAAwB,UAAU,CAAC,MAA6B;AACrF,YAAA,MAAM,aAAa,GAAkB,WAAW,CAAC,MAAM,CAAC,CAAC,KAAa,KAAK,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC,IAAI,eAAe,CAAC,KAAK,CAAC,KAAK,SAAS,CAAC;AAEhL,YAAA,OAAO,aAAa,CAAC,MAAM,KAAK,CAAC,IAAI,aAAa,CAAC,MAAM,KAAK,WAAW,CAAC,MAAM;;AAGjF,QAAA,OAAO,IAAI;;;AAfA,oCAAoC,GAAA,UAAA,CAAA;IADhD,mBAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,kCAAkC,EAAE;AAClE,CAAA,EAAA,oCAAoC,CAiBhD;;;;"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { __decorate } from '../external/tslib/tslib.es6.js';
|
|
2
2
|
import { ValidatorConstraint } from 'class-validator';
|
|
3
3
|
|
|
4
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
5
4
|
let HasAtLeastOneAndOnlyOneOfListedPropertiesValidator = class HasAtLeastOneAndOnlyOneOfListedPropertiesValidator {
|
|
6
5
|
defaultMessage(properties) {
|
|
7
6
|
return `at least one and only one of the following properties must be provided: ${properties.constraints.join(", ")}`;
|
package/dist/esm/validator/has-at-least-one-and-only-one-of-listed-properties.validator.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"has-at-least-one-and-only-one-of-listed-properties.validator.js","sources":["../../../../src/validator/has-at-least-one-and-only-one-of-listed-properties.validator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"has-at-least-one-and-only-one-of-listed-properties.validator.js","sources":["../../../../src/validator/has-at-least-one-and-only-one-of-listed-properties.validator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAKa,IAAA,kDAAkD,GAAxD,MAAM,kDAAkD,CAAA;AAC9D,IAAA,cAAc,CAAC,UAA+B,EAAA;QAC7C,OAAO,CAAA,wEAAA,EAA2E,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA,CAAE;;IAGtH,QAAQ,CAAC,MAAe,EAAE,UAA+B,EAAA;AACxD,QAAA,MAAM,WAAW,GAAkB,UAAU,CAAC,WAA4B;AAE1E,QAAA,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE;YAC3B,IAAI,QAAQ,GAAY,KAAK;YAC7B,IAAI,KAAK,GAAW,CAAC;AACrB,YAAA,MAAM,eAAe,GAAwB,UAAU,CAAC,MAA6B;AAErF,YAAA,KAAK,MAAM,UAAU,IAAI,WAAW,EAAE;gBACrC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,IAAI,eAAe,CAAC,UAAU,CAAC,KAAK,SAAS,EAAE;oBACnH,QAAQ,GAAG,IAAI;AACf,oBAAA,KAAK,EAAE;;;AAIT,YAAA,IAAI,KAAK,KAAK,CAAC,EAAE;AAChB,gBAAA,OAAO,KAAK;;AAGb,YAAA,OAAO,QAAQ;;AAGhB,QAAA,OAAO,IAAI;;;AA3BA,kDAAkD,GAAA,UAAA,CAAA;IAD9D,mBAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,uCAAuC,EAAE;AACvE,CAAA,EAAA,kDAAkD,CA6B9D;;;;"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { __decorate } from '../external/tslib/tslib.es6.js';
|
|
2
2
|
import { ValidatorConstraint } from 'class-validator';
|
|
3
3
|
|
|
4
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
5
4
|
let HasAtLeastOneOfListedPropertiesValidator = class HasAtLeastOneOfListedPropertiesValidator {
|
|
6
5
|
defaultMessage(properties) {
|
|
7
6
|
return `at least one of the following properties must be provided: ${properties.constraints.join(", ")}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"has-at-least-one-of-listed-properties.validator.js","sources":["../../../../src/validator/has-at-least-one-of-listed-properties.validator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"has-at-least-one-of-listed-properties.validator.js","sources":["../../../../src/validator/has-at-least-one-of-listed-properties.validator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAKa,IAAA,wCAAwC,GAA9C,MAAM,wCAAwC,CAAA;AACpD,IAAA,cAAc,CAAC,UAA+B,EAAA;QAC7C,OAAO,CAAA,2DAAA,EAA8D,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA,CAAE;;IAGzG,QAAQ,CAAC,MAAe,EAAE,UAA+B,EAAA;AACxD,QAAA,MAAM,WAAW,GAAkB,UAAU,CAAC,WAA4B;AAE1E,QAAA,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE;YAC3B,IAAI,QAAQ,GAAY,KAAK;AAC7B,YAAA,MAAM,eAAe,GAAwB,UAAU,CAAC,MAA6B;AAErF,YAAA,KAAK,MAAM,UAAU,IAAI,WAAW,EAAE;gBACrC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,IAAI,eAAe,CAAC,UAAU,CAAC,KAAK,SAAS,EAAE;oBACnH,QAAQ,GAAG,IAAI;oBAEf;;;AAIF,YAAA,OAAO,QAAQ;;AAGhB,QAAA,OAAO,IAAI;;;AAvBA,wCAAwC,GAAA,UAAA,CAAA;IADpD,mBAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,uCAAuC,EAAE;AACvE,CAAA,EAAA,wCAAwC,CAyBpD;;;;"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { __decorate } from '../external/tslib/tslib.es6.js';
|
|
2
2
|
import { ValidatorConstraint } from 'class-validator';
|
|
3
3
|
|
|
4
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
5
4
|
let HasAtLeastOnePropertyValidator = class HasAtLeastOnePropertyValidator {
|
|
6
5
|
defaultMessage() {
|
|
7
6
|
return "at least one property must be provided";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"has-at-least-one-property.validator.js","sources":["../../../../src/validator/has-at-least-one-property.validator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"has-at-least-one-property.validator.js","sources":["../../../../src/validator/has-at-least-one-property.validator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAKa,IAAA,8BAA8B,GAApC,MAAM,8BAA8B,CAAA;IAC1C,cAAc,GAAA;AACb,QAAA,OAAO,wCAAwC;;IAGhD,QAAQ,CAAC,MAAe,EAAE,UAA+B,EAAA;AACxD,QAAA,OAAO,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,MAAM,GAAG,CAAC;;;AANrC,8BAA8B,GAAA,UAAA,CAAA;IAD1C,mBAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,2BAA2B,EAAE;AAC3D,CAAA,EAAA,8BAA8B,CAQ1C;;;;"}
|
|
@@ -4,7 +4,6 @@ import { EHasPairedCustomSuffixesFieldsArgumentType } from '../enum/validator/ha
|
|
|
4
4
|
import '../enum/validator/must-match-one-of-schemas-error-type.enum.js';
|
|
5
5
|
import { ValidatorConstraint } from 'class-validator';
|
|
6
6
|
|
|
7
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
8
7
|
let HasPairedCustomSuffixesFieldsValidator = class HasPairedCustomSuffixesFieldsValidator {
|
|
9
8
|
/**
|
|
10
9
|
* Provides a custom error message describing the validation failure
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"has-paired-custom-suffixes-fields.validator.js","sources":["../../../../src/validator/has-paired-custom-suffixes-fields.validator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"has-paired-custom-suffixes-fields.validator.js","sources":["../../../../src/validator/has-paired-custom-suffixes-f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AAK,0CAA0C,CAAC,MAAM,IAAI,OAAO;AAAE,oBAAA,OAAO,KAAK;gBAE9G,IAAI,OAAO,EAAE;AACZ,oBAAA,IAAI,cAAc,CAAC,WAAW,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,KAAK,cAAc,CAAC,WAAW;AAAE,wBAAA,OAAO,KAAK;AAEzG,oBAAA,IAAI,cAAc,CAAC,SAAS,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,GAAG,cAAc,CAAC,SAAS;AAAE,wBAAA,OAAO,KAAK;AAEnG,oBAAA,IAAI,cAAc,CAAC,SAAS,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,GAAG,cAAc,CAAC,SAAS;AAAE,wBAAA,OAAO,KAAK;;;;AAKtG,QAAA,OAAO,IAAI;;;AArKA,sCAAsC,GAAA,UAAA,CAAA;IADlD,mBAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,mCAAmC,EAAE;AACnE,CAAA,EAAA,sCAAsC,CAuKlD;;;;"}
|
|
@@ -3,7 +3,6 @@ import '../enum/validator/has-paired-custom-suffixes-fields-argument-type.enum.j
|
|
|
3
3
|
import { EMastMatchOneOfSchemasValidationErrorType } from '../enum/validator/must-match-one-of-schemas-error-type.enum.js';
|
|
4
4
|
import { ValidatorConstraint, registerDecorator } from 'class-validator';
|
|
5
5
|
|
|
6
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
7
6
|
let MustMatchOneOfSchemasConstraint = class MustMatchOneOfSchemasConstraint {
|
|
8
7
|
allowedValues = [];
|
|
9
8
|
discriminatorField = null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"must-match-one-of-schemas.validator.js","sources":["../../../../src/validator/must-match-one-of-schemas.validator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"must-match-one-of-schemas.validator.js","sources":["../../../../src/validator/must-match-one-of-schemas.validator.ts"],"sourcesContent":[null],"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AACF;;;;"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { __decorate } from '../external/tslib/tslib.es6.js';
|
|
2
2
|
import { ValidatorConstraint } from 'class-validator';
|
|
3
3
|
|
|
4
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
5
4
|
let OnlyOneOfListedPropertiesValidator = class OnlyOneOfListedPropertiesValidator {
|
|
6
5
|
defaultMessage(properties) {
|
|
7
6
|
return `only one of the following properties must be provided: ${properties.constraints.join(", ")}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"only-one-of-listed-properties.validator.js","sources":["../../../../src/validator/only-one-of-listed-properties.validator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"only-one-of-listed-properties.validator.js","sources":["../../../../src/validator/only-one-of-listed-properties.validator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAKa,IAAA,kCAAkC,GAAxC,MAAM,kCAAkC,CAAA;AAC9C,IAAA,cAAc,CAAC,UAA+B,EAAA;QAC7C,OAAO,CAAA,uDAAA,EAA0D,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA,CAAE;;IAGrG,QAAQ,CAAC,MAAe,EAAE,UAA+B,EAAA;AACxD,QAAA,MAAM,WAAW,GAAkB,UAAU,CAAC,WAA4B;AAE1E,QAAA,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE;YAC3B,IAAI,KAAK,GAAW,CAAC;AACrB,YAAA,MAAM,eAAe,GAAwB,UAAU,CAAC,MAA6B;AAErF,YAAA,KAAK,MAAM,UAAU,IAAI,WAAW,EAAE;gBACrC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,IAAI,eAAe,CAAC,UAAU,CAAC,KAAK,SAAS,EAAE;AACnH,oBAAA,KAAK,EAAE;;;YAIT,OAAO,KAAK,KAAK,CAAC;;AAGnB,QAAA,OAAO,IAAI;;;AArBA,kCAAkC,GAAA,UAAA,CAAA;IAD9C,mBAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,+BAA+B,EAAE;AAC/D,CAAA,EAAA,kCAAkC,CAuB9C;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elsikora/nestjs-crud-automator",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0-dev.1",
|
|
4
4
|
"description": "A library for automating the creation of CRUD operations in NestJS.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NestJS",
|
|
@@ -49,45 +49,48 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
+
"@elsikora/cladi": "^2.0.2",
|
|
52
53
|
"@elsikora/pluralizer": "^2.0.0",
|
|
54
|
+
"dotenv": "^16.5.0",
|
|
53
55
|
"reflect-metadata": "^0.2.2",
|
|
54
56
|
"rxjs": "^7.8.2"
|
|
55
57
|
},
|
|
56
58
|
"devDependencies": {
|
|
57
|
-
"@commitlint/cli": "^19.8.
|
|
58
|
-
"@commitlint/config-conventional": "^19.8.
|
|
59
|
-
"@elsikora/commitizen-plugin-commitlint-ai": "^
|
|
60
|
-
"@elsikora/eslint-config": "^3.
|
|
59
|
+
"@commitlint/cli": "^19.8.1",
|
|
60
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
61
|
+
"@elsikora/commitizen-plugin-commitlint-ai": "^2.0.1",
|
|
62
|
+
"@elsikora/eslint-config": "^3.9.1",
|
|
61
63
|
"@elsikora/eslint-plugin-nestjs-typed": "^3.0.1",
|
|
64
|
+
"@rollup/plugin-alias": "^5.1.1",
|
|
62
65
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
63
|
-
"@rollup/plugin-typescript": "^12.1.
|
|
66
|
+
"@rollup/plugin-typescript": "^12.1.3",
|
|
64
67
|
"@saithodev/semantic-release-backmerge": "^4.0.1",
|
|
65
68
|
"@semantic-release/changelog": "^6.0.3",
|
|
66
69
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
67
70
|
"@semantic-release/git": "^10.0.1",
|
|
68
|
-
"@semantic-release/github": "^11.0.
|
|
71
|
+
"@semantic-release/github": "^11.0.3",
|
|
69
72
|
"@semantic-release/npm": "^12.0.1",
|
|
70
73
|
"@semantic-release/release-notes-generator": "^14.0.3",
|
|
71
|
-
"@types/lodash": "^4.17.
|
|
72
|
-
"@types/node": "^
|
|
74
|
+
"@types/lodash": "^4.17.17",
|
|
75
|
+
"@types/node": "^24.0.3",
|
|
73
76
|
"commitizen": "^4.3.1",
|
|
74
|
-
"conventional-changelog-conventionalcommits": "^
|
|
75
|
-
"eslint": "^9.
|
|
76
|
-
"eslint-plugin-n": "^17.
|
|
77
|
-
"eslint-plugin-ng-module-sort": "^1.3.
|
|
77
|
+
"conventional-changelog-conventionalcommits": "^9.0.0",
|
|
78
|
+
"eslint": "^9.29.0",
|
|
79
|
+
"eslint-plugin-n": "^17.20.0",
|
|
80
|
+
"eslint-plugin-ng-module-sort": "^1.3.2",
|
|
78
81
|
"eslint-plugin-no-secrets": "^2.2.1",
|
|
79
82
|
"eslint-plugin-typeorm-typescript": "^0.5.0",
|
|
80
83
|
"husky": "^9.1.7",
|
|
81
|
-
"lint-staged": "^
|
|
84
|
+
"lint-staged": "^16.1.2",
|
|
82
85
|
"prettier": "^3.5.3",
|
|
83
86
|
"rimraf": "^6.0.1",
|
|
84
|
-
"rollup": "^4.
|
|
87
|
+
"rollup": "^4.43.0",
|
|
85
88
|
"rollup-plugin-dts-path-alias": "^0.0.3",
|
|
86
89
|
"rollup-plugin-generate-package-json": "^3.2.0",
|
|
87
|
-
"semantic-release": "^24.2.
|
|
90
|
+
"semantic-release": "^24.2.5",
|
|
88
91
|
"tslib": "^2.8.1",
|
|
89
|
-
"typeorm": "^0.3.
|
|
90
|
-
"typescript": "^5.8.
|
|
92
|
+
"typeorm": "^0.3.24",
|
|
93
|
+
"typescript": "^5.8.3"
|
|
91
94
|
},
|
|
92
95
|
"peerDependencies": {
|
|
93
96
|
"@nestjs/common": ">=11.0.5",
|