@elsikora/nestjs-crud-automator 1.2.2 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +322 -0
- package/dist/class/api/index.d.ts +1 -1
- package/dist/class/api/index.js +1 -17
- package/dist/class/api/index.js.map +1 -1
- package/dist/class/api/service-base.class.d.ts +11 -0
- package/dist/class/api/service-base.class.js +28 -0
- package/dist/class/api/service-base.class.js.map +1 -0
- package/dist/class/index.js +3 -19
- package/dist/class/index.js.map +1 -1
- package/dist/class/metadata-storage.class.d.ts +7 -3
- package/dist/class/metadata-storage.class.js +5 -7
- package/dist/class/metadata-storage.class.js.map +1 -1
- package/dist/class/utility/dto/index.js +2 -18
- package/dist/class/utility/dto/index.js.map +1 -1
- package/dist/class/utility/dto/property/factory/boolean.class.d.ts +2 -2
- package/dist/class/utility/dto/property/factory/boolean.class.js +3 -7
- package/dist/class/utility/dto/property/factory/boolean.class.js.map +1 -1
- package/dist/class/utility/dto/property/factory/date.class.d.ts +2 -2
- package/dist/class/utility/dto/property/factory/date.class.js +3 -7
- package/dist/class/utility/dto/property/factory/date.class.js.map +1 -1
- package/dist/class/utility/dto/property/factory/index.js +6 -22
- package/dist/class/utility/dto/property/factory/index.js.map +1 -1
- package/dist/class/utility/dto/property/factory/number.class.d.ts +2 -2
- package/dist/class/utility/dto/property/factory/number.class.js +3 -7
- package/dist/class/utility/dto/property/factory/number.class.js.map +1 -1
- package/dist/class/utility/dto/property/factory/object.class.d.ts +2 -2
- package/dist/class/utility/dto/property/factory/object.class.js +3 -7
- package/dist/class/utility/dto/property/factory/object.class.js.map +1 -1
- package/dist/class/utility/dto/property/factory/relation.class.d.ts +4 -2
- package/dist/class/utility/dto/property/factory/relation.class.js +12 -8
- package/dist/class/utility/dto/property/factory/relation.class.js.map +1 -1
- package/dist/class/utility/dto/property/factory/string.class.d.ts +2 -2
- package/dist/class/utility/dto/property/factory/string.class.js +3 -7
- package/dist/class/utility/dto/property/factory/string.class.js.map +1 -1
- package/dist/class/utility/dto/property/factory/uuid.class.d.ts +2 -2
- package/dist/class/utility/dto/property/factory/uuid.class.js +3 -7
- package/dist/class/utility/dto/property/factory/uuid.class.js.map +1 -1
- package/dist/class/utility/dto/property/index.js +1 -17
- package/dist/class/utility/dto/property/index.js.map +1 -1
- package/dist/class/utility/dto/strategy/body.class.js +4 -8
- package/dist/class/utility/dto/strategy/body.class.js.map +1 -1
- package/dist/class/utility/dto/strategy/index.js +4 -20
- package/dist/class/utility/dto/strategy/index.js.map +1 -1
- package/dist/class/utility/dto/strategy/query.class.js +3 -7
- package/dist/class/utility/dto/strategy/query.class.js.map +1 -1
- package/dist/class/utility/dto/strategy/request.class.js +7 -11
- package/dist/class/utility/dto/strategy/request.class.js.map +1 -1
- package/dist/class/utility/dto/strategy/response.class.js +3 -7
- package/dist/class/utility/dto/strategy/response.class.js.map +1 -1
- package/dist/class/utility/index.js +1 -17
- package/dist/class/utility/index.js.map +1 -1
- package/dist/constant/date.constant.js +1 -4
- package/dist/constant/date.constant.js.map +1 -1
- package/dist/constant/decorator/api/controller.constant.js +1 -4
- package/dist/constant/decorator/api/controller.constant.js.map +1 -1
- package/dist/constant/decorator/api/function.constant.js +3 -6
- package/dist/constant/decorator/api/function.constant.js.map +1 -1
- package/dist/constant/decorator/api/index.js +3 -19
- package/dist/constant/decorator/api/index.js.map +1 -1
- package/dist/constant/decorator/api/property-describe.constant.d.ts +1 -1
- package/dist/constant/decorator/api/property-describe.constant.js +1 -4
- package/dist/constant/decorator/api/property-describe.constant.js.map +1 -1
- package/dist/constant/decorator/index.js +1 -17
- package/dist/constant/decorator/index.js.map +1 -1
- package/dist/constant/dto/exception.constant.js +1 -4
- package/dist/constant/dto/exception.constant.js.map +1 -1
- package/dist/constant/dto/index.js +1 -17
- package/dist/constant/dto/index.js.map +1 -1
- package/dist/constant/dto/transformer-value.constant.d.ts +7 -0
- package/dist/constant/dto/transformer-value.constant.js +13 -0
- package/dist/constant/dto/transformer-value.constant.js.map +1 -0
- package/dist/constant/factory/dto/get-list-query.constant.js +1 -4
- package/dist/constant/factory/dto/get-list-query.constant.js.map +1 -1
- package/dist/constant/factory/dto/index.js +1 -17
- package/dist/constant/factory/dto/index.js.map +1 -1
- package/dist/constant/factory/index.js +1 -17
- package/dist/constant/factory/index.js.map +1 -1
- package/dist/constant/index.js +6 -22
- package/dist/constant/index.js.map +1 -1
- package/dist/constant/interface/api/filter.constant.js +1 -4
- package/dist/constant/interface/api/filter.constant.js.map +1 -1
- package/dist/constant/interface/api/index.js +2 -18
- package/dist/constant/interface/api/index.js.map +1 -1
- package/dist/constant/interface/api/property/index.js +2 -18
- package/dist/constant/interface/api/property/index.js.map +1 -1
- package/dist/constant/interface/api/property/string.constant.js +1 -4
- package/dist/constant/interface/api/property/string.constant.js.map +1 -1
- package/dist/constant/interface/api/property/wallet.constant.js +1 -4
- package/dist/constant/interface/api/property/wallet.constant.js.map +1 -1
- package/dist/constant/interface/index.js +1 -17
- package/dist/constant/interface/index.js.map +1 -1
- package/dist/constant/number.constant.js +1 -4
- package/dist/constant/number.constant.js.map +1 -1
- package/dist/constant/utility/dto/constant.d.ts +1 -1
- package/dist/constant/utility/dto/constant.js +16 -19
- package/dist/constant/utility/dto/constant.js.map +1 -1
- package/dist/decorator/api/controller.decorator.d.ts +1 -2
- package/dist/decorator/api/controller.decorator.js +3 -7
- package/dist/decorator/api/controller.decorator.js.map +1 -1
- package/dist/decorator/api/function/create.decorator.d.ts +2 -2
- package/dist/decorator/api/function/create.decorator.js +10 -27
- package/dist/decorator/api/function/create.decorator.js.map +1 -1
- package/dist/decorator/api/function/decorator.d.ts +1 -1
- package/dist/decorator/api/function/decorator.js +24 -22
- package/dist/decorator/api/function/decorator.js.map +1 -1
- package/dist/decorator/api/function/delete.decorator.d.ts +2 -4
- package/dist/decorator/api/function/delete.decorator.js +24 -22
- package/dist/decorator/api/function/delete.decorator.js.map +1 -1
- package/dist/decorator/api/function/get-list.decorator.d.ts +2 -4
- package/dist/decorator/api/function/get-list.decorator.js +16 -100
- package/dist/decorator/api/function/get-list.decorator.js.map +1 -1
- package/dist/decorator/api/function/get-many.decorator.d.ts +2 -0
- package/dist/decorator/api/function/get-many.decorator.js +39 -0
- package/dist/decorator/api/function/get-many.decorator.js.map +1 -0
- package/dist/decorator/api/function/get.decorator.d.ts +2 -4
- package/dist/decorator/api/function/get.decorator.js +19 -35
- package/dist/decorator/api/function/get.decorator.js.map +1 -1
- package/dist/decorator/api/function/index.d.ts +5 -0
- package/dist/decorator/api/function/index.js +7 -18
- package/dist/decorator/api/function/index.js.map +1 -1
- package/dist/decorator/api/function/update.decorator.d.ts +2 -4
- package/dist/decorator/api/function/update.decorator.js +34 -26
- package/dist/decorator/api/function/update.decorator.js.map +1 -1
- package/dist/decorator/api/index.d.ts +1 -0
- package/dist/decorator/api/index.js +5 -20
- package/dist/decorator/api/index.js.map +1 -1
- package/dist/decorator/api/method.decorator.js +62 -69
- package/dist/decorator/api/method.decorator.js.map +1 -1
- package/dist/decorator/api/property/boolean.decorator.js +18 -24
- package/dist/decorator/api/property/boolean.decorator.js.map +1 -1
- package/dist/decorator/api/property/date.decorator.js +24 -27
- package/dist/decorator/api/property/date.decorator.js.map +1 -1
- package/dist/decorator/api/property/describe.decorator.js +4 -7
- package/dist/decorator/api/property/describe.decorator.js.map +1 -1
- package/dist/decorator/api/property/index.js +8 -24
- package/dist/decorator/api/property/index.js.map +1 -1
- package/dist/decorator/api/property/number.decorator.js +35 -44
- package/dist/decorator/api/property/number.decorator.js.map +1 -1
- package/dist/decorator/api/property/object.decorator.js +21 -23
- package/dist/decorator/api/property/object.decorator.js.map +1 -1
- package/dist/decorator/api/property/string.decorator.js +65 -71
- package/dist/decorator/api/property/string.decorator.js.map +1 -1
- package/dist/decorator/api/property/uuid.decorator.js +13 -16
- package/dist/decorator/api/property/uuid.decorator.js.map +1 -1
- package/dist/decorator/api/property/wallet.decorator.js +11 -14
- package/dist/decorator/api/property/wallet.decorator.js.map +1 -1
- package/dist/decorator/api/service.decorator.d.ts +1 -1
- package/dist/decorator/api/service.decorator.js +55 -38
- package/dist/decorator/api/service.decorator.js.map +1 -1
- package/dist/decorator/index.js +1 -17
- package/dist/decorator/index.js.map +1 -1
- package/dist/enum/decorator/api/action.enum.js +2 -5
- package/dist/enum/decorator/api/action.enum.js.map +1 -1
- package/dist/enum/decorator/api/authentication-type.enum.js +2 -5
- package/dist/enum/decorator/api/authentication-type.enum.js.map +1 -1
- package/dist/enum/decorator/api/controller/index.d.ts +2 -1
- package/dist/enum/decorator/api/controller/index.js +2 -2
- package/dist/enum/decorator/api/controller/index.js.map +1 -1
- package/dist/enum/decorator/api/controller/load-relations-strategy.enum.d.ts +4 -0
- package/dist/enum/decorator/api/controller/load-relations-strategy.enum.js +6 -0
- package/dist/enum/decorator/api/controller/load-relations-strategy.enum.js.map +1 -0
- package/dist/enum/decorator/api/controller/request-transformer-type.enum.d.ts +4 -0
- package/dist/enum/decorator/api/controller/request-transformer-type.enum.js +6 -0
- package/dist/enum/decorator/api/controller/request-transformer-type.enum.js.map +1 -0
- package/dist/enum/decorator/api/dto-type.enum.js +2 -5
- package/dist/enum/decorator/api/dto-type.enum.js.map +1 -1
- package/dist/enum/decorator/api/function/index.js +1 -17
- package/dist/enum/decorator/api/function/index.js.map +1 -1
- package/dist/enum/decorator/api/function/type.enum.d.ts +1 -3
- package/dist/enum/decorator/api/function/type.enum.js +3 -8
- package/dist/enum/decorator/api/function/type.enum.js.map +1 -1
- package/dist/enum/decorator/api/index.js +7 -23
- package/dist/enum/decorator/api/index.js.map +1 -1
- package/dist/enum/decorator/api/property/data-type.enum.js +5 -8
- package/dist/enum/decorator/api/property/data-type.enum.js.map +1 -1
- package/dist/enum/decorator/api/property/date-type.enum.d.ts +2 -2
- package/dist/enum/decorator/api/property/date-type.enum.js +4 -7
- package/dist/enum/decorator/api/property/date-type.enum.js.map +1 -1
- package/dist/enum/decorator/api/property/desribe-type.enum.d.ts +2 -2
- package/dist/enum/decorator/api/property/desribe-type.enum.js +3 -6
- package/dist/enum/decorator/api/property/desribe-type.enum.js.map +1 -1
- package/dist/enum/decorator/api/property/index.js +3 -19
- package/dist/enum/decorator/api/property/index.js.map +1 -1
- package/dist/enum/decorator/api/route-type.enum.js +2 -5
- package/dist/enum/decorator/api/route-type.enum.js.map +1 -1
- package/dist/enum/decorator/index.js +1 -17
- package/dist/enum/decorator/index.js.map +1 -1
- package/dist/enum/filter-order-direction.enum.js +2 -5
- package/dist/enum/filter-order-direction.enum.js.map +1 -1
- package/dist/enum/index.js +3 -19
- package/dist/enum/index.js.map +1 -1
- package/dist/enum/utility/error-string-action.enum.d.ts +4 -0
- package/dist/enum/utility/error-string-action.enum.js +6 -5
- package/dist/enum/utility/error-string-action.enum.js.map +1 -1
- package/dist/enum/utility/index.js +1 -17
- package/dist/enum/utility/index.js.map +1 -1
- package/dist/factory/api/controller.factory.d.ts +10 -20
- package/dist/factory/api/controller.factory.js +126 -195
- package/dist/factory/api/controller.factory.js.map +1 -1
- package/dist/factory/api/index.js +1 -17
- package/dist/factory/api/index.js.map +1 -1
- package/dist/factory/index.js +1 -17
- package/dist/factory/index.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +10 -27
- package/dist/index.js.map +1 -1
- package/dist/interceptor/correlation-id-response-body.interceptor.js +20 -23
- package/dist/interceptor/correlation-id-response-body.interceptor.js.map +1 -1
- package/dist/interceptor/index.js +1 -17
- package/dist/interceptor/index.js.map +1 -1
- package/dist/interface/api-authentication-request.interface.d.ts +4 -0
- package/dist/interface/api-authentication-request.interface.js +2 -0
- package/dist/interface/api-authentication-request.interface.js.map +1 -0
- package/dist/interface/api-base-entity.interface.js +1 -2
- package/dist/interface/api-base-entity.interface.js.map +1 -1
- package/dist/interface/api-dto-validator.interface.d.ts +4 -0
- package/dist/interface/api-dto-validator.interface.js +2 -0
- package/dist/interface/api-dto-validator.interface.js.map +1 -0
- package/dist/interface/api-request-validator.interface.d.ts +7 -0
- package/dist/interface/api-request-validator.interface.js +2 -0
- package/dist/interface/api-request-validator.interface.js.map +1 -0
- package/dist/interface/class/dto/index.js +1 -17
- package/dist/interface/class/dto/index.js.map +1 -1
- package/dist/interface/class/dto/strategy.interface.js +1 -2
- package/dist/interface/class/dto/strategy.interface.js.map +1 -1
- package/dist/interface/class/index.d.ts +1 -0
- package/dist/interface/class/index.js +2 -17
- package/dist/interface/class/index.js.map +1 -1
- package/dist/interface/class/metadata-entry.interface.d.ts +5 -0
- package/dist/interface/class/metadata-entry.interface.js +2 -0
- package/dist/interface/class/metadata-entry.interface.js.map +1 -0
- package/dist/interface/decorator/api/controller/base.interface.d.ts +4 -0
- package/dist/interface/decorator/api/controller/base.interface.js +2 -0
- package/dist/interface/decorator/api/controller/base.interface.js.map +1 -0
- package/dist/interface/decorator/api/controller/index.d.ts +3 -0
- package/dist/interface/decorator/api/controller/index.js +4 -0
- package/dist/interface/decorator/api/controller/index.js.map +1 -0
- package/dist/interface/decorator/api/controller/properties/index.d.ts +1 -0
- package/dist/interface/decorator/api/controller/properties/index.js +2 -0
- package/dist/interface/decorator/api/controller/properties/index.js.map +1 -0
- package/dist/interface/decorator/api/controller/properties/route/authentication.interface.d.ts +9 -0
- package/dist/interface/decorator/api/controller/properties/route/authentication.interface.js +2 -0
- package/dist/interface/decorator/api/controller/properties/route/authentication.interface.js.map +1 -0
- package/dist/interface/decorator/api/controller/properties/route/auto-dto-config.interface.d.ts +4 -0
- package/dist/interface/decorator/api/controller/properties/route/auto-dto-config.interface.js +2 -0
- package/dist/interface/decorator/api/controller/properties/route/auto-dto-config.interface.js.map +1 -0
- package/dist/interface/decorator/api/controller/properties/route/base-request.interface.d.ts +8 -0
- package/dist/interface/decorator/api/controller/properties/route/base-request.interface.js +2 -0
- package/dist/interface/decorator/api/controller/properties/route/base-request.interface.js.map +1 -0
- package/dist/interface/decorator/api/controller/properties/route/base-response.interface.d.ts +7 -0
- package/dist/interface/decorator/api/controller/properties/route/base-response.interface.js +2 -0
- package/dist/interface/decorator/api/controller/properties/route/base-response.interface.js.map +1 -0
- package/dist/interface/decorator/api/controller/properties/route/base.interface.d.ts +11 -0
- package/dist/interface/decorator/api/controller/properties/route/base.interface.js +2 -0
- package/dist/interface/decorator/api/controller/properties/route/base.interface.js.map +1 -0
- package/dist/interface/decorator/api/controller/properties/route/index.d.ts +7 -0
- package/dist/interface/decorator/api/controller/properties/route/index.js +8 -0
- package/dist/interface/decorator/api/controller/properties/route/index.js.map +1 -0
- package/dist/interface/decorator/api/controller/properties/route/with-auto-dto.interface.d.ts +9 -0
- package/dist/interface/decorator/api/controller/properties/route/with-auto-dto.interface.js +2 -0
- package/dist/interface/decorator/api/controller/properties/route/with-auto-dto.interface.js.map +1 -0
- package/dist/interface/decorator/api/controller/properties/route/with-dto.interface.d.ts +9 -0
- package/dist/interface/decorator/api/controller/properties/route/with-dto.interface.js +2 -0
- package/dist/interface/decorator/api/controller/properties/route/with-dto.interface.js.map +1 -0
- package/dist/interface/decorator/api/controller/properties.interface.d.ts +11 -0
- package/dist/interface/decorator/api/controller/properties.interface.js +2 -0
- package/dist/interface/decorator/api/controller/properties.interface.js.map +1 -0
- package/dist/{type/decorator/api/function/create/executor-properties.type.d.ts → interface/decorator/api/function/create-executor-properties.interface.d.ts} +2 -2
- package/dist/interface/decorator/api/function/create-executor-properties.interface.js +2 -0
- package/dist/interface/decorator/api/function/create-executor-properties.interface.js.map +1 -0
- package/dist/interface/decorator/api/function/delete-executor-properties.type.d.ts +9 -0
- package/dist/interface/decorator/api/function/delete-executor-properties.type.js +2 -0
- package/dist/interface/decorator/api/function/delete-executor-properties.type.js.map +1 -0
- package/dist/interface/decorator/api/function/get-executor-properties.interface.d.ts +8 -0
- package/dist/interface/decorator/api/function/get-executor-properties.interface.js +2 -0
- package/dist/interface/decorator/api/function/get-executor-properties.interface.js.map +1 -0
- package/dist/interface/decorator/api/function/get-list-executor-properties.type.d.ts +8 -0
- package/dist/interface/decorator/api/function/get-list-executor-properties.type.js +2 -0
- package/dist/interface/decorator/api/function/get-list-executor-properties.type.js.map +1 -0
- package/dist/interface/decorator/api/function/get-many-executor-properties.interface.d.ts +8 -0
- package/dist/interface/decorator/api/function/get-many-executor-properties.interface.js +2 -0
- package/dist/interface/decorator/api/function/get-many-executor-properties.interface.js.map +1 -0
- package/dist/interface/decorator/api/function/index.d.ts +5 -1
- package/dist/interface/decorator/api/function/index.js +5 -2
- package/dist/interface/decorator/api/function/index.js.map +1 -1
- package/dist/interface/decorator/api/function/{create-properties.interface.d.ts → properties.interface.d.ts} +1 -1
- package/dist/interface/decorator/api/function/properties.interface.js +2 -0
- package/dist/interface/decorator/api/function/properties.interface.js.map +1 -0
- package/dist/interface/decorator/api/function/update-executor-properties.type.d.ts +10 -0
- package/dist/interface/decorator/api/function/update-executor-properties.type.js +2 -0
- package/dist/interface/decorator/api/function/update-executor-properties.type.js.map +1 -0
- package/dist/interface/decorator/api/get-list-response-result.interface.js +1 -2
- package/dist/interface/decorator/api/get-list-response-result.interface.js.map +1 -1
- package/dist/interface/decorator/api/index.d.ts +1 -2
- package/dist/interface/decorator/api/index.js +6 -23
- package/dist/interface/decorator/api/index.js.map +1 -1
- package/dist/interface/decorator/api/method/index.js +2 -18
- package/dist/interface/decorator/api/method/index.js.map +1 -1
- package/dist/interface/decorator/api/method/properties.interface.d.ts +1 -1
- package/dist/interface/decorator/api/method/properties.interface.js +1 -2
- package/dist/interface/decorator/api/method/properties.interface.js.map +1 -1
- package/dist/interface/decorator/api/method/throttler-properties.interface.js +1 -2
- package/dist/interface/decorator/api/method/throttler-properties.interface.js.map +1 -1
- package/dist/interface/decorator/api/property/base-properties.interface.js +1 -2
- package/dist/interface/decorator/api/property/base-properties.interface.js.map +1 -1
- package/dist/interface/decorator/api/property/date-properties.interface.js +1 -2
- package/dist/interface/decorator/api/property/date-properties.interface.js.map +1 -1
- package/dist/interface/decorator/api/property/index.js +6 -22
- package/dist/interface/decorator/api/property/index.js.map +1 -1
- package/dist/interface/decorator/api/property/number-properties.interface.js +1 -2
- package/dist/interface/decorator/api/property/number-properties.interface.js.map +1 -1
- package/dist/interface/decorator/api/property/object-properties.interface.d.ts +1 -1
- package/dist/interface/decorator/api/property/object-properties.interface.js +1 -2
- package/dist/interface/decorator/api/property/object-properties.interface.js.map +1 -1
- package/dist/interface/decorator/api/property/string-properties.interface.js +1 -2
- package/dist/interface/decorator/api/property/string-properties.interface.js.map +1 -1
- package/dist/interface/decorator/api/property/uuid-properties.interface.js +1 -2
- package/dist/interface/decorator/api/property/uuid-properties.interface.js.map +1 -1
- package/dist/interface/decorator/api/response-type.interface.js +1 -2
- package/dist/interface/decorator/api/response-type.interface.js.map +1 -1
- package/dist/interface/decorator/index.js +1 -17
- package/dist/interface/decorator/index.js.map +1 -1
- package/dist/interface/dto-generate-factory.interface.d.ts +3 -2
- package/dist/interface/dto-generate-factory.interface.js +1 -2
- package/dist/interface/dto-generate-factory.interface.js.map +1 -1
- package/dist/interface/entity/column.interface.d.ts +2 -2
- package/dist/interface/entity/column.interface.js +1 -2
- package/dist/interface/entity/column.interface.js.map +1 -1
- package/dist/interface/entity/index.js +2 -18
- package/dist/interface/entity/index.js.map +1 -1
- package/dist/interface/entity/interface.d.ts +3 -3
- package/dist/interface/entity/interface.js +1 -2
- package/dist/interface/entity/interface.js.map +1 -1
- package/dist/interface/index.d.ts +2 -1
- package/dist/interface/index.js +8 -23
- package/dist/interface/index.js.map +1 -1
- package/dist/interface/utility/api/controller/index.d.ts +1 -0
- package/dist/interface/utility/api/controller/index.js +2 -0
- package/dist/interface/utility/api/controller/index.js.map +1 -0
- package/dist/interface/utility/api/controller/primary-column.interface.d.ts +4 -0
- package/dist/interface/utility/api/controller/primary-column.interface.js +2 -0
- package/dist/interface/utility/api/controller/primary-column.interface.js.map +1 -0
- package/dist/interface/utility/api/index.d.ts +1 -0
- package/dist/interface/utility/api/index.js +2 -0
- package/dist/interface/utility/api/index.js.map +1 -0
- package/dist/interface/utility/error-string-properties.interface.js +1 -2
- package/dist/interface/utility/error-string-properties.interface.js.map +1 -1
- package/dist/interface/utility/get-entity-columns-properties.interface.d.ts +1 -0
- package/dist/interface/utility/get-entity-columns-properties.interface.js +1 -2
- package/dist/interface/utility/get-entity-columns-properties.interface.js.map +1 -1
- package/dist/interface/utility/index.d.ts +1 -0
- package/dist/interface/utility/index.js +2 -17
- package/dist/interface/utility/index.js.map +1 -1
- package/dist/type/api-request-transformer.type.d.ts +15 -0
- package/dist/type/api-request-transformer.type.js +2 -0
- package/dist/type/api-request-transformer.type.js.map +1 -0
- package/dist/type/class/api-exception.type.d.ts +2 -0
- package/dist/type/class/api-exception.type.js +2 -0
- package/dist/type/class/api-exception.type.js.map +1 -0
- package/dist/type/class/controller/index.d.ts +1 -0
- package/dist/type/class/controller/index.js +2 -0
- package/dist/type/class/controller/index.js.map +1 -0
- package/dist/type/class/controller/method.type.d.ts +5 -0
- package/dist/type/class/controller/method.type.js +2 -0
- package/dist/type/class/controller/method.type.js.map +1 -0
- package/dist/type/class/index.d.ts +3 -0
- package/dist/type/class/index.js +4 -0
- package/dist/type/class/index.js.map +1 -0
- package/dist/type/class/metadata.type.d.ts +2 -0
- package/dist/type/class/metadata.type.js +2 -0
- package/dist/type/class/metadata.type.js.map +1 -0
- package/dist/type/decorator/api/controller/constructor.type.d.ts +2 -2
- package/dist/type/decorator/api/controller/constructor.type.js +1 -2
- package/dist/type/decorator/api/controller/constructor.type.js.map +1 -1
- package/dist/type/decorator/api/controller/get-list-query.type.d.ts +11 -0
- package/dist/type/decorator/api/controller/get-list-query.type.js +2 -0
- package/dist/type/decorator/api/controller/get-list-query.type.js.map +1 -0
- package/dist/type/decorator/api/controller/index.d.ts +4 -0
- package/dist/type/decorator/api/controller/index.js +5 -17
- package/dist/type/decorator/api/controller/index.js.map +1 -1
- package/dist/type/decorator/api/controller/properties/index.d.ts +1 -0
- package/dist/type/decorator/api/controller/properties/index.js +2 -0
- package/dist/type/decorator/api/controller/properties/index.js.map +1 -0
- package/dist/type/decorator/api/controller/properties/route/base-request-relations.type.d.ts +18 -0
- package/dist/type/decorator/api/controller/properties/route/base-request-relations.type.js +2 -0
- package/dist/type/decorator/api/controller/properties/route/base-request-relations.type.js.map +1 -0
- package/dist/type/decorator/api/controller/properties/route/base-request-transformers.type.d.ts +10 -0
- package/dist/type/decorator/api/controller/properties/route/base-request-transformers.type.js +2 -0
- package/dist/type/decorator/api/controller/properties/route/base-request-transformers.type.js.map +1 -0
- package/dist/type/decorator/api/controller/properties/route/base-response-transformers.type.d.ts +10 -0
- package/dist/type/decorator/api/controller/properties/route/base-response-transformers.type.js +2 -0
- package/dist/type/decorator/api/controller/properties/route/base-response-transformers.type.js.map +1 -0
- package/dist/type/decorator/api/controller/properties/route/index.d.ts +3 -0
- package/dist/type/decorator/api/controller/properties/route/index.js +4 -0
- package/dist/type/decorator/api/controller/properties/route/index.js.map +1 -0
- package/dist/type/decorator/api/controller/properties-route.type.d.ts +3 -0
- package/dist/type/decorator/api/controller/properties-route.type.js +2 -0
- package/dist/type/decorator/api/controller/properties-route.type.js.map +1 -0
- package/dist/type/decorator/api/controller/transformer-config.type.d.ts +8 -0
- package/dist/type/decorator/api/controller/transformer-config.type.js +2 -0
- package/dist/type/decorator/api/controller/transformer-config.type.js.map +1 -0
- package/dist/type/decorator/api/filter/allowed-types.type.js +1 -2
- package/dist/type/decorator/api/filter/allowed-types.type.js.map +1 -1
- package/dist/type/decorator/api/filter/extracted-allowed-types.type.js +1 -2
- package/dist/type/decorator/api/filter/extracted-allowed-types.type.js.map +1 -1
- package/dist/type/decorator/api/filter/field-selector.type.js +1 -2
- package/dist/type/decorator/api/filter/field-selector.type.js.map +1 -1
- package/dist/type/decorator/api/filter/index.js +4 -20
- package/dist/type/decorator/api/filter/index.js.map +1 -1
- package/dist/type/decorator/api/filter/order-by.type.js +1 -2
- package/dist/type/decorator/api/filter/order-by.type.js.map +1 -1
- package/dist/type/decorator/api/function/create-properties.type.d.ts +2 -0
- package/dist/type/decorator/api/function/create-properties.type.js +2 -0
- package/dist/type/decorator/api/function/create-properties.type.js.map +1 -0
- package/dist/type/decorator/api/function/delete-criteria.type.d.ts +2 -0
- package/dist/type/decorator/api/function/delete-criteria.type.js +2 -0
- package/dist/type/decorator/api/function/delete-criteria.type.js.map +1 -0
- package/dist/type/decorator/api/function/get-list-properties.type.d.ts +5 -0
- package/dist/type/decorator/api/function/get-list-properties.type.js +2 -0
- package/dist/type/decorator/api/function/get-list-properties.type.js.map +1 -0
- package/dist/type/decorator/api/function/get-many.properties.d.ts +2 -0
- package/dist/type/decorator/api/function/get-many.properties.js +2 -0
- package/dist/type/decorator/api/function/get-many.properties.js.map +1 -0
- package/dist/type/decorator/api/function/get-properties.type.d.ts +2 -0
- package/dist/type/decorator/api/function/get-properties.type.js +2 -0
- package/dist/type/decorator/api/function/get-properties.type.js.map +1 -0
- package/dist/type/decorator/api/function/index.d.ts +8 -5
- package/dist/type/decorator/api/function/index.js +8 -21
- package/dist/type/decorator/api/function/index.js.map +1 -1
- package/dist/type/decorator/api/function/properties.type.js +1 -2
- package/dist/type/decorator/api/function/properties.type.js.map +1 -1
- package/dist/type/decorator/api/function/update-criteria.type.d.ts +2 -0
- package/dist/type/decorator/api/function/update-criteria.type.js +2 -0
- package/dist/type/decorator/api/function/update-criteria.type.js.map +1 -0
- package/dist/type/decorator/api/function/update-properties.type.d.ts +2 -0
- package/dist/type/decorator/api/function/update-properties.type.js +2 -0
- package/dist/type/decorator/api/function/update-properties.type.js.map +1 -0
- package/dist/type/decorator/api/index.d.ts +1 -0
- package/dist/type/decorator/api/index.js +5 -20
- package/dist/type/decorator/api/index.js.map +1 -1
- package/dist/type/decorator/api/property/describe/array/index.js +2 -18
- package/dist/type/decorator/api/property/describe/array/index.js.map +1 -1
- package/dist/type/decorator/api/property/describe/array/optional-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/array/optional-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/array/required-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/array/required-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/base-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/base-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/boolean-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/boolean-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/date-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/date-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/dto/body-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/dto/body-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/dto/guard-properties.type.d.ts +6 -0
- package/dist/type/decorator/api/property/describe/dto/guard-properties.type.js +2 -0
- package/dist/type/decorator/api/property/describe/dto/guard-properties.type.js.map +1 -0
- package/dist/type/decorator/api/property/describe/dto/index.js +5 -21
- package/dist/type/decorator/api/property/describe/dto/index.js.map +1 -1
- package/dist/type/decorator/api/property/describe/dto/properties.type.d.ts +2 -0
- package/dist/type/decorator/api/property/describe/dto/properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/dto/properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/dto/query/get-list-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/dto/query/get-list-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/dto/query/index.js +2 -18
- package/dist/type/decorator/api/property/describe/dto/query/index.js.map +1 -1
- package/dist/type/decorator/api/property/describe/dto/query/properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/dto/query/properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/dto/request-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/dto/request-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/dto/response-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/dto/response-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/example-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/example-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/index.js +12 -28
- package/dist/type/decorator/api/property/describe/index.js.map +1 -1
- package/dist/type/decorator/api/property/describe/number-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/number-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/object-properties.type.d.ts +1 -1
- package/dist/type/decorator/api/property/describe/object-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/object-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/properties/base-dto-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/properties/base-dto-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/properties/base-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/properties/base-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/properties/index.js +2 -18
- package/dist/type/decorator/api/property/describe/properties/index.js.map +1 -1
- package/dist/type/decorator/api/property/describe/properties.type.d.ts +2 -2
- package/dist/type/decorator/api/property/describe/properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/relation-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/relation-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/string-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/string-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/describe/uuid-properties.type.js +1 -2
- package/dist/type/decorator/api/property/describe/uuid-properties.type.js.map +1 -1
- package/dist/type/decorator/api/property/index.js +1 -17
- package/dist/type/decorator/api/property/index.js.map +1 -1
- package/dist/type/decorator/api/service/index.d.ts +2 -0
- package/dist/type/decorator/api/service/index.js +3 -0
- package/dist/type/decorator/api/service/index.js.map +1 -0
- package/dist/type/decorator/api/service/keys.type.d.ts +4 -0
- package/dist/type/decorator/api/service/keys.type.js +2 -0
- package/dist/type/decorator/api/service/keys.type.js.map +1 -0
- package/dist/type/decorator/api/service/properties.type.js +2 -0
- package/dist/type/decorator/api/service/properties.type.js.map +1 -0
- package/dist/type/decorator/index.js +1 -17
- package/dist/type/decorator/index.js.map +1 -1
- package/dist/type/factory/api/controller/index.d.ts +3 -0
- package/dist/type/factory/api/controller/index.js +4 -17
- package/dist/type/factory/api/controller/index.js.map +1 -1
- package/dist/type/factory/api/controller/method-map.type.d.ts +12 -0
- package/dist/type/factory/api/controller/method-map.type.js +2 -0
- package/dist/type/factory/api/controller/method-map.type.js.map +1 -0
- package/dist/type/factory/api/controller/method-name-map.type.d.ts +5 -0
- package/dist/type/factory/api/controller/method-name-map.type.js +2 -0
- package/dist/type/factory/api/controller/method-name-map.type.js.map +1 -0
- package/dist/type/factory/api/controller/method-name.type.d.ts +4 -0
- package/dist/type/factory/api/controller/method-name.type.js +2 -0
- package/dist/type/factory/api/controller/method-name.type.js.map +1 -0
- package/dist/type/factory/api/controller/target-methods.type.d.ts +9 -1
- package/dist/type/factory/api/controller/target-methods.type.js +1 -2
- package/dist/type/factory/api/controller/target-methods.type.js.map +1 -1
- package/dist/type/factory/api/index.js +1 -17
- package/dist/type/factory/api/index.js.map +1 -1
- package/dist/type/factory/index.js +1 -17
- package/dist/type/factory/index.js.map +1 -1
- package/dist/type/index.d.ts +2 -0
- package/dist/type/index.js +5 -19
- package/dist/type/index.js.map +1 -1
- package/dist/type/utility/capitalize-string.type.d.ts +1 -0
- package/dist/type/utility/capitalize-string.type.js +2 -0
- package/dist/type/utility/capitalize-string.type.js.map +1 -0
- package/dist/type/utility/dto/generate-allowed-combination.type.js +1 -2
- package/dist/type/utility/dto/generate-allowed-combination.type.js.map +1 -1
- package/dist/type/utility/dto/generate-is-allowed-combination.type.js +1 -2
- package/dist/type/utility/dto/generate-is-allowed-combination.type.js.map +1 -1
- package/dist/type/utility/dto/index.js +2 -18
- package/dist/type/utility/dto/index.js.map +1 -1
- package/dist/type/utility/index.d.ts +1 -0
- package/dist/type/utility/index.js +2 -17
- package/dist/type/utility/index.js.map +1 -1
- package/dist/utility/api/controller/apply-decorators.utility.d.ts +4 -0
- package/dist/utility/api/controller/apply-decorators.utility.js +65 -0
- package/dist/utility/api/controller/apply-decorators.utility.js.map +1 -0
- package/dist/utility/api/controller/apply-metadata.utility.d.ts +4 -0
- package/dist/utility/api/controller/apply-metadata.utility.js +43 -0
- package/dist/utility/api/controller/apply-metadata.utility.js.map +1 -0
- package/dist/utility/api/controller/get-method-name.utility.js +4 -7
- package/dist/utility/api/controller/get-method-name.utility.js.map +1 -1
- package/dist/utility/api/controller/get-primary-column.utility.d.ts +3 -0
- package/dist/utility/api/controller/get-primary-column.utility.js +11 -0
- package/dist/utility/api/controller/get-primary-column.utility.js.map +1 -0
- package/dist/utility/api/controller/handle-request-relations.utility.d.ts +4 -0
- package/dist/utility/api/controller/handle-request-relations.utility.js +56 -0
- package/dist/utility/api/controller/handle-request-relations.utility.js.map +1 -0
- package/dist/utility/api/controller/index.d.ts +5 -0
- package/dist/utility/api/controller/index.js +7 -18
- package/dist/utility/api/controller/index.js.map +1 -1
- package/dist/utility/api/controller/transform-request.utility.d.ts +17 -0
- package/dist/utility/api/controller/transform-request.utility.js +126 -0
- package/dist/utility/api/controller/transform-request.utility.js.map +1 -0
- package/dist/utility/api/controller/validate-request.utility.d.ts +3 -0
- package/dist/utility/api/controller/validate-request.utility.js +13 -0
- package/dist/utility/api/controller/validate-request.utility.js.map +1 -0
- package/dist/utility/api/controller/write-dto-swagger.utility.d.ts +4 -0
- package/dist/utility/api/controller/write-dto-swagger.utility.js +42 -0
- package/dist/utility/api/controller/write-dto-swagger.utility.js.map +1 -0
- package/dist/utility/api/controller/write-method.utility.d.ts +2 -2
- package/dist/utility/api/controller/write-method.utility.js +6 -9
- package/dist/utility/api/controller/write-method.utility.js.map +1 -1
- package/dist/utility/api/filter-order-by-from-entity.utility.d.ts +1 -1
- package/dist/utility/api/filter-order-by-from-entity.utility.js +7 -10
- package/dist/utility/api/filter-order-by-from-entity.utility.js.map +1 -1
- package/dist/utility/api/index.js +2 -18
- package/dist/utility/api/index.js.map +1 -1
- package/dist/utility/capitalize-string.utility.js +1 -4
- package/dist/utility/capitalize-string.utility.js.map +1 -1
- package/dist/utility/dto/analize.utility.js +3 -6
- package/dist/utility/dto/analize.utility.js.map +1 -1
- package/dist/utility/dto/build-decorator.utility.d.ts +3 -1
- package/dist/utility/dto/build-decorator.utility.js +21 -20
- package/dist/utility/dto/build-decorator.utility.js.map +1 -1
- package/dist/utility/dto/generate-decorator.utility.d.ts +2 -1
- package/dist/utility/dto/generate-decorator.utility.js +8 -12
- package/dist/utility/dto/generate-decorator.utility.js.map +1 -1
- package/dist/utility/dto/generate-exception.utility.js +24 -27
- package/dist/utility/dto/generate-exception.utility.js.map +1 -1
- package/dist/utility/dto/generate-relation-response.utility.d.ts +4 -0
- package/dist/utility/dto/generate-relation-response.utility.js +23 -0
- package/dist/utility/dto/generate-relation-response.utility.js.map +1 -0
- package/dist/utility/dto/generate.utility.d.ts +3 -2
- package/dist/utility/dto/generate.utility.js +57 -64
- package/dist/utility/dto/generate.utility.js.map +1 -1
- package/dist/utility/dto/get-base-class.utility.d.ts +1 -1
- package/dist/utility/dto/get-base-class.utility.js +16 -19
- package/dist/utility/dto/get-base-class.utility.js.map +1 -1
- package/dist/utility/dto/get-decorator-config.utility.js +5 -9
- package/dist/utility/dto/get-decorator-config.utility.js.map +1 -1
- package/dist/utility/dto/handle-date-property.utility.js +5 -8
- package/dist/utility/dto/handle-date-property.utility.js.map +1 -1
- package/dist/utility/dto/index.d.ts +2 -0
- package/dist/utility/dto/index.js +11 -25
- package/dist/utility/dto/index.js.map +1 -1
- package/dist/utility/dto/is-property-exposed-for-guard.utility.d.ts +5 -0
- package/dist/utility/dto/is-property-exposed-for-guard.utility.js +13 -0
- package/dist/utility/dto/is-property-exposed-for-guard.utility.js.map +1 -0
- package/dist/utility/dto/is-property-should-be-marked.utility.d.ts +5 -0
- package/dist/utility/dto/is-property-should-be-marked.utility.js +29 -0
- package/dist/utility/dto/is-property-should-be-marked.utility.js.map +1 -0
- package/dist/utility/dto/is-should-be-generated.utility.js +10 -14
- package/dist/utility/dto/is-should-be-generated.utility.js.map +1 -1
- package/dist/utility/dto/validate-property-config.utility.js +4 -8
- package/dist/utility/dto/validate-property-config.utility.js.map +1 -1
- package/dist/utility/error-exception.utility.js +1 -4
- package/dist/utility/error-exception.utility.js.map +1 -1
- package/dist/utility/error-string.utility.js +1 -4
- package/dist/utility/error-string.utility.js.map +1 -1
- package/dist/utility/generate-entity-information.utility.d.ts +1 -1
- package/dist/utility/generate-entity-information.utility.js +12 -15
- package/dist/utility/generate-entity-information.utility.js.map +1 -1
- package/dist/utility/get-entity-columns.utility.d.ts +1 -2
- package/dist/utility/get-entity-columns.utility.js +15 -8
- package/dist/utility/get-entity-columns.utility.js.map +1 -1
- package/dist/utility/index.js +7 -23
- package/dist/utility/index.js.map +1 -1
- package/dist/validator/all-or-none-of-listed-properties.validator.js +4 -7
- package/dist/validator/all-or-none-of-listed-properties.validator.js.map +1 -1
- package/dist/validator/has-at-least-one-and-only-one-of-listed-properties.validator.js +4 -7
- package/dist/validator/has-at-least-one-and-only-one-of-listed-properties.validator.js.map +1 -1
- package/dist/validator/has-at-least-one-of-listed-properties.validator.js +4 -7
- package/dist/validator/has-at-least-one-of-listed-properties.validator.js.map +1 -1
- package/dist/validator/has-at-least-one-property.validator.js +4 -7
- package/dist/validator/has-at-least-one-property.validator.js.map +1 -1
- package/dist/validator/index.js +6 -22
- package/dist/validator/index.js.map +1 -1
- package/dist/validator/is-regular-expression.validator.js +4 -7
- package/dist/validator/is-regular-expression.validator.js.map +1 -1
- package/dist/validator/only-one-of-listed-properties.validator.js +4 -7
- package/dist/validator/only-one-of-listed-properties.validator.js.map +1 -1
- package/package.json +79 -55
- package/dist/class/api/base-service.class.d.ts +0 -10
- package/dist/class/api/base-service.class.js +0 -31
- package/dist/class/api/base-service.class.js.map +0 -1
- package/dist/helper/index.d.ts +0 -1
- package/dist/helper/index.js +0 -3
- package/dist/helper/index.js.map +0 -1
- package/dist/interface/decorator/api/base-controller.interface.d.ts +0 -4
- package/dist/interface/decorator/api/base-controller.interface.js +0 -3
- package/dist/interface/decorator/api/base-controller.interface.js.map +0 -1
- package/dist/interface/decorator/api/controller-properties.interface.d.ts +0 -26
- package/dist/interface/decorator/api/controller-properties.interface.js +0 -3
- package/dist/interface/decorator/api/controller-properties.interface.js.map +0 -1
- package/dist/interface/decorator/api/function/create-properties.interface.js +0 -3
- package/dist/interface/decorator/api/function/create-properties.interface.js.map +0 -1
- package/dist/interface/service.interface.d.ts +0 -1
- package/dist/interface/service.interface.js +0 -3
- package/dist/interface/service.interface.js.map +0 -1
- package/dist/tsconfig.build.tsbuildinfo +0 -1
- package/dist/type/decorator/api/function/create/executor-properties.type.js +0 -3
- package/dist/type/decorator/api/function/create/executor-properties.type.js.map +0 -1
- package/dist/type/decorator/api/function/create/index.d.ts +0 -2
- package/dist/type/decorator/api/function/create/index.js +0 -19
- package/dist/type/decorator/api/function/create/index.js.map +0 -1
- package/dist/type/decorator/api/function/create/properties.type.d.ts +0 -1
- package/dist/type/decorator/api/function/create/properties.type.js +0 -3
- package/dist/type/decorator/api/function/create/properties.type.js.map +0 -1
- package/dist/type/decorator/api/function/delete/executor-properties.type.d.ts +0 -9
- package/dist/type/decorator/api/function/delete/executor-properties.type.js +0 -3
- package/dist/type/decorator/api/function/delete/executor-properties.type.js.map +0 -1
- package/dist/type/decorator/api/function/delete/index.d.ts +0 -1
- package/dist/type/decorator/api/function/delete/index.js +0 -18
- package/dist/type/decorator/api/function/delete/index.js.map +0 -1
- package/dist/type/decorator/api/function/get/executor-properties.type.d.ts +0 -7
- package/dist/type/decorator/api/function/get/executor-properties.type.js +0 -3
- package/dist/type/decorator/api/function/get/executor-properties.type.js.map +0 -1
- package/dist/type/decorator/api/function/get/index.d.ts +0 -2
- package/dist/type/decorator/api/function/get/index.js +0 -19
- package/dist/type/decorator/api/function/get/index.js.map +0 -1
- package/dist/type/decorator/api/function/get/properties.type.d.ts +0 -6
- package/dist/type/decorator/api/function/get/properties.type.js +0 -3
- package/dist/type/decorator/api/function/get/properties.type.js.map +0 -1
- package/dist/type/decorator/api/function/get-list/base-properties.type.d.ts +0 -16
- package/dist/type/decorator/api/function/get-list/base-properties.type.js +0 -3
- package/dist/type/decorator/api/function/get-list/base-properties.type.js.map +0 -1
- package/dist/type/decorator/api/function/get-list/executor-properties.type.d.ts +0 -9
- package/dist/type/decorator/api/function/get-list/executor-properties.type.js +0 -3
- package/dist/type/decorator/api/function/get-list/executor-properties.type.js.map +0 -1
- package/dist/type/decorator/api/function/get-list/index.d.ts +0 -3
- package/dist/type/decorator/api/function/get-list/index.js +0 -20
- package/dist/type/decorator/api/function/get-list/index.js.map +0 -1
- package/dist/type/decorator/api/function/get-list/properties.type.d.ts +0 -9
- package/dist/type/decorator/api/function/get-list/properties.type.js +0 -3
- package/dist/type/decorator/api/function/get-list/properties.type.js.map +0 -1
- package/dist/type/decorator/api/function/update/executor-properties.type.d.ts +0 -11
- package/dist/type/decorator/api/function/update/executor-properties.type.js +0 -3
- package/dist/type/decorator/api/function/update/executor-properties.type.js.map +0 -1
- package/dist/type/decorator/api/function/update/index.d.ts +0 -2
- package/dist/type/decorator/api/function/update/index.js +0 -19
- package/dist/type/decorator/api/function/update/index.js.map +0 -1
- package/dist/type/decorator/api/function/update/properties.type.d.ts +0 -1
- package/dist/type/decorator/api/function/update/properties.type.js +0 -3
- package/dist/type/decorator/api/function/update/properties.type.js.map +0 -1
- package/dist/type/decorator/api/service-properties.type.js +0 -3
- package/dist/type/decorator/api/service-properties.type.js.map +0 -1
- package/dist/utility/dto/is-property-should-be-enabled.utility.d.ts +0 -3
- package/dist/utility/dto/is-property-should-be-enabled.utility.js +0 -26
- package/dist/utility/dto/is-property-should-be-enabled.utility.js.map +0 -1
- /package/dist/type/decorator/api/{service-properties.type.d.ts → service/properties.type.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number.class.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"number.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/number.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAK7D,MAAM,OAAO,wBAAwB;IACpC,MAAM,CAAC,QAA8C,EAAE,MAAqB,EAAE,MAAyC;QACtH,OAAO,iBAAiB,CAAC;YACxB,WAAW,EAAE,QAAQ,CAAC,WAAW;YACjC,MAAM;YACN,GAAG,MAAM;YACT,OAAO,EAAE,QAAQ,CAAC,OAAO;YACzB,OAAO,EAAE,QAAQ,CAAC,OAAO;YACzB,UAAU,EAAE,QAAQ,CAAC,UAAU;YAC/B,IAAI,EAAE,QAAQ,CAAC,QAAQ;SACvB,CAAC,CAAC;IACJ,CAAC;CACD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IApiEntity, IDtoGenerateFactory } from "../../../../../interface";
|
|
2
2
|
import type { TApiPropertyDescribeDtoProperties, TApiPropertyDescribeObjectProperties } from "../../../../../type";
|
|
3
|
-
export declare class DtoPropertyFactoryObject implements IDtoGenerateFactory {
|
|
4
|
-
create(metadata: TApiPropertyDescribeObjectProperties, entity: IApiEntity
|
|
3
|
+
export declare class DtoPropertyFactoryObject<E> implements IDtoGenerateFactory<E> {
|
|
4
|
+
create(metadata: TApiPropertyDescribeObjectProperties, entity: IApiEntity<E>, config: TApiPropertyDescribeDtoProperties): PropertyDecorator;
|
|
5
5
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.DtoPropertyFactoryObject = void 0;
|
|
4
|
-
const decorator_1 = require("../../../../../decorator");
|
|
5
|
-
class DtoPropertyFactoryObject {
|
|
1
|
+
import { ApiPropertyObject } from "../../../../../decorator";
|
|
2
|
+
export class DtoPropertyFactoryObject {
|
|
6
3
|
create(metadata, entity, config) {
|
|
7
|
-
return
|
|
4
|
+
return ApiPropertyObject({
|
|
8
5
|
entity,
|
|
9
6
|
...config,
|
|
10
7
|
enum: metadata.enum,
|
|
@@ -13,5 +10,4 @@ class DtoPropertyFactoryObject {
|
|
|
13
10
|
});
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
|
-
exports.DtoPropertyFactoryObject = DtoPropertyFactoryObject;
|
|
17
13
|
//# sourceMappingURL=object.class.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object.class.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"object.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/object.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAK7D,MAAM,OAAO,wBAAwB;IACpC,MAAM,CAAC,QAA8C,EAAE,MAAqB,EAAE,MAAyC;QACtH,OAAO,iBAAiB,CAAC;YACxB,MAAM;YACN,GAAG,MAAM;YACT,IAAI,EAAE,QAAQ,CAAC,IAAI;YACnB,GAAG,QAAQ;YACX,IAAI,EAAE,QAAQ,CAAC,QAAQ;SACvB,CAAC,CAAC;IACJ,CAAC;CACD"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { EApiDtoType } from "../../../../../enum";
|
|
2
|
+
import type { EApiRouteType } from "../../../../../enum";
|
|
1
3
|
import type { IApiEntity, IDtoGenerateFactory } from "../../../../../interface";
|
|
2
4
|
import type { TApiPropertyDescribeDtoProperties, TApiPropertyDescribeUuidProperties } from "../../../../../type";
|
|
3
|
-
export declare class DtoPropertyFactoryRelation implements IDtoGenerateFactory {
|
|
4
|
-
create(metadata: TApiPropertyDescribeUuidProperties, entity: IApiEntity
|
|
5
|
+
export declare class DtoPropertyFactoryRelation<E> implements IDtoGenerateFactory<E> {
|
|
6
|
+
create(metadata: TApiPropertyDescribeUuidProperties, entity: IApiEntity<E>, config: TApiPropertyDescribeDtoProperties, method: EApiRouteType, dtoType: EApiDtoType, propertyName: string): PropertyDecorator;
|
|
5
7
|
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { ApiPropertyObject, ApiPropertyUUID } from "../../../../../decorator";
|
|
2
|
+
import { EApiDtoType } from "../../../../../enum";
|
|
3
|
+
import { DtoGenerateRelationResponse } from "../../../../../utility";
|
|
4
|
+
export class DtoPropertyFactoryRelation {
|
|
5
|
+
create(metadata, entity, config, method, dtoType, propertyName) {
|
|
6
|
+
if (dtoType === EApiDtoType.RESPONSE) {
|
|
7
|
+
console.log("PIDOR CONFIG", { description: metadata.description, entity, type: DtoGenerateRelationResponse(entity, method, dtoType, propertyName), ...config });
|
|
8
|
+
return ApiPropertyObject({ description: metadata.description, entity, type: DtoGenerateRelationResponse(entity, method, dtoType, propertyName), ...config });
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
return ApiPropertyUUID({ description: metadata.description, entity, ...config });
|
|
12
|
+
}
|
|
8
13
|
}
|
|
9
14
|
}
|
|
10
|
-
exports.DtoPropertyFactoryRelation = DtoPropertyFactoryRelation;
|
|
11
15
|
//# sourceMappingURL=relation.class.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relation.class.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"relation.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/relation.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAMrE,MAAM,OAAO,0BAA0B;IACtC,MAAM,CAAC,QAA4C,EAAE,MAAqB,EAAE,MAAyC,EAAE,MAAqB,EAAE,OAAoB,EAAE,YAAoB;QACvL,IAAI,OAAO,KAAK,WAAW,CAAC,QAAQ,EAAE,CAAC;YACtC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,2BAA2B,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;YAEhK,OAAO,iBAAiB,CAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,2BAA2B,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;QAC9J,CAAC;aAAM,CAAC;YACP,OAAO,eAAe,CAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;QAClF,CAAC;IACF,CAAC;CACD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IApiEntity, IDtoGenerateFactory } from "../../../../../interface";
|
|
2
2
|
import type { TApiPropertyDescribeDtoProperties, TApiPropertyDescribeStringProperties } from "../../../../../type";
|
|
3
|
-
export declare class DtoPropertyFactoryString implements IDtoGenerateFactory {
|
|
4
|
-
create(metadata: TApiPropertyDescribeStringProperties, entity: IApiEntity
|
|
3
|
+
export declare class DtoPropertyFactoryString<E> implements IDtoGenerateFactory<E> {
|
|
4
|
+
create(metadata: TApiPropertyDescribeStringProperties, entity: IApiEntity<E>, config: TApiPropertyDescribeDtoProperties): PropertyDecorator;
|
|
5
5
|
}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.DtoPropertyFactoryString = void 0;
|
|
4
|
-
const decorator_1 = require("../../../../../decorator");
|
|
5
|
-
class DtoPropertyFactoryString {
|
|
1
|
+
import { ApiPropertyString } from "../../../../../decorator";
|
|
2
|
+
export class DtoPropertyFactoryString {
|
|
6
3
|
create(metadata, entity, config) {
|
|
7
|
-
return
|
|
4
|
+
return ApiPropertyString({
|
|
8
5
|
entity,
|
|
9
6
|
...config,
|
|
10
7
|
...metadata,
|
|
11
8
|
});
|
|
12
9
|
}
|
|
13
10
|
}
|
|
14
|
-
exports.DtoPropertyFactoryString = DtoPropertyFactoryString;
|
|
15
11
|
//# sourceMappingURL=string.class.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string.class.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"string.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/string.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAK7D,MAAM,OAAO,wBAAwB;IACpC,MAAM,CAAC,QAA8C,EAAE,MAAqB,EAAE,MAAyC;QACtH,OAAO,iBAAiB,CAAC;YACxB,MAAM;YACN,GAAG,MAAM;YACT,GAAG,QAAQ;SAC+C,CAAC,CAAC;IAC9D,CAAC;CACD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IApiEntity, IDtoGenerateFactory } from "../../../../../interface";
|
|
2
2
|
import type { TApiPropertyDescribeDtoProperties, TApiPropertyDescribeUuidProperties } from "../../../../../type";
|
|
3
|
-
export declare class DtoPropertyFactoryUuid implements IDtoGenerateFactory {
|
|
4
|
-
create(metadata: TApiPropertyDescribeUuidProperties, entity: IApiEntity
|
|
3
|
+
export declare class DtoPropertyFactoryUuid<E> implements IDtoGenerateFactory<E> {
|
|
4
|
+
create(metadata: TApiPropertyDescribeUuidProperties, entity: IApiEntity<E>, config: TApiPropertyDescribeDtoProperties): PropertyDecorator;
|
|
5
5
|
}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.DtoPropertyFactoryUuid = void 0;
|
|
4
|
-
const decorator_1 = require("../../../../../decorator");
|
|
5
|
-
class DtoPropertyFactoryUuid {
|
|
1
|
+
import { ApiPropertyUUID } from "../../../../../decorator";
|
|
2
|
+
export class DtoPropertyFactoryUuid {
|
|
6
3
|
create(metadata, entity, config) {
|
|
7
|
-
return
|
|
4
|
+
return ApiPropertyUUID({ description: metadata.description, entity, ...config });
|
|
8
5
|
}
|
|
9
6
|
}
|
|
10
|
-
exports.DtoPropertyFactoryUuid = DtoPropertyFactoryUuid;
|
|
11
7
|
//# sourceMappingURL=uuid.class.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uuid.class.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"uuid.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/uuid.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAK3D,MAAM,OAAO,sBAAsB;IAClC,MAAM,CAAC,QAA4C,EAAE,MAAqB,EAAE,MAAyC;QACpH,OAAO,eAAe,CAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IAClF,CAAC;CACD"}
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./factory"), exports);
|
|
1
|
+
export * from "./factory";
|
|
18
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/class/utility/dto/property/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.DtoStrategyBody = void 0;
|
|
4
|
-
const enum_1 = require("../../../../enum");
|
|
5
|
-
class DtoStrategyBody {
|
|
1
|
+
import { EApiRouteType } from "../../../../enum";
|
|
2
|
+
export class DtoStrategyBody {
|
|
6
3
|
getDecoratorConfig(method, _metadata) {
|
|
7
4
|
switch (method) {
|
|
8
|
-
case
|
|
5
|
+
case EApiRouteType.UPDATE: {
|
|
9
6
|
return { expose: false, required: true, response: false };
|
|
10
7
|
}
|
|
11
|
-
case
|
|
8
|
+
case EApiRouteType.PARTIAL_UPDATE: {
|
|
12
9
|
return { expose: false, required: false, response: false };
|
|
13
10
|
}
|
|
14
11
|
default: {
|
|
@@ -17,5 +14,4 @@ class DtoStrategyBody {
|
|
|
17
14
|
}
|
|
18
15
|
}
|
|
19
16
|
}
|
|
20
|
-
exports.DtoStrategyBody = DtoStrategyBody;
|
|
21
17
|
//# sourceMappingURL=body.class.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"body.class.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"body.class.js","sourceRoot":"","sources":["../../../../../src/class/utility/dto/strategy/body.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,MAAM,OAAO,eAAe;IAC3B,kBAAkB,CAAC,MAAqB,EAAE,SAAyC;QAClF,QAAQ,MAAM,EAAE,CAAC;YAChB,KAAK,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC3B,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;YAC3D,CAAC;YAED,KAAK,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC;gBACnC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;YAC5D,CAAC;YAED,OAAO,CAAC,CAAC,CAAC;gBACT,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;YAC5D,CAAC;QACF,CAAC;IACF,CAAC;CACD"}
|
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./body.class"), exports);
|
|
18
|
-
__exportStar(require("./response.class"), exports);
|
|
19
|
-
__exportStar(require("./query.class"), exports);
|
|
20
|
-
__exportStar(require("./request.class"), exports);
|
|
1
|
+
export * from "./body.class";
|
|
2
|
+
export * from "./response.class";
|
|
3
|
+
export * from "./query.class";
|
|
4
|
+
export * from "./request.class";
|
|
21
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/class/utility/dto/strategy/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.DtoStrategyQuery = void 0;
|
|
4
|
-
const enum_1 = require("../../../../enum");
|
|
5
|
-
class DtoStrategyQuery {
|
|
1
|
+
import { EApiRouteType } from "../../../../enum";
|
|
2
|
+
export class DtoStrategyQuery {
|
|
6
3
|
getDecoratorConfig(method, _metadata) {
|
|
7
4
|
switch (method) {
|
|
8
|
-
case
|
|
5
|
+
case EApiRouteType.GET_LIST: {
|
|
9
6
|
return { expose: false, required: false, response: false };
|
|
10
7
|
}
|
|
11
8
|
default: {
|
|
@@ -14,5 +11,4 @@ class DtoStrategyQuery {
|
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
13
|
}
|
|
17
|
-
exports.DtoStrategyQuery = DtoStrategyQuery;
|
|
18
14
|
//# sourceMappingURL=query.class.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.class.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"query.class.js","sourceRoot":"","sources":["../../../../../src/class/utility/dto/strategy/query.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,MAAM,OAAO,gBAAgB;IAC5B,kBAAkB,CAAC,MAAqB,EAAE,SAAyC;QAClF,QAAQ,MAAM,EAAE,CAAC;YAChB,KAAK,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC;gBAC7B,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;YAC5D,CAAC;YAED,OAAO,CAAC,CAAC,CAAC;gBACT,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;YAC3D,CAAC;QACF,CAAC;IACF,CAAC;CACD"}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.DtoStrategyRequest = void 0;
|
|
4
|
-
const enum_1 = require("../../../../enum");
|
|
5
|
-
class DtoStrategyRequest {
|
|
1
|
+
import { EApiRouteType } from "../../../../enum";
|
|
2
|
+
export class DtoStrategyRequest {
|
|
6
3
|
getDecoratorConfig(method, _metadata) {
|
|
7
4
|
switch (method) {
|
|
8
|
-
case
|
|
9
|
-
case
|
|
5
|
+
case EApiRouteType.GET:
|
|
6
|
+
case EApiRouteType.DELETE: {
|
|
10
7
|
return { expose: false, required: true, response: false };
|
|
11
8
|
}
|
|
12
|
-
case
|
|
13
|
-
case
|
|
9
|
+
case EApiRouteType.CREATE:
|
|
10
|
+
case EApiRouteType.UPDATE: {
|
|
14
11
|
return { expose: false, required: true, response: false };
|
|
15
12
|
}
|
|
16
|
-
case
|
|
13
|
+
case EApiRouteType.PARTIAL_UPDATE: {
|
|
17
14
|
return { expose: false, required: true, response: false };
|
|
18
15
|
}
|
|
19
16
|
default: {
|
|
@@ -22,5 +19,4 @@ class DtoStrategyRequest {
|
|
|
22
19
|
}
|
|
23
20
|
}
|
|
24
21
|
}
|
|
25
|
-
exports.DtoStrategyRequest = DtoStrategyRequest;
|
|
26
22
|
//# sourceMappingURL=request.class.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.class.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"request.class.js","sourceRoot":"","sources":["../../../../../src/class/utility/dto/strategy/request.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,MAAM,OAAO,kBAAkB;IAC9B,kBAAkB,CAAC,MAAqB,EAAE,SAAyC;QAClF,QAAQ,MAAM,EAAE,CAAC;YAChB,KAAK,aAAa,CAAC,GAAG,CAAC;YAEvB,KAAK,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC3B,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;YAC3D,CAAC;YAED,KAAK,aAAa,CAAC,MAAM,CAAC;YAE1B,KAAK,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC3B,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;YAC3D,CAAC;YAED,KAAK,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC;gBACnC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;YAC3D,CAAC;YAED,OAAO,CAAC,CAAC,CAAC;gBACT,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;YAC3D,CAAC;QACF,CAAC;IACF,CAAC;CACD"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.DtoStrategyResponse = void 0;
|
|
4
|
-
const enum_1 = require("../../../../enum");
|
|
5
|
-
class DtoStrategyResponse {
|
|
1
|
+
import { EApiRouteType } from "../../../../enum";
|
|
2
|
+
export class DtoStrategyResponse {
|
|
6
3
|
getDecoratorConfig(method, _metadata) {
|
|
7
4
|
switch (method) {
|
|
8
|
-
case
|
|
5
|
+
case EApiRouteType.DELETE: {
|
|
9
6
|
return { expose: true, required: false, response: true };
|
|
10
7
|
}
|
|
11
8
|
default: {
|
|
@@ -14,5 +11,4 @@ class DtoStrategyResponse {
|
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
13
|
}
|
|
17
|
-
exports.DtoStrategyResponse = DtoStrategyResponse;
|
|
18
14
|
//# sourceMappingURL=response.class.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.class.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"response.class.js","sourceRoot":"","sources":["../../../../../src/class/utility/dto/strategy/response.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,MAAM,OAAO,mBAAmB;IAC/B,kBAAkB,CAAC,MAAqB,EAAE,SAAyC;QAClF,QAAQ,MAAM,EAAE,CAAC;YAChB,KAAK,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC3B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;YAC1D,CAAC;YAED,OAAO,CAAC,CAAC,CAAC;gBACT,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;YAC1D,CAAC;QACF,CAAC;IACF,CAAC;CACD"}
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./dto/strategy"), exports);
|
|
1
|
+
export * from "./dto/strategy";
|
|
18
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/class/utility/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DATE_CONSTANT = void 0;
|
|
4
1
|
const MINIMUM_UNIX_TIME = 0;
|
|
5
2
|
const MAXIMUM_UNIX_TIME = 2_147_483_647_000;
|
|
6
|
-
|
|
3
|
+
export const DATE_CONSTANT = {
|
|
7
4
|
MAXIMUM_UNIX_TIME,
|
|
8
5
|
MINIMUM_UNIX_TIME,
|
|
9
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.constant.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"date.constant.js","sourceRoot":"","sources":["../../src/constant/date.constant.ts"],"names":[],"mappings":"AAAA,MAAM,iBAAiB,GAAW,CAAC,CAAC;AACpC,MAAM,iBAAiB,GAAW,iBAAiB,CAAC;AAEpD,MAAM,CAAC,MAAM,aAAa,GAGtB;IACH,iBAAiB;IACjB,iBAAiB;CACR,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CONTROLLER_API_DECORATOR_CONSTANT = void 0;
|
|
4
1
|
const RESERVED_METHOD_PREFIX = "apiController";
|
|
5
|
-
|
|
2
|
+
export const CONTROLLER_API_DECORATOR_CONSTANT = {
|
|
6
3
|
RESERVED_METHOD_PREFIX,
|
|
7
4
|
};
|
|
8
5
|
//# sourceMappingURL=controller.constant.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller.constant.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"controller.constant.js","sourceRoot":"","sources":["../../../../src/constant/decorator/api/controller.constant.ts"],"names":[],"mappings":"AAAA,MAAM,sBAAsB,GAAW,eAAe,CAAC;AAEvD,MAAM,CAAC,MAAM,iCAAiC,GAE1C;IACH,sBAAsB;CACb,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const enum_1 = require("../../../enum");
|
|
5
|
-
const DEFAULT_FILTER_ORDER_BY_DIRECTION = enum_1.EFilterOrderDirection.ASC;
|
|
6
|
-
exports.FUNCTION_API_DECORATOR_CONSTANT = {
|
|
1
|
+
import { EFilterOrderDirection } from "../../../enum";
|
|
2
|
+
const DEFAULT_FILTER_ORDER_BY_DIRECTION = EFilterOrderDirection.ASC;
|
|
3
|
+
export const FUNCTION_API_DECORATOR_CONSTANT = {
|
|
7
4
|
DEFAULT_FILTER_ORDER_BY_DIRECTION,
|
|
8
5
|
};
|
|
9
6
|
//# sourceMappingURL=function.constant.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function.constant.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"function.constant.js","sourceRoot":"","sources":["../../../../src/constant/decorator/api/function.constant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAEtD,MAAM,iCAAiC,GAA0B,qBAAqB,CAAC,GAAG,CAAC;AAE3F,MAAM,CAAC,MAAM,+BAA+B,GAExC;IACH,iCAAiC;CACxB,CAAC"}
|
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./function.constant"), exports);
|
|
18
|
-
__exportStar(require("./controller.constant"), exports);
|
|
19
|
-
__exportStar(require("./property-describe.constant"), exports);
|
|
1
|
+
export * from "./function.constant";
|
|
2
|
+
export * from "./controller.constant";
|
|
3
|
+
export * from "./property-describe.constant";
|
|
20
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constant/decorator/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT = void 0;
|
|
4
1
|
const METADATA_PROPERTY_NAME = "API_PROPERTY_DESCRIBE";
|
|
5
|
-
|
|
2
|
+
export const PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT = {
|
|
6
3
|
METADATA_PROPERTY_NAME,
|
|
7
4
|
};
|
|
8
5
|
//# sourceMappingURL=property-describe.constant.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"property-describe.constant.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"property-describe.constant.js","sourceRoot":"","sources":["../../../../src/constant/decorator/api/property-describe.constant.ts"],"names":[],"mappings":"AACA,MAAM,sBAAsB,GAA4B,uBAAgC,CAAC;AAEzF,MAAM,CAAC,MAAM,wCAAwC,GAAiE;IACrH,sBAAsB;CACb,CAAC"}
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./api"), exports);
|
|
1
|
+
export * from "./api";
|
|
18
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constant/decorator/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EXCEPTION_DTO_CONSTANT = void 0;
|
|
4
1
|
const MINIMUM_ERROR_LENGTH = 3;
|
|
5
2
|
const MAXIMUM_ERROR_LENGTH = 64;
|
|
6
3
|
const MINIMUM_ERROR_MESSAGE_LENGTH = 3;
|
|
7
4
|
const MAXIMUM_ERROR_MESSAGE_LENGTH = 64;
|
|
8
|
-
|
|
5
|
+
export const EXCEPTION_DTO_CONSTANT = {
|
|
9
6
|
MAXIMUM_ERROR_LENGTH,
|
|
10
7
|
MAXIMUM_ERROR_MESSAGE_LENGTH,
|
|
11
8
|
MINIMUM_ERROR_LENGTH,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exception.constant.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"exception.constant.js","sourceRoot":"","sources":["../../../src/constant/dto/exception.constant.ts"],"names":[],"mappings":"AAAA,MAAM,oBAAoB,GAAW,CAAC,CAAC;AACvC,MAAM,oBAAoB,GAAW,EAAE,CAAC;AACxC,MAAM,4BAA4B,GAAW,CAAC,CAAC;AAC/C,MAAM,4BAA4B,GAAW,EAAE,CAAC;AAEhD,MAAM,CAAC,MAAM,sBAAsB,GAK/B;IACH,oBAAoB;IACpB,4BAA4B;IAC5B,oBAAoB;IACpB,4BAA4B;CACnB,CAAC"}
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./exception.constant"), exports);
|
|
1
|
+
export * from "./exception.constant";
|
|
18
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constant/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const AUTHORIZED_ENTITY = Symbol("AUTHORIZED_ENTITY");
|
|
2
|
+
const REQUEST_IP = Symbol("REQUEST_IP");
|
|
3
|
+
const REQUEST_USER_AGENT = Symbol("REQUEST_USER_AGENT");
|
|
4
|
+
const REQUEST_TIMESTAMP = Symbol("REQUEST_TIMESTAMP");
|
|
5
|
+
const REQUEST_SIGNATURE = Symbol("REQUEST_SIGNATURE");
|
|
6
|
+
export const TRANSFORMER_VALUE_DTO_CONSTANT = {
|
|
7
|
+
AUTHORIZED_ENTITY,
|
|
8
|
+
REQUEST_IP,
|
|
9
|
+
REQUEST_SIGNATURE,
|
|
10
|
+
REQUEST_TIMESTAMP,
|
|
11
|
+
REQUEST_USER_AGENT,
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=transformer-value.constant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transformer-value.constant.js","sourceRoot":"","sources":["../../../src/constant/dto/transformer-value.constant.ts"],"names":[],"mappings":"AAAA,MAAM,iBAAiB,GAAW,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAC9D,MAAM,UAAU,GAAW,MAAM,CAAC,YAAY,CAAC,CAAC;AAChD,MAAM,kBAAkB,GAAW,MAAM,CAAC,oBAAoB,CAAC,CAAC;AAChE,MAAM,iBAAiB,GAAW,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAC9D,MAAM,iBAAiB,GAAW,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAE9D,MAAM,CAAC,MAAM,8BAA8B,GAMvC;IACH,iBAAiB;IACjB,UAAU;IACV,iBAAiB;IACjB,iBAAiB;IACjB,kBAAkB;CACT,CAAC"}
|