@elsikora/nestjs-crud-automator 1.24.0-dev.1 → 2.0.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +213 -163
- package/dist/cjs/class/api/authorization/bootstrap-validation.service.class.d.ts +1 -0
- package/dist/cjs/class/api/authorization/bootstrap-validation.service.class.js +37 -3
- package/dist/cjs/class/api/authorization/bootstrap-validation.service.class.js.map +1 -1
- package/dist/cjs/class/api/authorization/cache-invalidation.service.class.d.ts +7 -0
- package/dist/cjs/class/api/authorization/cache-invalidation.service.class.js +21 -0
- package/dist/cjs/class/api/authorization/cache-invalidation.service.class.js.map +1 -0
- package/dist/cjs/class/api/authorization/guard.class.d.ts +1 -2
- package/dist/cjs/class/api/authorization/guard.class.js +13 -18
- package/dist/cjs/class/api/authorization/guard.class.js.map +1 -1
- package/dist/cjs/class/api/authorization/index.d.ts +1 -0
- package/dist/cjs/class/api/authorization/policy/executor.class.js +1 -2
- package/dist/cjs/class/api/authorization/policy/executor.class.js.map +1 -1
- package/dist/cjs/class/api/authorization/policy/index.d.ts +1 -0
- package/dist/cjs/class/api/authorization/policy/registry.class.d.ts +3 -5
- package/dist/cjs/class/api/authorization/policy/registry.class.js +11 -34
- package/dist/cjs/class/api/authorization/policy/registry.class.js.map +1 -1
- package/dist/cjs/class/api/authorization/policy/subscriber-wrapper.class.d.ts +10 -0
- package/dist/cjs/class/api/authorization/policy/subscriber-wrapper.class.js +23 -0
- package/dist/cjs/class/api/authorization/policy/subscriber-wrapper.class.js.map +1 -0
- package/dist/cjs/class/api/authorization/runtime.class.d.ts +3 -2
- package/dist/cjs/class/api/authorization/runtime.class.js +6 -5
- package/dist/cjs/class/api/authorization/runtime.class.js.map +1 -1
- package/dist/cjs/class/api/authorization/simulator.class.d.ts +2 -0
- package/dist/cjs/class/api/authorization/simulator.class.js +1 -0
- package/dist/cjs/class/api/authorization/simulator.class.js.map +1 -1
- package/dist/cjs/class/api/function/context-storage.class.d.ts +7 -0
- package/dist/cjs/class/api/function/context-storage.class.js +16 -0
- package/dist/cjs/class/api/function/context-storage.class.js.map +1 -0
- package/dist/cjs/class/api/function/custom-runtime.class.d.ts +19 -0
- package/dist/cjs/class/api/function/custom-runtime.class.js +118 -0
- package/dist/cjs/class/api/function/custom-runtime.class.js.map +1 -0
- package/dist/cjs/class/api/function/index.d.ts +1 -0
- package/dist/cjs/class/api/function/transaction-scope.class.d.ts +6 -0
- package/dist/cjs/class/api/function/transaction-scope.class.js +34 -0
- package/dist/cjs/class/api/function/transaction-scope.class.js.map +1 -0
- package/dist/cjs/class/api/index.d.ts +2 -0
- package/dist/cjs/class/api/route-runtime.class.d.ts +21 -0
- package/dist/cjs/class/api/route-runtime.class.js +335 -0
- package/dist/cjs/class/api/route-runtime.class.js.map +1 -0
- package/dist/cjs/class/api/service-base.class.d.ts +9 -7
- package/dist/cjs/class/api/service-base.class.js +16 -6
- package/dist/cjs/class/api/service-base.class.js.map +1 -1
- package/dist/cjs/class/api/subscriber/executor.class.d.ts +7 -6
- package/dist/cjs/class/api/subscriber/executor.class.js +16 -12
- package/dist/cjs/class/api/subscriber/executor.class.js.map +1 -1
- package/dist/cjs/class/api/subscriber/index.d.ts +1 -0
- package/dist/cjs/class/api/subscriber/registry.class.d.ts +5 -2
- package/dist/cjs/class/api/subscriber/registry.class.js +26 -24
- package/dist/cjs/class/api/subscriber/registry.class.js.map +1 -1
- package/dist/cjs/class/api/subscriber/wrapper.class.d.ts +18 -0
- package/dist/cjs/class/api/subscriber/wrapper.class.js +23 -0
- package/dist/cjs/class/api/subscriber/wrapper.class.js.map +1 -0
- package/dist/cjs/class/utility/dto/exception/details/foreign-key-violation.class.js +5 -1
- package/dist/cjs/class/utility/dto/exception/details/foreign-key-violation.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/exception/details/unique-violation.class.js +5 -1
- package/dist/cjs/class/utility/dto/exception/details/unique-violation.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/property/factory/number.class.js +6 -2
- package/dist/cjs/class/utility/dto/property/factory/number.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/property/factory/relation.class.js +5 -1
- package/dist/cjs/class/utility/dto/property/factory/relation.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/strategy/body.class.js +5 -1
- package/dist/cjs/class/utility/dto/strategy/body.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/strategy/query.class.js +5 -1
- package/dist/cjs/class/utility/dto/strategy/query.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/strategy/request.class.js +5 -1
- package/dist/cjs/class/utility/dto/strategy/request.class.js.map +1 -1
- package/dist/cjs/class/utility/dto/strategy/response.class.js +5 -1
- package/dist/cjs/class/utility/dto/strategy/response.class.js.map +1 -1
- package/dist/cjs/constant/decorator/api/method.constant.d.ts +2 -3
- package/dist/cjs/constant/decorator/api/method.constant.js +4 -6
- package/dist/cjs/constant/decorator/api/method.constant.js.map +1 -1
- package/dist/cjs/constant/utility/dto/constant.js +6 -2
- package/dist/cjs/constant/utility/dto/constant.js.map +1 -1
- package/dist/cjs/decorator/api/function/create.decorator.js +51 -24
- package/dist/cjs/decorator/api/function/create.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/custom.decorator.d.ts +9 -0
- package/dist/cjs/decorator/api/function/custom.decorator.js +47 -0
- package/dist/cjs/decorator/api/function/custom.decorator.js.map +1 -0
- package/dist/cjs/decorator/api/function/decorator.js +16 -7
- package/dist/cjs/decorator/api/function/decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/delete.decorator.js +62 -41
- package/dist/cjs/decorator/api/function/delete.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/get/decorator.js +40 -25
- package/dist/cjs/decorator/api/function/get/decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/get/list.decorator.js +40 -25
- package/dist/cjs/decorator/api/function/get/list.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/get/many.decorator.js +40 -25
- package/dist/cjs/decorator/api/function/get/many.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/function/index.d.ts +1 -0
- package/dist/cjs/decorator/api/function/update.decorator.js +62 -41
- package/dist/cjs/decorator/api/function/update.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/index.d.ts +1 -0
- package/dist/cjs/decorator/api/method.decorator.d.ts +5 -6
- package/dist/cjs/decorator/api/method.decorator.js +65 -325
- package/dist/cjs/decorator/api/method.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/boolean.decorator.js +23 -4
- package/dist/cjs/decorator/api/property/boolean.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/date.decorator.js +23 -4
- package/dist/cjs/decorator/api/property/date.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/enum.decorator.js +21 -3
- package/dist/cjs/decorator/api/property/enum.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/number.decorator.js +28 -5
- package/dist/cjs/decorator/api/property/number.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/object.decorator.js +21 -3
- package/dist/cjs/decorator/api/property/object.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/string.decorator.js +25 -8
- package/dist/cjs/decorator/api/property/string.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/property/uuid.decorator.js +26 -4
- package/dist/cjs/decorator/api/property/uuid.decorator.js.map +1 -1
- package/dist/cjs/decorator/api/route-custom.decorator.d.ts +9 -0
- package/dist/cjs/decorator/api/route-custom.decorator.js +101 -0
- package/dist/cjs/decorator/api/route-custom.decorator.js.map +1 -0
- package/dist/cjs/decorator/api/service/decorator.js +28 -23
- package/dist/cjs/decorator/api/service/decorator.js.map +1 -1
- package/dist/cjs/enum/decorator/api/controller/index.d.ts +3 -1
- package/dist/cjs/enum/decorator/api/controller/relation-reference-shape.enum.d.ts +4 -0
- package/dist/cjs/enum/decorator/api/controller/relation-reference-shape.enum.js +8 -0
- package/dist/cjs/enum/decorator/api/controller/relation-reference-shape.enum.js.map +1 -0
- package/dist/cjs/enum/decorator/api/controller/request/index.d.ts +2 -0
- package/dist/cjs/enum/decorator/api/controller/request/target.enum.d.ts +5 -0
- package/dist/cjs/enum/decorator/api/controller/request/target.enum.js +9 -0
- package/dist/cjs/enum/decorator/api/controller/request/target.enum.js.map +1 -0
- package/dist/cjs/enum/decorator/api/controller/{request-transformer-type.enum.js → request/transformer-type.enum.js} +1 -1
- package/dist/cjs/enum/decorator/api/controller/request/transformer-type.enum.js.map +1 -0
- package/dist/cjs/enum/decorator/api/controller/response-target.enum.d.ts +3 -0
- package/dist/cjs/enum/decorator/api/controller/response-target.enum.js +7 -0
- package/dist/cjs/enum/decorator/api/controller/response-target.enum.js.map +1 -0
- package/dist/cjs/enum/decorator/api/dto-type.enum.d.ts +1 -1
- package/dist/cjs/enum/decorator/api/dto-type.enum.js +1 -1
- package/dist/cjs/enum/decorator/api/dto-type.enum.js.map +1 -1
- package/dist/cjs/enum/decorator/api/function-transaction-mode.enum.d.ts +6 -0
- package/dist/cjs/enum/decorator/api/function-transaction-mode.enum.js +10 -0
- package/dist/cjs/enum/decorator/api/function-transaction-mode.enum.js.map +1 -0
- package/dist/cjs/enum/decorator/api/function-type.enum.d.ts +1 -0
- package/dist/cjs/enum/decorator/api/function-type.enum.js +1 -0
- package/dist/cjs/enum/decorator/api/function-type.enum.js.map +1 -1
- package/dist/cjs/enum/decorator/api/index.d.ts +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/Observable.js +106 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/Observable.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/Subscriber.js +158 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/Subscriber.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/Subscription.js +148 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/Subscription.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/config.js +7 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/config.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/lastValueFrom.js +28 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/lastValueFrom.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/observable/from.js +11 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/observable/from.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/observable/innerFrom.js +154 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/observable/innerFrom.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js +66 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/operators/observeOn.js +15 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/operators/observeOn.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/operators/subscribeOn.js +13 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/operators/subscribeOn.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduled/scheduleArray.js +23 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduled/scheduleArray.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduled/scheduleAsyncIterable.js +28 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduled/scheduleAsyncIterable.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduled/scheduleIterable.js +37 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduled/scheduleIterable.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduled/scheduleObservable.js +12 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduled/scheduleObservable.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduled/schedulePromise.js +12 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduled/schedulePromise.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduled/scheduleReadableStreamLike.js +11 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduled/scheduleReadableStreamLike.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduled/scheduled.js +42 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduled/scheduled.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +20 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/symbol/iterator.js +13 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/symbol/iterator.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/symbol/observable.js +6 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/EmptyError.js +14 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/EmptyError.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +17 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/arrRemove.js +11 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/createErrorClass.js +15 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/errorContext.js +10 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/executeSchedule.js +22 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/executeSchedule.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/identity.js +8 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/identity.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/isArrayLike.js +6 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/isArrayLike.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/isAsyncIterable.js +10 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/isAsyncIterable.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/isFunction.js +8 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/isInteropObservable.js +11 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/isInteropObservable.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/isIterable.js +11 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/isIterable.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/isPromise.js +10 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/isPromise.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/isReadableStreamLike.js +44 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/isReadableStreamLike.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/lift.js +26 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/lift.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/noop.js +6 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/noop.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/pipe.js +18 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/pipe.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/reportUnhandledError.js +14 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/throwUnobservableError.js +8 -0
- package/dist/cjs/external/rxjs/dist/esm5/internal/util/throwUnobservableError.js.map +1 -0
- package/dist/cjs/external/tslib/tslib.es6.js +125 -0
- package/dist/cjs/external/tslib/tslib.es6.js.map +1 -1
- package/dist/cjs/factory/api-controller.factory.d.ts +1 -0
- package/dist/cjs/factory/api-controller.factory.js +42 -393
- package/dist/cjs/factory/api-controller.factory.js.map +1 -1
- package/dist/cjs/index.js +45 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interceptor/api-route-runtime.interceptor.d.ts +5 -0
- package/dist/cjs/interceptor/api-route-runtime.interceptor.js +29 -0
- package/dist/cjs/interceptor/api-route-runtime.interceptor.js.map +1 -0
- package/dist/cjs/interface/class/api/authorization/policy/registry.interface.d.ts +1 -0
- package/dist/cjs/interface/class/api/authorization/policy/subscriber/context/interface.d.ts +1 -1
- package/dist/cjs/interface/class/api/function/context/index.d.ts +2 -0
- package/dist/cjs/interface/class/api/function/context/interface.d.ts +10 -0
- package/dist/cjs/interface/class/api/function/context/operations.interface.d.ts +13 -0
- package/dist/cjs/interface/class/api/function/index.d.ts +1 -0
- package/dist/cjs/interface/class/api/index.d.ts +2 -0
- package/dist/cjs/interface/class/api/route/index.d.ts +1 -0
- package/dist/cjs/interface/class/api/route/runtime/context-data.interface.d.ts +10 -0
- package/dist/cjs/interface/class/api/route/runtime/custom-execution-options.interface.d.ts +9 -0
- package/dist/cjs/interface/class/api/route/runtime/generated/execution-options.interface.d.ts +14 -0
- package/dist/cjs/interface/class/api/route/runtime/generated/index.d.ts +2 -0
- package/dist/cjs/interface/class/api/route/runtime/generated/targets.interface.d.ts +12 -0
- package/dist/cjs/interface/class/api/route/runtime/http-request.interface.d.ts +8 -0
- package/dist/cjs/interface/class/api/route/runtime/index.d.ts +4 -0
- package/dist/cjs/interface/class/api/subscriber/function/error-execution-context.interface.d.ts +1 -0
- package/dist/cjs/interface/class/api/subscriber/function/execution/context.interface.d.ts +1 -0
- package/dist/cjs/interface/class/api/subscriber/function.interface.d.ts +4 -0
- package/dist/cjs/interface/class/api/subscriber/route/error-execution-context.interface.d.ts +2 -1
- package/dist/cjs/interface/class/api/subscriber/route/execution/context/data/extended.interface.d.ts +36 -0
- package/dist/cjs/interface/class/api/subscriber/route/execution/context/data/index.d.ts +2 -0
- package/dist/cjs/interface/class/api/subscriber/route/execution/context/data/interface.d.ts +32 -0
- package/dist/cjs/interface/class/api/subscriber/route/execution/context/index.d.ts +2 -0
- package/dist/cjs/interface/class/api/subscriber/route/execution/context/interface.d.ts +11 -0
- package/dist/cjs/interface/class/api/subscriber/route/execution/index.d.ts +1 -2
- package/dist/cjs/interface/class/api/subscriber/route.interface.d.ts +6 -2
- package/dist/cjs/interface/decorator/api/controller/properties/route/authentication.interface.d.ts +1 -1
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/generation.interface.d.ts +5 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/index.d.ts +5 -2
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/interface.d.ts +4 -7
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/relations/index.d.ts +4 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/relations/interface.d.ts +6 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/relations/reference.interface.d.ts +5 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/relations/request/index.d.ts +2 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/relations/request/interface.d.ts +6 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/relations/request/load.interface.d.ts +10 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/relations/response/index.d.ts +2 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/relations/response/interface.d.ts +6 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/relations/response/load.interface.d.ts +4 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/request/index.d.ts +2 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/request/interface.d.ts +6 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/request/target.interface.d.ts +6 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/response/index.d.ts +2 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/response/interface.d.ts +7 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/response/target.interface.d.ts +4 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/security.interface.d.ts +6 -0
- package/dist/cjs/interface/decorator/api/controller/properties/route/with/dto.interface.d.ts +1 -1
- package/dist/cjs/interface/decorator/api/function/create-executor-properties.interface.d.ts +1 -2
- package/dist/cjs/interface/decorator/api/function/custom-properties.interface.d.ts +9 -0
- package/dist/cjs/interface/decorator/api/function/delete-executor-properties.interface.d.ts +2 -3
- package/dist/cjs/interface/decorator/api/function/get/executor-properties.interface.d.ts +1 -2
- package/dist/cjs/interface/decorator/api/function/get/list-executor-properties.interface.d.ts +1 -2
- package/dist/cjs/interface/decorator/api/function/get/many-executor-properties.interface.d.ts +1 -2
- package/dist/cjs/interface/decorator/api/function/index.d.ts +1 -0
- package/dist/cjs/interface/decorator/api/function/properties.interface.d.ts +4 -0
- package/dist/cjs/interface/decorator/api/function/update-executor-properties.interface.d.ts +2 -3
- package/dist/cjs/interface/decorator/api/index.d.ts +1 -0
- package/dist/cjs/interface/decorator/api/method/index.d.ts +0 -2
- package/dist/cjs/interface/decorator/api/method/properties.interface.d.ts +4 -17
- package/dist/cjs/interface/decorator/api/route/custom-properties.interface.d.ts +6 -0
- package/dist/cjs/interface/decorator/api/route/documentation-properties.interface.d.ts +5 -0
- package/dist/cjs/interface/decorator/api/route/index.d.ts +7 -0
- package/dist/cjs/interface/decorator/api/route/metadata/index.d.ts +3 -0
- package/dist/cjs/interface/decorator/api/route/metadata/interface.d.ts +15 -0
- package/dist/cjs/interface/decorator/api/route/metadata/resource.interface.d.ts +6 -0
- package/dist/cjs/interface/decorator/api/route/metadata/route.interface.d.ts +7 -0
- package/dist/cjs/interface/decorator/api/route/response/index.d.ts +2 -0
- package/dist/cjs/interface/decorator/api/route/response/properties.interface.d.ts +9 -0
- package/dist/cjs/interface/decorator/api/route/response/serialization-properties.interface.d.ts +3 -0
- package/dist/cjs/interface/decorator/api/route/runtime-properties.interface.d.ts +11 -0
- package/dist/cjs/interface/decorator/api/route/security/authentication-properties.interface.d.ts +9 -0
- package/dist/cjs/interface/decorator/api/route/security/authorization-properties.interface.d.ts +4 -0
- package/dist/cjs/interface/decorator/api/route/security/index.d.ts +3 -0
- package/dist/cjs/interface/decorator/api/route/security/properties.interface.d.ts +6 -0
- package/dist/cjs/interface/decorator/api/route/throttling/default-properties.interface.d.ts +4 -0
- package/dist/cjs/interface/decorator/api/route/throttling/index.d.ts +2 -0
- package/dist/cjs/interface/decorator/api/route/throttling/properties.interface.d.ts +4 -0
- package/dist/cjs/interface/decorator/api/subscriber/function/filter.interface.d.ts +5 -0
- package/dist/cjs/interface/decorator/api/subscriber/function/index.d.ts +2 -0
- package/dist/cjs/interface/decorator/api/subscriber/function/properties.interface.d.ts +7 -0
- package/dist/cjs/interface/decorator/api/subscriber/index.d.ts +2 -2
- package/dist/cjs/interface/decorator/api/subscriber/route-properties.interface.d.ts +4 -0
- package/dist/cjs/module/api/authorization.module.js +18 -1
- package/dist/cjs/module/api/authorization.module.js.map +1 -1
- package/dist/cjs/package.json +0 -1
- package/dist/cjs/type/class/api/subscriber/route/after/create-context.type.d.ts +2 -2
- package/dist/cjs/type/class/api/subscriber/route/after/delete-context.type.d.ts +2 -2
- package/dist/cjs/type/class/api/subscriber/route/after/get/context.type.d.ts +2 -2
- package/dist/cjs/type/class/api/subscriber/route/after/get/list-context.type.d.ts +2 -2
- package/dist/cjs/type/class/api/subscriber/route/after/partial-update-context.type.d.ts +2 -2
- package/dist/cjs/type/class/api/subscriber/route/after/update-context.type.d.ts +2 -2
- package/dist/cjs/type/class/api/subscriber/route/before/create-context.type.d.ts +2 -2
- package/dist/cjs/type/class/api/subscriber/route/before/delete-context.type.d.ts +2 -2
- package/dist/cjs/type/class/api/subscriber/route/before/get/context.type.d.ts +2 -2
- package/dist/cjs/type/class/api/subscriber/route/before/get/list-context.type.d.ts +2 -2
- package/dist/cjs/type/class/api/subscriber/route/before/partial-update-context.type.d.ts +2 -2
- package/dist/cjs/type/class/api/subscriber/route/before/update-context.type.d.ts +2 -2
- package/dist/cjs/type/decorator/api/controller/properties/route/base/request/allowed-target.type.d.ts +9 -0
- package/dist/cjs/type/decorator/api/controller/properties/route/base/request/index.d.ts +1 -1
- package/dist/cjs/type/decorator/api/controller/properties/route/base/request/transformers.type.d.ts +7 -7
- package/dist/cjs/type/decorator/api/controller/properties/route/base/response-transformers.type.d.ts +6 -6
- package/dist/cjs/type/decorator/api/controller/transformer-config.type.d.ts +5 -5
- package/dist/cjs/type/decorator/api/function/properties.type.d.ts +5 -3
- package/dist/cjs/type/decorator/api/property/describe/dto/request-properties.type.d.ts +1 -1
- package/dist/cjs/type/decorator/api/property/describe/properties/base/properties.type.d.ts +4 -4
- package/dist/cjs/type/utility/dto/generate/allowed-combination.type.d.ts +4 -4
- package/dist/cjs/utility/api/controller/apply/decorators.utility.js +58 -26
- package/dist/cjs/utility/api/controller/apply/decorators.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/apply/metadata.utility.js +6 -2
- package/dist/cjs/utility/api/controller/apply/metadata.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/get/dto.utility.js +6 -2
- package/dist/cjs/utility/api/controller/get/dto.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/get-list/transform/filter.utility.js +5 -1
- package/dist/cjs/utility/api/controller/get-list/transform/filter.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/handle-request-relations.utility.d.ts +4 -4
- package/dist/cjs/utility/api/controller/handle-request-relations.utility.js +37 -11
- package/dist/cjs/utility/api/controller/handle-request-relations.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/index.d.ts +1 -0
- package/dist/cjs/utility/api/controller/serialize-route-response.utility.d.ts +14 -0
- package/dist/cjs/utility/api/controller/serialize-route-response.utility.js +29 -0
- package/dist/cjs/utility/api/controller/serialize-route-response.utility.js.map +1 -0
- package/dist/cjs/utility/api/controller/transform-data.utility.d.ts +8 -7
- package/dist/cjs/utility/api/controller/transform-data.utility.js +21 -18
- package/dist/cjs/utility/api/controller/transform-data.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/validate-request.utility.d.ts +3 -3
- package/dist/cjs/utility/api/controller/validate-request.utility.js +10 -9
- package/dist/cjs/utility/api/controller/validate-request.utility.js.map +1 -1
- package/dist/cjs/utility/api/controller/write/dto-swagger.utility.js +6 -2
- package/dist/cjs/utility/api/controller/write/dto-swagger.utility.js.map +1 -1
- package/dist/cjs/utility/api/function-transaction.utility.d.ts +20 -0
- package/dist/cjs/utility/api/function-transaction.utility.js +52 -0
- package/dist/cjs/utility/api/function-transaction.utility.js.map +1 -0
- package/dist/cjs/utility/api/index.d.ts +1 -0
- package/dist/cjs/utility/api/route/index.d.ts +1 -0
- package/dist/cjs/utility/api/route/response/index.d.ts +2 -0
- package/dist/cjs/utility/api/route/response/project-relation.utility.d.ts +11 -0
- package/dist/cjs/utility/api/route/response/project-relation.utility.js +75 -0
- package/dist/cjs/utility/api/route/response/project-relation.utility.js.map +1 -0
- package/dist/cjs/utility/api/route/response/serialize.utility.d.ts +11 -0
- package/dist/cjs/utility/api/route/response/serialize.utility.js +26 -0
- package/dist/cjs/utility/api/route/response/serialize.utility.js.map +1 -0
- package/dist/cjs/utility/dto/build-decorator.utility.js +5 -1
- package/dist/cjs/utility/dto/build-decorator.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate/core.utility.js +5 -1
- package/dist/cjs/utility/dto/generate/core.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate/dynamic.utility.js +5 -1
- package/dist/cjs/utility/dto/generate/dynamic.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate/exception.utility.js +5 -1
- package/dist/cjs/utility/dto/generate/exception.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate/filter-decorator.utility.js +5 -1
- package/dist/cjs/utility/dto/generate/filter-decorator.utility.js.map +1 -1
- package/dist/cjs/utility/dto/generate/get-list-response.utility.js +5 -1
- package/dist/cjs/utility/dto/generate/get-list-response.utility.js.map +1 -1
- package/dist/cjs/utility/dto/get/get-list-query-base-class.utility.js +5 -1
- package/dist/cjs/utility/dto/get/get-list-query-base-class.utility.js.map +1 -1
- package/dist/cjs/utility/dto/handle-date-property.utility.js +5 -1
- package/dist/cjs/utility/dto/handle-date-property.utility.js.map +1 -1
- package/dist/cjs/utility/dto/is/property/should-be-marked.utility.js +7 -3
- package/dist/cjs/utility/dto/is/property/should-be-marked.utility.js.map +1 -1
- package/dist/cjs/utility/dto/is/should-be-generated.utility.js +8 -4
- package/dist/cjs/utility/dto/is/should-be-generated.utility.js.map +1 -1
- package/dist/esm/class/api/authorization/bootstrap-validation.service.class.d.ts +1 -0
- package/dist/esm/class/api/authorization/bootstrap-validation.service.class.js +37 -3
- package/dist/esm/class/api/authorization/bootstrap-validation.service.class.js.map +1 -1
- package/dist/esm/class/api/authorization/cache-invalidation.service.class.d.ts +7 -0
- package/dist/esm/class/api/authorization/cache-invalidation.service.class.js +21 -0
- package/dist/esm/class/api/authorization/cache-invalidation.service.class.js.map +1 -0
- package/dist/esm/class/api/authorization/guard.class.d.ts +1 -2
- package/dist/esm/class/api/authorization/guard.class.js +13 -18
- package/dist/esm/class/api/authorization/guard.class.js.map +1 -1
- package/dist/esm/class/api/authorization/index.d.ts +1 -0
- package/dist/esm/class/api/authorization/policy/executor.class.js +1 -2
- package/dist/esm/class/api/authorization/policy/executor.class.js.map +1 -1
- package/dist/esm/class/api/authorization/policy/index.d.ts +1 -0
- package/dist/esm/class/api/authorization/policy/registry.class.d.ts +3 -5
- package/dist/esm/class/api/authorization/policy/registry.class.js +10 -33
- package/dist/esm/class/api/authorization/policy/registry.class.js.map +1 -1
- package/dist/esm/class/api/authorization/policy/subscriber-wrapper.class.d.ts +10 -0
- package/dist/esm/class/api/authorization/policy/subscriber-wrapper.class.js +21 -0
- package/dist/esm/class/api/authorization/policy/subscriber-wrapper.class.js.map +1 -0
- package/dist/esm/class/api/authorization/runtime.class.d.ts +3 -2
- package/dist/esm/class/api/authorization/runtime.class.js +6 -5
- package/dist/esm/class/api/authorization/runtime.class.js.map +1 -1
- package/dist/esm/class/api/authorization/simulator.class.d.ts +2 -0
- package/dist/esm/class/api/authorization/simulator.class.js +1 -0
- package/dist/esm/class/api/authorization/simulator.class.js.map +1 -1
- package/dist/esm/class/api/function/context-storage.class.d.ts +7 -0
- package/dist/esm/class/api/function/context-storage.class.js +14 -0
- package/dist/esm/class/api/function/context-storage.class.js.map +1 -0
- package/dist/esm/class/api/function/custom-runtime.class.d.ts +19 -0
- package/dist/esm/class/api/function/custom-runtime.class.js +116 -0
- package/dist/esm/class/api/function/custom-runtime.class.js.map +1 -0
- package/dist/esm/class/api/function/index.d.ts +1 -0
- package/dist/esm/class/api/function/transaction-scope.class.d.ts +6 -0
- package/dist/esm/class/api/function/transaction-scope.class.js +32 -0
- package/dist/esm/class/api/function/transaction-scope.class.js.map +1 -0
- package/dist/esm/class/api/index.d.ts +2 -0
- package/dist/esm/class/api/route-runtime.class.d.ts +21 -0
- package/dist/esm/class/api/route-runtime.class.js +333 -0
- package/dist/esm/class/api/route-runtime.class.js.map +1 -0
- package/dist/esm/class/api/service-base.class.d.ts +9 -7
- package/dist/esm/class/api/service-base.class.js +16 -6
- package/dist/esm/class/api/service-base.class.js.map +1 -1
- package/dist/esm/class/api/subscriber/executor.class.d.ts +7 -6
- package/dist/esm/class/api/subscriber/executor.class.js +16 -12
- package/dist/esm/class/api/subscriber/executor.class.js.map +1 -1
- package/dist/esm/class/api/subscriber/index.d.ts +1 -0
- package/dist/esm/class/api/subscriber/registry.class.d.ts +5 -2
- package/dist/esm/class/api/subscriber/registry.class.js +24 -22
- package/dist/esm/class/api/subscriber/registry.class.js.map +1 -1
- package/dist/esm/class/api/subscriber/wrapper.class.d.ts +18 -0
- package/dist/esm/class/api/subscriber/wrapper.class.js +21 -0
- package/dist/esm/class/api/subscriber/wrapper.class.js.map +1 -0
- package/dist/esm/class/utility/dto/exception/details/foreign-key-violation.class.js +5 -1
- package/dist/esm/class/utility/dto/exception/details/foreign-key-violation.class.js.map +1 -1
- package/dist/esm/class/utility/dto/exception/details/unique-violation.class.js +5 -1
- package/dist/esm/class/utility/dto/exception/details/unique-violation.class.js.map +1 -1
- package/dist/esm/class/utility/dto/property/factory/number.class.js +6 -2
- package/dist/esm/class/utility/dto/property/factory/number.class.js.map +1 -1
- package/dist/esm/class/utility/dto/property/factory/relation.class.js +5 -1
- package/dist/esm/class/utility/dto/property/factory/relation.class.js.map +1 -1
- package/dist/esm/class/utility/dto/strategy/body.class.js +5 -1
- package/dist/esm/class/utility/dto/strategy/body.class.js.map +1 -1
- package/dist/esm/class/utility/dto/strategy/query.class.js +5 -1
- package/dist/esm/class/utility/dto/strategy/query.class.js.map +1 -1
- package/dist/esm/class/utility/dto/strategy/request.class.js +5 -1
- package/dist/esm/class/utility/dto/strategy/request.class.js.map +1 -1
- package/dist/esm/class/utility/dto/strategy/response.class.js +5 -1
- package/dist/esm/class/utility/dto/strategy/response.class.js.map +1 -1
- package/dist/esm/constant/decorator/api/method.constant.d.ts +2 -3
- package/dist/esm/constant/decorator/api/method.constant.js +4 -6
- package/dist/esm/constant/decorator/api/method.constant.js.map +1 -1
- package/dist/esm/constant/utility/dto/constant.js +6 -2
- package/dist/esm/constant/utility/dto/constant.js.map +1 -1
- package/dist/esm/decorator/api/function/create.decorator.js +51 -24
- package/dist/esm/decorator/api/function/create.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/custom.decorator.d.ts +9 -0
- package/dist/esm/decorator/api/function/custom.decorator.js +45 -0
- package/dist/esm/decorator/api/function/custom.decorator.js.map +1 -0
- package/dist/esm/decorator/api/function/decorator.js +16 -7
- package/dist/esm/decorator/api/function/decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/delete.decorator.js +62 -41
- package/dist/esm/decorator/api/function/delete.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/get/decorator.js +40 -25
- package/dist/esm/decorator/api/function/get/decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/get/list.decorator.js +40 -25
- package/dist/esm/decorator/api/function/get/list.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/get/many.decorator.js +40 -25
- package/dist/esm/decorator/api/function/get/many.decorator.js.map +1 -1
- package/dist/esm/decorator/api/function/index.d.ts +1 -0
- package/dist/esm/decorator/api/function/update.decorator.js +62 -41
- package/dist/esm/decorator/api/function/update.decorator.js.map +1 -1
- package/dist/esm/decorator/api/index.d.ts +1 -0
- package/dist/esm/decorator/api/method.decorator.d.ts +5 -6
- package/dist/esm/decorator/api/method.decorator.js +66 -326
- package/dist/esm/decorator/api/method.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/boolean.decorator.js +24 -5
- package/dist/esm/decorator/api/property/boolean.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/date.decorator.js +24 -5
- package/dist/esm/decorator/api/property/date.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/enum.decorator.js +22 -4
- package/dist/esm/decorator/api/property/enum.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/number.decorator.js +30 -7
- package/dist/esm/decorator/api/property/number.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/object.decorator.js +22 -4
- package/dist/esm/decorator/api/property/object.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/string.decorator.js +26 -9
- package/dist/esm/decorator/api/property/string.decorator.js.map +1 -1
- package/dist/esm/decorator/api/property/uuid.decorator.js +27 -5
- package/dist/esm/decorator/api/property/uuid.decorator.js.map +1 -1
- package/dist/esm/decorator/api/route-custom.decorator.d.ts +9 -0
- package/dist/esm/decorator/api/route-custom.decorator.js +99 -0
- package/dist/esm/decorator/api/route-custom.decorator.js.map +1 -0
- package/dist/esm/decorator/api/service/decorator.js +28 -23
- package/dist/esm/decorator/api/service/decorator.js.map +1 -1
- package/dist/esm/enum/decorator/api/controller/index.d.ts +3 -1
- package/dist/esm/enum/decorator/api/controller/relation-reference-shape.enum.d.ts +4 -0
- package/dist/esm/enum/decorator/api/controller/relation-reference-shape.enum.js +8 -0
- package/dist/esm/enum/decorator/api/controller/relation-reference-shape.enum.js.map +1 -0
- package/dist/esm/enum/decorator/api/controller/request/index.d.ts +2 -0
- package/dist/esm/enum/decorator/api/controller/request/target.enum.d.ts +5 -0
- package/dist/esm/enum/decorator/api/controller/request/target.enum.js +9 -0
- package/dist/esm/enum/decorator/api/controller/request/target.enum.js.map +1 -0
- package/dist/esm/enum/decorator/api/controller/{request-transformer-type.enum.js → request/transformer-type.enum.js} +1 -1
- package/dist/esm/enum/decorator/api/controller/request/transformer-type.enum.js.map +1 -0
- package/dist/esm/enum/decorator/api/controller/response-target.enum.d.ts +3 -0
- package/dist/esm/enum/decorator/api/controller/response-target.enum.js +7 -0
- package/dist/esm/enum/decorator/api/controller/response-target.enum.js.map +1 -0
- package/dist/esm/enum/decorator/api/dto-type.enum.d.ts +1 -1
- package/dist/esm/enum/decorator/api/dto-type.enum.js +1 -1
- package/dist/esm/enum/decorator/api/dto-type.enum.js.map +1 -1
- package/dist/esm/enum/decorator/api/function-transaction-mode.enum.d.ts +6 -0
- package/dist/esm/enum/decorator/api/function-transaction-mode.enum.js +10 -0
- package/dist/esm/enum/decorator/api/function-transaction-mode.enum.js.map +1 -0
- package/dist/esm/enum/decorator/api/function-type.enum.d.ts +1 -0
- package/dist/esm/enum/decorator/api/function-type.enum.js +1 -0
- package/dist/esm/enum/decorator/api/function-type.enum.js.map +1 -1
- package/dist/esm/enum/decorator/api/index.d.ts +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/Observable.js +104 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/Observable.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/Subscriber.js +154 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/Subscriber.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/Subscription.js +145 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/Subscription.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/config.js +5 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/config.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/lastValueFrom.js +26 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/lastValueFrom.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/observable/from.js +9 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/observable/from.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/observable/innerFrom.js +146 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/observable/innerFrom.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js +63 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/operators/observeOn.js +13 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/operators/observeOn.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/operators/subscribeOn.js +11 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/operators/subscribeOn.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduled/scheduleArray.js +21 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduled/scheduleArray.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduled/scheduleAsyncIterable.js +26 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduled/scheduleAsyncIterable.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduled/scheduleIterable.js +35 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduled/scheduleIterable.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduled/scheduleObservable.js +10 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduled/scheduleObservable.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduled/schedulePromise.js +10 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduled/schedulePromise.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduled/scheduleReadableStreamLike.js +9 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduled/scheduleReadableStreamLike.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduled/scheduled.js +40 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduled/scheduled.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +18 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/symbol/iterator.js +10 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/symbol/iterator.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/symbol/observable.js +4 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/EmptyError.js +12 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/EmptyError.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +15 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/arrRemove.js +9 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/createErrorClass.js +13 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/errorContext.js +8 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/executeSchedule.js +20 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/executeSchedule.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/identity.js +6 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/identity.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/isArrayLike.js +4 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/isArrayLike.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/isAsyncIterable.js +8 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/isAsyncIterable.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/isFunction.js +6 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/isInteropObservable.js +9 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/isInteropObservable.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/isIterable.js +9 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/isIterable.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/isPromise.js +8 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/isPromise.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/isReadableStreamLike.js +41 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/isReadableStreamLike.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/lift.js +23 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/lift.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/noop.js +4 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/noop.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/pipe.js +16 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/pipe.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/reportUnhandledError.js +12 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/throwUnobservableError.js +6 -0
- package/dist/esm/external/rxjs/dist/esm5/internal/util/throwUnobservableError.js.map +1 -0
- package/dist/esm/external/tslib/tslib.es6.js +117 -1
- package/dist/esm/external/tslib/tslib.es6.js.map +1 -1
- package/dist/esm/factory/api-controller.factory.d.ts +1 -0
- package/dist/esm/factory/api-controller.factory.js +42 -393
- package/dist/esm/factory/api-controller.factory.js.map +1 -1
- package/dist/esm/index.js +15 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interceptor/api-route-runtime.interceptor.d.ts +5 -0
- package/dist/esm/interceptor/api-route-runtime.interceptor.js +29 -0
- package/dist/esm/interceptor/api-route-runtime.interceptor.js.map +1 -0
- package/dist/esm/interface/class/api/authorization/policy/registry.interface.d.ts +1 -0
- package/dist/esm/interface/class/api/authorization/policy/subscriber/context/interface.d.ts +1 -1
- package/dist/esm/interface/class/api/function/context/index.d.ts +2 -0
- package/dist/esm/interface/class/api/function/context/interface.d.ts +10 -0
- package/dist/esm/interface/class/api/function/context/operations.interface.d.ts +13 -0
- package/dist/esm/interface/class/api/function/index.d.ts +1 -0
- package/dist/esm/interface/class/api/index.d.ts +2 -0
- package/dist/esm/interface/class/api/route/index.d.ts +1 -0
- package/dist/esm/interface/class/api/route/runtime/context-data.interface.d.ts +10 -0
- package/dist/esm/interface/class/api/route/runtime/custom-execution-options.interface.d.ts +9 -0
- package/dist/esm/interface/class/api/route/runtime/generated/execution-options.interface.d.ts +14 -0
- package/dist/esm/interface/class/api/route/runtime/generated/index.d.ts +2 -0
- package/dist/esm/interface/class/api/route/runtime/generated/targets.interface.d.ts +12 -0
- package/dist/esm/interface/class/api/route/runtime/http-request.interface.d.ts +8 -0
- package/dist/esm/interface/class/api/route/runtime/index.d.ts +4 -0
- package/dist/esm/interface/class/api/subscriber/function/error-execution-context.interface.d.ts +1 -0
- package/dist/esm/interface/class/api/subscriber/function/execution/context.interface.d.ts +1 -0
- package/dist/esm/interface/class/api/subscriber/function.interface.d.ts +4 -0
- package/dist/esm/interface/class/api/subscriber/route/error-execution-context.interface.d.ts +2 -1
- package/dist/esm/interface/class/api/subscriber/route/execution/context/data/extended.interface.d.ts +36 -0
- package/dist/esm/interface/class/api/subscriber/route/execution/context/data/index.d.ts +2 -0
- package/dist/esm/interface/class/api/subscriber/route/execution/context/data/interface.d.ts +32 -0
- package/dist/esm/interface/class/api/subscriber/route/execution/context/index.d.ts +2 -0
- package/dist/esm/interface/class/api/subscriber/route/execution/context/interface.d.ts +11 -0
- package/dist/esm/interface/class/api/subscriber/route/execution/index.d.ts +1 -2
- package/dist/esm/interface/class/api/subscriber/route.interface.d.ts +6 -2
- package/dist/esm/interface/decorator/api/controller/properties/route/authentication.interface.d.ts +1 -1
- package/dist/esm/interface/decorator/api/controller/properties/route/base/generation.interface.d.ts +5 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base/index.d.ts +5 -2
- package/dist/esm/interface/decorator/api/controller/properties/route/base/interface.d.ts +4 -7
- package/dist/esm/interface/decorator/api/controller/properties/route/base/relations/index.d.ts +4 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base/relations/interface.d.ts +6 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base/relations/reference.interface.d.ts +5 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base/relations/request/index.d.ts +2 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base/relations/request/interface.d.ts +6 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base/relations/request/load.interface.d.ts +10 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base/relations/response/index.d.ts +2 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base/relations/response/interface.d.ts +6 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base/relations/response/load.interface.d.ts +4 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base/request/index.d.ts +2 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base/request/interface.d.ts +6 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base/request/target.interface.d.ts +6 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base/response/index.d.ts +2 -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/response/target.interface.d.ts +4 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/base/security.interface.d.ts +6 -0
- package/dist/esm/interface/decorator/api/controller/properties/route/with/dto.interface.d.ts +1 -1
- package/dist/esm/interface/decorator/api/function/create-executor-properties.interface.d.ts +1 -2
- package/dist/esm/interface/decorator/api/function/custom-properties.interface.d.ts +9 -0
- package/dist/esm/interface/decorator/api/function/delete-executor-properties.interface.d.ts +2 -3
- package/dist/esm/interface/decorator/api/function/get/executor-properties.interface.d.ts +1 -2
- package/dist/esm/interface/decorator/api/function/get/list-executor-properties.interface.d.ts +1 -2
- package/dist/esm/interface/decorator/api/function/get/many-executor-properties.interface.d.ts +1 -2
- package/dist/esm/interface/decorator/api/function/index.d.ts +1 -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 +2 -3
- package/dist/esm/interface/decorator/api/index.d.ts +1 -0
- package/dist/esm/interface/decorator/api/method/index.d.ts +0 -2
- package/dist/esm/interface/decorator/api/method/properties.interface.d.ts +4 -17
- package/dist/esm/interface/decorator/api/route/custom-properties.interface.d.ts +6 -0
- package/dist/esm/interface/decorator/api/route/documentation-properties.interface.d.ts +5 -0
- package/dist/esm/interface/decorator/api/route/index.d.ts +7 -0
- package/dist/esm/interface/decorator/api/route/metadata/index.d.ts +3 -0
- package/dist/esm/interface/decorator/api/route/metadata/interface.d.ts +15 -0
- package/dist/esm/interface/decorator/api/route/metadata/resource.interface.d.ts +6 -0
- package/dist/esm/interface/decorator/api/route/metadata/route.interface.d.ts +7 -0
- package/dist/esm/interface/decorator/api/route/response/index.d.ts +2 -0
- package/dist/esm/interface/decorator/api/route/response/properties.interface.d.ts +9 -0
- package/dist/esm/interface/decorator/api/route/response/serialization-properties.interface.d.ts +3 -0
- package/dist/esm/interface/decorator/api/route/runtime-properties.interface.d.ts +11 -0
- package/dist/esm/interface/decorator/api/route/security/authentication-properties.interface.d.ts +9 -0
- package/dist/esm/interface/decorator/api/route/security/authorization-properties.interface.d.ts +4 -0
- package/dist/esm/interface/decorator/api/route/security/index.d.ts +3 -0
- package/dist/esm/interface/decorator/api/route/security/properties.interface.d.ts +6 -0
- package/dist/esm/interface/decorator/api/route/throttling/default-properties.interface.d.ts +4 -0
- package/dist/esm/interface/decorator/api/route/throttling/index.d.ts +2 -0
- package/dist/esm/interface/decorator/api/route/throttling/properties.interface.d.ts +4 -0
- package/dist/esm/interface/decorator/api/subscriber/function/filter.interface.d.ts +5 -0
- package/dist/esm/interface/decorator/api/subscriber/function/index.d.ts +2 -0
- package/dist/esm/interface/decorator/api/subscriber/function/properties.interface.d.ts +7 -0
- package/dist/esm/interface/decorator/api/subscriber/index.d.ts +2 -2
- package/dist/esm/interface/decorator/api/subscriber/route-properties.interface.d.ts +4 -0
- package/dist/esm/module/api/authorization.module.js +18 -1
- package/dist/esm/module/api/authorization.module.js.map +1 -1
- package/dist/esm/package.json +0 -1
- package/dist/esm/type/class/api/subscriber/route/after/create-context.type.d.ts +2 -2
- package/dist/esm/type/class/api/subscriber/route/after/delete-context.type.d.ts +2 -2
- package/dist/esm/type/class/api/subscriber/route/after/get/context.type.d.ts +2 -2
- package/dist/esm/type/class/api/subscriber/route/after/get/list-context.type.d.ts +2 -2
- package/dist/esm/type/class/api/subscriber/route/after/partial-update-context.type.d.ts +2 -2
- package/dist/esm/type/class/api/subscriber/route/after/update-context.type.d.ts +2 -2
- package/dist/esm/type/class/api/subscriber/route/before/create-context.type.d.ts +2 -2
- package/dist/esm/type/class/api/subscriber/route/before/delete-context.type.d.ts +2 -2
- package/dist/esm/type/class/api/subscriber/route/before/get/context.type.d.ts +2 -2
- package/dist/esm/type/class/api/subscriber/route/before/get/list-context.type.d.ts +2 -2
- package/dist/esm/type/class/api/subscriber/route/before/partial-update-context.type.d.ts +2 -2
- package/dist/esm/type/class/api/subscriber/route/before/update-context.type.d.ts +2 -2
- package/dist/esm/type/decorator/api/controller/properties/route/base/request/allowed-target.type.d.ts +9 -0
- package/dist/esm/type/decorator/api/controller/properties/route/base/request/index.d.ts +1 -1
- package/dist/esm/type/decorator/api/controller/properties/route/base/request/transformers.type.d.ts +7 -7
- package/dist/esm/type/decorator/api/controller/properties/route/base/response-transformers.type.d.ts +6 -6
- package/dist/esm/type/decorator/api/controller/transformer-config.type.d.ts +5 -5
- package/dist/esm/type/decorator/api/function/properties.type.d.ts +5 -3
- package/dist/esm/type/decorator/api/property/describe/dto/request-properties.type.d.ts +1 -1
- package/dist/esm/type/decorator/api/property/describe/properties/base/properties.type.d.ts +4 -4
- package/dist/esm/type/utility/dto/generate/allowed-combination.type.d.ts +4 -4
- package/dist/esm/utility/api/controller/apply/decorators.utility.js +59 -27
- package/dist/esm/utility/api/controller/apply/decorators.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/apply/metadata.utility.js +6 -2
- package/dist/esm/utility/api/controller/apply/metadata.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/get/dto.utility.js +6 -2
- package/dist/esm/utility/api/controller/get/dto.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/get-list/transform/filter.utility.js +5 -1
- package/dist/esm/utility/api/controller/get-list/transform/filter.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/handle-request-relations.utility.d.ts +4 -4
- package/dist/esm/utility/api/controller/handle-request-relations.utility.js +37 -11
- package/dist/esm/utility/api/controller/handle-request-relations.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/index.d.ts +1 -0
- package/dist/esm/utility/api/controller/serialize-route-response.utility.d.ts +14 -0
- package/dist/esm/utility/api/controller/serialize-route-response.utility.js +27 -0
- package/dist/esm/utility/api/controller/serialize-route-response.utility.js.map +1 -0
- package/dist/esm/utility/api/controller/transform-data.utility.d.ts +8 -7
- package/dist/esm/utility/api/controller/transform-data.utility.js +19 -16
- package/dist/esm/utility/api/controller/transform-data.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/validate-request.utility.d.ts +3 -3
- package/dist/esm/utility/api/controller/validate-request.utility.js +10 -9
- package/dist/esm/utility/api/controller/validate-request.utility.js.map +1 -1
- package/dist/esm/utility/api/controller/write/dto-swagger.utility.js +6 -2
- package/dist/esm/utility/api/controller/write/dto-swagger.utility.js.map +1 -1
- package/dist/esm/utility/api/function-transaction.utility.d.ts +20 -0
- package/dist/esm/utility/api/function-transaction.utility.js +50 -0
- package/dist/esm/utility/api/function-transaction.utility.js.map +1 -0
- package/dist/esm/utility/api/index.d.ts +1 -0
- package/dist/esm/utility/api/route/index.d.ts +1 -0
- package/dist/esm/utility/api/route/response/index.d.ts +2 -0
- package/dist/esm/utility/api/route/response/project-relation.utility.d.ts +11 -0
- package/dist/esm/utility/api/route/response/project-relation.utility.js +73 -0
- package/dist/esm/utility/api/route/response/project-relation.utility.js.map +1 -0
- package/dist/esm/utility/api/route/response/serialize.utility.d.ts +11 -0
- package/dist/esm/utility/api/route/response/serialize.utility.js +24 -0
- package/dist/esm/utility/api/route/response/serialize.utility.js.map +1 -0
- package/dist/esm/utility/dto/build-decorator.utility.js +5 -1
- package/dist/esm/utility/dto/build-decorator.utility.js.map +1 -1
- package/dist/esm/utility/dto/generate/core.utility.js +5 -1
- package/dist/esm/utility/dto/generate/core.utility.js.map +1 -1
- package/dist/esm/utility/dto/generate/dynamic.utility.js +5 -1
- package/dist/esm/utility/dto/generate/dynamic.utility.js.map +1 -1
- package/dist/esm/utility/dto/generate/exception.utility.js +5 -1
- package/dist/esm/utility/dto/generate/exception.utility.js.map +1 -1
- package/dist/esm/utility/dto/generate/filter-decorator.utility.js +5 -1
- package/dist/esm/utility/dto/generate/filter-decorator.utility.js.map +1 -1
- package/dist/esm/utility/dto/generate/get-list-response.utility.js +5 -1
- package/dist/esm/utility/dto/generate/get-list-response.utility.js.map +1 -1
- package/dist/esm/utility/dto/get/get-list-query-base-class.utility.js +5 -1
- package/dist/esm/utility/dto/get/get-list-query-base-class.utility.js.map +1 -1
- package/dist/esm/utility/dto/handle-date-property.utility.js +5 -1
- package/dist/esm/utility/dto/handle-date-property.utility.js.map +1 -1
- package/dist/esm/utility/dto/is/property/should-be-marked.utility.js +7 -3
- package/dist/esm/utility/dto/is/property/should-be-marked.utility.js.map +1 -1
- package/dist/esm/utility/dto/is/should-be-generated.utility.js +8 -4
- package/dist/esm/utility/dto/is/should-be-generated.utility.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/enum/decorator/api/controller/request-transformer-type.enum.js.map +0 -1
- package/dist/cjs/interface/class/api/subscriber/route/execution/context-data.interface.d.ts +0 -82
- package/dist/cjs/interface/class/api/subscriber/route/execution/context.interface.d.ts +0 -29
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/request.interface.d.ts +0 -8
- package/dist/cjs/interface/decorator/api/controller/properties/route/base/response.interface.d.ts +0 -7
- package/dist/cjs/interface/decorator/api/method/authorization.interface.d.ts +0 -3
- package/dist/cjs/interface/decorator/api/method/throttler-properties.interface.d.ts +0 -4
- package/dist/cjs/interface/decorator/api/subscriber/function-properties.interface.d.ts +0 -5
- package/dist/cjs/type/decorator/api/controller/properties/route/base/request/relations.type.d.ts +0 -18
- package/dist/esm/enum/decorator/api/controller/request-transformer-type.enum.js.map +0 -1
- package/dist/esm/interface/class/api/subscriber/route/execution/context-data.interface.d.ts +0 -82
- package/dist/esm/interface/class/api/subscriber/route/execution/context.interface.d.ts +0 -29
- package/dist/esm/interface/decorator/api/controller/properties/route/base/request.interface.d.ts +0 -8
- package/dist/esm/interface/decorator/api/controller/properties/route/base/response.interface.d.ts +0 -7
- package/dist/esm/interface/decorator/api/method/authorization.interface.d.ts +0 -3
- package/dist/esm/interface/decorator/api/method/throttler-properties.interface.d.ts +0 -4
- package/dist/esm/interface/decorator/api/subscriber/function-properties.interface.d.ts +0 -5
- package/dist/esm/type/decorator/api/controller/properties/route/base/request/relations.type.d.ts +0 -18
- /package/dist/cjs/enum/decorator/api/controller/{request-transformer-type.enum.d.ts → request/transformer-type.enum.d.ts} +0 -0
- /package/dist/esm/enum/decorator/api/controller/{request-transformer-type.enum.d.ts → request/transformer-type.enum.d.ts} +0 -0
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var routeRuntime_class = require('../class/api/route-runtime.class.js');
|
|
4
4
|
var controller_constant = require('../constant/decorator/api/controller.constant.js');
|
|
5
|
-
|
|
5
|
+
require('../constant/decorator/api/function.constant.js');
|
|
6
6
|
require('../enum/decorator/api/action.enum.js');
|
|
7
7
|
require('../enum/decorator/api/authentication-type.enum.js');
|
|
8
8
|
require('../enum/decorator/api/controller/load-relations-strategy.enum.js');
|
|
9
|
-
require('../enum/decorator/api/controller/
|
|
10
|
-
|
|
9
|
+
require('../enum/decorator/api/controller/relation-reference-shape.enum.js');
|
|
10
|
+
require('../enum/decorator/api/controller/request/target.enum.js');
|
|
11
|
+
require('../enum/decorator/api/controller/request/transformer-type.enum.js');
|
|
12
|
+
require('../enum/decorator/api/controller/response-target.enum.js');
|
|
13
|
+
require('../enum/decorator/api/dto-type.enum.js');
|
|
14
|
+
require('../enum/decorator/api/function-transaction-mode.enum.js');
|
|
11
15
|
require('../enum/decorator/api/function-type.enum.js');
|
|
12
|
-
|
|
16
|
+
require('../enum/decorator/api/on-type.enum.js');
|
|
13
17
|
require('../enum/decorator/api/property/data-type.enum.js');
|
|
14
18
|
require('../enum/decorator/api/property/date/identifier.enum.js');
|
|
15
19
|
require('../enum/decorator/api/property/date/type.enum.js');
|
|
@@ -21,28 +25,34 @@ var common = require('@nestjs/common');
|
|
|
21
25
|
var swagger = require('@nestjs/swagger');
|
|
22
26
|
var decorators_utility = require('../utility/api/controller/apply/decorators.utility.js');
|
|
23
27
|
var metadata_utility = require('../utility/api/controller/apply/metadata.utility.js');
|
|
24
|
-
|
|
25
|
-
var
|
|
26
|
-
|
|
28
|
+
require('../constant/utility/dto/constant.js');
|
|
29
|
+
var exception_utility = require('../utility/error/exception.utility.js');
|
|
30
|
+
require('../enum/utility/dto/manual/property-metadata/decorator.enum.js');
|
|
31
|
+
require('class-transformer');
|
|
32
|
+
require('class-validator');
|
|
27
33
|
require('../enum/filter/operation.enum.js');
|
|
28
34
|
require('../enum/filter/order-direction.enum.js');
|
|
29
|
-
require('
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
var validateRequest_utility = require('../utility/api/controller/validate-request.utility.js');
|
|
33
|
-
var dtoSwagger_utility = require('../utility/api/controller/write/dto-swagger.utility.js');
|
|
34
|
-
var method_utility = require('../utility/api/controller/write/method.utility.js');
|
|
35
|
+
require('../external/tslib/tslib.es6.js');
|
|
36
|
+
require('lodash/random');
|
|
37
|
+
require('../validator/must-match-one-of-schemas.validator.js');
|
|
35
38
|
require('../constant/interface/api/property/default-string-format.constant.js');
|
|
36
|
-
var exception_utility = require('../utility/error/exception.utility.js');
|
|
37
39
|
require('typeorm');
|
|
38
40
|
require('reflect-metadata');
|
|
41
|
+
require('../validator/all-or-none-of-listed-properties.validator.js');
|
|
42
|
+
require('../validator/has/paired-custom-suffixes-fields.validator.js');
|
|
43
|
+
require('../class/utility/dto/exception/details/foreign-key-violation.class.js');
|
|
44
|
+
require('../class/utility/dto/exception/details/unique-violation.class.js');
|
|
45
|
+
require('../validator/is-regular-expression.validator.js');
|
|
46
|
+
require('node:crypto');
|
|
47
|
+
require('../enum/utility/exception-details-type.enum.js');
|
|
48
|
+
require('typeorm/index');
|
|
49
|
+
require('../class/api/function/context-storage.class.js');
|
|
50
|
+
require('../enum/utility/error-string/action.enum.js');
|
|
51
|
+
require('../enum/utility/error-string/composite-action.enum.js');
|
|
52
|
+
var dtoSwagger_utility = require('../utility/api/controller/write/dto-swagger.utility.js');
|
|
53
|
+
var method_utility = require('../utility/api/controller/write/method.utility.js');
|
|
39
54
|
require('lodash/cloneDeep');
|
|
40
|
-
var applyResult_utility = require('../utility/authorization/decision/apply-result.utility.js');
|
|
41
|
-
var attachResource_utility = require('../utility/authorization/decision/attach-resource.utility.js');
|
|
42
|
-
var resolveFromRequest_utility = require('../utility/authorization/decision/resolve-from-request.utility.js');
|
|
43
|
-
var scopeMergeWhere_utility = require('../utility/authorization/scope-merge-where.utility.js');
|
|
44
55
|
var generateEntityInformation_utility = require('../utility/generate-entity-information.utility.js');
|
|
45
|
-
var classTransformer = require('class-transformer');
|
|
46
56
|
|
|
47
57
|
class ApiControllerFactory {
|
|
48
58
|
target;
|
|
@@ -64,14 +74,14 @@ class ApiControllerFactory {
|
|
|
64
74
|
Reflect.defineMetadata(controller_constant.CONTROLLER_API_DECORATOR_CONSTANT.PROPERTIES_METADATA_KEY, this.properties, this.target);
|
|
65
75
|
}
|
|
66
76
|
createMethod(method) {
|
|
67
|
-
if (!(method in this.properties.routes) || this.properties.routes[method]?.isEnabled !== false) {
|
|
77
|
+
if (!(method in this.properties.routes) || this.properties.routes[method]?.generation?.isEnabled !== false) {
|
|
68
78
|
const routeConfig = this.properties.routes[method] ?? {};
|
|
69
|
-
const routeDecorators = routeConfig.decorators ?? [];
|
|
79
|
+
const routeDecorators = routeConfig.generation?.decorators ?? [];
|
|
70
80
|
const methodName = `${controller_constant.CONTROLLER_API_DECORATOR_CONSTANT.RESERVED_METHOD_PREFIX}${method}`;
|
|
71
81
|
method_utility.ApiControllerWriteMethod(this, this.targetPrototype, method, this.properties, this.ENTITY);
|
|
72
82
|
const targetMethod = this.targetPrototype[methodName];
|
|
73
83
|
metadata_utility.ApiControllerApplyMetadata(this.target, this.targetPrototype, this.ENTITY, this.properties, method, methodName, routeConfig);
|
|
74
|
-
if (this.properties.routes[method]?.shouldWriteToController !== false) {
|
|
84
|
+
if (this.properties.routes[method]?.generation?.shouldWriteToController !== false) {
|
|
75
85
|
decorators_utility.ApiControllerApplyDecorators(targetMethod, this.ENTITY, this.properties, method, methodName, routeConfig, routeDecorators);
|
|
76
86
|
}
|
|
77
87
|
dtoSwagger_utility.ApiControllerWriteDtoSwagger(this.target, this.ENTITY, this.properties, method, routeConfig, this.ENTITY);
|
|
@@ -83,395 +93,34 @@ class ApiControllerFactory {
|
|
|
83
93
|
}
|
|
84
94
|
}
|
|
85
95
|
[routeType_enum.EApiRouteType.CREATE](method, methodName, properties, entityMetadata) {
|
|
86
|
-
const routeConfig = properties.routes[method] ?? {};
|
|
87
96
|
this.targetPrototype[methodName] = Object.defineProperty(async function (body, headers, ip, authenticationRequest) {
|
|
88
|
-
|
|
89
|
-
let authorizationDecision = resolveFromRequest_utility.AuthorizationDecisionResolveFromRequest(authenticationRequest);
|
|
90
|
-
const beforeExecutionContext = {
|
|
91
|
-
DATA: { authorizationDecision, entityMetadata, method, methodName, properties },
|
|
92
|
-
ENTITY: entityInstance,
|
|
93
|
-
result: { authenticationRequest, body, headers, ip },
|
|
94
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.CREATE,
|
|
95
|
-
};
|
|
96
|
-
const beforeResult = await executor_class.ApiSubscriberExecutor.executeRouteSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.CREATE, onType_enum.EApiSubscriberOnType.BEFORE, beforeExecutionContext);
|
|
97
|
-
if (beforeResult) {
|
|
98
|
-
body = beforeResult.body;
|
|
99
|
-
headers = beforeResult.headers;
|
|
100
|
-
ip = beforeResult.ip;
|
|
101
|
-
authenticationRequest = beforeResult.authenticationRequest;
|
|
102
|
-
authorizationDecision = resolveFromRequest_utility.AuthorizationDecisionResolveFromRequest(authenticationRequest);
|
|
103
|
-
}
|
|
104
|
-
try {
|
|
105
|
-
const primaryKey = primaryColumn_utility.ApiControllerGetPrimaryColumn(body, entityMetadata);
|
|
106
|
-
if (!primaryKey) {
|
|
107
|
-
const errorExecutionContext = {
|
|
108
|
-
DATA: beforeExecutionContext.DATA,
|
|
109
|
-
ENTITY: entityInstance,
|
|
110
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.CREATE,
|
|
111
|
-
};
|
|
112
|
-
await executor_class.ApiSubscriberExecutor.executeRouteErrorSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.CREATE, onType_enum.EApiSubscriberOnType.BEFORE_ERROR, errorExecutionContext, exception_utility.ErrorException("Primary key not found in entity columns"));
|
|
113
|
-
throw exception_utility.ErrorException("Primary key not found in entity columns");
|
|
114
|
-
}
|
|
115
|
-
transformData_utility.ApiControllerTransformData(properties.routes[method]?.request?.transformers, properties, { body }, { authenticationRequest, headers, ip });
|
|
116
|
-
await validateRequest_utility.ApiControllerValidateRequest(properties.routes[method]?.request?.validators, properties, body);
|
|
117
|
-
await handleRequestRelations_utility.ApiControllerHandleRequestRelations(this, properties, properties.routes[method]?.request?.relations, body);
|
|
118
|
-
const createResponse = await this.service.create(body);
|
|
119
|
-
const dto = dto_utility.ApiControllerGetDto(properties, entityMetadata, method, dtoType_enum.EApiDtoType.RESPONSE, routeConfig);
|
|
120
|
-
const requestProperties = {
|
|
121
|
-
relations: properties.routes[method]?.response?.relations,
|
|
122
|
-
where: scopeMergeWhere_utility.AuthorizationScopeMergeWhere({ [primaryKey.key]: createResponse[primaryKey.key] }, authorizationDecision?.scope?.where),
|
|
123
|
-
};
|
|
124
|
-
const response = await this.service.get(requestProperties);
|
|
125
|
-
authorizationDecision = attachResource_utility.AuthorizationDecisionAttachResource(authorizationDecision, response);
|
|
126
|
-
transformData_utility.ApiControllerTransformData(properties.routes[method]?.response?.transformers, properties, { response }, { authenticationRequest, headers, ip });
|
|
127
|
-
const afterExecutionContext = {
|
|
128
|
-
DATA: { ...beforeExecutionContext.DATA, authenticationRequest, authorizationDecision, body, headers, ip },
|
|
129
|
-
ENTITY: response,
|
|
130
|
-
result: response,
|
|
131
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.CREATE,
|
|
132
|
-
};
|
|
133
|
-
const afterResult = await executor_class.ApiSubscriberExecutor.executeRouteSubscribers(this.constructor, response, routeType_enum.EApiRouteType.CREATE, onType_enum.EApiSubscriberOnType.AFTER, afterExecutionContext);
|
|
134
|
-
const finalResponse = afterResult ?? response;
|
|
135
|
-
authorizationDecision = attachResource_utility.AuthorizationDecisionAttachResource(authorizationDecision, finalResponse);
|
|
136
|
-
const transformedResponse = await applyResult_utility.AuthorizationDecisionApplyResult(authorizationDecision, finalResponse);
|
|
137
|
-
return classTransformer.plainToInstance(dto, transformedResponse, {
|
|
138
|
-
/* eslint-disable-next-line @elsikora/typescript/naming-convention */
|
|
139
|
-
excludeExtraneousValues: true,
|
|
140
|
-
strategy: "excludeAll",
|
|
141
|
-
});
|
|
142
|
-
}
|
|
143
|
-
catch (error) {
|
|
144
|
-
const errorExecutionContext = {
|
|
145
|
-
DATA: { ...beforeExecutionContext.DATA, authenticationRequest, authorizationDecision, body, headers, ip },
|
|
146
|
-
ENTITY: entityInstance,
|
|
147
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.CREATE,
|
|
148
|
-
};
|
|
149
|
-
await executor_class.ApiSubscriberExecutor.executeRouteErrorSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.CREATE, onType_enum.EApiSubscriberOnType.AFTER_ERROR, errorExecutionContext, error);
|
|
150
|
-
throw error;
|
|
151
|
-
}
|
|
97
|
+
return (await routeRuntime_class.ApiRouteRuntime.executeGenerated({ controller: this, entityMetadata, method, methodName, properties, targets: { authenticationRequest, body, headers, ip } }));
|
|
152
98
|
}, "name", { value: methodName });
|
|
153
99
|
}
|
|
154
100
|
[routeType_enum.EApiRouteType.DELETE](method, methodName, properties, entityMetadata) {
|
|
155
101
|
this.targetPrototype[methodName] = Object.defineProperty(async function (parameters, headers, ip, authenticationRequest) {
|
|
156
|
-
|
|
157
|
-
let authorizationDecision = resolveFromRequest_utility.AuthorizationDecisionResolveFromRequest(authenticationRequest);
|
|
158
|
-
const beforeExecutionContext = {
|
|
159
|
-
DATA: { authorizationDecision, entityMetadata, method, methodName, properties },
|
|
160
|
-
ENTITY: entityInstance,
|
|
161
|
-
result: { authenticationRequest, headers, ip, parameters },
|
|
162
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.DELETE,
|
|
163
|
-
};
|
|
164
|
-
const beforeResult = await executor_class.ApiSubscriberExecutor.executeRouteSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.DELETE, onType_enum.EApiSubscriberOnType.BEFORE, beforeExecutionContext);
|
|
165
|
-
if (beforeResult) {
|
|
166
|
-
parameters = beforeResult.parameters;
|
|
167
|
-
headers = beforeResult.headers;
|
|
168
|
-
ip = beforeResult.ip;
|
|
169
|
-
authenticationRequest = beforeResult.authenticationRequest;
|
|
170
|
-
authorizationDecision = resolveFromRequest_utility.AuthorizationDecisionResolveFromRequest(authenticationRequest);
|
|
171
|
-
}
|
|
172
|
-
try {
|
|
173
|
-
const primaryKey = primaryColumn_utility.ApiControllerGetPrimaryColumn(parameters, entityMetadata);
|
|
174
|
-
if (!primaryKey) {
|
|
175
|
-
const errorExecutionContext = {
|
|
176
|
-
DATA: beforeExecutionContext.DATA,
|
|
177
|
-
ENTITY: entityInstance,
|
|
178
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.DELETE,
|
|
179
|
-
};
|
|
180
|
-
await executor_class.ApiSubscriberExecutor.executeRouteErrorSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.DELETE, onType_enum.EApiSubscriberOnType.BEFORE_ERROR, errorExecutionContext, exception_utility.ErrorException("Primary key not found in entity columns"));
|
|
181
|
-
throw exception_utility.ErrorException("Primary key not found in entity columns");
|
|
182
|
-
}
|
|
183
|
-
transformData_utility.ApiControllerTransformData(properties.routes[method]?.request?.transformers, properties, { parameters }, { authenticationRequest, headers, ip });
|
|
184
|
-
await validateRequest_utility.ApiControllerValidateRequest(properties.routes[method]?.request?.validators, properties, parameters);
|
|
185
|
-
await handleRequestRelations_utility.ApiControllerHandleRequestRelations(this, properties, properties.routes[method]?.request?.relations, parameters);
|
|
186
|
-
const requestCriteria = {
|
|
187
|
-
[primaryKey.key]: primaryKey.value,
|
|
188
|
-
};
|
|
189
|
-
const scopedCriteria = scopeMergeWhere_utility.AuthorizationScopeMergeWhere(requestCriteria, authorizationDecision?.scope?.where);
|
|
190
|
-
await this.service.delete(scopedCriteria ?? requestCriteria);
|
|
191
|
-
const afterExecutionContext = {
|
|
192
|
-
DATA: { ...beforeExecutionContext.DATA, authenticationRequest, authorizationDecision, headers, ip, parameters },
|
|
193
|
-
ENTITY: entityInstance,
|
|
194
|
-
result: parameters,
|
|
195
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.DELETE,
|
|
196
|
-
};
|
|
197
|
-
await executor_class.ApiSubscriberExecutor.executeRouteSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.DELETE, onType_enum.EApiSubscriberOnType.AFTER, afterExecutionContext);
|
|
198
|
-
}
|
|
199
|
-
catch (error) {
|
|
200
|
-
const errorExecutionContext = {
|
|
201
|
-
DATA: { ...beforeExecutionContext.DATA, authenticationRequest, authorizationDecision, headers, ip, parameters },
|
|
202
|
-
ENTITY: entityInstance,
|
|
203
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.DELETE,
|
|
204
|
-
};
|
|
205
|
-
await executor_class.ApiSubscriberExecutor.executeRouteErrorSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.DELETE, onType_enum.EApiSubscriberOnType.AFTER_ERROR, errorExecutionContext, error);
|
|
206
|
-
throw error;
|
|
207
|
-
}
|
|
102
|
+
await routeRuntime_class.ApiRouteRuntime.executeGenerated({ controller: this, entityMetadata, method, methodName, properties, targets: { authenticationRequest, headers, ip, parameters } });
|
|
208
103
|
}, "name", { value: methodName });
|
|
209
104
|
}
|
|
210
105
|
[routeType_enum.EApiRouteType.GET](method, methodName, properties, entityMetadata) {
|
|
211
|
-
const routeConfig = properties.routes[method] ?? {};
|
|
212
106
|
this.targetPrototype[methodName] = Object.defineProperty(async function (parameters, headers, ip, authenticationRequest) {
|
|
213
|
-
|
|
214
|
-
let authorizationDecision = resolveFromRequest_utility.AuthorizationDecisionResolveFromRequest(authenticationRequest);
|
|
215
|
-
const beforeExecutionContext = {
|
|
216
|
-
DATA: { authorizationDecision, entityMetadata, method, methodName, properties },
|
|
217
|
-
ENTITY: entityInstance,
|
|
218
|
-
result: { authenticationRequest, headers, ip, parameters },
|
|
219
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.GET,
|
|
220
|
-
};
|
|
221
|
-
const beforeResult = await executor_class.ApiSubscriberExecutor.executeRouteSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.GET, onType_enum.EApiSubscriberOnType.BEFORE, beforeExecutionContext);
|
|
222
|
-
if (beforeResult) {
|
|
223
|
-
parameters = beforeResult.parameters;
|
|
224
|
-
headers = beforeResult.headers;
|
|
225
|
-
ip = beforeResult.ip;
|
|
226
|
-
authenticationRequest = beforeResult.authenticationRequest;
|
|
227
|
-
authorizationDecision = resolveFromRequest_utility.AuthorizationDecisionResolveFromRequest(authenticationRequest);
|
|
228
|
-
}
|
|
229
|
-
try {
|
|
230
|
-
const primaryKey = primaryColumn_utility.ApiControllerGetPrimaryColumn(parameters, entityMetadata);
|
|
231
|
-
if (!primaryKey) {
|
|
232
|
-
const errorExecutionContext = {
|
|
233
|
-
DATA: beforeExecutionContext.DATA,
|
|
234
|
-
ENTITY: entityInstance,
|
|
235
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.GET,
|
|
236
|
-
};
|
|
237
|
-
await executor_class.ApiSubscriberExecutor.executeRouteErrorSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.GET, onType_enum.EApiSubscriberOnType.BEFORE_ERROR, errorExecutionContext, exception_utility.ErrorException("Primary key not found in entity columns"));
|
|
238
|
-
throw exception_utility.ErrorException("Primary key not found in entity columns");
|
|
239
|
-
}
|
|
240
|
-
transformData_utility.ApiControllerTransformData(properties.routes[method]?.request?.transformers, properties, { parameters }, { authenticationRequest, headers, ip });
|
|
241
|
-
await validateRequest_utility.ApiControllerValidateRequest(properties.routes[method]?.request?.validators, properties, parameters);
|
|
242
|
-
await handleRequestRelations_utility.ApiControllerHandleRequestRelations(this, properties, properties.routes[method]?.request?.relations, parameters);
|
|
243
|
-
const requestProperties = {
|
|
244
|
-
relations: properties.routes[method]?.response?.relations,
|
|
245
|
-
where: { [primaryKey.key]: primaryKey.value },
|
|
246
|
-
};
|
|
247
|
-
requestProperties.where = scopeMergeWhere_utility.AuthorizationScopeMergeWhere(requestProperties.where, authorizationDecision?.scope?.where);
|
|
248
|
-
const response = await this.service.get(requestProperties);
|
|
249
|
-
authorizationDecision = attachResource_utility.AuthorizationDecisionAttachResource(authorizationDecision, response);
|
|
250
|
-
transformData_utility.ApiControllerTransformData(properties.routes[method]?.response?.transformers, properties, { response }, { authenticationRequest, headers, ip });
|
|
251
|
-
const afterExecutionContext = {
|
|
252
|
-
DATA: { ...beforeExecutionContext.DATA, authenticationRequest, authorizationDecision, headers, ip, parameters },
|
|
253
|
-
ENTITY: response,
|
|
254
|
-
result: response,
|
|
255
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.GET,
|
|
256
|
-
};
|
|
257
|
-
const afterResult = await executor_class.ApiSubscriberExecutor.executeRouteSubscribers(this.constructor, response, routeType_enum.EApiRouteType.GET, onType_enum.EApiSubscriberOnType.AFTER, afterExecutionContext);
|
|
258
|
-
const finalResponse = afterResult ?? response;
|
|
259
|
-
authorizationDecision = attachResource_utility.AuthorizationDecisionAttachResource(authorizationDecision, finalResponse);
|
|
260
|
-
const transformedResponse = await applyResult_utility.AuthorizationDecisionApplyResult(authorizationDecision, finalResponse);
|
|
261
|
-
const dto = dto_utility.ApiControllerGetDto(properties, entityMetadata, method, dtoType_enum.EApiDtoType.RESPONSE, routeConfig);
|
|
262
|
-
return classTransformer.plainToInstance(dto, transformedResponse, {
|
|
263
|
-
/* eslint-disable-next-line @elsikora/typescript/naming-convention */
|
|
264
|
-
excludeExtraneousValues: true,
|
|
265
|
-
});
|
|
266
|
-
}
|
|
267
|
-
catch (error) {
|
|
268
|
-
const errorExecutionContext = {
|
|
269
|
-
DATA: { ...beforeExecutionContext.DATA, authenticationRequest, authorizationDecision, headers, ip, parameters },
|
|
270
|
-
ENTITY: entityInstance,
|
|
271
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.GET,
|
|
272
|
-
};
|
|
273
|
-
await executor_class.ApiSubscriberExecutor.executeRouteErrorSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.GET, onType_enum.EApiSubscriberOnType.AFTER_ERROR, errorExecutionContext, error);
|
|
274
|
-
throw error;
|
|
275
|
-
}
|
|
107
|
+
return (await routeRuntime_class.ApiRouteRuntime.executeGenerated({ controller: this, entityMetadata, method, methodName, properties, targets: { authenticationRequest, headers, ip, parameters } }));
|
|
276
108
|
}, "name", { value: methodName });
|
|
277
109
|
}
|
|
278
110
|
[routeType_enum.EApiRouteType.GET_LIST](method, methodName, properties, entityMetadata) {
|
|
279
|
-
const routeConfig = properties.routes[method] ?? {};
|
|
280
111
|
this.targetPrototype[methodName] = Object.defineProperty(async function (query, headers, ip, authenticationRequest) {
|
|
281
|
-
|
|
282
|
-
let authorizationDecision = resolveFromRequest_utility.AuthorizationDecisionResolveFromRequest(authenticationRequest);
|
|
283
|
-
const beforeExecutionContext = {
|
|
284
|
-
DATA: { authorizationDecision, entityMetadata, method, methodName, properties },
|
|
285
|
-
ENTITY: entityInstance,
|
|
286
|
-
result: { authenticationRequest, headers, ip, query },
|
|
287
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.GET_LIST,
|
|
288
|
-
};
|
|
289
|
-
const beforeResult = await executor_class.ApiSubscriberExecutor.executeRouteSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.GET_LIST, onType_enum.EApiSubscriberOnType.BEFORE, beforeExecutionContext);
|
|
290
|
-
if (beforeResult) {
|
|
291
|
-
query = beforeResult.query;
|
|
292
|
-
headers = beforeResult.headers;
|
|
293
|
-
ip = beforeResult.ip;
|
|
294
|
-
authenticationRequest = beforeResult.authenticationRequest;
|
|
295
|
-
authorizationDecision = resolveFromRequest_utility.AuthorizationDecisionResolveFromRequest(authenticationRequest);
|
|
296
|
-
}
|
|
297
|
-
try {
|
|
298
|
-
transformData_utility.ApiControllerTransformData(properties.routes[method]?.request?.transformers, properties, { query }, { authenticationRequest, headers, ip });
|
|
299
|
-
await validateRequest_utility.ApiControllerValidateRequest(properties.routes[method]?.request?.validators, properties, query);
|
|
300
|
-
await handleRequestRelations_utility.ApiControllerHandleRequestRelations(this, properties, properties.routes[method]?.request?.relations, query);
|
|
301
|
-
const { limit, orderBy, orderDirection, page, ...getListQuery } = query;
|
|
302
|
-
const filter = filter_utility.ApiControllerGetListTransformFilter(getListQuery, entityMetadata);
|
|
303
|
-
const scopedFilter = scopeMergeWhere_utility.AuthorizationScopeMergeWhere(filter, authorizationDecision?.scope?.where);
|
|
304
|
-
const requestProperties = {
|
|
305
|
-
relations: properties.routes[method]?.response?.relations,
|
|
306
|
-
skip: query.limit * (query.page - 1),
|
|
307
|
-
take: query.limit,
|
|
308
|
-
where: scopedFilter ?? filter,
|
|
309
|
-
};
|
|
310
|
-
if (orderBy) {
|
|
311
|
-
requestProperties.order = { [orderBy]: orderDirection ?? function_constant.FUNCTION_API_DECORATOR_CONSTANT.DEFAULT_FILTER_ORDER_BY_DIRECTION };
|
|
312
|
-
}
|
|
313
|
-
const response = await this.service.getList(requestProperties);
|
|
314
|
-
transformData_utility.ApiControllerTransformData(properties.routes[method]?.response?.transformers, properties, { response }, { authenticationRequest, headers, ip });
|
|
315
|
-
const afterExecutionContext = {
|
|
316
|
-
DATA: { ...beforeExecutionContext.DATA, authenticationRequest, authorizationDecision, headers, ip, query },
|
|
317
|
-
ENTITY: entityInstance,
|
|
318
|
-
result: response,
|
|
319
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.GET_LIST,
|
|
320
|
-
};
|
|
321
|
-
const afterResult = await executor_class.ApiSubscriberExecutor.executeRouteSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.GET_LIST, onType_enum.EApiSubscriberOnType.AFTER, afterExecutionContext);
|
|
322
|
-
const finalResponse = afterResult ?? response;
|
|
323
|
-
const transformedResponse = await applyResult_utility.AuthorizationDecisionApplyResult(authorizationDecision, finalResponse);
|
|
324
|
-
const dto = dto_utility.ApiControllerGetDto(properties, entityMetadata, method, dtoType_enum.EApiDtoType.RESPONSE, routeConfig);
|
|
325
|
-
return classTransformer.plainToInstance(dto, transformedResponse, {
|
|
326
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
327
|
-
excludeExtraneousValues: true,
|
|
328
|
-
});
|
|
329
|
-
}
|
|
330
|
-
catch (error) {
|
|
331
|
-
const errorExecutionContext = {
|
|
332
|
-
DATA: { ...beforeExecutionContext.DATA, authenticationRequest, authorizationDecision, headers, ip, query },
|
|
333
|
-
ENTITY: entityInstance,
|
|
334
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.GET_LIST,
|
|
335
|
-
};
|
|
336
|
-
await executor_class.ApiSubscriberExecutor.executeRouteErrorSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.GET_LIST, onType_enum.EApiSubscriberOnType.AFTER_ERROR, errorExecutionContext, error);
|
|
337
|
-
throw error;
|
|
338
|
-
}
|
|
112
|
+
return (await routeRuntime_class.ApiRouteRuntime.executeGenerated({ controller: this, entityMetadata, method, methodName, properties, targets: { authenticationRequest, headers, ip, query } }));
|
|
339
113
|
}, "name", { value: methodName });
|
|
340
114
|
}
|
|
341
115
|
[routeType_enum.EApiRouteType.PARTIAL_UPDATE](method, methodName, properties, entityMetadata) {
|
|
342
|
-
|
|
343
|
-
this.targetPrototype[methodName] = Object.defineProperty(async function (parameters, body, headers, ip, authenticationRequest) {
|
|
344
|
-
const entityInstance = new properties.entity();
|
|
345
|
-
let authorizationDecision = resolveFromRequest_utility.AuthorizationDecisionResolveFromRequest(authenticationRequest);
|
|
346
|
-
const beforeExecutionContext = {
|
|
347
|
-
DATA: { authorizationDecision, entityMetadata, method, methodName, properties },
|
|
348
|
-
ENTITY: entityInstance,
|
|
349
|
-
result: { authenticationRequest, body, headers, ip, parameters },
|
|
350
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.PARTIAL_UPDATE,
|
|
351
|
-
};
|
|
352
|
-
const beforeResult = await executor_class.ApiSubscriberExecutor.executeRouteSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.PARTIAL_UPDATE, onType_enum.EApiSubscriberOnType.BEFORE, beforeExecutionContext);
|
|
353
|
-
if (beforeResult) {
|
|
354
|
-
parameters = beforeResult.parameters;
|
|
355
|
-
body = beforeResult.body;
|
|
356
|
-
headers = beforeResult.headers;
|
|
357
|
-
ip = beforeResult.ip;
|
|
358
|
-
authenticationRequest = beforeResult.authenticationRequest;
|
|
359
|
-
authorizationDecision = resolveFromRequest_utility.AuthorizationDecisionResolveFromRequest(authenticationRequest);
|
|
360
|
-
}
|
|
361
|
-
try {
|
|
362
|
-
const primaryKey = primaryColumn_utility.ApiControllerGetPrimaryColumn(parameters, entityMetadata);
|
|
363
|
-
if (!primaryKey) {
|
|
364
|
-
const errorExecutionContext = {
|
|
365
|
-
DATA: beforeExecutionContext.DATA,
|
|
366
|
-
ENTITY: entityInstance,
|
|
367
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.PARTIAL_UPDATE,
|
|
368
|
-
};
|
|
369
|
-
await executor_class.ApiSubscriberExecutor.executeRouteErrorSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.PARTIAL_UPDATE, onType_enum.EApiSubscriberOnType.BEFORE_ERROR, errorExecutionContext, exception_utility.ErrorException("Primary key not found in entity columns"));
|
|
370
|
-
throw exception_utility.ErrorException("Primary key not found in entity columns");
|
|
371
|
-
}
|
|
372
|
-
transformData_utility.ApiControllerTransformData(properties.routes[method]?.request?.transformers, properties, { body, parameters }, { authenticationRequest, headers, ip });
|
|
373
|
-
await validateRequest_utility.ApiControllerValidateRequest(properties.routes[method]?.request?.validators, properties, parameters);
|
|
374
|
-
await handleRequestRelations_utility.ApiControllerHandleRequestRelations(this, properties, properties.routes[method]?.request?.relations, parameters);
|
|
375
|
-
const requestCriteria = {
|
|
376
|
-
[primaryKey.key]: primaryKey.value,
|
|
377
|
-
};
|
|
378
|
-
const scopedCriteria = scopeMergeWhere_utility.AuthorizationScopeMergeWhere(requestCriteria, authorizationDecision?.scope?.where);
|
|
379
|
-
const response = await this.service.update(scopedCriteria ?? requestCriteria, body);
|
|
380
|
-
authorizationDecision = attachResource_utility.AuthorizationDecisionAttachResource(authorizationDecision, response);
|
|
381
|
-
transformData_utility.ApiControllerTransformData(properties.routes[method]?.response?.transformers, properties, { response }, { authenticationRequest, headers, ip });
|
|
382
|
-
const afterExecutionContext = {
|
|
383
|
-
DATA: { ...beforeExecutionContext.DATA, authenticationRequest, authorizationDecision, body, headers, ip, parameters },
|
|
384
|
-
ENTITY: response,
|
|
385
|
-
result: response,
|
|
386
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.PARTIAL_UPDATE,
|
|
387
|
-
};
|
|
388
|
-
const afterResult = await executor_class.ApiSubscriberExecutor.executeRouteSubscribers(this.constructor, response, routeType_enum.EApiRouteType.PARTIAL_UPDATE, onType_enum.EApiSubscriberOnType.AFTER, afterExecutionContext);
|
|
389
|
-
const finalResponse = afterResult ?? response;
|
|
390
|
-
authorizationDecision = attachResource_utility.AuthorizationDecisionAttachResource(authorizationDecision, finalResponse);
|
|
391
|
-
const transformedResponse = await applyResult_utility.AuthorizationDecisionApplyResult(authorizationDecision, finalResponse);
|
|
392
|
-
const dto = dto_utility.ApiControllerGetDto(properties, entityMetadata, method, dtoType_enum.EApiDtoType.RESPONSE, routeConfig);
|
|
393
|
-
return classTransformer.plainToInstance(dto, transformedResponse, {
|
|
394
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
395
|
-
excludeExtraneousValues: true,
|
|
396
|
-
});
|
|
397
|
-
}
|
|
398
|
-
catch (error) {
|
|
399
|
-
const errorExecutionContext = {
|
|
400
|
-
DATA: { ...beforeExecutionContext.DATA, authenticationRequest, authorizationDecision, body, headers, ip, parameters },
|
|
401
|
-
ENTITY: entityInstance,
|
|
402
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.PARTIAL_UPDATE,
|
|
403
|
-
};
|
|
404
|
-
await executor_class.ApiSubscriberExecutor.executeRouteErrorSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.PARTIAL_UPDATE, onType_enum.EApiSubscriberOnType.AFTER_ERROR, errorExecutionContext, error);
|
|
405
|
-
throw error;
|
|
406
|
-
}
|
|
407
|
-
}, "name", { value: methodName });
|
|
116
|
+
this.defineUpdateRouteMethod(method, methodName, properties, entityMetadata);
|
|
408
117
|
}
|
|
409
118
|
[routeType_enum.EApiRouteType.UPDATE](method, methodName, properties, entityMetadata) {
|
|
410
|
-
|
|
119
|
+
this.defineUpdateRouteMethod(method, methodName, properties, entityMetadata);
|
|
120
|
+
}
|
|
121
|
+
defineUpdateRouteMethod(method, methodName, properties, entityMetadata) {
|
|
411
122
|
this.targetPrototype[methodName] = Object.defineProperty(async function (parameters, body, headers, ip, authenticationRequest) {
|
|
412
|
-
|
|
413
|
-
let authorizationDecision = resolveFromRequest_utility.AuthorizationDecisionResolveFromRequest(authenticationRequest);
|
|
414
|
-
const beforeExecutionContext = {
|
|
415
|
-
DATA: { authorizationDecision, entityMetadata, method, methodName, properties },
|
|
416
|
-
ENTITY: entityInstance,
|
|
417
|
-
result: { authenticationRequest, body, headers, ip, parameters },
|
|
418
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.UPDATE,
|
|
419
|
-
};
|
|
420
|
-
const beforeResult = await executor_class.ApiSubscriberExecutor.executeRouteSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.UPDATE, onType_enum.EApiSubscriberOnType.BEFORE, beforeExecutionContext);
|
|
421
|
-
if (beforeResult) {
|
|
422
|
-
parameters = beforeResult.parameters;
|
|
423
|
-
body = beforeResult.body;
|
|
424
|
-
headers = beforeResult.headers;
|
|
425
|
-
ip = beforeResult.ip;
|
|
426
|
-
authenticationRequest = beforeResult.authenticationRequest;
|
|
427
|
-
authorizationDecision = resolveFromRequest_utility.AuthorizationDecisionResolveFromRequest(authenticationRequest);
|
|
428
|
-
}
|
|
429
|
-
try {
|
|
430
|
-
const primaryKey = primaryColumn_utility.ApiControllerGetPrimaryColumn(parameters, entityMetadata);
|
|
431
|
-
if (!primaryKey) {
|
|
432
|
-
const errorExecutionContext = {
|
|
433
|
-
DATA: beforeExecutionContext.DATA,
|
|
434
|
-
ENTITY: entityInstance,
|
|
435
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.UPDATE,
|
|
436
|
-
};
|
|
437
|
-
await executor_class.ApiSubscriberExecutor.executeRouteErrorSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.UPDATE, onType_enum.EApiSubscriberOnType.BEFORE_ERROR, errorExecutionContext, exception_utility.ErrorException("Primary key not found in entity columns"));
|
|
438
|
-
throw exception_utility.ErrorException("Primary key not found in entity columns");
|
|
439
|
-
}
|
|
440
|
-
transformData_utility.ApiControllerTransformData(properties.routes[method]?.request?.transformers, properties, { body, parameters }, { authenticationRequest, headers, ip });
|
|
441
|
-
await validateRequest_utility.ApiControllerValidateRequest(properties.routes[method]?.request?.validators, properties, parameters);
|
|
442
|
-
await handleRequestRelations_utility.ApiControllerHandleRequestRelations(this, properties, properties.routes[method]?.request?.relations, parameters);
|
|
443
|
-
const requestCriteria = {
|
|
444
|
-
[primaryKey.key]: primaryKey.value,
|
|
445
|
-
};
|
|
446
|
-
const scopedCriteria = scopeMergeWhere_utility.AuthorizationScopeMergeWhere(requestCriteria, authorizationDecision?.scope?.where);
|
|
447
|
-
const response = await this.service.update(scopedCriteria ?? requestCriteria, body);
|
|
448
|
-
authorizationDecision = attachResource_utility.AuthorizationDecisionAttachResource(authorizationDecision, response);
|
|
449
|
-
transformData_utility.ApiControllerTransformData(properties.routes[method]?.response?.transformers, properties, { response }, { authenticationRequest, headers, ip });
|
|
450
|
-
const afterExecutionContext = {
|
|
451
|
-
DATA: { ...beforeExecutionContext.DATA, authenticationRequest, authorizationDecision, body, headers, ip, parameters },
|
|
452
|
-
ENTITY: response,
|
|
453
|
-
result: response,
|
|
454
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.UPDATE,
|
|
455
|
-
};
|
|
456
|
-
const afterResult = await executor_class.ApiSubscriberExecutor.executeRouteSubscribers(this.constructor, response, routeType_enum.EApiRouteType.UPDATE, onType_enum.EApiSubscriberOnType.AFTER, afterExecutionContext);
|
|
457
|
-
const finalResponse = afterResult ?? response;
|
|
458
|
-
authorizationDecision = attachResource_utility.AuthorizationDecisionAttachResource(authorizationDecision, finalResponse);
|
|
459
|
-
const transformedResponse = await applyResult_utility.AuthorizationDecisionApplyResult(authorizationDecision, finalResponse);
|
|
460
|
-
const dto = dto_utility.ApiControllerGetDto(properties, entityMetadata, method, dtoType_enum.EApiDtoType.RESPONSE, routeConfig);
|
|
461
|
-
return classTransformer.plainToInstance(dto, transformedResponse, {
|
|
462
|
-
// eslint-disable-next-line @elsikora/typescript/naming-convention
|
|
463
|
-
excludeExtraneousValues: true,
|
|
464
|
-
});
|
|
465
|
-
}
|
|
466
|
-
catch (error) {
|
|
467
|
-
const errorExecutionContext = {
|
|
468
|
-
DATA: { ...beforeExecutionContext.DATA, authenticationRequest, authorizationDecision, body, headers, ip, parameters },
|
|
469
|
-
ENTITY: entityInstance,
|
|
470
|
-
ROUTE_TYPE: routeType_enum.EApiRouteType.UPDATE,
|
|
471
|
-
};
|
|
472
|
-
await executor_class.ApiSubscriberExecutor.executeRouteErrorSubscribers(this.constructor, entityInstance, routeType_enum.EApiRouteType.UPDATE, onType_enum.EApiSubscriberOnType.AFTER_ERROR, errorExecutionContext, error);
|
|
473
|
-
throw error;
|
|
474
|
-
}
|
|
123
|
+
return (await routeRuntime_class.ApiRouteRuntime.executeGenerated({ controller: this, entityMetadata, method, methodName, properties, targets: { authenticationRequest, body, headers, ip, parameters } }));
|
|
475
124
|
}, "name", { value: methodName });
|
|
476
125
|
}
|
|
477
126
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-controller.factory.js","sources":["../../../../src/factory/api-controller.factory.ts"],"sourcesContent":[null],"names":["GenerateEntityInformation","ErrorException","Controller","ApiTags","CONTROLLER_API_DECORATOR_CONSTANT","ApiControllerWriteMethod","ApiControllerApplyMetadata","ApiControllerApplyDecorators","ApiControllerWriteDtoSwagger","EApiRouteType","AuthorizationDecisionResolveFromRequest","ApiSubscriberExecutor","EApiSubscriberOnType","ApiControllerGetPrimaryColumn","ApiControllerTransformData","ApiControllerValidateRequest","ApiControllerHandleRequestRelations","ApiControllerGetDto","EApiDtoType","AuthorizationScopeMergeWhere","AuthorizationDecisionAttachResource","AuthorizationDecisionApplyResult","plainToInstance","ApiControllerGetListTransformFilter","FUNCTION_API_DECORATOR_CONSTANT"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA+Ba,oBAAoB,CAAA;AAQrB,IAAA,MAAA;AACO,IAAA,UAAA;AARlB,IAAA,IAAc,eAAe,GAAA;AAC5B,QAAA,OAAO,IAAI,CAAC,MAAM,CAAC,SAA6C;IACjE;AAEiB,IAAA,MAAM;IAEvB,WAAA,CACW,MAAqC,EAC9B,UAAuC,EAAA;QAD9C,IAAA,CAAA,MAAM,GAAN,MAAM;QACC,IAAA,CAAA,UAAU,GAAV,UAAU;QAE3B,IAAI,CAAC,MAAM,GAAGA,2DAAyB,CAAI,UAAU,CAAC,MAAM,CAAC;AAE7D,QAAA,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE;AAC5B,YAAA,MAAMC,gCAAc,CAAC,CAAA,uBAAA,EAA0B,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,IAAI,i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ACD,MAAM,EACN,EAAE,KAAK,EAAE,UAAU,EAAE,CACrB;IACF;AACA;;;;"}
|
|
1
|
+
{"version":3,"file":"api-controller.factory.js","sources":["../../../../src/factory/api-controller.factory.ts"],"sourcesContent":[null],"names":["GenerateEntityInformation","ErrorException","Controller","ApiTags","CONTROLLER_API_DECORATOR_CONSTANT","ApiControllerWriteMethod","ApiControllerApplyMetadata","ApiControllerApplyDecorators","ApiControllerWriteDtoSwagger","EApiRouteType","ApiRouteRuntime"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkBa,oBAAoB,CAAA;AAQrB,IAAA,MAAA;AACO,IAAA,UAAA;AARlB,IAAA,IAAc,eAAe,GAAA;AAC5B,QAAA,OAAO,IAAI,CAAC,MAAM,CAAC,SAA6C;IACjE;AAEiB,IAAA,MAAM;IAEvB,WAAA,CACW,MAAqC,EAC9B,UAAuC,EAAA;QAD9C,IAAA,CAAA,MAAM,GAAN,MAAM;QACC,IAAA,CAAA,UAAU,GAAV,UAAU;QAE3B,IAAI,CAAC,MAAM,GAAGA,2DAAyB,CAAI,UAAU,CAAC,MAAM,CAAC;AAE7D,QAAA,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE;AAC5B,YAAA,MAAMC,gCAAc,CAAC,CAAA,uBAAA,EAA0B,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,IAAI,iBAAiB,CAAA,UAAA,CAAY,CAAC;QAC7G;AAEA,QAAAC,iBAAU,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QAC9IC,eAAO,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,IAAI,CAAC,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