@elsikora/nestjs-crud-automator 1.6.4-dev.1 → 1.6.5-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/README.md +381 -266
- package/dist/cjs/class/metadata-storage.class.js +2 -3
- package/dist/cjs/class/metadata-storage.class.js.map +1 -1
- package/dist/cjs/decorator/api/method.decorator.js +56 -56
- package/dist/cjs/decorator/api/method.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/date.decorator.js +2 -2
- package/dist/cjs/decorator/api/property/date.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/string.decorator.js +2 -2
- package/dist/cjs/decorator/api/property/string.decorator.js.map +1 -1
- package/dist/cjs/factory/api/controller.factory.js +3 -0
- package/dist/cjs/factory/api/controller.factory.js.map +1 -1
- package/dist/cjs/package.json +8 -0
- package/dist/cjs/utility/api/controller/get-list/transform-filter.utility.js +3 -1
- package/dist/cjs/utility/api/controller/get-list/transform-filter.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/write-dto-swagger.utility.js +1 -1
- package/dist/cjs/utility/api/controller/write-dto-swagger.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/write-method.utility.js +6 -1
- package/dist/cjs/utility/api/controller/write-method.utility.js.map +1 -1
- package/dist/cjs/utility/camel-case-string.utility.js +1 -1
- package/dist/cjs/utility/camel-case-string.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate-exception.utility.js +5 -5
- package/dist/cjs/utility/dto/generate-exception.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate-get-list-response.utility.js +5 -0
- package/dist/cjs/utility/dto/generate-get-list-response.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate-relation-response.utility.js +1 -0
- package/dist/cjs/utility/dto/generate-relation-response.utility.js.map +1 -1
- package/dist/cjs/utility/dto/get-get-list-query-base-class.utility.js +4 -0
- package/dist/cjs/utility/dto/get-get-list-query-base-class.utility.js.map +1 -1
- package/dist/cjs/validator/has-paired-custom-suffixes-fields.validator.js.map +1 -1
- package/dist/esm/class/api/index.d.ts +1 -0
- package/dist/esm/class/api/service-base.class.d.ts +11 -0
- package/dist/esm/class/index.d.ts +3 -0
- package/dist/esm/class/metadata-storage.class.d.ts +12 -0
- package/dist/esm/class/utility/dto/index.d.ts +2 -0
- package/dist/esm/class/utility/dto/property/factory/boolean.class.d.ts +6 -0
- package/dist/esm/class/utility/dto/property/factory/date.class.d.ts +6 -0
- package/dist/esm/class/utility/dto/property/factory/enum.class.d.ts +6 -0
- package/dist/esm/class/utility/dto/property/factory/index.d.ts +6 -0
- package/dist/esm/class/utility/dto/property/factory/number.class.d.ts +7 -0
- package/dist/esm/class/utility/dto/property/factory/object.class.d.ts +6 -0
- package/dist/esm/class/utility/dto/property/factory/relation.class.d.ts +7 -0
- package/dist/esm/class/utility/dto/property/factory/string.class.d.ts +6 -0
- package/dist/esm/class/utility/dto/property/factory/uuid.class.d.ts +6 -0
- package/dist/esm/class/utility/dto/property/index.d.ts +1 -0
- package/dist/esm/class/utility/dto/strategy/body.class.d.ts +6 -0
- package/dist/esm/class/utility/dto/strategy/index.d.ts +4 -0
- package/dist/esm/class/utility/dto/strategy/query.class.d.ts +6 -0
- package/dist/esm/class/utility/dto/strategy/request.class.d.ts +6 -0
- package/dist/esm/class/utility/dto/strategy/response.class.d.ts +6 -0
- package/dist/esm/class/utility/index.d.ts +1 -0
- package/dist/esm/constant/date.constant.d.ts +4 -0
- package/dist/esm/constant/decorator/api/controller.constant.d.ts +3 -0
- package/dist/esm/constant/decorator/api/function.constant.d.ts +4 -0
- package/dist/esm/constant/decorator/api/index.d.ts +3 -0
- package/dist/esm/constant/decorator/api/property-describe.constant.d.ts +3 -0
- package/dist/esm/constant/decorator/index.d.ts +1 -0
- package/dist/esm/constant/dto/exception.constant.d.ts +6 -0
- package/dist/esm/constant/dto/index.d.ts +3 -0
- package/dist/esm/constant/dto/list.constant.d.ts +7 -0
- package/dist/esm/constant/dto/transformer-value.constant.d.ts +7 -0
- package/dist/esm/constant/factory/dto/get-list-query.constant.d.ts +6 -0
- package/dist/esm/constant/factory/dto/index.d.ts +1 -0
- package/dist/esm/constant/factory/index.d.ts +1 -0
- package/dist/esm/constant/index.d.ts +6 -0
- package/dist/esm/constant/interface/api/filter.constant.d.ts +3 -0
- package/dist/esm/constant/interface/api/index.d.ts +2 -0
- package/dist/esm/constant/interface/api/property/index.d.ts +2 -0
- package/dist/esm/constant/interface/api/property/string.constant.d.ts +6 -0
- package/dist/esm/constant/interface/api/property/wallet.constant.d.ts +5 -0
- package/dist/esm/constant/interface/index.d.ts +1 -0
- package/dist/esm/constant/number.constant.d.ts +18 -0
- package/dist/esm/constant/utility/dto/constant.d.ts +6 -0
- package/dist/esm/constant/utility/dto/generate.constant.d.ts +4 -0
- package/dist/esm/decorator/api/controller.decorator.d.ts +3 -0
- package/dist/esm/decorator/api/function/create.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/function/decorator.d.ts +3 -0
- package/dist/esm/decorator/api/function/delete.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/function/get-list.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/function/get-many.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/function/get.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/function/index.d.ts +7 -0
- package/dist/esm/decorator/api/function/update.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/index.d.ts +5 -0
- package/dist/esm/decorator/api/method.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/property/boolean.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/property/date.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/property/describe.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/property/enum.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/property/index.d.ts +7 -0
- package/dist/esm/decorator/api/property/number.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/property/object.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/property/string.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/property/uuid.decorator.d.ts +2 -0
- package/dist/esm/decorator/api/service.decorator.d.ts +3 -0
- package/dist/esm/decorator/index.d.ts +1 -0
- package/dist/esm/enum/decorator/api/action.enum.d.ts +30 -0
- package/dist/esm/enum/decorator/api/authentication-type.enum.d.ts +6 -0
- package/dist/esm/enum/decorator/api/controller/index.d.ts +2 -0
- package/dist/esm/enum/decorator/api/controller/load-relations-strategy.enum.d.ts +4 -0
- package/dist/esm/enum/decorator/api/controller/request-transformer-type.enum.d.ts +4 -0
- package/dist/esm/enum/decorator/api/dto-type.enum.d.ts +6 -0
- package/dist/esm/enum/decorator/api/function/index.d.ts +1 -0
- package/dist/esm/enum/decorator/api/function/type.enum.d.ts +8 -0
- package/dist/esm/enum/decorator/api/index.d.ts +7 -0
- package/dist/esm/enum/decorator/api/property/data-type.enum.d.ts +18 -0
- package/dist/esm/enum/decorator/api/property/date/identifier.enum.d.ts +14 -0
- package/dist/esm/enum/decorator/api/property/date/index.d.ts +2 -0
- package/dist/esm/enum/decorator/api/property/date/type.enum.d.ts +5 -0
- package/dist/esm/enum/decorator/api/property/desribe-type.enum.d.ts +10 -0
- package/dist/esm/enum/decorator/api/property/index.d.ts +5 -0
- package/dist/esm/enum/decorator/api/property/number-type.enum.d.ts +4 -0
- package/dist/esm/enum/decorator/api/property/string-type.enum.d.ts +11 -0
- package/dist/esm/enum/decorator/api/route-type.enum.d.ts +8 -0
- package/dist/esm/enum/decorator/index.d.ts +1 -0
- package/dist/esm/enum/exception.enum.d.ts +30 -0
- package/dist/esm/enum/filter-operation.enum.d.ts +110 -0
- package/dist/esm/enum/filter-order-direction.enum.d.ts +4 -0
- package/dist/esm/enum/index.d.ts +4 -0
- package/dist/esm/enum/utility/error-string-action.enum.d.ts +102 -0
- package/dist/esm/enum/utility/index.d.ts +1 -0
- package/dist/esm/external/tslib/tslib.es6.js +35 -0
- package/dist/esm/external/tslib/tslib.es6.js.map +1 -0
- package/dist/esm/factory/api/controller.factory.d.ts +18 -0
- package/dist/esm/factory/api/index.d.ts +1 -0
- package/dist/esm/factory/index.d.ts +1 -0
- package/dist/esm/index.d.ts +10 -0
- package/dist/esm/interceptor/correlation-id-response-body.interceptor.d.ts +5 -0
- package/dist/esm/interceptor/index.d.ts +1 -0
- package/dist/esm/interface/api-authentication-request.interface.d.ts +4 -0
- package/dist/esm/interface/api-base-entity.interface.d.ts +4 -0
- package/dist/esm/interface/api-dto-validator.interface.d.ts +4 -0
- package/dist/esm/interface/api-request-validator.interface.d.ts +7 -0
- package/dist/esm/interface/class/dto/index.d.ts +1 -0
- package/dist/esm/interface/class/dto/strategy.interface.d.ts +5 -0
- package/dist/esm/interface/class/index.d.ts +2 -0
- package/dist/esm/interface/class/metadata-entry.interface.d.ts +2 -0
- package/dist/esm/interface/decorator/api/controller/base.interface.d.ts +4 -0
- package/dist/esm/interface/decorator/api/controller/index.d.ts +3 -0
- package/dist/esm/interface/decorator/api/controller/properties/index.d.ts +1 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/authentication.interface.d.ts +9 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/auto-dto-config.interface.d.ts +4 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base-request.interface.d.ts +8 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base-response.interface.d.ts +7 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base.interface.d.ts +11 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/index.d.ts +7 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/with-auto-dto.interface.d.ts +7 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/with-dto.interface.d.ts +7 -0
- package/dist/esm/interface/decorator/api/controller/properties.interface.d.ts +11 -0
- package/dist/esm/interface/decorator/api/function/create-executor-properties.interface.d.ts +8 -0
- package/dist/esm/interface/decorator/api/function/delete-executor-properties.interface.d.ts +9 -0
- package/dist/esm/interface/decorator/api/function/get-executor-properties.interface.d.ts +8 -0
- package/dist/esm/interface/decorator/api/function/get-list-executor-properties.interface.d.ts +8 -0
- package/dist/esm/interface/decorator/api/function/get-many-executor-properties.interface.d.ts +8 -0
- package/dist/esm/interface/decorator/api/function/index.d.ts +7 -0
- package/dist/esm/interface/decorator/api/function/properties.interface.d.ts +4 -0
- package/dist/esm/interface/decorator/api/function/update-executor-properties.interface.d.ts +10 -0
- package/dist/esm/interface/decorator/api/get-list-response-result.interface.d.ts +7 -0
- package/dist/esm/interface/decorator/api/index.d.ts +5 -0
- package/dist/esm/interface/decorator/api/method/index.d.ts +2 -0
- package/dist/esm/interface/decorator/api/method/properties.interface.d.ts +17 -0
- package/dist/esm/interface/decorator/api/method/throttler-properties.interface.d.ts +4 -0
- package/dist/esm/interface/decorator/api/response-type.interface.d.ts +9 -0
- package/dist/esm/interface/decorator/index.d.ts +1 -0
- package/dist/esm/interface/dto-generate-factory.interface.d.ts +6 -0
- package/dist/esm/interface/entity/column.interface.d.ts +7 -0
- package/dist/esm/interface/entity/index.d.ts +2 -0
- package/dist/esm/interface/entity/interface.d.ts +7 -0
- package/dist/esm/interface/index.d.ts +8 -0
- package/dist/esm/interface/utility/api/controller/index.d.ts +1 -0
- package/dist/esm/interface/utility/api/controller/primary-column.interface.d.ts +4 -0
- package/dist/esm/interface/utility/api/index.d.ts +1 -0
- package/dist/esm/interface/utility/error-string-properties.interface.d.ts +5 -0
- package/dist/esm/interface/utility/get-entity-columns-properties.interface.d.ts +6 -0
- package/dist/esm/interface/utility/index.d.ts +2 -0
- package/dist/esm/package.json +8 -0
- package/dist/esm/src/class/api/service-base.class.js +23 -0
- package/dist/esm/src/class/api/service-base.class.js.map +1 -0
- package/dist/esm/src/class/metadata-storage.class.js +47 -0
- package/dist/esm/src/class/metadata-storage.class.js.map +1 -0
- package/dist/esm/src/class/utility/dto/property/factory/boolean.class.js +15 -0
- package/dist/esm/src/class/utility/dto/property/factory/boolean.class.js.map +1 -0
- package/dist/esm/src/class/utility/dto/property/factory/date.class.js +15 -0
- package/dist/esm/src/class/utility/dto/property/factory/date.class.js.map +1 -0
- package/dist/esm/src/class/utility/dto/property/factory/enum.class.js +15 -0
- package/dist/esm/src/class/utility/dto/property/factory/enum.class.js.map +1 -0
- package/dist/esm/src/class/utility/dto/property/factory/number.class.js +32 -0
- package/dist/esm/src/class/utility/dto/property/factory/number.class.js.map +1 -0
- package/dist/esm/src/class/utility/dto/property/factory/object.class.js +16 -0
- package/dist/esm/src/class/utility/dto/property/factory/object.class.js.map +1 -0
- package/dist/esm/src/class/utility/dto/property/factory/relation.class.js +29 -0
- package/dist/esm/src/class/utility/dto/property/factory/relation.class.js.map +1 -0
- package/dist/esm/src/class/utility/dto/property/factory/string.class.js +15 -0
- package/dist/esm/src/class/utility/dto/property/factory/string.class.js.map +1 -0
- package/dist/esm/src/class/utility/dto/property/factory/uuid.class.js +11 -0
- package/dist/esm/src/class/utility/dto/property/factory/uuid.class.js.map +1 -0
- package/dist/esm/src/class/utility/dto/strategy/body.class.js +47 -0
- package/dist/esm/src/class/utility/dto/strategy/body.class.js.map +1 -0
- package/dist/esm/src/class/utility/dto/strategy/query.class.js +44 -0
- package/dist/esm/src/class/utility/dto/strategy/query.class.js.map +1 -0
- package/dist/esm/src/class/utility/dto/strategy/request.class.js +47 -0
- package/dist/esm/src/class/utility/dto/strategy/request.class.js.map +1 -0
- package/dist/esm/src/class/utility/dto/strategy/response.class.js +47 -0
- package/dist/esm/src/class/utility/dto/strategy/response.class.js.map +1 -0
- package/dist/esm/src/constant/date.constant.js +9 -0
- package/dist/esm/src/constant/date.constant.js.map +1 -0
- package/dist/esm/src/constant/decorator/api/controller.constant.js +7 -0
- package/dist/esm/src/constant/decorator/api/controller.constant.js.map +1 -0
- package/dist/esm/src/constant/decorator/api/function.constant.js +24 -0
- package/dist/esm/src/constant/decorator/api/function.constant.js.map +1 -0
- package/dist/esm/src/constant/decorator/api/property-describe.constant.js +7 -0
- package/dist/esm/src/constant/decorator/api/property-describe.constant.js.map +1 -0
- package/dist/esm/src/constant/dto/exception.constant.js +13 -0
- package/dist/esm/src/constant/dto/exception.constant.js.map +1 -0
- package/dist/esm/src/constant/dto/list.constant.js +13 -0
- package/dist/esm/src/constant/dto/list.constant.js.map +1 -0
- package/dist/esm/src/constant/dto/transformer-value.constant.js +15 -0
- package/dist/esm/src/constant/dto/transformer-value.constant.js.map +1 -0
- package/dist/esm/src/constant/factory/dto/get-list-query.constant.js +13 -0
- package/dist/esm/src/constant/factory/dto/get-list-query.constant.js.map +1 -0
- package/dist/esm/src/constant/interface/api/filter.constant.js +7 -0
- package/dist/esm/src/constant/interface/api/filter.constant.js.map +1 -0
- package/dist/esm/src/constant/interface/api/property/string.constant.js +11 -0
- package/dist/esm/src/constant/interface/api/property/string.constant.js.map +1 -0
- package/dist/esm/src/constant/interface/api/property/wallet.constant.js +11 -0
- package/dist/esm/src/constant/interface/api/property/wallet.constant.js.map +1 -0
- package/dist/esm/src/constant/number.constant.js +37 -0
- package/dist/esm/src/constant/number.constant.js.map +1 -0
- package/dist/esm/src/constant/utility/dto/constant.js +53 -0
- package/dist/esm/src/constant/utility/dto/constant.js.map +1 -0
- package/dist/esm/src/constant/utility/dto/generate.constant.js +9 -0
- package/dist/esm/src/constant/utility/dto/generate.constant.js.map +1 -0
- package/dist/esm/src/decorator/api/controller.decorator.js +16 -0
- package/dist/esm/src/decorator/api/controller.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/function/create.decorator.js +51 -0
- package/dist/esm/src/decorator/api/function/create.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/function/decorator.js +69 -0
- package/dist/esm/src/decorator/api/function/decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/function/delete.decorator.js +69 -0
- package/dist/esm/src/decorator/api/function/delete.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/function/get-list.decorator.js +58 -0
- package/dist/esm/src/decorator/api/function/get-list.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/function/get-many.decorator.js +55 -0
- package/dist/esm/src/decorator/api/function/get-many.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/function/get.decorator.js +55 -0
- package/dist/esm/src/decorator/api/function/get.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/function/update.decorator.js +80 -0
- package/dist/esm/src/decorator/api/function/update.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/method.decorator.js +349 -0
- package/dist/esm/src/decorator/api/method.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/property/boolean.decorator.js +177 -0
- package/dist/esm/src/decorator/api/property/boolean.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/property/date.decorator.js +204 -0
- package/dist/esm/src/decorator/api/property/date.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/property/describe.decorator.js +29 -0
- package/dist/esm/src/decorator/api/property/describe.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/property/enum.decorator.js +103 -0
- package/dist/esm/src/decorator/api/property/enum.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/property/number.decorator.js +213 -0
- package/dist/esm/src/decorator/api/property/number.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/property/object.decorator.js +102 -0
- package/dist/esm/src/decorator/api/property/object.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/property/string.decorator.js +232 -0
- package/dist/esm/src/decorator/api/property/string.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/property/uuid.decorator.js +118 -0
- package/dist/esm/src/decorator/api/property/uuid.decorator.js.map +1 -0
- package/dist/esm/src/decorator/api/service.decorator.js +161 -0
- package/dist/esm/src/decorator/api/service.decorator.js.map +1 -0
- package/dist/esm/src/enum/decorator/api/action.enum.js +34 -0
- package/dist/esm/src/enum/decorator/api/action.enum.js.map +1 -0
- package/dist/esm/src/enum/decorator/api/authentication-type.enum.js +10 -0
- package/dist/esm/src/enum/decorator/api/authentication-type.enum.js.map +1 -0
- package/dist/esm/src/enum/decorator/api/controller/load-relations-strategy.enum.js +8 -0
- package/dist/esm/src/enum/decorator/api/controller/load-relations-strategy.enum.js.map +1 -0
- package/dist/esm/src/enum/decorator/api/controller/request-transformer-type.enum.js +8 -0
- package/dist/esm/src/enum/decorator/api/controller/request-transformer-type.enum.js.map +1 -0
- package/dist/esm/src/enum/decorator/api/dto-type.enum.js +10 -0
- package/dist/esm/src/enum/decorator/api/dto-type.enum.js.map +1 -0
- package/dist/esm/src/enum/decorator/api/function/type.enum.js +12 -0
- package/dist/esm/src/enum/decorator/api/function/type.enum.js.map +1 -0
- package/dist/esm/src/enum/decorator/api/property/data-type.enum.js +22 -0
- package/dist/esm/src/enum/decorator/api/property/data-type.enum.js.map +1 -0
- package/dist/esm/src/enum/decorator/api/property/date/identifier.enum.js +18 -0
- package/dist/esm/src/enum/decorator/api/property/date/identifier.enum.js.map +1 -0
- package/dist/esm/src/enum/decorator/api/property/date/type.enum.js +11 -0
- package/dist/esm/src/enum/decorator/api/property/date/type.enum.js.map +1 -0
- package/dist/esm/src/enum/decorator/api/property/desribe-type.enum.js +14 -0
- package/dist/esm/src/enum/decorator/api/property/desribe-type.enum.js.map +1 -0
- package/dist/esm/src/enum/decorator/api/property/number-type.enum.js +10 -0
- package/dist/esm/src/enum/decorator/api/property/number-type.enum.js.map +1 -0
- package/dist/esm/src/enum/decorator/api/property/string-type.enum.js +17 -0
- package/dist/esm/src/enum/decorator/api/property/string-type.enum.js.map +1 -0
- package/dist/esm/src/enum/decorator/api/route-type.enum.js +12 -0
- package/dist/esm/src/enum/decorator/api/route-type.enum.js.map +1 -0
- package/dist/esm/src/enum/exception.enum.js +34 -0
- package/dist/esm/src/enum/exception.enum.js.map +1 -0
- package/dist/esm/src/enum/filter-operation.enum.js +123 -0
- package/dist/esm/src/enum/filter-operation.enum.js.map +1 -0
- package/dist/esm/src/enum/filter-order-direction.enum.js +8 -0
- package/dist/esm/src/enum/filter-order-direction.enum.js.map +1 -0
- package/dist/esm/src/enum/utility/error-string-action.enum.js +106 -0
- package/dist/esm/src/enum/utility/error-string-action.enum.js.map +1 -0
- package/dist/esm/src/factory/api/controller.factory.js +216 -0
- package/dist/esm/src/factory/api/controller.factory.js.map +1 -0
- package/dist/esm/src/index.js +82 -0
- package/dist/esm/src/index.js.map +1 -0
- package/dist/esm/src/interceptor/correlation-id-response-body.interceptor.js +76 -0
- package/dist/esm/src/interceptor/correlation-id-response-body.interceptor.js.map +1 -0
- package/dist/esm/src/utility/api/controller/apply-decorators.utility.js +81 -0
- package/dist/esm/src/utility/api/controller/apply-decorators.utility.js.map +1 -0
- package/dist/esm/src/utility/api/controller/apply-metadata.utility.js +76 -0
- package/dist/esm/src/utility/api/controller/apply-metadata.utility.js.map +1 -0
- package/dist/esm/src/utility/api/controller/get-list/transform-filter.utility.js +48 -0
- package/dist/esm/src/utility/api/controller/get-list/transform-filter.utility.js.map +1 -0
- package/dist/esm/src/utility/api/controller/get-list/transform-operation.utility.js +80 -0
- package/dist/esm/src/utility/api/controller/get-list/transform-operation.utility.js.map +1 -0
- package/dist/esm/src/utility/api/controller/get-method-name.utility.js +9 -0
- package/dist/esm/src/utility/api/controller/get-method-name.utility.js.map +1 -0
- package/dist/esm/src/utility/api/controller/get-primary-column.utility.js +13 -0
- package/dist/esm/src/utility/api/controller/get-primary-column.utility.js.map +1 -0
- package/dist/esm/src/utility/api/controller/handle-request-relations.utility.js +70 -0
- package/dist/esm/src/utility/api/controller/handle-request-relations.utility.js.map +1 -0
- package/dist/esm/src/utility/api/controller/transform-data.utility.js +147 -0
- package/dist/esm/src/utility/api/controller/transform-data.utility.js.map +1 -0
- package/dist/esm/src/utility/api/controller/validate-request.utility.js +16 -0
- package/dist/esm/src/utility/api/controller/validate-request.utility.js.map +1 -0
- package/dist/esm/src/utility/api/controller/write-dto-swagger.utility.js +77 -0
- package/dist/esm/src/utility/api/controller/write-dto-swagger.utility.js.map +1 -0
- package/dist/esm/src/utility/api/controller/write-method.utility.js +18 -0
- package/dist/esm/src/utility/api/controller/write-method.utility.js.map +1 -0
- package/dist/esm/src/utility/api/filter-order-by-from-entity.utility.js +46 -0
- package/dist/esm/src/utility/api/filter-order-by-from-entity.utility.js.map +1 -0
- package/dist/esm/src/utility/camel-case-string.utility.js +29 -0
- package/dist/esm/src/utility/camel-case-string.utility.js.map +1 -0
- package/dist/esm/src/utility/capitalize-string.utility.js +6 -0
- package/dist/esm/src/utility/capitalize-string.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/analize.utility.js +25 -0
- package/dist/esm/src/utility/dto/analize.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/build-decorator.utility.js +49 -0
- package/dist/esm/src/utility/dto/build-decorator.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/generate-decorator.utility.js +13 -0
- package/dist/esm/src/utility/dto/generate-decorator.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/generate-exception.utility.js +96 -0
- package/dist/esm/src/utility/dto/generate-exception.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/generate-filter-decorator.utility.js +50 -0
- package/dist/esm/src/utility/dto/generate-filter-decorator.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/generate-get-list-response.utility.js +102 -0
- package/dist/esm/src/utility/dto/generate-get-list-response.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/generate-relation-response.utility.js +19 -0
- package/dist/esm/src/utility/dto/generate-relation-response.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/generate.utility.js +131 -0
- package/dist/esm/src/utility/dto/generate.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/get-decorator-config.utility.js +18 -0
- package/dist/esm/src/utility/dto/get-decorator-config.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/get-get-list-query-base-class.utility.js +95 -0
- package/dist/esm/src/utility/dto/get-get-list-query-base-class.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/handle-date-property.utility.js +33 -0
- package/dist/esm/src/utility/dto/handle-date-property.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/is-property-exposed-for-guard.utility.js +13 -0
- package/dist/esm/src/utility/dto/is-property-exposed-for-guard.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/is-property-should-be-marked.utility.js +44 -0
- package/dist/esm/src/utility/dto/is-property-should-be-marked.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/is-should-be-generated.utility.js +39 -0
- package/dist/esm/src/utility/dto/is-should-be-generated.utility.js.map +1 -0
- package/dist/esm/src/utility/dto/validate-property-config.utility.js +4 -0
- package/dist/esm/src/utility/dto/validate-property-config.utility.js.map +1 -0
- package/dist/esm/src/utility/error-exception.utility.js +6 -0
- package/dist/esm/src/utility/error-exception.utility.js.map +1 -0
- package/dist/esm/src/utility/error-string.utility.js +6 -0
- package/dist/esm/src/utility/error-string.utility.js.map +1 -0
- package/dist/esm/src/utility/generate-entity-information.utility.js +76 -0
- package/dist/esm/src/utility/generate-entity-information.utility.js.map +1 -0
- package/dist/esm/src/utility/get-entity-columns.utility.js +20 -0
- package/dist/esm/src/utility/get-entity-columns.utility.js.map +1 -0
- package/dist/esm/src/utility/is-error-of-type.utility.js +66 -0
- package/dist/esm/src/utility/is-error-of-type.utility.js.map +1 -0
- package/dist/esm/src/validator/all-or-none-of-listed-properties.validator.js +23 -0
- package/dist/esm/src/validator/all-or-none-of-listed-properties.validator.js.map +1 -0
- package/dist/esm/src/validator/has-at-least-one-and-only-one-of-listed-properties.validator.js +33 -0
- package/dist/esm/src/validator/has-at-least-one-and-only-one-of-listed-properties.validator.js.map +1 -0
- package/dist/esm/src/validator/has-at-least-one-of-listed-properties.validator.js +29 -0
- package/dist/esm/src/validator/has-at-least-one-of-listed-properties.validator.js.map +1 -0
- package/dist/esm/src/validator/has-at-least-one-property.validator.js +17 -0
- package/dist/esm/src/validator/has-at-least-one-property.validator.js.map +1 -0
- package/dist/esm/src/validator/has-paired-custom-suffixes-fields.validator.js +214 -0
- package/dist/esm/src/validator/has-paired-custom-suffixes-fields.validator.js.map +1 -0
- package/dist/esm/src/validator/is-regular-expression.validator.js +25 -0
- package/dist/esm/src/validator/is-regular-expression.validator.js.map +1 -0
- package/dist/esm/src/validator/only-one-of-listed-properties.validator.js +28 -0
- package/dist/esm/src/validator/only-one-of-listed-properties.validator.js.map +1 -0
- package/dist/esm/type/api-request-transformer.type.d.ts +15 -0
- package/dist/esm/type/class/api-exception.type.d.ts +2 -0
- package/dist/esm/type/class/controller/index.d.ts +1 -0
- package/dist/esm/type/class/controller/method.type.d.ts +5 -0
- package/dist/esm/type/class/index.d.ts +3 -0
- package/dist/esm/type/class/metadata.type.d.ts +2 -0
- package/dist/esm/type/decorator/api/controller/constructor.type.d.ts +4 -0
- package/dist/esm/type/decorator/api/controller/get-list-query.type.d.ts +8 -0
- package/dist/esm/type/decorator/api/controller/index.d.ts +5 -0
- package/dist/esm/type/decorator/api/controller/properties/index.d.ts +1 -0
- package/dist/esm/type/decorator/api/controller/properties/route/base-request-relations.type.d.ts +18 -0
- package/dist/esm/type/decorator/api/controller/properties/route/base-request-transformers.type.d.ts +10 -0
- package/dist/esm/type/decorator/api/controller/properties/route/base-response-transformers.type.d.ts +10 -0
- package/dist/esm/type/decorator/api/controller/properties/route/index.d.ts +3 -0
- package/dist/esm/type/decorator/api/controller/properties-route.type.d.ts +3 -0
- package/dist/esm/type/decorator/api/controller/transformer-config.type.d.ts +8 -0
- package/dist/esm/type/decorator/api/filter/allowed-types.type.d.ts +1 -0
- package/dist/esm/type/decorator/api/filter/extracted-allowed-types.type.d.ts +2 -0
- package/dist/esm/type/decorator/api/filter/field-selector.type.d.ts +3 -0
- package/dist/esm/type/decorator/api/filter/index.d.ts +4 -0
- package/dist/esm/type/decorator/api/filter/order-by.type.d.ts +4 -0
- package/dist/esm/type/decorator/api/function/create-properties.type.d.ts +2 -0
- package/dist/esm/type/decorator/api/function/delete-criteria.type.d.ts +2 -0
- package/dist/esm/type/decorator/api/function/get-list-properties-where.type.d.ts +7 -0
- package/dist/esm/type/decorator/api/function/get-list-properties.type.d.ts +2 -0
- package/dist/esm/type/decorator/api/function/get-many.properties.d.ts +2 -0
- package/dist/esm/type/decorator/api/function/get-properties.type.d.ts +2 -0
- package/dist/esm/type/decorator/api/function/index.d.ts +9 -0
- package/dist/esm/type/decorator/api/function/properties.type.d.ts +7 -0
- package/dist/esm/type/decorator/api/function/update-criteria.type.d.ts +2 -0
- package/dist/esm/type/decorator/api/function/update-properties.type.d.ts +2 -0
- package/dist/esm/type/decorator/api/index.d.ts +5 -0
- package/dist/esm/type/decorator/api/property/base/array/index.d.ts +2 -0
- package/dist/esm/type/decorator/api/property/base/array/optional-properties.type.d.ts +3 -0
- package/dist/esm/type/decorator/api/property/base/array/required-properties.type.d.ts +6 -0
- package/dist/esm/type/decorator/api/property/base/index.d.ts +4 -0
- package/dist/esm/type/decorator/api/property/base/properties.type.d.ts +9 -0
- package/dist/esm/type/decorator/api/property/base/request-properties.type.d.ts +4 -0
- package/dist/esm/type/decorator/api/property/base/response-properties.type.d.ts +4 -0
- package/dist/esm/type/decorator/api/property/date-properties.type.d.ts +6 -0
- package/dist/esm/type/decorator/api/property/describe/array/index.d.ts +2 -0
- package/dist/esm/type/decorator/api/property/describe/array/optional-properties.type.d.ts +3 -0
- package/dist/esm/type/decorator/api/property/describe/array/required-properties.type.d.ts +6 -0
- package/dist/esm/type/decorator/api/property/describe/base-properties.type.d.ts +5 -0
- package/dist/esm/type/decorator/api/property/describe/boolean-properties.type.d.ts +7 -0
- package/dist/esm/type/decorator/api/property/describe/date-properties.type.d.ts +8 -0
- package/dist/esm/type/decorator/api/property/describe/dto/body-properties.type.d.ts +5 -0
- package/dist/esm/type/decorator/api/property/describe/dto/guard-properties.type.d.ts +6 -0
- package/dist/esm/type/decorator/api/property/describe/dto/index.d.ts +5 -0
- package/dist/esm/type/decorator/api/property/describe/dto/properties.type.d.ts +11 -0
- package/dist/esm/type/decorator/api/property/describe/dto/query/get-list-properties.type.d.ts +3 -0
- package/dist/esm/type/decorator/api/property/describe/dto/query/index.d.ts +2 -0
- package/dist/esm/type/decorator/api/property/describe/dto/query/properties.type.d.ts +6 -0
- package/dist/esm/type/decorator/api/property/describe/dto/request-properties.type.d.ts +5 -0
- package/dist/esm/type/decorator/api/property/describe/dto/response-properties.type.d.ts +5 -0
- package/dist/esm/type/decorator/api/property/describe/enum-properties.type.d.ts +9 -0
- package/dist/esm/type/decorator/api/property/describe/example-properties.type.d.ts +7 -0
- package/dist/esm/type/decorator/api/property/describe/index.d.ts +13 -0
- package/dist/esm/type/decorator/api/property/describe/number-properties.type.d.ts +12 -0
- package/dist/esm/type/decorator/api/property/describe/object-properties.type.d.ts +12 -0
- package/dist/esm/type/decorator/api/property/describe/properties/base-dto-properties.type.d.ts +2 -0
- package/dist/esm/type/decorator/api/property/describe/properties/base-properties.type.d.ts +10 -0
- package/dist/esm/type/decorator/api/property/describe/properties/index.d.ts +2 -0
- package/dist/esm/type/decorator/api/property/describe/properties.type.d.ts +9 -0
- package/dist/esm/type/decorator/api/property/describe/relation-properties.type.d.ts +6 -0
- package/dist/esm/type/decorator/api/property/describe/string-properties.type.d.ts +12 -0
- package/dist/esm/type/decorator/api/property/describe/uuid-properties.type.d.ts +7 -0
- package/dist/esm/type/decorator/api/property/enum-properties.type.d.ts +6 -0
- package/dist/esm/type/decorator/api/property/index.d.ts +6 -0
- package/dist/esm/type/decorator/api/property/number-properties.type.d.ts +9 -0
- package/dist/esm/type/decorator/api/property/object-properties.type.d.ts +8 -0
- package/dist/esm/type/decorator/api/property/string-properties.type.d.ts +9 -0
- package/dist/esm/type/decorator/api/property/uuid-properties.type.d.ts +2 -0
- package/dist/esm/type/decorator/api/service/index.d.ts +2 -0
- package/dist/esm/type/decorator/api/service/keys.type.d.ts +4 -0
- package/dist/esm/type/decorator/api/service/properties.type.d.ts +3 -0
- package/dist/esm/type/decorator/index.d.ts +1 -0
- package/dist/esm/type/factory/api/controller/index.d.ts +4 -0
- package/dist/esm/type/factory/api/controller/method-map.type.d.ts +12 -0
- package/dist/esm/type/factory/api/controller/method-name-map.type.d.ts +5 -0
- package/dist/esm/type/factory/api/controller/method-name.type.d.ts +4 -0
- package/dist/esm/type/factory/api/controller/target-methods.type.d.ts +9 -0
- package/dist/esm/type/factory/api/index.d.ts +1 -0
- package/dist/esm/type/factory/index.d.ts +1 -0
- package/dist/esm/type/index.d.ts +5 -0
- package/dist/esm/type/utility/api/controller/index.d.ts +1 -0
- package/dist/esm/type/utility/api/controller/transform-data/data.type.d.ts +6 -0
- package/dist/esm/type/utility/api/controller/transform-data/index.d.ts +3 -0
- package/dist/esm/type/utility/api/controller/transform-data/is-validation-properties.type.d.ts +3 -0
- package/dist/esm/type/utility/api/controller/transform-data/object-to-transform.type.d.ts +9 -0
- package/dist/esm/type/utility/api/index.d.ts +1 -0
- package/dist/esm/type/utility/capitalize-string.type.d.ts +1 -0
- package/dist/esm/type/utility/date-keys.type.d.ts +2 -0
- package/dist/esm/type/utility/date-range-keys.type.d.ts +4 -0
- package/dist/esm/type/utility/dto/generate-allowed-combination.type.d.ts +9 -0
- package/dist/esm/type/utility/dto/generate-is-allowed-combination.type.d.ts +3 -0
- package/dist/esm/type/utility/dto/index.d.ts +2 -0
- package/dist/esm/type/utility/filter-keys.type.d.ts +7 -0
- package/dist/esm/type/utility/index.d.ts +7 -0
- package/dist/esm/type/utility/non-date-keys.type.d.ts +2 -0
- package/dist/esm/utility/api/controller/apply-decorators.utility.d.ts +4 -0
- package/dist/esm/utility/api/controller/apply-metadata.utility.d.ts +4 -0
- package/dist/esm/utility/api/controller/get-list/index.d.ts +2 -0
- package/dist/esm/utility/api/controller/get-list/transform-filter.utility.d.ts +3 -0
- package/dist/esm/utility/api/controller/get-list/transform-operation.utility.d.ts +3 -0
- package/dist/esm/utility/api/controller/get-method-name.utility.d.ts +2 -0
- package/dist/esm/utility/api/controller/get-primary-column.utility.d.ts +3 -0
- package/dist/esm/utility/api/controller/handle-request-relations.utility.d.ts +4 -0
- package/dist/esm/utility/api/controller/index.d.ts +9 -0
- package/dist/esm/utility/api/controller/transform-data.utility.d.ts +4 -0
- package/dist/esm/utility/api/controller/validate-request.utility.d.ts +3 -0
- package/dist/esm/utility/api/controller/write-dto-swagger.utility.d.ts +4 -0
- package/dist/esm/utility/api/controller/write-method.utility.d.ts +3 -0
- package/dist/esm/utility/api/filter-order-by-from-entity.utility.d.ts +6 -0
- package/dist/esm/utility/api/index.d.ts +2 -0
- package/dist/esm/utility/camel-case-string.utility.d.ts +1 -0
- package/dist/esm/utility/capitalize-string.utility.d.ts +1 -0
- package/dist/esm/utility/dto/analize.utility.d.ts +2 -0
- package/dist/esm/utility/dto/build-decorator.utility.d.ts +6 -0
- package/dist/esm/utility/dto/generate-decorator.utility.d.ts +4 -0
- package/dist/esm/utility/dto/generate-exception.utility.d.ts +2 -0
- package/dist/esm/utility/dto/generate-filter-decorator.utility.d.ts +3 -0
- package/dist/esm/utility/dto/generate-get-list-response.utility.d.ts +4 -0
- package/dist/esm/utility/dto/generate-relation-response.utility.d.ts +4 -0
- package/dist/esm/utility/dto/generate.utility.d.ts +6 -0
- package/dist/esm/utility/dto/get-decorator-config.utility.d.ts +3 -0
- package/dist/esm/utility/dto/get-get-list-query-base-class.utility.d.ts +5 -0
- package/dist/esm/utility/dto/handle-date-property.utility.d.ts +5 -0
- package/dist/esm/utility/dto/index.d.ts +12 -0
- package/dist/esm/utility/dto/is-property-exposed-for-guard.utility.d.ts +5 -0
- package/dist/esm/utility/dto/is-property-should-be-marked.utility.d.ts +5 -0
- package/dist/esm/utility/dto/is-should-be-generated.utility.d.ts +2 -0
- package/dist/esm/utility/dto/validate-property-config.utility.d.ts +2 -0
- package/dist/esm/utility/error-exception.utility.d.ts +1 -0
- package/dist/esm/utility/error-string.utility.d.ts +2 -0
- package/dist/esm/utility/generate-entity-information.utility.d.ts +2 -0
- package/dist/esm/utility/get-entity-columns.utility.d.ts +2 -0
- package/dist/esm/utility/index.d.ts +9 -0
- package/dist/esm/utility/is-error-of-type.utility.d.ts +2 -0
- package/dist/esm/validator/all-or-none-of-listed-properties.validator.d.ts +5 -0
- package/dist/esm/validator/has-at-least-one-and-only-one-of-listed-properties.validator.d.ts +5 -0
- package/dist/esm/validator/has-at-least-one-of-listed-properties.validator.d.ts +5 -0
- package/dist/esm/validator/has-at-least-one-property.validator.d.ts +5 -0
- package/dist/esm/validator/has-paired-custom-suffixes-fields.validator.d.ts +7 -0
- package/dist/esm/validator/index.d.ts +6 -0
- package/dist/esm/validator/is-regular-expression.validator.d.ts +4 -0
- package/dist/esm/validator/only-one-of-listed-properties.validator.d.ts +5 -0
- package/package.json +22 -14
- package/dist/package.json +0 -97
|
@@ -4,9 +4,8 @@ require('../constant/decorator/api/function.constant.js');
|
|
|
4
4
|
var propertyDescribe_constant = require('../constant/decorator/api/property-describe.constant.js');
|
|
5
5
|
|
|
6
6
|
class MetadataStorage {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
7
|
+
static instance;
|
|
8
|
+
STORAGE = new Map();
|
|
10
9
|
static getInstance() {
|
|
11
10
|
if (!MetadataStorage.instance) {
|
|
12
11
|
MetadataStorage.instance = new MetadataStorage();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata-storage.class.js","sources":["../../../../src/class/metadata-storage.class.ts"],"sourcesContent":[null],"names":["PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT"],"mappings":";;;;;MAMa,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"metadata-storage.class.js","sources":["../../../../src/class/metadata-storage.class.ts"],"sourcesContent":[null],"names":["PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT"],"mappings":";;;;;MAMa,eAAe,CAAA;IACnB,OAAO,QAAQ;AAEN,IAAA,OAAO,GAA6C,IAAI,GAAG,EAAuC;AAE5G,IAAA,OAAO,WAAW,GAAA;AACxB,QAAA,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE;AAC9B,YAAA,eAAe,CAAC,QAAQ,GAAG,IAAI,eAAe,EAAE;;QAGjD,OAAO,eAAe,CAAC,QAAQ;;IAGzB,sBAAsB,GAAA;QAC5B,MAAM,MAAM,GAA8B,EAAE;AAE5C,QAAA,KAAK,M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,QAAA,gBAAgB,CAAC,GAAG,CAAC,GAAG,KAAK;;AAE9B;;;;"}
|
|
@@ -27,115 +27,115 @@ function ApiMethod(options) {
|
|
|
27
27
|
if (options.action) {
|
|
28
28
|
switch (options.action) {
|
|
29
29
|
case action_enum.EApiAction.ARCHIVE: {
|
|
30
|
-
summary = `Archiving \`${pluralizer.
|
|
30
|
+
summary = `Archiving \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
31
31
|
break;
|
|
32
32
|
}
|
|
33
33
|
case action_enum.EApiAction.AUTHENTICATION: {
|
|
34
|
-
summary = `Authentication of \`${pluralizer.
|
|
34
|
+
summary = `Authentication of \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
35
35
|
break;
|
|
36
36
|
}
|
|
37
37
|
case action_enum.EApiAction.BULK_CREATE: {
|
|
38
|
-
summary = `Bulk creating \`${String(options.entity.name)}
|
|
38
|
+
summary = `Bulk creating \`${pluralizer.pluralizer.toPlural(String(options.entity.name))}\``;
|
|
39
39
|
break;
|
|
40
40
|
}
|
|
41
41
|
case action_enum.EApiAction.BULK_DELETE: {
|
|
42
|
-
summary = `Bulk deleting \`${String(options.entity.name)}
|
|
42
|
+
summary = `Bulk deleting \`${pluralizer.pluralizer.toPlural(String(options.entity.name))}\``;
|
|
43
43
|
break;
|
|
44
44
|
}
|
|
45
45
|
case action_enum.EApiAction.BULK_UPDATE: {
|
|
46
|
-
summary = `Bulk updating \`${String(options.entity.name)}
|
|
46
|
+
summary = `Bulk updating \`${pluralizer.pluralizer.toPlural(String(options.entity.name))}\``;
|
|
47
47
|
break;
|
|
48
48
|
}
|
|
49
49
|
case action_enum.EApiAction.CONFIRMATION: {
|
|
50
|
-
summary = `Confirmation of \`${pluralizer.
|
|
50
|
+
summary = `Confirmation of \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
51
51
|
break;
|
|
52
52
|
}
|
|
53
53
|
case action_enum.EApiAction.CREATE: {
|
|
54
|
-
summary = `Creating \`${pluralizer.
|
|
54
|
+
summary = `Creating \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
55
55
|
break;
|
|
56
56
|
}
|
|
57
57
|
case action_enum.EApiAction.DELETE: {
|
|
58
|
-
summary = `Deleting \`${pluralizer.
|
|
58
|
+
summary = `Deleting \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
59
59
|
break;
|
|
60
60
|
}
|
|
61
61
|
case action_enum.EApiAction.DOWNLOAD: {
|
|
62
|
-
summary = `Downloading \`${pluralizer.
|
|
62
|
+
summary = `Downloading \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
63
63
|
break;
|
|
64
64
|
}
|
|
65
65
|
case action_enum.EApiAction.DUPLICATE: {
|
|
66
|
-
summary = `Duplicating \`${pluralizer.
|
|
66
|
+
summary = `Duplicating \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
67
67
|
break;
|
|
68
68
|
}
|
|
69
69
|
case action_enum.EApiAction.EXPORT: {
|
|
70
|
-
summary = `Exporting \`${pluralizer.
|
|
70
|
+
summary = `Exporting \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
71
71
|
break;
|
|
72
72
|
}
|
|
73
73
|
case action_enum.EApiAction.FETCH: {
|
|
74
|
-
summary = `Fetching \`${pluralizer.
|
|
74
|
+
summary = `Fetching \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
75
75
|
break;
|
|
76
76
|
}
|
|
77
77
|
case action_enum.EApiAction.FETCH_LIST: {
|
|
78
|
-
summary = `Fetching list of \`${String(options.entity.name)}
|
|
78
|
+
summary = `Fetching list of \`${pluralizer.pluralizer.toPlural(String(options.entity.name))}\``;
|
|
79
79
|
break;
|
|
80
80
|
}
|
|
81
81
|
case action_enum.EApiAction.FETCH_SIMPLE_LIST: {
|
|
82
|
-
summary = `Fetching simple list of \`${String(options.entity.name)}
|
|
82
|
+
summary = `Fetching simple list of \`${pluralizer.pluralizer.toPlural(String(options.entity.name))}\``;
|
|
83
83
|
break;
|
|
84
84
|
}
|
|
85
85
|
case action_enum.EApiAction.FETCH_SPECIFIED: {
|
|
86
|
-
summary = `Fetching \`${pluralizer.
|
|
86
|
+
summary = `Fetching \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\` of specified item`;
|
|
87
87
|
break;
|
|
88
88
|
}
|
|
89
89
|
case action_enum.EApiAction.IMPORT: {
|
|
90
|
-
summary = `Importing \`${pluralizer.
|
|
90
|
+
summary = `Importing \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
91
91
|
break;
|
|
92
92
|
}
|
|
93
93
|
case action_enum.EApiAction.LOGOUT: {
|
|
94
|
-
summary = `Logout of \`${pluralizer.
|
|
94
|
+
summary = `Logout of \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
95
95
|
break;
|
|
96
96
|
}
|
|
97
97
|
case action_enum.EApiAction.PARTIAL_UPDATE: {
|
|
98
|
-
summary = `Partial updating \`${pluralizer.
|
|
98
|
+
summary = `Partial updating \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
99
99
|
break;
|
|
100
100
|
}
|
|
101
101
|
case action_enum.EApiAction.REFRESH: {
|
|
102
|
-
summary = `Refresh of \`${pluralizer.
|
|
102
|
+
summary = `Refresh of \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
103
103
|
break;
|
|
104
104
|
}
|
|
105
105
|
case action_enum.EApiAction.REGISTRATION: {
|
|
106
|
-
summary = `Registration of \`${pluralizer.
|
|
106
|
+
summary = `Registration of \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
107
107
|
break;
|
|
108
108
|
}
|
|
109
109
|
case action_enum.EApiAction.RESTORE: {
|
|
110
|
-
summary = `Restoring \`${pluralizer.
|
|
110
|
+
summary = `Restoring \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
111
111
|
break;
|
|
112
112
|
}
|
|
113
113
|
case action_enum.EApiAction.SEARCH: {
|
|
114
|
-
summary = `Searching for \`${pluralizer.
|
|
114
|
+
summary = `Searching for \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
115
115
|
break;
|
|
116
116
|
}
|
|
117
117
|
case action_enum.EApiAction.SUBSCRIBE: {
|
|
118
|
-
summary = `Subscribing to \`${pluralizer.
|
|
118
|
+
summary = `Subscribing to \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
119
119
|
break;
|
|
120
120
|
}
|
|
121
121
|
case action_enum.EApiAction.UNSUBSCRIBE: {
|
|
122
|
-
summary = `Unsubscribing from \`${pluralizer.
|
|
122
|
+
summary = `Unsubscribing from \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
123
123
|
break;
|
|
124
124
|
}
|
|
125
125
|
case action_enum.EApiAction.UPDATE: {
|
|
126
|
-
summary = `Updating \`${pluralizer.
|
|
126
|
+
summary = `Updating \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
127
127
|
break;
|
|
128
128
|
}
|
|
129
129
|
case action_enum.EApiAction.UPLOAD: {
|
|
130
|
-
summary = `Uploading \`${pluralizer.
|
|
130
|
+
summary = `Uploading \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
131
131
|
break;
|
|
132
132
|
}
|
|
133
133
|
case action_enum.EApiAction.VALIDATE: {
|
|
134
|
-
summary = `Validating \`${pluralizer.
|
|
134
|
+
summary = `Validating \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
135
135
|
break;
|
|
136
136
|
}
|
|
137
137
|
case action_enum.EApiAction.VERIFY: {
|
|
138
|
-
summary = `Verifying \`${pluralizer.
|
|
138
|
+
summary = `Verifying \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
139
139
|
break;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
@@ -143,115 +143,115 @@ function ApiMethod(options) {
|
|
|
143
143
|
if (!options.description && options.action) {
|
|
144
144
|
switch (options.action) {
|
|
145
145
|
case action_enum.EApiAction.ARCHIVE: {
|
|
146
|
-
options.description = `This method is used for archiving \`${pluralizer.
|
|
146
|
+
options.description = `This method is used for archiving \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
147
147
|
break;
|
|
148
148
|
}
|
|
149
149
|
case action_enum.EApiAction.AUTHENTICATION: {
|
|
150
|
-
options.description = `This method is used for authentication of \`${pluralizer.
|
|
150
|
+
options.description = `This method is used for authentication of \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
151
151
|
break;
|
|
152
152
|
}
|
|
153
153
|
case action_enum.EApiAction.BULK_CREATE: {
|
|
154
|
-
options.description = `This method is used for bulk creating \`${String(options.entity.name)}
|
|
154
|
+
options.description = `This method is used for bulk creating \`${pluralizer.pluralizer.toPlural(String(options.entity.name))}\``;
|
|
155
155
|
break;
|
|
156
156
|
}
|
|
157
157
|
case action_enum.EApiAction.BULK_DELETE: {
|
|
158
|
-
options.description = `This method is used for bulk deleting \`${String(options.entity.name)}
|
|
158
|
+
options.description = `This method is used for bulk deleting \`${pluralizer.pluralizer.toPlural(String(options.entity.name))}\``;
|
|
159
159
|
break;
|
|
160
160
|
}
|
|
161
161
|
case action_enum.EApiAction.BULK_UPDATE: {
|
|
162
|
-
options.description = `This method is used for bulk updating \`${String(options.entity.name)}
|
|
162
|
+
options.description = `This method is used for bulk updating \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
163
163
|
break;
|
|
164
164
|
}
|
|
165
165
|
case action_enum.EApiAction.CONFIRMATION: {
|
|
166
|
-
options.description = `This method is used for confirmation of \`${pluralizer.
|
|
166
|
+
options.description = `This method is used for confirmation of \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
167
167
|
break;
|
|
168
168
|
}
|
|
169
169
|
case action_enum.EApiAction.CREATE: {
|
|
170
|
-
options.description = `This method is used for creating \`${pluralizer.
|
|
170
|
+
options.description = `This method is used for creating \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
171
171
|
break;
|
|
172
172
|
}
|
|
173
173
|
case action_enum.EApiAction.DELETE: {
|
|
174
|
-
options.description = `This method is used for deleting \`${pluralizer.
|
|
174
|
+
options.description = `This method is used for deleting \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
175
175
|
break;
|
|
176
176
|
}
|
|
177
177
|
case action_enum.EApiAction.DOWNLOAD: {
|
|
178
|
-
options.description = `This method is used for downloading \`${pluralizer.
|
|
178
|
+
options.description = `This method is used for downloading \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
179
179
|
break;
|
|
180
180
|
}
|
|
181
181
|
case action_enum.EApiAction.DUPLICATE: {
|
|
182
|
-
options.description = `This method is used for duplicating \`${pluralizer.
|
|
182
|
+
options.description = `This method is used for duplicating \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
183
183
|
break;
|
|
184
184
|
}
|
|
185
185
|
case action_enum.EApiAction.EXPORT: {
|
|
186
|
-
options.description = `This method is used for exporting \`${pluralizer.
|
|
186
|
+
options.description = `This method is used for exporting \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
187
187
|
break;
|
|
188
188
|
}
|
|
189
189
|
case action_enum.EApiAction.FETCH: {
|
|
190
|
-
options.description = `This method is used for fetching \`${pluralizer.
|
|
190
|
+
options.description = `This method is used for fetching \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
191
191
|
break;
|
|
192
192
|
}
|
|
193
193
|
case action_enum.EApiAction.FETCH_LIST: {
|
|
194
|
-
options.description = `This method is used for fetching list of \`${String(options.entity.name)}
|
|
194
|
+
options.description = `This method is used for fetching list of \`${pluralizer.pluralizer.toPlural(String(options.entity.name))}\``;
|
|
195
195
|
break;
|
|
196
196
|
}
|
|
197
197
|
case action_enum.EApiAction.FETCH_SIMPLE_LIST: {
|
|
198
|
-
options.description = `This method is used for fetching simple list of \`${String(options.entity.name)}
|
|
198
|
+
options.description = `This method is used for fetching simple list of \`${pluralizer.pluralizer.toPlural(String(options.entity.name))}\``;
|
|
199
199
|
break;
|
|
200
200
|
}
|
|
201
201
|
case action_enum.EApiAction.FETCH_SPECIFIED: {
|
|
202
|
-
options.description = `This method is used for fetching \`${pluralizer.
|
|
202
|
+
options.description = `This method is used for fetching \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\` of specified item`;
|
|
203
203
|
break;
|
|
204
204
|
}
|
|
205
205
|
case action_enum.EApiAction.IMPORT: {
|
|
206
|
-
options.description = `This method is used for importing \`${pluralizer.
|
|
206
|
+
options.description = `This method is used for importing \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
207
207
|
break;
|
|
208
208
|
}
|
|
209
209
|
case action_enum.EApiAction.LOGOUT: {
|
|
210
|
-
options.description = `This method is used for logout of \`${pluralizer.
|
|
210
|
+
options.description = `This method is used for logout of \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
211
211
|
break;
|
|
212
212
|
}
|
|
213
213
|
case action_enum.EApiAction.PARTIAL_UPDATE: {
|
|
214
|
-
options.description = `This method is used for partial updating \`${pluralizer.
|
|
214
|
+
options.description = `This method is used for partial updating \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
215
215
|
break;
|
|
216
216
|
}
|
|
217
217
|
case action_enum.EApiAction.REFRESH: {
|
|
218
|
-
options.description = `This method is used for refresh of \`${pluralizer.
|
|
218
|
+
options.description = `This method is used for refresh of \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
219
219
|
break;
|
|
220
220
|
}
|
|
221
221
|
case action_enum.EApiAction.REGISTRATION: {
|
|
222
|
-
options.description = `This method is used for registration of \`${pluralizer.
|
|
222
|
+
options.description = `This method is used for registration of \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
223
223
|
break;
|
|
224
224
|
}
|
|
225
225
|
case action_enum.EApiAction.RESTORE: {
|
|
226
|
-
options.description = `This method is used for restoring \`${pluralizer.
|
|
226
|
+
options.description = `This method is used for restoring \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
227
227
|
break;
|
|
228
228
|
}
|
|
229
229
|
case action_enum.EApiAction.SEARCH: {
|
|
230
|
-
options.description = `This method is used for searching \`${pluralizer.
|
|
230
|
+
options.description = `This method is used for searching \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
231
231
|
break;
|
|
232
232
|
}
|
|
233
233
|
case action_enum.EApiAction.SUBSCRIBE: {
|
|
234
|
-
options.description = `This method is used for subscribing to \`${pluralizer.
|
|
234
|
+
options.description = `This method is used for subscribing to \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
235
235
|
break;
|
|
236
236
|
}
|
|
237
237
|
case action_enum.EApiAction.UNSUBSCRIBE: {
|
|
238
|
-
options.description = `This method is used for unsubscribing from \`${pluralizer.
|
|
238
|
+
options.description = `This method is used for unsubscribing from \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
239
239
|
break;
|
|
240
240
|
}
|
|
241
241
|
case action_enum.EApiAction.UPDATE: {
|
|
242
|
-
options.description = `This method is used for updating \`${pluralizer.
|
|
242
|
+
options.description = `This method is used for updating \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
243
243
|
break;
|
|
244
244
|
}
|
|
245
245
|
case action_enum.EApiAction.UPLOAD: {
|
|
246
|
-
options.description = `This method is used for uploading \`${pluralizer.
|
|
246
|
+
options.description = `This method is used for uploading \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
247
247
|
break;
|
|
248
248
|
}
|
|
249
249
|
case action_enum.EApiAction.VALIDATE: {
|
|
250
|
-
options.description = `This method is used for validating \`${pluralizer.
|
|
250
|
+
options.description = `This method is used for validating \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
251
251
|
break;
|
|
252
252
|
}
|
|
253
253
|
case action_enum.EApiAction.VERIFY: {
|
|
254
|
-
options.description = `This method is used for verifying \`${pluralizer.
|
|
254
|
+
options.description = `This method is used for verifying \`${pluralizer.pluralizer.toSingular(String(options.entity.name))}\``;
|
|
255
255
|
break;
|
|
256
256
|
}
|
|
257
257
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method.decorator.js","sources":["../../../../../src/decorator/api/method.decorator.ts"],"sourcesContent":[null],"names":["EApiAction","ApiOperation","ApiResponse","HttpCode","Throttle","ApiUnauthorizedResponse","DtoGenerateException","HttpStatus","ApiForbiddenResponse","ApiInternalServerErrorResponse","ApiNotFoundResponse","ApiBadRequestResponse","ApiTooManyRequestsResponse","RequestMethod","Delete","Get","Patch","Post","Put","ApiBearerAuth","ApiSecurity","UseGuards","applyDecorators"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAWM,SAAU,SAAS,CAA2B,OAAgC,EAAA;IACnF,IAAI,OAAO,GAAW,EAAE;AAExB,IAAA,IAAI,OAAO,CAAC,MAAM,EAAE;AACnB,QAAA,QAAQ,OAAO,CAAC,MAAM;AACrB,YAAA,KAAKA,sBAAU,CAAC,OAAO,EAAE;AACxB,gBAAA,OAAO,GAAG,CAAe,YAAA,EAAA,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI;gBAE7E;;AAGD,YAAA,KAAKA,sBAAU,CAAC,cAAc,EAAE;AAC/B,gBAAA,OAAO,GAAG,CAAuB,oBAAA,EAAA,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI;gBAErF;;AAGD,YAAA,KAAKA,sBAAU,CAAC,WAAW,EAAE;gBAC5B,OAAO,GAAG,CAAmB,gBAAA,EAAA,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA,GAAA,CAAK;gBAE7D;;AAGD,YAAA,KAAKA,sBAAU,CAAC,WAAW,E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OAAO,CAAC,MAAM,CAAC,CAAmB,iBAAA,CAAA,CAAC;;;AAIvF,IAAA,IAAI,OAAO,CAAC,cAAc,EAAE;QAC3B,IAAI,OAAO,CAAC,cAAc,EAAE,gBAAgB,EAAE,MAAM,EAAE;YACrD,KAAK,MAAM,QAAQ,IAAI,OAAO,CAAC,cAAc,EAAE,gBAAgB,IAAI,EAAE,EAAE;gBACtE,UAAU,CAAC,IAAI,CAACC,qBAAa,CAAC,QAAQ,CAAC,CAAC;;;QAI1C,IAAI,OAAO,CAAC,cAAc,EAAE,kBAAkB,EAAE,MAAM,EAAE;YACvD,KAAK,MAAM,QAAQ,IAAI,OAAO,CAAC,cAAc,CAAC,kBAAkB,EAAE;gBACjE,UAAU,CAAC,IAAI,CAACC,mBAAW,CAAC,QAAQ,CAAC,CAAC;;;AAIxC,QAAA,UAAU,CAAC,IAAI,CAACC,gBAAS,CAAC,OAAO,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;;AAGzD,IAAA,OAAOC,sBAAe,CAAC,GAAG,UAAU,CAAC;AACtC;;;;"}
|
|
1
|
+
{"version":3,"file":"method.decorator.js","sources":["../../../../../src/decorator/api/method.decorator.ts"],"sourcesContent":[null],"names":["EApiAction","pluralizer","ApiOperation","ApiResponse","HttpCode","Throttle","ApiUnauthorizedResponse","DtoGenerateException","HttpStatus","ApiForbiddenResponse","ApiInternalServerErrorResponse","ApiNotFoundResponse","ApiBadRequestResponse","ApiTooManyRequestsResponse","RequestMethod","Delete","Get","Patch","Post","Put","ApiBearerAuth","ApiSecurity","UseGuards","applyDecorators"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAWM,SAAU,SAAS,CAA2B,OAAgC,EAAA;IACnF,IAAI,OAAO,GAAW,EAAE;AAExB,IAAA,IAAI,OAAO,CAAC,MAAM,EAAE;AACnB,QAAA,QAAQ,OAAO,CAAC,MAAM;AACrB,YAAA,KAAKA,sBAAU,CAAC,OAAO,EAAE;AACxB,gBAAA,OAAO,GAAG,C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gBACjE,UAAU,CAAC,IAAI,CAACC,mBAAW,CAAC,QAAQ,CAAC,CAAC;;;AAIxC,QAAA,UAAU,CAAC,IAAI,CAACC,gBAAS,CAAC,OAAO,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;;AAGzD,IAAA,OAAOC,sBAAe,CAAC,GAAG,UAAU,CAAC;AACtC;;;;"}
|
|
@@ -158,13 +158,13 @@ function getExample(format) {
|
|
|
158
158
|
const startOfYearUTCDate = new Date(Date.UTC(new Date().getUTCFullYear(), 0, 1, 0, 0, 0, 0));
|
|
159
159
|
switch (format) {
|
|
160
160
|
case type_enum.EApiPropertyDateType.DATE: {
|
|
161
|
-
return startOfYearUTCDate.toISOString().split("T")[0];
|
|
161
|
+
return startOfYearUTCDate.toISOString().split("T")[0] ?? "2025-01-01";
|
|
162
162
|
}
|
|
163
163
|
case type_enum.EApiPropertyDateType.DATE_TIME: {
|
|
164
164
|
return startOfYearUTCDate.toISOString();
|
|
165
165
|
}
|
|
166
166
|
case type_enum.EApiPropertyDateType.TIME: {
|
|
167
|
-
return startOfYearUTCDate.toISOString().split("T")[1]
|
|
167
|
+
return startOfYearUTCDate.toISOString().split("T")[1]?.split(".")[0] ?? "00:00:00";
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.decorator.js","sources":["../../../../../../src/decorator/api/property/date.decorator.ts"],"sourcesContent":[null],"names":["applyDecorators","EApiPropertyDataType","ApiProperty","IsDate","IsOptional","IsArray","ArrayMinSize","ArrayMaxSize","ArrayNotEmpty","ApiResponseProperty","Expose","Exclude","Transform","EApiPropertyDateIdentifier","EApiPropertyDateType"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAWM,SAAU,eAAe,CAAC,UAAsC,EAAA;IACrE,eAAe,CAAC,UAAU,CAAC;AAE3B,IAAA,MAAM,kBAAkB,GAAuB,uBAAuB,CAAC,UAAU,CAAC;IAClF,MAAM,UAAU,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Ac,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAElG,QAAQ,MAAM;AACb,QAAA,KAAKC,8BAAoB,CAAC,IAAI,EAAE;AAC/B,YAAA,OAAO,kBAAkB,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;;
|
|
1
|
+
{"version":3,"file":"date.decorator.js","sources":["../../../../../../src/decorator/api/property/date.decorator.ts"],"sourcesContent":[null],"names":["applyDecorators","EApiPropertyDataType","ApiProperty","IsDate","IsOptional","IsArray","ArrayMinSize","ArrayMaxSize","ArrayNotEmpty","ApiResponseProperty","Expose","Exclude","Transform","EApiPropertyDateIdentifier","EApiPropertyDateType"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAWM,SAAU,eAAe,CAAC,UAAsC,EAAA;IACrE,eAAe,CAAC,UAAU,CAAC;AAE3B,IAAA,MAAM,kBAAkB,GAAuB,uBAAuB,CAAC,UAAU,CAAC;IAClF,MAAM,UAAU,GAA6B,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC;AAE5F,IAAA,OAAOA,sBAAe,CAAC,GAAG,UAAU,CAAC;AACtC;AAEA,SAAS,uBAAuB,CAAC,UAAsC,EAAA;IACtE,MAAM,OAAO,GAAW,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC;AAErD,IAAA,MAAM,kBAAkB,GAAuB;AAC9C,QAAA,WAAW,EAAE,CAAG,EAAA,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,UAAU,CAAC,UAAU,CAAC,CAAE,CAAA;QAEzF,QAAQ,EAAE,UAAU,CAAC,UAAU;QAC/B,IAAI,EAAEC,kCAAoB,CAAC,MAAM;KACjC;IAED,kBAAkB,CAAC,QAAQ,GAAG,UAAU,CAAC,UAAU,KAAK,KAAK,IAAI,UAAU,CAAC,UAAU,KAAK,SAAS,GAA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EA,SAAS,UAAU,CAAC,MAA4B,EAAA;IAC/C,QAAQ,MAAM;AACb,QAAA,KAAKA,8BAAoB,CAAC,IAAI,EAAE;AAC/B,YAAA,OAAO,8BAA8B;;AAGtC,QAAA,KAAKA,8BAAoB,CAAC,SAAS,EAAE;AACpC,YAAA,OAAO,mEAAmE;;AAG3E,QAAA,KAAKA,8BAAoB,CAAC,IAAI,EAAE;AAC/B,YAAA,OAAO,8BAA8B;;;AAGxC;AAEA,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;;AAGrD,QAAA,IAAI,UAAU,CAAC,QAAQ,GAAG,CAAC,EAAE;AAC5B,YAAA,MAAM,CAAC,IAAI,CAAC,2BAA2B,CAAC;;AAGzC,QAAA,IAAI,UAAU,CAAC,QAAQ,GAAG,CAAC,EAAE;AAC5B,YAAA,MAAM,CAAC,IAAI,CAAC,2BAA2B,CAAC;;QAGzC,IAAI,UAAU,CAAC,aAAa,IAAI,UAAU,CAAC,QAAQ,IAAI,CAAC,EAAE;AACzD,YAAA,MAAM,CAAC,IAAI,CAAC,iEAAiE,CAAC;;;AAIhF,IAAA,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;AACtB,QAAA,MAAM,IAAI,KAAK,CAAC,CAAA,uBAAA,EAA0B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAE,CAAA,CAAC;;AAEhE;;;;"}
|
|
@@ -164,8 +164,8 @@ function validateOptions(properties) {
|
|
|
164
164
|
if ((!properties.isResponse && (!properties.exampleValue || !properties.pattern)) || (properties.exampleValue && properties.pattern)) {
|
|
165
165
|
const matches = /^\/(.*?)\/([gimuy]*)$/.exec(properties.pattern);
|
|
166
166
|
if (matches) {
|
|
167
|
-
const pattern = matches[string_constant.STRING_PROPERTY_API_INTERFACE_CONSTANT.REGEX_PATTERN_INDEX];
|
|
168
|
-
const flags = matches[string_constant.STRING_PROPERTY_API_INTERFACE_CONSTANT.REGEX_FLAGS_INDEX];
|
|
167
|
+
const pattern = matches[string_constant.STRING_PROPERTY_API_INTERFACE_CONSTANT.REGEX_PATTERN_INDEX] ?? "";
|
|
168
|
+
const flags = matches[string_constant.STRING_PROPERTY_API_INTERFACE_CONSTANT.REGEX_FLAGS_INDEX] ?? "";
|
|
169
169
|
const regex = new RegExp(pattern, flags);
|
|
170
170
|
if (Array.isArray(properties.exampleValue)) {
|
|
171
171
|
for (const example of properties.exampleValue) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string.decorator.js","sources":["../../../../../../src/decorator/api/property/string.decorator.ts"],"sourcesContent":[null],"names":["applyDecorators","EApiPropertyDataType","ApiProperty","EApiPropertyStringType","IsDate","Type","IsEmail","IsIP","STRING_PROPERTY_API_INTERFACE_CONSTANT","IsString","IsLowercase","Validate","IsRegularExpression","Matches","IsUppercase","IsUrl","IsUUID","IsOptional","IsArray","ArrayMinSize","ArrayMaxSize","ArrayNotEmpty","ApiResponseProperty","Expose","Exclude","Length"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaM,SAAU,iBAAiB,CAAC,UAAwC,EAAA;IACzE,eAAe,CAAC,UAAU,CAAC;AAE3B,IAAA,MAAM,kBAAkB,GAAuB,uBAAuB,CAAC,UAAU,CAAC;IAClF,MAAM,UAAU,GAA6B,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC;AAE5F,IAAA,OAAOA,sBAAe,CAAC,GAAG,UAAU,CAAC;AACtC;AAEA,SAAS,uBAAuB,CAAC,UAAwC,EAAA;AACxE,IAAA,MAAM,kBAAkB,GAA6C;AACpE,QAAA,WAAW,EAAE,CAAG,EAAA,MAAM,CAAC,UAAU,CAAC,MAAM,CA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,EAAA;IAChF,MAAM,UAAU,GAA6B,EAAE;AAC/C,IAAA,MAAM,OAAO,GAAY,UAAU,CAAC,OAAO,IAAI,KAAK;AAEpD,IAAA,IAAI,UAAU,CAAC,UAAU,KAAK,KAAK,IAAI,UAAU,CAAC,UAAU,KAAK,SAAS,EAAE;QAE3EX,sBAAO,CAAC,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAGvE,QAAAY,qBAAM,CAAC,UAAU,CAAC,SAAS,EAAE,UAAU,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;AAGtE,IAAA,OAAO,UAAU;AAClB;AAEA,SAAS,eAAe,CAAC,UAAwC,EAAA;IAChE,MAAM,MAAM,GAAkB,EAAE;AAEhC,IAAA,IAAI,CAAC,CAAC,UAAU,CAAC,UAAU,KAAK,CAAC,UAAU,CAAC,YAAY,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,MAAM,UAAU,CAAC,YAAY,IAAI,UAAU,CAAC,OAAO,CAAC,EAAE;QACrI,MAAM,OAAO,GAA4B,uBAAuB,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;QAEzF,IAAI,OAAO,EAAE;YACZ,MAAM,OAAO,GAAW,OAAO,CAACjB,sDAAsC,CAAC,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"string.decorator.js","sources":["../../../../../../src/decorator/api/property/string.decorator.ts"],"sourcesContent":[null],"names":["applyDecorators","EApiPropertyDataType","ApiProperty","EApiPropertyStringType","IsDate","Type","IsEmail","IsIP","STRING_PROPERTY_API_INTERFACE_CONSTANT","IsString","IsLowercase","Validate","IsRegularExpression","Matches","IsUppercase","IsUrl","IsUUID","IsOptional","IsArray","ArrayMinSize","ArrayMaxSize","ArrayNotEmpty","ApiResponseProperty","Expose","Exclude","Length"],"mappings":";;;;;;;;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AC,CAAA,yBAAA,EAA4B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAE,CAAA,CAAC;;AAElE;;;;"}
|
|
@@ -50,9 +50,12 @@ var getPrimaryColumn_utility = require('../../utility/api/controller/get-primary
|
|
|
50
50
|
var analize_utility = require('../../utility/dto/analize.utility.js');
|
|
51
51
|
|
|
52
52
|
class ApiControllerFactory {
|
|
53
|
+
target;
|
|
54
|
+
properties;
|
|
53
55
|
get targetPrototype() {
|
|
54
56
|
return this.target.prototype;
|
|
55
57
|
}
|
|
58
|
+
ENTITY;
|
|
56
59
|
constructor(target, properties) {
|
|
57
60
|
this.target = target;
|
|
58
61
|
this.properties = properties;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller.factory.js","sources":["../../../../../src/factory/api/controller.factory.ts"],"sourcesContent":[null],"names":["GenerateEntityInformation","analyzeEntityMetadata","ErrorException","Controller","ApiTags","CONTROLLER_API_DECORATOR_CONSTANT","ApiControllerWriteMethod","ApiControllerApplyMetadata","ApiControllerApplyDecorators","ApiControllerWriteDtoSwagger","EApiRouteType","ApiControllerGetPrimaryColumn","ApiControllerTransformData","ApiControllerValidateRequest","ApiControllerHandleRequestRelations","DtoGenerate","EApiDtoType","plainToInstance","ApiControllerGetListTransformFilter","FUNCTION_API_DECORATOR_CONSTANT"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqBa,oBAAoB,CAAA;AAChC,IAAA,IAAc,eAAe,GAAA;AAC5B,QAAA,OAAO,IAAI,CAAC,MAAM,CAAC,SAA6C;;IAKjE,WACW,CAAA,MAAqC,EAC9B,UAAuC,EAAA;QAD9C,IAAM,CAAA,MAAA,GAAN,MAAM;QACC,IAAU,CAAA,UAAA,GAAV,UAAU;QAE3B,IAAI,CAAC,MAAM,GAAGA,2DAAyB,CAAI,UAAU,CAAC,MAAM,CAAC;AAC7D,QAAAC,qCAAqB,CAAC,IAAI,CAAC,UAAU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,IAAI,CAAC;YAEpEF,gDAA0B,CAAmB,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,qBAAqB,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;AAEhK,YAAA,MAAM,GAAG,GAA8BG,4BAAW,CAAC,UAAU,CAAC,MAAM,EAAE,cAAc,EAAE,MAAM,EAAEC,wBAAW,CAAC,QAAQ,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,GAAGA,wBAAW,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,cAAc,EAAE,KAAK,CAAC;AAEjO,YAAA,OAAOC,gCAAe,CAAC,GAA0B,EAAE,QAAQ,EAAE;AAE5D,gBAAA,uBAAuB,EAAE,IAAI;AAC7B,aAAA,CAAC;SACF,EACD,MAAM,EACN,EAAE,KAAK,EAAE,UAAU,EAAE,CACrB;;AAEF;;;;"}
|
|
1
|
+
{"version":3,"file":"controller.factory.js","sources":["../../../../../src/factory/api/controller.factory.ts"],"sourcesContent":[null],"names":["GenerateEntityInformation","analyzeEntityMetadata","ErrorException","Controller","ApiTags","CONTROLLER_API_DECORATOR_CONSTANT","ApiControllerWriteMethod","ApiControllerApplyMetadata","ApiControllerApplyDecorators","ApiControllerWriteDtoSwagger","EApiRouteType","ApiControllerGetPrimaryColumn","ApiControllerTransformData","ApiControllerValidateRequest","ApiControllerHandleRequestRelations","DtoGenerate","EApiDtoType","plainToInstance","ApiControllerGetListTransformFilter","FUNCTION_API_DECORATOR_CONSTANT"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqBa,oBAAoB,CAAA;AAQrB,IAAA,MAAA;AACO,IAAA,UAAA;AARlB,IAAA,IAAc,eAAe,GAAA;AAC5B,QAAA,OAAO,IAAI,CAAC,MAAM,CAA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EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,CAAC;AAEzH,YAAA,MAAM,eAAe,GAAkC;AACtD,gBAAA,CAAC,UAAU,CAAC,GAAG,GAAG,UAAU,CAAC,KAAK;aACD;AAElC,YAAA,MAAM,QAAQ,GAAM,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,IAAI,CAAC;YAEpEF,gDAA0B,CAAmB,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,qBAAqB,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;AAEhK,YAAA,MAAM,GAAG,GAA8BG,4BAAW,CAAC,UAAU,CAAC,MAAM,EAAE,cAAc,EAAE,MAAM,EAAEC,wBAAW,CAAC,QAAQ,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,GAAGA,wBAAW,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,cAAc,EAAE,KAAK,CAAC;AAEjO,YAAA,OAAOC,gCAAe,CAAC,GAA0B,EAAE,QAAQ,EAAE;AAE5D,gBAAA,uBAAuB,EAAE,IAAI;AAC7B,aAAA,CAAC;SACF,EACD,MAAM,EACN,EAAE,KAAK,EAAE,UAAU,EAAE,CACrB;;AAEF;;;;"}
|
|
@@ -26,9 +26,11 @@ function ApiControllerGetListTransformFilter(query, entityMetadata) {
|
|
|
26
26
|
if (!fullKey.includes("["))
|
|
27
27
|
continue;
|
|
28
28
|
const [key, field] = fullKey.split("[");
|
|
29
|
+
if (!field)
|
|
30
|
+
continue;
|
|
29
31
|
const cleanField = field.replace("]", "");
|
|
30
32
|
if (cleanField === "value" || cleanField === "values") {
|
|
31
|
-
const operation = query[`${key}[operator]`];
|
|
33
|
+
const operation = query[`${String(key)}[operator]`];
|
|
32
34
|
const value = query[fullKey];
|
|
33
35
|
if (!operation || !key || value === undefined || value === null)
|
|
34
36
|
continue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform-filter.utility.js","sources":["../../../../../../../src/utility/api/controller/get-list/transform-filter.utility.ts"],"sourcesContent":[null],"names":["PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT","EApiPropertyDescribeType","ApiControllerGetListTransformOperation"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAUgB,SAAA,mCAAmC,CAAI,KAA0B,EAAE,cAA6B,EAAA;IAC/G,MAAM,MAAM,GAAwB,EAAE;IAEtC,KAAK,MAAM,OAAO,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;AACzC,QAAA,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC;YAAE;AAE5B,QAAA,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,GAAkB,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"transform-filter.utility.js","sources":["../../../../../../../src/utility/api/controller/get-list/transform-filter.utility.ts"],"sourcesContent":[null],"names":["PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT","EApiPropertyDescribeType","ApiControllerGetListTransformOperation"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAUgB,SAAA,mCAAmC,CAAI,KAA0B,EAAE,cAA6B,EAAA;IAC/G,MAAM,MAAM,GAAwB,EAAE;IAEtC,KAAK,MAAM,OAAO,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;AACzC,QAAA,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC;YAAE;AAE5B,QAAA,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,GAAkB,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC;AAEtD,QAAA,IAAI,CAAC,KAAK;YAAE;QAEZ,MAAM,UAAU,GAAW,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC;QAEjD,IAAI,UAAU,KAAK,OAAO,IAAI,UAAU,KAAK,QAAQ,EAAE;YACtD,MAAM,SAAS,GAAqB,KAAK,CAAC,CAAA,EAAG,MAAM,CAAC,GAAG,CAAC,CAAY,UAAA,CAAA,CAAqB;AAEzF,YAAA,MAAM,KAAK,GAAQ,KAAK,CAAC,OAAO,CAAC;AAEjC,YAAA,IAAI,CAAC,SAAS,IAAI,CAAC,GAAG,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI;gBAAE;AAEjE,YAAA,MAAM,MAAM,GAAoC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAA2B,KAAK,MAAM,CAAC,IAAI,IAAI,GAAG,CAAC;AAIhI,YAAA,IAAI,MAAM,IAAI,MAAM,CAAC,QAAQ,CAACA,kEAAwC,CAAC,sBAAsB,CAAC,CAAC,IAAI,KAAKC,yCAAwB,CAAC,QAAQ,EAAE;AAE1I,gBAAA,MAAM,CAAC,GAAc,CAAC,GAAG,EAAE,EAAE,EAAEC,iEAAsC,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE;;iBACnF;gBAEN,MAAM,CAAC,GAAc,CAAC,GAAGA,iEAAsC,CAAC,SAAS,EAAE,KAAK,CAAC;;;;AAKpF,IAAA,OAAO,MAAM;AACd;;;;"}
|
|
@@ -53,7 +53,7 @@ function ApiControllerWriteDtoSwagger(target, entity, properties, method, routeC
|
|
|
53
53
|
const metadata = storage.getMetadata(entityMetadata.name ?? "UnknownResource");
|
|
54
54
|
if (metadata)
|
|
55
55
|
for (const key of Object.keys(metadata)) {
|
|
56
|
-
if (metadata[key]?.[propertyDescribe_constant.PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT.METADATA_PROPERTY_NAME] && metadata[key]?.[propertyDescribe_constant.PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT.METADATA_PROPERTY_NAME]
|
|
56
|
+
if (metadata[key]?.[propertyDescribe_constant.PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT.METADATA_PROPERTY_NAME] && metadata[key]?.[propertyDescribe_constant.PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT.METADATA_PROPERTY_NAME]?.type === desribeType_enum.EApiPropertyDescribeType.RELATION) {
|
|
57
57
|
const relationClass = class GeneratedDTO {
|
|
58
58
|
constructor() {
|
|
59
59
|
Object.defineProperty(this, "id", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-dto-swagger.utility.js","sources":["../../../../../../src/utility/api/controller/write-dto-swagger.utility.ts"],"sourcesContent":[null],"names":["DECORATORS","DtoGenerate","EApiDtoType","MetadataStorage","PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT","EApiPropertyDescribeType","CamelCaseString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcgB,SAAA,4BAA4B,CAAI,MAAc,EAAE,MAAqB,EAAE,UAAuC,EAAE,MAAqB,EAAE,WAA4D,EAAE,cAA6B,EAAA;AACjP,IAAA,MAAM,aAAa,IAAoB,OAAO,CAAC,WAAW,CAACA,oBAAU,CAAC,gBAAgB,EAAE,MAAM,CAAC,IAAI,EAAE,CAAmB;AAExH,IAAA,MAAM,UAAU,GAA8B,WAAW,CAAC,GAAG,EAAE,OAAO,IAAIC,4BAAW,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAEC,wBAAW,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,GAAGA,wBAAW,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC,cAAc,EAAE,KAAK,CAAC;AAC5N,IAAA,MAAM,QAAQ,GAA8B,WAAW,CAAC,GAAG,EAAE,KAAK,IAAID,4BAAW,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAEC,wBAAW,CAAC,KAAK,EAAE,WAAW,CAAC,OAAO,GAAGA,wBAAW,CAAC,KAAK,CAAC,EAAE,WAAW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["../../../../../../src/utility/api/controller/write-dto-swagger.utility.ts"],"sourcesContent":[null],"names":["DECORATORS","DtoGenerate","EApiDtoType","MetadataStorage","PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT","EApiPropertyDescribeType","CamelCaseString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcgB,SAAA,4BAA4B,CAAI,MAAc,EAAE,MAAqB,EAAE,UAAuC,EAAE,MAAqB,EAAE,WAA4D,EAAE,cAA6B,EAAA;AACjP,IAAA,MAAM,aAAa,IAAoB,OAAO,CAAC,WAAW,CAACA,oBAAU,CAAC,gBAAgB,EAAE,MAAM,CAAC,IAAI,EAAE,CAAmB;AAExH,IAAA,MAAM,UAAU,GAA8B,WAAW,CAAC,GAAG,EAAE,OAAO,IAAIC,4BAAW,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAEC,wBAAW,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,GAAGA,wBAAW,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC,cAAc,EAAE,KAAK,CAAC;AAC5N,IAAA,MAAM,QAAQ,GAA8B,WAAW,CAAC,GAAG,EAAE,KAAK,IAAID,4BAAW,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAEC,wBAAW,CAAC,KAAK,EAAE,WAAW,CAAC,OAAO,GAAGA,wBAAW,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC,cAAc,EAAE,KAAK,CAAC;AACpN,IAAA,MAAM,OAAO,GAA8B,WAAW,CAAC,GAAG,EAAE,IAAI,IAAID,4BAAW,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAEC,wBAAW,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,GAAGA,wBAAW,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,cAAc,EAAE,KAAK,CAAC;AAChN,IAAA,MAAM,WAAW,GAA8B,WAAW,CAAC,GAAG,E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