@tstdl/base 0.72.0-beta1 → 0.78.0-beta1
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/.eslintrc.js +11 -8
- package/api/client/client.d.ts +4 -3
- package/api/client/client.js +29 -35
- package/api/client/client.js.map +1 -1
- package/api/client/index.d.ts +1 -1
- package/api/client/index.js +17 -1
- package/api/client/index.js.map +1 -1
- package/api/default-error-handlers.d.ts +2 -6
- package/api/default-error-handlers.js +15 -12
- package/api/default-error-handlers.js.map +1 -1
- package/api/index.d.ts +3 -3
- package/api/index.js +19 -3
- package/api/index.js.map +1 -1
- package/api/response.d.ts +2 -2
- package/api/response.js +44 -41
- package/api/response.js.map +1 -1
- package/api/server/api-controller.d.ts +3 -3
- package/api/server/api-controller.js +16 -9
- package/api/server/api-controller.js.map +1 -1
- package/api/server/error-handler.d.ts +3 -3
- package/api/server/error-handler.js +15 -12
- package/api/server/error-handler.js.map +1 -1
- package/api/server/gateway.d.ts +13 -8
- package/api/server/gateway.js +66 -67
- package/api/server/gateway.js.map +1 -1
- package/api/server/index.d.ts +4 -3
- package/api/server/index.js +20 -3
- package/api/server/index.js.map +1 -1
- package/api/server/middlewares/allowed-methods.middleware.d.ts +4 -4
- package/api/server/middlewares/allowed-methods.middleware.js +11 -7
- package/api/server/middlewares/allowed-methods.middleware.js.map +1 -1
- package/api/server/middlewares/catch-error.middleware.d.ts +3 -3
- package/api/server/middlewares/catch-error.middleware.js +7 -3
- package/api/server/middlewares/catch-error.middleware.js.map +1 -1
- package/api/server/middlewares/cors.middleware.d.ts +3 -3
- package/api/server/middlewares/cors.middleware.js +18 -14
- package/api/server/middlewares/cors.middleware.js.map +1 -1
- package/api/server/middlewares/index.d.ts +4 -4
- package/api/server/middlewares/index.js +20 -4
- package/api/server/middlewares/index.js.map +1 -1
- package/api/server/middlewares/response-time.middleware.d.ts +2 -2
- package/api/server/middlewares/response-time.middleware.js +9 -5
- package/api/server/middlewares/response-time.middleware.js.map +1 -1
- package/api/server/module.d.ts +8 -5
- package/api/server/module.js +19 -9
- package/api/server/module.js.map +1 -1
- package/api/server/tokens.d.ts +2 -0
- package/api/server/tokens.js +6 -0
- package/api/server/tokens.js.map +1 -0
- package/api/types.d.ts +11 -40
- package/api/types.js +15 -8
- package/api/types.js.map +1 -1
- package/application/application.d.ts +6 -5
- package/application/application.js +43 -30
- package/application/application.js.map +1 -1
- package/application/index.d.ts +1 -1
- package/application/index.js +17 -1
- package/application/index.js.map +1 -1
- package/async-iterator-symbol.js +5 -1
- package/async-iterator-symbol.js.map +1 -1
- package/collections/awaitable/awaitable-list.d.ts +1 -1
- package/collections/awaitable/awaitable-list.js +13 -8
- package/collections/awaitable/awaitable-list.js.map +1 -1
- package/collections/awaitable/awaitable-map.js +13 -9
- package/collections/awaitable/awaitable-map.js.map +1 -1
- package/collections/awaitable/awaitable-set.js +9 -5
- package/collections/awaitable/awaitable-set.js.map +1 -1
- package/collections/awaitable/index.d.ts +3 -3
- package/collections/awaitable/index.js +19 -3
- package/collections/awaitable/index.js.map +1 -1
- package/collections/collection.js +2 -1
- package/collections/index.d.ts +6 -6
- package/collections/index.js +22 -6
- package/collections/index.js.map +1 -1
- package/collections/keyed-set.js +9 -5
- package/collections/keyed-set.js.map +1 -1
- package/collections/list.d.ts +1 -1
- package/collections/list.js +2 -1
- package/collections/observable/index.d.ts +8 -8
- package/collections/observable/index.js +24 -8
- package/collections/observable/index.js.map +1 -1
- package/collections/observable/observable-array.d.ts +2 -2
- package/collections/observable/observable-array.js +6 -2
- package/collections/observable/observable-array.js.map +1 -1
- package/collections/observable/observable-collection-base.d.ts +2 -2
- package/collections/observable/observable-collection-base.js +23 -18
- package/collections/observable/observable-collection-base.js.map +1 -1
- package/collections/observable/observable-collection.d.ts +1 -1
- package/collections/observable/observable-collection.js +2 -1
- package/collections/observable/observable-list-base.d.ts +3 -3
- package/collections/observable/observable-list-base.js +15 -11
- package/collections/observable/observable-list-base.js.map +1 -1
- package/collections/observable/observable-list.d.ts +3 -3
- package/collections/observable/observable-list.js +2 -1
- package/collections/observable/observable-map.js +7 -3
- package/collections/observable/observable-map.js.map +1 -1
- package/collections/observable/observable-set.d.ts +2 -2
- package/collections/observable/observable-set.js +6 -2
- package/collections/observable/observable-set.js.map +1 -1
- package/collections/observable/observable-sorted-array-list.d.ts +3 -3
- package/collections/observable/observable-sorted-array-list.js +25 -21
- package/collections/observable/observable-sorted-array-list.js.map +1 -1
- package/collections/sorted-array-list.d.ts +2 -2
- package/collections/sorted-array-list.js +21 -17
- package/collections/sorted-array-list.js.map +1 -1
- package/collections/sorted-list.d.ts +1 -1
- package/collections/sorted-list.js +2 -1
- package/collections/sorted-map.d.ts +2 -2
- package/collections/sorted-map.js +12 -8
- package/collections/sorted-map.js.map +1 -1
- package/container/container.d.ts +6 -5
- package/container/container.js +147 -133
- package/container/container.js.map +1 -1
- package/container/decorators.d.ts +16 -13
- package/container/decorators.js +77 -84
- package/container/decorators.js.map +1 -1
- package/container/index.d.ts +10 -10
- package/container/index.js +26 -10
- package/container/index.js.map +1 -1
- package/container/interfaces.js +4 -2
- package/container/interfaces.js.map +1 -1
- package/container/provider.d.ts +4 -4
- package/container/provider.js +24 -13
- package/container/provider.js.map +1 -1
- package/container/resolve-chain.d.ts +2 -2
- package/container/resolve-chain.js +12 -7
- package/container/resolve-chain.js.map +1 -1
- package/container/resolve.error.d.ts +2 -2
- package/container/resolve.error.js +8 -4
- package/container/resolve.error.js.map +1 -1
- package/container/token.d.ts +1 -1
- package/container/token.js +10 -5
- package/container/token.js.map +1 -1
- package/container/type-info.d.ts +3 -23
- package/container/type-info.js +2 -36
- package/container/type-info.js.map +1 -1
- package/container/types.d.ts +2 -2
- package/container/types.js +2 -1
- package/container/utils.d.ts +2 -2
- package/container/utils.js +23 -30
- package/container/utils.js.map +1 -1
- package/core.d.ts +4 -4
- package/core.js +24 -20
- package/core.js.map +1 -1
- package/css/theme/index.d.ts +2 -2
- package/css/theme/index.js +18 -2
- package/css/theme/index.js.map +1 -1
- package/css/theme/theme.model.js +5 -1
- package/css/theme/theme.model.js.map +1 -1
- package/css/theme/theme.service.d.ts +1 -1
- package/css/theme/theme.service.js +16 -12
- package/css/theme/theme.service.js.map +1 -1
- package/data-structures/array-list.d.ts +2 -2
- package/data-structures/array-list.js +6 -2
- package/data-structures/array-list.js.map +1 -1
- package/data-structures/circular-buffer.d.ts +2 -2
- package/data-structures/circular-buffer.js +25 -21
- package/data-structures/circular-buffer.js.map +1 -1
- package/data-structures/collection.d.ts +3 -2
- package/data-structures/collection.js +21 -13
- package/data-structures/collection.js.map +1 -1
- package/data-structures/index-out-of-bounds.error.d.ts +1 -1
- package/data-structures/index-out-of-bounds.error.js +9 -5
- package/data-structures/index-out-of-bounds.error.js.map +1 -1
- package/data-structures/index.d.ts +11 -9
- package/data-structures/index.js +27 -9
- package/data-structures/index.js.map +1 -1
- package/data-structures/iterable-weak-map.d.ts +29 -0
- package/data-structures/iterable-weak-map.js +128 -0
- package/data-structures/iterable-weak-map.js.map +1 -0
- package/data-structures/linked-list.d.ts +4 -4
- package/data-structures/linked-list.js +28 -25
- package/data-structures/linked-list.js.map +1 -1
- package/data-structures/list.d.ts +2 -2
- package/data-structures/list.js +14 -10
- package/data-structures/list.js.map +1 -1
- package/data-structures/multi-key-map.d.ts +13 -2
- package/data-structures/multi-key-map.js +37 -22
- package/data-structures/multi-key-map.js.map +1 -1
- package/data-structures/set.d.ts +18 -0
- package/data-structures/set.js +59 -0
- package/data-structures/set.js.map +1 -0
- package/data-structures/sorted-array-list.d.ts +5 -5
- package/data-structures/sorted-array-list.js +22 -19
- package/data-structures/sorted-array-list.js.map +1 -1
- package/data-structures/weak-ref-map.d.ts +1 -1
- package/data-structures/weak-ref-map.js +17 -13
- package/data-structures/weak-ref-map.js.map +1 -1
- package/database/entity-repository.d.ts +4 -5
- package/database/entity-repository.js +5 -1
- package/database/entity-repository.js.map +1 -1
- package/database/entity.js +2 -1
- package/database/id.js +8 -4
- package/database/id.js.map +1 -1
- package/database/index.d.ts +6 -6
- package/database/index.js +22 -6
- package/database/index.js.map +1 -1
- package/database/module.js +10 -6
- package/database/module.js.map +1 -1
- package/database/mongo/classes.d.ts +5 -5
- package/database/mongo/classes.js +14 -11
- package/database/mongo/classes.js.map +1 -1
- package/database/mongo/index.d.ts +10 -10
- package/database/mongo/index.js +26 -10
- package/database/mongo/index.js.map +1 -1
- package/database/mongo/{model.d.ts → model/document.d.ts} +3 -3
- package/database/mongo/model/document.js +84 -0
- package/database/mongo/model/document.js.map +1 -0
- package/database/mongo/model/index.d.ts +1 -0
- package/database/mongo/model/index.js +18 -0
- package/database/mongo/model/index.js.map +1 -0
- package/database/mongo/module.d.ts +1 -1
- package/database/mongo/module.js +31 -27
- package/database/mongo/module.js.map +1 -1
- package/database/mongo/mongo-base.repository.d.ts +5 -5
- package/database/mongo/mongo-base.repository.js +43 -39
- package/database/mongo/mongo-base.repository.js.map +1 -1
- package/database/mongo/mongo-bulk.d.ts +4 -4
- package/database/mongo/mongo-bulk.js +21 -17
- package/database/mongo/mongo-bulk.js.map +1 -1
- package/database/mongo/{mongo-entity.repository.d.ts → mongo-entity-repository.d.ts} +8 -8
- package/database/mongo/{mongo-entity.repository.js → mongo-entity-repository.js} +34 -27
- package/database/mongo/mongo-entity-repository.js.map +1 -0
- package/database/mongo/operations.d.ts +4 -4
- package/database/mongo/operations.js +15 -6
- package/database/mongo/operations.js.map +1 -1
- package/database/mongo/query-converter.d.ts +4 -4
- package/database/mongo/query-converter.js +17 -12
- package/database/mongo/query-converter.js.map +1 -1
- package/database/mongo/simple-entity-repository.d.ts +7 -0
- package/database/mongo/simple-entity-repository.js +11 -0
- package/database/mongo/simple-entity-repository.js.map +1 -0
- package/database/mongo/types.d.ts +3 -3
- package/database/mongo/types.js +5 -1
- package/database/mongo/types.js.map +1 -1
- package/database/query.d.ts +2 -2
- package/database/query.js +10 -7
- package/database/query.js.map +1 -1
- package/database/utils.d.ts +1 -1
- package/database/utils.js +5 -1
- package/database/utils.js.map +1 -1
- package/disposable/async-disposer.d.ts +4 -4
- package/disposable/async-disposer.js +24 -20
- package/disposable/async-disposer.js.map +1 -1
- package/disposable/disposable.js +12 -7
- package/disposable/disposable.js.map +1 -1
- package/disposable/index.d.ts +3 -3
- package/disposable/index.js +19 -3
- package/disposable/index.js.map +1 -1
- package/disposable/using.d.ts +1 -1
- package/disposable/using.js +10 -5
- package/disposable/using.js.map +1 -1
- package/distributed-loop/controller.js +2 -1
- package/distributed-loop/distributed-loop.d.ts +5 -5
- package/distributed-loop/distributed-loop.js +18 -15
- package/distributed-loop/distributed-loop.js.map +1 -1
- package/distributed-loop/index.d.ts +3 -3
- package/distributed-loop/index.js +19 -3
- package/distributed-loop/index.js.map +1 -1
- package/distributed-loop/provider.d.ts +2 -2
- package/distributed-loop/provider.js +10 -7
- package/distributed-loop/provider.js.map +1 -1
- package/enumerable/async-enumerable.d.ts +12 -9
- package/enumerable/async-enumerable.js +84 -67
- package/enumerable/async-enumerable.js.map +1 -1
- package/enumerable/enumerable-methods.d.ts +3 -0
- package/enumerable/enumerable-methods.js +2 -1
- package/enumerable/enumerable.d.ts +10 -7
- package/enumerable/enumerable.js +61 -45
- package/enumerable/enumerable.js.map +1 -1
- package/enumerable/index.d.ts +2 -2
- package/enumerable/index.js +18 -2
- package/enumerable/index.js.map +1 -1
- package/error/api.error.d.ts +2 -2
- package/error/api.error.js +6 -2
- package/error/api.error.js.map +1 -1
- package/error/assertion.error.d.ts +1 -1
- package/error/assertion.error.js +6 -2
- package/error/assertion.error.js.map +1 -1
- package/error/bad-request.error.d.ts +1 -1
- package/error/bad-request.error.js +6 -2
- package/error/bad-request.error.js.map +1 -1
- package/error/custom.error.d.ts +3 -1
- package/error/custom.error.js +21 -8
- package/error/custom.error.js.map +1 -1
- package/error/details.error.d.ts +1 -1
- package/error/details.error.js +6 -2
- package/error/details.error.js.map +1 -1
- package/error/forbidden.error.d.ts +1 -1
- package/error/forbidden.error.js +6 -2
- package/error/forbidden.error.js.map +1 -1
- package/error/index.d.ts +15 -15
- package/error/index.js +31 -15
- package/error/index.js.map +1 -1
- package/error/invalid-token.error.d.ts +1 -1
- package/error/invalid-token.error.js +6 -2
- package/error/invalid-token.error.js.map +1 -1
- package/error/max-bytes-exceeded.error.d.ts +1 -1
- package/error/max-bytes-exceeded.error.js +6 -2
- package/error/max-bytes-exceeded.error.js.map +1 -1
- package/error/method-not-allowed.error.d.ts +1 -1
- package/error/method-not-allowed.error.js +6 -2
- package/error/method-not-allowed.error.js.map +1 -1
- package/error/multi.error.d.ts +1 -1
- package/error/multi.error.js +6 -2
- package/error/multi.error.js.map +1 -1
- package/error/not-found.error.d.ts +1 -1
- package/error/not-found.error.js +6 -2
- package/error/not-found.error.js.map +1 -1
- package/error/not-implemented.error.d.ts +1 -1
- package/error/not-implemented.error.js +6 -2
- package/error/not-implemented.error.js.map +1 -1
- package/error/unauthorized.error.d.ts +1 -1
- package/error/unauthorized.error.js +6 -2
- package/error/unauthorized.error.js.map +1 -1
- package/error/unsupported-media-type.error.d.ts +1 -1
- package/error/unsupported-media-type.error.js +6 -2
- package/error/unsupported-media-type.error.js.map +1 -1
- package/error/validation.error.d.ts +1 -1
- package/error/validation.error.js +6 -2
- package/error/validation.error.js.map +1 -1
- package/examples/api/basic-overview.js +47 -38
- package/examples/api/basic-overview.js.map +1 -1
- package/examples/http/client.d.ts +1 -0
- package/examples/http/client.js +18 -0
- package/examples/http/client.js.map +1 -0
- package/examples/mail/basic.d.ts +1 -0
- package/examples/mail/basic.js +33 -0
- package/examples/mail/basic.js.map +1 -0
- package/examples/pdf/basic.d.ts +1 -0
- package/examples/pdf/basic.js +24 -0
- package/examples/pdf/basic.js.map +1 -0
- package/examples/pdf/templates/hello-name.d.ts +5 -0
- package/examples/pdf/templates/hello-name.js +10 -0
- package/examples/pdf/templates/hello-name.js.map +1 -0
- package/examples/reflection/basic.d.ts +11 -0
- package/examples/reflection/basic.js +72 -0
- package/examples/reflection/basic.js.map +1 -0
- package/global-this.js +5 -1
- package/global-this.js.map +1 -1
- package/http/client/adapters/got-http-client.adapter.d.ts +3 -3
- package/http/client/adapters/got-http-client.adapter.js +40 -36
- package/http/client/adapters/got-http-client.adapter.js.map +1 -1
- package/http/client/adapters/undici-http-client.adapter.d.ts +5 -5
- package/http/client/adapters/undici-http-client.adapter.js +35 -31
- package/http/client/adapters/undici-http-client.adapter.js.map +1 -1
- package/http/client/adapters/utils.d.ts +2 -2
- package/http/client/adapters/utils.js +19 -12
- package/http/client/adapters/utils.js.map +1 -1
- package/http/client/http-client-request.d.ts +13 -13
- package/http/client/http-client-request.js +26 -22
- package/http/client/http-client-request.js.map +1 -1
- package/http/client/http-client-response.d.ts +5 -5
- package/http/client/http-client-response.js +7 -3
- package/http/client/http-client-response.js.map +1 -1
- package/http/client/http-client.adapter.d.ts +3 -3
- package/http/client/http-client.adapter.js +5 -1
- package/http/client/http-client.adapter.js.map +1 -1
- package/http/client/http-client.d.ts +10 -10
- package/http/client/http-client.js +50 -46
- package/http/client/http-client.js.map +1 -1
- package/http/client/index.d.ts +4 -4
- package/http/client/index.js +20 -4
- package/http/client/index.js.map +1 -1
- package/http/cookie-parser.d.ts +1 -1
- package/http/cookie-parser.js +9 -5
- package/http/cookie-parser.js.map +1 -1
- package/http/http-form.d.ts +3 -3
- package/http/http-form.js +6 -2
- package/http/http-form.js.map +1 -1
- package/http/http-headers.d.ts +3 -3
- package/http/http-headers.js +19 -15
- package/http/http-headers.js.map +1 -1
- package/http/http-query.d.ts +3 -3
- package/http/http-query.js +6 -2
- package/http/http-query.js.map +1 -1
- package/http/http-url-parameters.d.ts +3 -3
- package/http/http-url-parameters.js +6 -2
- package/http/http-url-parameters.js.map +1 -1
- package/http/http-value-map.d.ts +2 -2
- package/http/http-value-map.js +23 -19
- package/http/http-value-map.js.map +1 -1
- package/http/http.error.d.ts +6 -4
- package/http/http.error.js +17 -7
- package/http/http.error.js.map +1 -1
- package/http/index.d.ts +9 -9
- package/http/index.js +25 -9
- package/http/index.js.map +1 -1
- package/http/server/http-server-request.d.ts +5 -5
- package/http/server/http-server-request.js +17 -13
- package/http/server/http-server-request.js.map +1 -1
- package/http/server/http-server-response.d.ts +4 -3
- package/http/server/http-server-response.js +10 -3
- package/http/server/http-server-response.js.map +1 -1
- package/http/server/http-server.d.ts +3 -2
- package/http/server/http-server.js +6 -2
- package/http/server/http-server.js.map +1 -1
- package/http/server/index.d.ts +3 -3
- package/http/server/index.js +19 -3
- package/http/server/index.js.map +1 -1
- package/http/server/node/index.d.ts +2 -2
- package/http/server/node/index.js +18 -2
- package/http/server/node/index.js.map +1 -1
- package/http/server/node/module.js +9 -5
- package/http/server/node/module.js.map +1 -1
- package/http/server/node/node-http-server.d.ts +8 -8
- package/http/server/node/node-http-server.js +47 -44
- package/http/server/node/node-http-server.js.map +1 -1
- package/http/types.d.ts +1 -1
- package/http/types.js +16 -9
- package/http/types.js.map +1 -1
- package/image-service/image-service.d.ts +32 -65
- package/image-service/image-service.js +77 -15
- package/image-service/image-service.js.map +1 -1
- package/image-service/imgproxy/imgproxy-image-service.d.ts +5 -5
- package/image-service/imgproxy/imgproxy-image-service.js +35 -31
- package/image-service/imgproxy/imgproxy-image-service.js.map +1 -1
- package/image-service/imgproxy/index.d.ts +1 -1
- package/image-service/imgproxy/index.js +17 -1
- package/image-service/imgproxy/index.js.map +1 -1
- package/image-service/index.d.ts +1 -1
- package/image-service/index.js +17 -1
- package/image-service/index.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.js +17 -1
- package/index.js.map +1 -1
- package/interfaces.js +2 -1
- package/json-path/index.d.ts +1 -1
- package/json-path/index.js +17 -1
- package/json-path/index.js.map +1 -1
- package/json-path/json-path.d.ts +8 -3
- package/json-path/json-path.js +40 -17
- package/json-path/json-path.js.map +1 -1
- package/key-value-store/index.d.ts +2 -2
- package/key-value-store/index.js +18 -2
- package/key-value-store/index.js.map +1 -1
- package/key-value-store/key-value-store.provider.d.ts +2 -2
- package/key-value-store/key-value-store.provider.js +5 -1
- package/key-value-store/key-value-store.provider.js.map +1 -1
- package/key-value-store/key-value.store.d.ts +3 -3
- package/key-value-store/key-value.store.js +6 -2
- package/key-value-store/key-value.store.js.map +1 -1
- package/key-value-store/mongo/index.d.ts +5 -5
- package/key-value-store/mongo/index.js +21 -5
- package/key-value-store/mongo/index.js.map +1 -1
- package/key-value-store/mongo/module.d.ts +2 -2
- package/key-value-store/mongo/module.js +14 -10
- package/key-value-store/mongo/module.js.map +1 -1
- package/key-value-store/mongo/mongo-key-value-store.provider.d.ts +3 -3
- package/key-value-store/mongo/mongo-key-value-store.provider.js +10 -7
- package/key-value-store/mongo/mongo-key-value-store.provider.js.map +1 -1
- package/key-value-store/mongo/mongo-key-value.model.d.ts +1 -1
- package/key-value-store/mongo/mongo-key-value.model.js +2 -1
- package/key-value-store/mongo/mongo-key-value.repository.d.ts +6 -6
- package/key-value-store/mongo/mongo-key-value.repository.js +14 -11
- package/key-value-store/mongo/mongo-key-value.repository.js.map +1 -1
- package/key-value-store/mongo/mongo-key-value.store.d.ts +3 -3
- package/key-value-store/mongo/mongo-key-value.store.js +19 -16
- package/key-value-store/mongo/mongo-key-value.store.js.map +1 -1
- package/lock/index.d.ts +2 -2
- package/lock/index.js +18 -2
- package/lock/index.js.map +1 -1
- package/lock/lock.d.ts +2 -2
- package/lock/lock.js +6 -2
- package/lock/lock.js.map +1 -1
- package/lock/mongo/index.d.ts +5 -5
- package/lock/mongo/index.js +21 -5
- package/lock/mongo/index.js.map +1 -1
- package/lock/mongo/lock.d.ts +4 -4
- package/lock/mongo/lock.js +32 -29
- package/lock/mongo/lock.js.map +1 -1
- package/lock/mongo/model.d.ts +1 -1
- package/lock/mongo/model.js +2 -1
- package/lock/mongo/module.d.ts +2 -2
- package/lock/mongo/module.js +14 -10
- package/lock/mongo/module.js.map +1 -1
- package/lock/mongo/{mongo-lock.repository.d.ts → mongo-lock-repository.d.ts} +6 -6
- package/lock/mongo/{mongo-lock.repository.js → mongo-lock-repository.js} +20 -17
- package/lock/mongo/mongo-lock-repository.js.map +1 -0
- package/lock/mongo/provider.d.ts +4 -4
- package/lock/mongo/provider.js +19 -16
- package/lock/mongo/provider.js.map +1 -1
- package/lock/provider.d.ts +3 -3
- package/lock/provider.js +6 -2
- package/lock/provider.js.map +1 -1
- package/logger/console/index.d.ts +1 -1
- package/logger/console/index.js +17 -1
- package/logger/console/index.js.map +1 -1
- package/logger/console/logger.d.ts +3 -3
- package/logger/console/logger.js +22 -19
- package/logger/console/logger.js.map +1 -1
- package/logger/index.d.ts +2 -2
- package/logger/index.js +18 -2
- package/logger/index.js.map +1 -1
- package/logger/level.js +5 -2
- package/logger/level.js.map +1 -1
- package/logger/logger.d.ts +3 -3
- package/logger/logger.js +17 -13
- package/logger/logger.js.map +1 -1
- package/logger/noop/index.d.ts +1 -1
- package/logger/noop/index.js +17 -1
- package/logger/noop/index.js.map +1 -1
- package/logger/noop/logger.d.ts +1 -1
- package/logger/noop/logger.js +9 -5
- package/logger/noop/logger.js.map +1 -1
- package/mail/clients/nodemailer.mail-client.d.ts +2 -2
- package/mail/clients/nodemailer.mail-client.js +18 -14
- package/mail/clients/nodemailer.mail-client.js.map +1 -1
- package/mail/index.d.ts +8 -8
- package/mail/index.js +24 -8
- package/mail/index.js.map +1 -1
- package/mail/mail-log.repository.d.ts +2 -2
- package/mail/mail-log.repository.js +6 -2
- package/mail/mail-log.repository.js.map +1 -1
- package/mail/mail-template-renderer.provider.d.ts +1 -1
- package/mail/mail-template-renderer.provider.js +9 -6
- package/mail/mail-template-renderer.provider.js.map +1 -1
- package/mail/mail-template.provider.d.ts +1 -1
- package/mail/mail-template.provider.js +5 -1
- package/mail/mail-template.provider.js.map +1 -1
- package/mail/mail-template.renderer.d.ts +1 -1
- package/mail/mail-template.renderer.js +5 -1
- package/mail/mail-template.renderer.js.map +1 -1
- package/mail/mail.client.d.ts +3 -3
- package/mail/mail.client.js +6 -2
- package/mail/mail.client.js.map +1 -1
- package/mail/mail.service.d.ts +8 -7
- package/mail/mail.service.js +32 -24
- package/mail/mail.service.js.map +1 -1
- package/mail/models/index.d.ts +6 -6
- package/mail/models/index.js +22 -6
- package/mail/models/index.js.map +1 -1
- package/mail/models/mail-address.model.js +2 -1
- package/mail/models/mail-content.model.js +2 -1
- package/mail/models/mail-data.model.d.ts +3 -3
- package/mail/models/mail-data.model.js +2 -1
- package/mail/models/mail-log.model.d.ts +6 -6
- package/mail/models/mail-log.model.js +2 -1
- package/mail/models/mail-send-result.model.d.ts +1 -1
- package/mail/models/mail-send-result.model.js +2 -1
- package/mail/models/mail-template.model.d.ts +0 -1
- package/mail/models/mail-template.model.js +2 -1
- package/mail/module.d.ts +6 -6
- package/mail/module.js +25 -21
- package/mail/module.js.map +1 -1
- package/mail/repositories/mongo-mail-log.repository.d.ts +6 -6
- package/mail/repositories/mongo-mail-log.repository.js +17 -13
- package/mail/repositories/mongo-mail-log.repository.js.map +1 -1
- package/mail/template-providers/file-mail-template.provider.d.ts +8 -9
- package/mail/template-providers/file-mail-template.provider.js +29 -47
- package/mail/template-providers/file-mail-template.provider.js.map +1 -1
- package/mail/template-providers/memory-mail-template.provider.d.ts +4 -6
- package/mail/template-providers/memory-mail-template.provider.js +8 -17
- package/mail/template-providers/memory-mail-template.provider.js.map +1 -1
- package/mail/template-renderers/handlebars.mail-template-renderer.d.ts +9 -7
- package/mail/template-renderers/handlebars.mail-template-renderer.js +33 -14
- package/mail/template-renderers/handlebars.mail-template-renderer.js.map +1 -1
- package/mail/template-renderers/mjml.mail-template-renderer.d.ts +9 -10
- package/mail/template-renderers/mjml.mail-template-renderer.js +38 -37
- package/mail/template-renderers/mjml.mail-template-renderer.js.map +1 -1
- package/mail/tokens.d.ts +5 -5
- package/mail/tokens.js +6 -3
- package/mail/tokens.js.map +1 -1
- package/memory/index.d.ts +1 -1
- package/memory/index.js +17 -1
- package/memory/index.js.map +1 -1
- package/memory/observable-finalization-registry.js +7 -3
- package/memory/observable-finalization-registry.js.map +1 -1
- package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.d.ts +3 -3
- package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.js +7 -3
- package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.js.map +1 -1
- package/message-bus/broadcast-channel/broadcast-channel-message-bus.d.ts +3 -3
- package/message-bus/broadcast-channel/broadcast-channel-message-bus.js +10 -6
- package/message-bus/broadcast-channel/broadcast-channel-message-bus.js.map +1 -1
- package/message-bus/broadcast-channel/index.d.ts +2 -2
- package/message-bus/broadcast-channel/index.js +18 -2
- package/message-bus/broadcast-channel/index.js.map +1 -1
- package/message-bus/index.d.ts +3 -3
- package/message-bus/index.js +19 -3
- package/message-bus/index.js.map +1 -1
- package/message-bus/local/index.d.ts +2 -2
- package/message-bus/local/index.js +18 -2
- package/message-bus/local/index.js.map +1 -1
- package/message-bus/local/local-message-bus-provider.d.ts +3 -3
- package/message-bus/local/local-message-bus-provider.js +24 -20
- package/message-bus/local/local-message-bus-provider.js.map +1 -1
- package/message-bus/local/local-message-bus.d.ts +4 -4
- package/message-bus/local/local-message-bus.js +16 -13
- package/message-bus/local/local-message-bus.js.map +1 -1
- package/message-bus/local/types.js +2 -1
- package/message-bus/message-bus-base.d.ts +4 -4
- package/message-bus/message-bus-base.js +15 -11
- package/message-bus/message-bus-base.js.map +1 -1
- package/message-bus/message-bus-provider.d.ts +1 -1
- package/message-bus/message-bus-provider.js +5 -1
- package/message-bus/message-bus-provider.js.map +1 -1
- package/message-bus/message-bus.d.ts +4 -4
- package/message-bus/message-bus.js +7 -3
- package/message-bus/message-bus.js.map +1 -1
- package/migration/index.d.ts +3 -3
- package/migration/index.js +19 -3
- package/migration/index.js.map +1 -1
- package/migration/migration-state-repository.d.ts +2 -2
- package/migration/migration-state-repository.js +6 -2
- package/migration/migration-state-repository.js.map +1 -1
- package/migration/migration-state.d.ts +1 -1
- package/migration/migration-state.js +2 -1
- package/migration/migrator.d.ts +3 -3
- package/migration/migrator.js +26 -23
- package/migration/migrator.js.map +1 -1
- package/migration/mongo/index.d.ts +2 -2
- package/migration/mongo/index.js +18 -2
- package/migration/mongo/index.js.map +1 -1
- package/migration/mongo/migration-state-repository.d.ts +7 -7
- package/migration/mongo/migration-state-repository.js +15 -12
- package/migration/mongo/migration-state-repository.js.map +1 -1
- package/migration/mongo/module.d.ts +2 -2
- package/migration/mongo/module.js +11 -7
- package/migration/mongo/module.js.map +1 -1
- package/module/index.d.ts +4 -4
- package/module/index.js +20 -4
- package/module/index.js.map +1 -1
- package/module/module-base.d.ts +5 -5
- package/module/module-base.js +15 -11
- package/module/module-base.js.map +1 -1
- package/module/module-metric-reporter.d.ts +4 -4
- package/module/module-metric-reporter.js +12 -8
- package/module/module-metric-reporter.js.map +1 -1
- package/module/module.d.ts +1 -1
- package/module/module.js +7 -4
- package/module/module.js.map +1 -1
- package/module/modules/function.module.d.ts +10 -0
- package/module/modules/function.module.js +16 -0
- package/module/modules/function.module.js.map +1 -0
- package/module/modules/index.d.ts +2 -2
- package/module/modules/index.js +18 -2
- package/module/modules/index.js.map +1 -1
- package/module/modules/web-server.module.d.ts +10 -11
- package/module/modules/web-server.module.js +25 -29
- package/module/modules/web-server.module.js.map +1 -1
- package/module/utils.d.ts +2 -2
- package/module/utils.js +7 -2
- package/module/utils.js.map +1 -1
- package/object-storage/index.d.ts +3 -3
- package/object-storage/index.js +19 -3
- package/object-storage/index.js.map +1 -1
- package/object-storage/object-storage-provider.d.ts +1 -1
- package/object-storage/object-storage-provider.js +5 -1
- package/object-storage/object-storage-provider.js.map +1 -1
- package/object-storage/object-storage.d.ts +8 -3
- package/object-storage/object-storage.js +6 -2
- package/object-storage/object-storage.js.map +1 -1
- package/object-storage/object.js +2 -1
- package/object-storage/s3/index.d.ts +3 -3
- package/object-storage/s3/index.js +19 -3
- package/object-storage/s3/index.js.map +1 -1
- package/object-storage/s3/s3.object-storage-provider.d.ts +3 -3
- package/object-storage/s3/s3.object-storage-provider.js +24 -20
- package/object-storage/s3/s3.object-storage-provider.js.map +1 -1
- package/object-storage/s3/s3.object-storage.d.ts +4 -3
- package/object-storage/s3/s3.object-storage.js +24 -17
- package/object-storage/s3/s3.object-storage.js.map +1 -1
- package/object-storage/s3/s3.object.d.ts +1 -1
- package/object-storage/s3/s3.object.js +2 -1
- package/openid-connect/cached-oidc-configuration.service.d.ts +3 -3
- package/openid-connect/cached-oidc-configuration.service.js +17 -14
- package/openid-connect/cached-oidc-configuration.service.js.map +1 -1
- package/openid-connect/index.d.ts +7 -7
- package/openid-connect/index.js +27 -11
- package/openid-connect/index.js.map +1 -1
- package/openid-connect/mongo-oidc-state.repository.d.ts +8 -8
- package/openid-connect/mongo-oidc-state.repository.js +17 -13
- package/openid-connect/mongo-oidc-state.repository.js.map +1 -1
- package/openid-connect/oidc-configuration.service.d.ts +1 -1
- package/openid-connect/oidc-configuration.service.js +15 -12
- package/openid-connect/oidc-configuration.service.js.map +1 -1
- package/openid-connect/oidc-state.model.d.ts +1 -1
- package/openid-connect/oidc-state.model.js +2 -1
- package/openid-connect/oidc-state.repository.d.ts +2 -2
- package/openid-connect/oidc-state.repository.js +6 -2
- package/openid-connect/oidc-state.repository.js.map +1 -1
- package/openid-connect/oidc.service-model.js +2 -1
- package/openid-connect/oidc.service.d.ts +4 -4
- package/openid-connect/oidc.service.js +35 -32
- package/openid-connect/oidc.service.js.map +1 -1
- package/package.json +19 -19
- package/pdf/index.d.ts +1 -0
- package/pdf/index.js +18 -0
- package/pdf/index.js.map +1 -0
- package/pdf/pdf.service.d.ts +33 -0
- package/pdf/pdf.service.js +82 -0
- package/pdf/pdf.service.js.map +1 -0
- package/pool/index.d.ts +1 -0
- package/pool/index.js +18 -0
- package/pool/index.js.map +1 -0
- package/pool/pool.d.ts +24 -0
- package/pool/pool.js +83 -0
- package/pool/pool.js.map +1 -0
- package/process-shutdown.d.ts +2 -2
- package/process-shutdown.js +19 -11
- package/process-shutdown.js.map +1 -1
- package/promise/cancelable-promise.js +5 -1
- package/promise/cancelable-promise.js.map +1 -1
- package/promise/deferred-promise.js +5 -1
- package/promise/deferred-promise.js.map +1 -1
- package/promise/index.d.ts +2 -2
- package/promise/index.js +18 -2
- package/promise/index.js.map +1 -1
- package/queue/enqueue-batch.d.ts +1 -1
- package/queue/enqueue-batch.js +5 -1
- package/queue/enqueue-batch.js.map +1 -1
- package/queue/index.d.ts +3 -3
- package/queue/index.js +19 -3
- package/queue/index.js.map +1 -1
- package/queue/mongo/index.d.ts +4 -4
- package/queue/mongo/index.js +20 -4
- package/queue/mongo/index.js.map +1 -1
- package/queue/mongo/job.d.ts +3 -3
- package/queue/mongo/job.js +2 -1
- package/queue/mongo/mongo-job.repository.d.ts +7 -7
- package/queue/mongo/mongo-job.repository.js +21 -18
- package/queue/mongo/mongo-job.repository.js.map +1 -1
- package/queue/mongo/queue.d.ts +6 -6
- package/queue/mongo/queue.js +49 -46
- package/queue/mongo/queue.js.map +1 -1
- package/queue/mongo/queue.provider.d.ts +10 -10
- package/queue/mongo/queue.provider.js +20 -16
- package/queue/mongo/queue.provider.js.map +1 -1
- package/queue/provider.d.ts +1 -1
- package/queue/provider.js +5 -1
- package/queue/provider.js.map +1 -1
- package/queue/queue.d.ts +4 -4
- package/queue/queue.js +13 -9
- package/queue/queue.js.map +1 -1
- package/random/index.d.ts +1 -1
- package/random/index.js +17 -1
- package/random/index.js.map +1 -1
- package/random/number/index.d.ts +3 -3
- package/random/number/index.js +19 -3
- package/random/number/index.js.map +1 -1
- package/random/number/mulberry32.d.ts +1 -1
- package/random/number/mulberry32.js +8 -3
- package/random/number/mulberry32.js.map +1 -1
- package/random/number/seeded.js +5 -1
- package/random/number/seeded.js.map +1 -1
- package/random/number/sfc32.d.ts +1 -1
- package/random/number/sfc32.js +8 -3
- package/random/number/sfc32.js.map +1 -1
- package/reflection/decorator-data.d.ts +2 -0
- package/reflection/decorator-data.js +68 -0
- package/reflection/decorator-data.js.map +1 -0
- package/reflection/decorators.d.ts +14 -0
- package/reflection/decorators.js +53 -0
- package/reflection/decorators.js.map +1 -0
- package/reflection/index.d.ts +5 -0
- package/reflection/index.js +22 -0
- package/reflection/index.js.map +1 -0
- package/reflection/reflection-data-map.d.ts +10 -0
- package/reflection/reflection-data-map.js +40 -0
- package/reflection/reflection-data-map.js.map +1 -0
- package/reflection/registry.d.ts +58 -0
- package/reflection/registry.js +107 -0
- package/reflection/registry.js.map +1 -0
- package/reflection/types.d.ts +89 -0
- package/reflection/types.js +3 -0
- package/reflection/types.js.map +1 -0
- package/reflection/utils.d.ts +30 -0
- package/reflection/utils.js +103 -0
- package/reflection/utils.js.map +1 -0
- package/rxjs/cast.js +7 -2
- package/rxjs/cast.js.map +1 -1
- package/rxjs/compat/first-value-from.d.ts +2 -0
- package/rxjs/compat/first-value-from.js +9 -0
- package/rxjs/compat/first-value-from.js.map +1 -0
- package/rxjs/compat/index.d.ts +1 -0
- package/rxjs/compat/index.js +18 -0
- package/rxjs/compat/index.js.map +1 -0
- package/rxjs/index.d.ts +11 -11
- package/rxjs/index.js +27 -11
- package/rxjs/index.js.map +1 -1
- package/rxjs/intersection-observer.js +13 -9
- package/rxjs/intersection-observer.js.map +1 -1
- package/rxjs/mutation-observer.js +13 -9
- package/rxjs/mutation-observer.js.map +1 -1
- package/rxjs/noop.js +7 -2
- package/rxjs/noop.js.map +1 -1
- package/rxjs/performance-observer.js +13 -9
- package/rxjs/performance-observer.js.map +1 -1
- package/rxjs/resize-observer.js +13 -9
- package/rxjs/resize-observer.js.map +1 -1
- package/rxjs/retry-backoff.d.ts +1 -1
- package/rxjs/retry-backoff.js +18 -13
- package/rxjs/retry-backoff.js.map +1 -1
- package/rxjs/slow-array.js +10 -5
- package/rxjs/slow-array.js.map +1 -1
- package/rxjs/teardown.js +7 -3
- package/rxjs/teardown.js.map +1 -1
- package/rxjs/timing.js +15 -12
- package/rxjs/timing.js.map +1 -1
- package/rxjs/touch.js +11 -7
- package/rxjs/touch.js.map +1 -1
- package/schema/array-constraints/index.d.ts +2 -0
- package/schema/array-constraints/index.js +19 -0
- package/schema/array-constraints/index.js.map +1 -0
- package/schema/array-constraints/maximum-length.d.ts +11 -0
- package/schema/array-constraints/maximum-length.js +26 -0
- package/schema/array-constraints/maximum-length.js.map +1 -0
- package/schema/array-constraints/minimum-length.d.ts +11 -0
- package/schema/array-constraints/minimum-length.js +26 -0
- package/schema/array-constraints/minimum-length.js.map +1 -0
- package/schema/coercers/boolean.coercer.d.ts +9 -0
- package/schema/coercers/boolean.coercer.js +35 -0
- package/schema/coercers/boolean.coercer.js.map +1 -0
- package/schema/coercers/date.coercer.d.ts +9 -0
- package/schema/coercers/date.coercer.js +24 -0
- package/schema/coercers/date.coercer.js.map +1 -0
- package/schema/coercers/default-value.coercer.d.ts +9 -0
- package/schema/coercers/default-value.coercer.js +16 -0
- package/schema/coercers/default-value.coercer.js.map +1 -0
- package/schema/coercers/index.d.ts +7 -0
- package/schema/coercers/index.js +24 -0
- package/schema/coercers/index.js.map +1 -0
- package/schema/coercers/number.coercer.d.ts +9 -0
- package/schema/coercers/number.coercer.js +22 -0
- package/schema/coercers/number.coercer.js.map +1 -0
- package/schema/coercers/regexp.coercer.d.ts +11 -0
- package/schema/coercers/regexp.coercer.js +24 -0
- package/schema/coercers/regexp.coercer.js.map +1 -0
- package/schema/coercers/string.coercer.d.ts +9 -0
- package/schema/coercers/string.coercer.js +22 -0
- package/schema/coercers/string.coercer.js.map +1 -0
- package/schema/coercers/uint8-array.coercer.d.ts +9 -0
- package/schema/coercers/uint8-array.coercer.js +31 -0
- package/schema/coercers/uint8-array.coercer.js.map +1 -0
- package/schema/constraints/enumeration.d.ts +13 -0
- package/schema/constraints/enumeration.js +29 -0
- package/schema/constraints/enumeration.js.map +1 -0
- package/schema/constraints/generic.d.ts +22 -0
- package/schema/constraints/generic.js +32 -0
- package/schema/constraints/generic.js.map +1 -0
- package/schema/constraints/index.d.ts +12 -0
- package/schema/constraints/index.js +29 -0
- package/schema/constraints/index.js.map +1 -0
- package/schema/constraints/integer.d.ts +12 -0
- package/schema/constraints/integer.js +27 -0
- package/schema/constraints/integer.js.map +1 -0
- package/schema/constraints/length.d.ts +6 -0
- package/schema/constraints/length.js +20 -0
- package/schema/constraints/length.js.map +1 -0
- package/schema/constraints/literal.d.ts +10 -0
- package/schema/constraints/literal.js +26 -0
- package/schema/constraints/literal.js.map +1 -0
- package/schema/constraints/maximum-date.d.ts +12 -0
- package/schema/constraints/maximum-date.js +29 -0
- package/schema/constraints/maximum-date.js.map +1 -0
- package/schema/constraints/maximum-length.d.ts +12 -0
- package/schema/constraints/maximum-length.js +29 -0
- package/schema/constraints/maximum-length.js.map +1 -0
- package/schema/constraints/maximum.d.ts +12 -0
- package/schema/constraints/maximum.js +27 -0
- package/schema/constraints/maximum.js.map +1 -0
- package/schema/constraints/minimum-date.d.ts +12 -0
- package/schema/constraints/minimum-date.js +29 -0
- package/schema/constraints/minimum-date.js.map +1 -0
- package/schema/constraints/minimum-length.d.ts +12 -0
- package/schema/constraints/minimum-length.js +29 -0
- package/schema/constraints/minimum-length.js.map +1 -0
- package/schema/constraints/minimum.d.ts +12 -0
- package/schema/constraints/minimum.js +27 -0
- package/schema/constraints/minimum.js.map +1 -0
- package/schema/constraints/pattern.d.ts +13 -0
- package/schema/constraints/pattern.js +28 -0
- package/schema/constraints/pattern.js.map +1 -0
- package/schema/decorators/array.d.ts +4 -0
- package/schema/decorators/array.js +11 -0
- package/schema/decorators/array.js.map +1 -0
- package/schema/decorators/coerce.d.ts +2 -0
- package/schema/decorators/coerce.js +10 -0
- package/schema/decorators/coerce.js.map +1 -0
- package/schema/decorators/defaulted.d.ts +3 -0
- package/schema/decorators/defaulted.js +11 -0
- package/schema/decorators/defaulted.js.map +1 -0
- package/schema/decorators/index.d.ts +8 -0
- package/schema/decorators/index.js +25 -0
- package/schema/decorators/index.js.map +1 -0
- package/schema/decorators/nullable.d.ts +2 -0
- package/schema/decorators/nullable.js +10 -0
- package/schema/decorators/nullable.js.map +1 -0
- package/schema/decorators/optional.d.ts +2 -0
- package/schema/decorators/optional.js +10 -0
- package/schema/decorators/optional.js.map +1 -0
- package/schema/decorators/property.d.ts +6 -0
- package/schema/decorators/property.js +19 -0
- package/schema/decorators/property.js.map +1 -0
- package/schema/decorators/type.d.ts +3 -0
- package/schema/decorators/type.js +10 -0
- package/schema/decorators/type.js.map +1 -0
- package/schema/decorators/types.d.ts +18 -0
- package/schema/decorators/types.js +3 -0
- package/schema/decorators/types.js.map +1 -0
- package/schema/decorators/utils.d.ts +10 -0
- package/schema/decorators/utils.js +59 -0
- package/schema/decorators/utils.js.map +1 -0
- package/schema/index.d.ts +10 -4
- package/schema/index.js +26 -4
- package/schema/index.js.map +1 -1
- package/schema/schema.d.ts +19 -0
- package/schema/schema.error.d.ts +15 -9
- package/schema/schema.error.js +52 -15
- package/schema/schema.error.js.map +1 -1
- package/schema/schema.js +286 -0
- package/schema/schema.js.map +1 -0
- package/schema/schemas/any.d.ts +4 -8
- package/schema/schemas/any.js +12 -12
- package/schema/schemas/any.js.map +1 -1
- package/schema/schemas/array.d.ts +7 -13
- package/schema/schemas/array.js +19 -43
- package/schema/schemas/array.js.map +1 -1
- package/schema/schemas/assign.d.ts +8 -0
- package/schema/schemas/assign.js +28 -0
- package/schema/schemas/assign.js.map +1 -0
- package/schema/schemas/boolean.d.ts +5 -9
- package/schema/schemas/boolean.js +15 -37
- package/schema/schemas/boolean.js.map +1 -1
- package/schema/schemas/constraint.d.ts +4 -0
- package/schema/schemas/constraint.js +14 -0
- package/schema/schemas/constraint.js.map +1 -0
- package/schema/schemas/date.d.ts +7 -11
- package/schema/schemas/date.js +23 -53
- package/schema/schemas/date.js.map +1 -1
- package/schema/schemas/defaulted.d.ts +2 -15
- package/schema/schemas/defaulted.js +11 -22
- package/schema/schemas/defaulted.js.map +1 -1
- package/schema/schemas/enumeration.d.ts +6 -21
- package/schema/schemas/enumeration.js +17 -49
- package/schema/schemas/enumeration.js.map +1 -1
- package/schema/schemas/exclude.d.ts +4 -0
- package/schema/schemas/exclude.js +17 -0
- package/schema/schemas/exclude.js.map +1 -0
- package/schema/schemas/index.d.ts +23 -24
- package/schema/schemas/index.js +39 -24
- package/schema/schemas/index.js.map +1 -1
- package/schema/schemas/instance.d.ts +2 -12
- package/schema/schemas/instance.js +8 -19
- package/schema/schemas/instance.js.map +1 -1
- package/schema/schemas/literal.d.ts +4 -11
- package/schema/schemas/literal.js +17 -17
- package/schema/schemas/literal.js.map +1 -1
- package/schema/schemas/nullable.d.ts +3 -13
- package/schema/schemas/nullable.js +7 -25
- package/schema/schemas/nullable.js.map +1 -1
- package/schema/schemas/number.d.ts +7 -14
- package/schema/schemas/number.js +28 -44
- package/schema/schemas/number.js.map +1 -1
- package/schema/schemas/object.d.ts +6 -27
- package/schema/schemas/object.js +12 -82
- package/schema/schemas/object.js.map +1 -1
- package/schema/schemas/optional.d.ts +3 -13
- package/schema/schemas/optional.js +7 -25
- package/schema/schemas/optional.js.map +1 -1
- package/schema/schemas/pick.d.ts +4 -0
- package/schema/schemas/pick.js +17 -0
- package/schema/schemas/pick.js.map +1 -0
- package/schema/schemas/readable-stream.d.ts +4 -9
- package/schema/schemas/readable-stream.js +13 -14
- package/schema/schemas/readable-stream.js.map +1 -1
- package/schema/schemas/record.d.ts +4 -0
- package/schema/schemas/record.js +14 -0
- package/schema/schemas/record.js.map +1 -0
- package/schema/schemas/regexp.d.ts +6 -9
- package/schema/schemas/regexp.js +14 -26
- package/schema/schemas/regexp.js.map +1 -1
- package/schema/schemas/string.d.ts +9 -13
- package/schema/schemas/string.js +39 -46
- package/schema/schemas/string.js.map +1 -1
- package/schema/schemas/transform.d.ts +4 -16
- package/schema/schemas/transform.js +11 -35
- package/schema/schemas/transform.js.map +1 -1
- package/schema/schemas/uint8-array.d.ts +8 -11
- package/schema/schemas/uint8-array.js +25 -32
- package/schema/schemas/uint8-array.js.map +1 -1
- package/schema/schemas/union.d.ts +5 -17
- package/schema/schemas/union.js +13 -34
- package/schema/schemas/union.js.map +1 -1
- package/schema/schemas/unknown.d.ts +4 -8
- package/schema/schemas/unknown.js +12 -12
- package/schema/schemas/unknown.js.map +1 -1
- package/schema/transformers/generic.d.ts +13 -0
- package/schema/transformers/generic.js +28 -0
- package/schema/transformers/generic.js.map +1 -0
- package/schema/transformers/index.d.ts +3 -0
- package/schema/transformers/index.js +20 -0
- package/schema/transformers/index.js.map +1 -0
- package/schema/transformers/lowercase.d.ts +9 -0
- package/schema/transformers/lowercase.js +22 -0
- package/schema/transformers/lowercase.js.map +1 -0
- package/schema/transformers/trim.d.ts +9 -0
- package/schema/transformers/trim.js +22 -0
- package/schema/transformers/trim.js.map +1 -0
- package/schema/transformers/uppercase.d.ts +9 -0
- package/schema/transformers/uppercase.js +22 -0
- package/schema/transformers/uppercase.js.map +1 -0
- package/schema/types.d.ts +135 -15
- package/schema/types.js +41 -1
- package/schema/types.js.map +1 -1
- package/schema/utils/index.d.ts +2 -0
- package/schema/utils/index.js +19 -0
- package/schema/utils/index.js.map +1 -0
- package/schema/utils/schema.d.ts +12 -0
- package/schema/utils/schema.js +78 -0
- package/schema/utils/schema.js.map +1 -0
- package/schema/utils/value-type.d.ts +4 -0
- package/schema/utils/value-type.js +35 -0
- package/schema/utils/value-type.js.map +1 -0
- package/search-index/elastic/config.d.ts +3 -3
- package/search-index/elastic/config.js +9 -6
- package/search-index/elastic/config.js.map +1 -1
- package/search-index/elastic/index.d.ts +6 -5
- package/search-index/elastic/index.js +22 -5
- package/search-index/elastic/index.js.map +1 -1
- package/search-index/elastic/keyword-rewriter.d.ts +8 -0
- package/search-index/elastic/keyword-rewriter.js +22 -0
- package/search-index/elastic/keyword-rewriter.js.map +1 -0
- package/search-index/elastic/model/elastic-query.d.ts +1 -1
- package/search-index/elastic/model/elastic-query.js +2 -1
- package/search-index/elastic/model/index-mapping.d.ts +3 -3
- package/search-index/elastic/model/index-mapping.js +7 -3
- package/search-index/elastic/model/index-mapping.js.map +1 -1
- package/search-index/elastic/model/index.d.ts +3 -3
- package/search-index/elastic/model/index.js +19 -3
- package/search-index/elastic/model/index.js.map +1 -1
- package/search-index/elastic/model/sort.d.ts +3 -3
- package/search-index/elastic/model/sort.js +2 -1
- package/search-index/elastic/module.d.ts +4 -4
- package/search-index/elastic/module.js +27 -22
- package/search-index/elastic/module.js.map +1 -1
- package/search-index/elastic/query-builder/boolean-query-builder.d.ts +1 -1
- package/search-index/elastic/query-builder/boolean-query-builder.js +5 -1
- package/search-index/elastic/query-builder/boolean-query-builder.js.map +1 -1
- package/search-index/elastic/query-builder/index.d.ts +1 -1
- package/search-index/elastic/query-builder/index.js +17 -1
- package/search-index/elastic/query-builder/index.js.map +1 -1
- package/search-index/elastic/query-converter.d.ts +4 -4
- package/search-index/elastic/query-converter.js +37 -29
- package/search-index/elastic/query-converter.js.map +1 -1
- package/search-index/elastic/search-index.d.ts +13 -11
- package/search-index/elastic/search-index.js +45 -31
- package/search-index/elastic/search-index.js.map +1 -1
- package/search-index/elastic/sort-converter.d.ts +4 -3
- package/search-index/elastic/sort-converter.js +6 -3
- package/search-index/elastic/sort-converter.js.map +1 -1
- package/search-index/elastic/types.d.ts +1 -1
- package/search-index/elastic/types.js +2 -1
- package/search-index/error.d.ts +1 -1
- package/search-index/error.js +8 -4
- package/search-index/error.js.map +1 -1
- package/search-index/index.d.ts +3 -3
- package/search-index/index.js +19 -3
- package/search-index/index.js.map +1 -1
- package/search-index/memory/index.d.ts +1 -1
- package/search-index/memory/index.js +17 -1
- package/search-index/memory/index.js.map +1 -1
- package/search-index/memory/memory-search-index.d.ts +4 -4
- package/search-index/memory/memory-search-index.js +32 -24
- package/search-index/memory/memory-search-index.js.map +1 -1
- package/search-index/search-index.d.ts +4 -2
- package/search-index/search-index.js +8 -4
- package/search-index/search-index.js.map +1 -1
- package/search-index/search-result.d.ts +1 -1
- package/search-index/search-result.js +2 -1
- package/serializer/handlers/binary.d.ts +2 -2
- package/serializer/handlers/binary.js +20 -11
- package/serializer/handlers/binary.js.map +1 -1
- package/serializer/handlers/date.js +7 -2
- package/serializer/handlers/date.js.map +1 -1
- package/serializer/handlers/error.js +7 -2
- package/serializer/handlers/error.js.map +1 -1
- package/serializer/handlers/index.d.ts +7 -7
- package/serializer/handlers/index.js +23 -7
- package/serializer/handlers/index.js.map +1 -1
- package/serializer/handlers/map.d.ts +1 -1
- package/serializer/handlers/map.js +7 -2
- package/serializer/handlers/map.js.map +1 -1
- package/serializer/handlers/regex.js +7 -2
- package/serializer/handlers/regex.js.map +1 -1
- package/serializer/handlers/register.d.ts +1 -1
- package/serializer/handlers/register.js +21 -17
- package/serializer/handlers/register.js.map +1 -1
- package/serializer/handlers/set.d.ts +2 -2
- package/serializer/handlers/set.js +7 -2
- package/serializer/handlers/set.js.map +1 -1
- package/serializer/index.d.ts +4 -4
- package/serializer/index.js +24 -3
- package/serializer/index.js.map +1 -1
- package/serializer/serializable.d.ts +1 -1
- package/serializer/serializable.js +20 -12
- package/serializer/serializable.js.map +1 -1
- package/serializer/serializer.d.ts +2 -2
- package/serializer/serializer.js +41 -33
- package/serializer/serializer.js.map +1 -1
- package/serializer/types.d.ts +1 -1
- package/serializer/types.js +8 -5
- package/serializer/types.js.map +1 -1
- package/tailwind/colors.d.ts +1 -1
- package/tailwind/colors.js +9 -4
- package/tailwind/colors.js.map +1 -1
- package/tailwind/index.d.ts +1 -1
- package/tailwind/index.js +17 -1
- package/tailwind/index.js.map +1 -1
- package/templates/index.d.ts +7 -0
- package/templates/index.js +24 -0
- package/templates/index.js.map +1 -0
- package/templates/module.d.ts +12 -0
- package/templates/module.js +25 -0
- package/templates/module.js.map +1 -0
- package/templates/providers/file-template.provider.base.d.ts +12 -0
- package/templates/providers/file-template.provider.base.js +50 -0
- package/templates/providers/file-template.provider.base.js.map +1 -0
- package/templates/providers/file-template.provider.d.ts +22 -0
- package/templates/providers/file-template.provider.js +47 -0
- package/templates/providers/file-template.provider.js.map +1 -0
- package/templates/providers/memory-template.provider.base.d.ts +9 -0
- package/templates/providers/memory-template.provider.base.js +35 -0
- package/templates/providers/memory-template.provider.base.js.map +1 -0
- package/templates/providers/memory-template.provider.d.ts +4 -0
- package/templates/providers/memory-template.provider.js +18 -0
- package/templates/providers/memory-template.provider.js.map +1 -0
- package/templates/renderers/handlebars.template-renderer.d.ts +11 -0
- package/templates/renderers/handlebars.template-renderer.js +26 -0
- package/templates/renderers/handlebars.template-renderer.js.map +1 -0
- package/templates/renderers/mjml.template-renderer.d.ts +15 -0
- package/templates/renderers/mjml.template-renderer.js +57 -0
- package/templates/renderers/mjml.template-renderer.js.map +1 -0
- package/templates/template-renderer.provider.d.ts +8 -0
- package/templates/template-renderer.provider.js +60 -0
- package/templates/template-renderer.provider.js.map +1 -0
- package/templates/template.model.d.ts +5 -0
- package/templates/template.model.js +3 -0
- package/templates/template.model.js.map +1 -0
- package/templates/template.provider.d.ts +4 -0
- package/templates/template.provider.js +7 -0
- package/templates/template.provider.js.map +1 -0
- package/templates/template.renderer.d.ts +6 -0
- package/templates/template.renderer.js +7 -0
- package/templates/template.renderer.js.map +1 -0
- package/templates/template.service.d.ts +11 -0
- package/templates/template.service.js +39 -0
- package/templates/template.service.js.map +1 -0
- package/templates/tokens.d.ts +3 -0
- package/templates/tokens.js +6 -0
- package/templates/tokens.js.map +1 -0
- package/tokens.d.ts +1 -1
- package/tokens.js +5 -2
- package/tokens.js.map +1 -1
- package/tsconfig.json +3 -7
- package/types/geo-json.d.ts +1 -1
- package/types/geo-json.js +2 -1
- package/types.d.ts +24 -6
- package/types.js +2 -1
- package/types.js.map +1 -1
- package/utils/alphabet.js +5 -2
- package/utils/alphabet.js.map +1 -1
- package/utils/any-iterable-iterator.js +8 -4
- package/utils/any-iterable-iterator.js.map +1 -1
- package/utils/array/array-backtracker.js +12 -8
- package/utils/array/array-backtracker.js.map +1 -1
- package/utils/array/array.js +21 -13
- package/utils/array/array.js.map +1 -1
- package/utils/array/index.d.ts +2 -2
- package/utils/array/index.js +18 -2
- package/utils/array/index.js.map +1 -1
- package/utils/async-iterable-helpers/all.d.ts +2 -2
- package/utils/async-iterable-helpers/all.js +7 -3
- package/utils/async-iterable-helpers/all.js.map +1 -1
- package/utils/async-iterable-helpers/any.d.ts +2 -2
- package/utils/async-iterable-helpers/any.js +7 -3
- package/utils/async-iterable-helpers/any.js.map +1 -1
- package/utils/async-iterable-helpers/assert.d.ts +2 -2
- package/utils/async-iterable-helpers/assert.js +10 -6
- package/utils/async-iterable-helpers/assert.js.map +1 -1
- package/utils/async-iterable-helpers/batch.d.ts +1 -1
- package/utils/async-iterable-helpers/batch.js +7 -3
- package/utils/async-iterable-helpers/batch.js.map +1 -1
- package/utils/async-iterable-helpers/buffer.d.ts +1 -1
- package/utils/async-iterable-helpers/buffer.js +13 -9
- package/utils/async-iterable-helpers/buffer.js.map +1 -1
- package/utils/async-iterable-helpers/concat.d.ts +2 -2
- package/utils/async-iterable-helpers/concat.js +8 -3
- package/utils/async-iterable-helpers/concat.js.map +1 -1
- package/utils/async-iterable-helpers/default-if-empty.d.ts +1 -1
- package/utils/async-iterable-helpers/default-if-empty.js +5 -1
- package/utils/async-iterable-helpers/default-if-empty.js.map +1 -1
- package/utils/async-iterable-helpers/deferred.d.ts +1 -1
- package/utils/async-iterable-helpers/deferred.js +5 -1
- package/utils/async-iterable-helpers/deferred.js.map +1 -1
- package/utils/async-iterable-helpers/difference.d.ts +4 -0
- package/utils/async-iterable-helpers/difference.js +34 -0
- package/utils/async-iterable-helpers/difference.js.map +1 -0
- package/utils/async-iterable-helpers/distinct.d.ts +2 -2
- package/utils/async-iterable-helpers/distinct.js +7 -3
- package/utils/async-iterable-helpers/distinct.js.map +1 -1
- package/utils/async-iterable-helpers/drain.d.ts +1 -1
- package/utils/async-iterable-helpers/drain.js +5 -1
- package/utils/async-iterable-helpers/drain.js.map +1 -1
- package/utils/async-iterable-helpers/filter.d.ts +2 -2
- package/utils/async-iterable-helpers/filter.js +7 -3
- package/utils/async-iterable-helpers/filter.js.map +1 -1
- package/utils/async-iterable-helpers/first-or-default.d.ts +3 -3
- package/utils/async-iterable-helpers/first-or-default.js +7 -3
- package/utils/async-iterable-helpers/first-or-default.js.map +1 -1
- package/utils/async-iterable-helpers/first.d.ts +3 -3
- package/utils/async-iterable-helpers/first.js +7 -3
- package/utils/async-iterable-helpers/first.js.map +1 -1
- package/utils/async-iterable-helpers/for-each.d.ts +2 -2
- package/utils/async-iterable-helpers/for-each.js +7 -3
- package/utils/async-iterable-helpers/for-each.js.map +1 -1
- package/utils/async-iterable-helpers/group-single.d.ts +2 -2
- package/utils/async-iterable-helpers/group-single.js +7 -3
- package/utils/async-iterable-helpers/group-single.js.map +1 -1
- package/utils/async-iterable-helpers/group-to-map.d.ts +2 -2
- package/utils/async-iterable-helpers/group-to-map.js +10 -6
- package/utils/async-iterable-helpers/group-to-map.js.map +1 -1
- package/utils/async-iterable-helpers/group-to-single-map.d.ts +2 -2
- package/utils/async-iterable-helpers/group-to-single-map.js +7 -3
- package/utils/async-iterable-helpers/group-to-single-map.js.map +1 -1
- package/utils/async-iterable-helpers/group.d.ts +2 -2
- package/utils/async-iterable-helpers/group.js +7 -3
- package/utils/async-iterable-helpers/group.js.map +1 -1
- package/utils/async-iterable-helpers/index.d.ts +47 -45
- package/utils/async-iterable-helpers/index.js +63 -45
- package/utils/async-iterable-helpers/index.js.map +1 -1
- package/utils/async-iterable-helpers/interrupt.d.ts +1 -1
- package/utils/async-iterable-helpers/interrupt.js +12 -7
- package/utils/async-iterable-helpers/interrupt.js.map +1 -1
- package/utils/async-iterable-helpers/is-async-iterable.d.ts +1 -1
- package/utils/async-iterable-helpers/is-async-iterable.js +10 -5
- package/utils/async-iterable-helpers/is-async-iterable.js.map +1 -1
- package/utils/async-iterable-helpers/last-or-default.d.ts +3 -3
- package/utils/async-iterable-helpers/last-or-default.js +7 -3
- package/utils/async-iterable-helpers/last-or-default.js.map +1 -1
- package/utils/async-iterable-helpers/last.d.ts +3 -3
- package/utils/async-iterable-helpers/last.js +7 -3
- package/utils/async-iterable-helpers/last.js.map +1 -1
- package/utils/async-iterable-helpers/map-many.d.ts +2 -2
- package/utils/async-iterable-helpers/map-many.js +7 -3
- package/utils/async-iterable-helpers/map-many.js.map +1 -1
- package/utils/async-iterable-helpers/map.d.ts +2 -2
- package/utils/async-iterable-helpers/map.js +7 -3
- package/utils/async-iterable-helpers/map.js.map +1 -1
- package/utils/async-iterable-helpers/materialize.d.ts +1 -1
- package/utils/async-iterable-helpers/materialize.js +9 -5
- package/utils/async-iterable-helpers/materialize.js.map +1 -1
- package/utils/async-iterable-helpers/metadata.d.ts +2 -2
- package/utils/async-iterable-helpers/metadata.js +11 -5
- package/utils/async-iterable-helpers/metadata.js.map +1 -1
- package/utils/async-iterable-helpers/multiplex.d.ts +1 -1
- package/utils/async-iterable-helpers/multiplex.js +8 -4
- package/utils/async-iterable-helpers/multiplex.js.map +1 -1
- package/utils/async-iterable-helpers/observable-iterable.js +13 -9
- package/utils/async-iterable-helpers/observable-iterable.js.map +1 -1
- package/utils/async-iterable-helpers/pairwise.d.ts +1 -1
- package/utils/async-iterable-helpers/pairwise.js +7 -3
- package/utils/async-iterable-helpers/pairwise.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/feed.d.ts +2 -2
- package/utils/async-iterable-helpers/parallel/feed.js +11 -7
- package/utils/async-iterable-helpers/parallel/feed.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/filter.d.ts +2 -2
- package/utils/async-iterable-helpers/parallel/filter.js +7 -3
- package/utils/async-iterable-helpers/parallel/filter.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/for-each.d.ts +2 -2
- package/utils/async-iterable-helpers/parallel/for-each.js +9 -5
- package/utils/async-iterable-helpers/parallel/for-each.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/group.d.ts +2 -2
- package/utils/async-iterable-helpers/parallel/group.js +9 -5
- package/utils/async-iterable-helpers/parallel/group.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/index.d.ts +7 -7
- package/utils/async-iterable-helpers/parallel/index.js +23 -7
- package/utils/async-iterable-helpers/parallel/index.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/map.d.ts +2 -2
- package/utils/async-iterable-helpers/parallel/map.js +7 -3
- package/utils/async-iterable-helpers/parallel/map.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/tap.d.ts +2 -2
- package/utils/async-iterable-helpers/parallel/tap.js +7 -3
- package/utils/async-iterable-helpers/parallel/tap.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/types.js +2 -1
- package/utils/async-iterable-helpers/reduce.d.ts +2 -2
- package/utils/async-iterable-helpers/reduce.js +7 -3
- package/utils/async-iterable-helpers/reduce.js.map +1 -1
- package/utils/async-iterable-helpers/retry.d.ts +2 -2
- package/utils/async-iterable-helpers/retry.js +7 -3
- package/utils/async-iterable-helpers/retry.js.map +1 -1
- package/utils/async-iterable-helpers/single-or-default.d.ts +3 -3
- package/utils/async-iterable-helpers/single-or-default.js +5 -1
- package/utils/async-iterable-helpers/single-or-default.js.map +1 -1
- package/utils/async-iterable-helpers/single.d.ts +3 -3
- package/utils/async-iterable-helpers/single.js +5 -1
- package/utils/async-iterable-helpers/single.js.map +1 -1
- package/utils/async-iterable-helpers/skip.d.ts +1 -1
- package/utils/async-iterable-helpers/skip.js +7 -3
- package/utils/async-iterable-helpers/skip.js.map +1 -1
- package/utils/async-iterable-helpers/sort.d.ts +2 -2
- package/utils/async-iterable-helpers/sort.js +9 -5
- package/utils/async-iterable-helpers/sort.js.map +1 -1
- package/utils/async-iterable-helpers/take-until.d.ts +2 -2
- package/utils/async-iterable-helpers/take-until.js +11 -6
- package/utils/async-iterable-helpers/take-until.js.map +1 -1
- package/utils/async-iterable-helpers/take-while.d.ts +2 -2
- package/utils/async-iterable-helpers/take-while.js +7 -3
- package/utils/async-iterable-helpers/take-while.js.map +1 -1
- package/utils/async-iterable-helpers/take.d.ts +1 -1
- package/utils/async-iterable-helpers/take.js +5 -1
- package/utils/async-iterable-helpers/take.js.map +1 -1
- package/utils/async-iterable-helpers/tap.d.ts +2 -2
- package/utils/async-iterable-helpers/tap.js +7 -3
- package/utils/async-iterable-helpers/tap.js.map +1 -1
- package/utils/async-iterable-helpers/throttle.d.ts +2 -2
- package/utils/async-iterable-helpers/throttle.js +7 -3
- package/utils/async-iterable-helpers/throttle.js.map +1 -1
- package/utils/async-iterable-helpers/to-array.d.ts +1 -1
- package/utils/async-iterable-helpers/to-array.js +7 -3
- package/utils/async-iterable-helpers/to-array.js.map +1 -1
- package/utils/async-iterable-helpers/to-async-iterable-iterator.d.ts +1 -1
- package/utils/async-iterable-helpers/to-async-iterable-iterator.js +9 -3
- package/utils/async-iterable-helpers/to-async-iterable-iterator.js.map +1 -1
- package/utils/async-iterable-helpers/to-async-iterator.d.ts +1 -1
- package/utils/async-iterable-helpers/to-async-iterator.js +14 -9
- package/utils/async-iterable-helpers/to-async-iterator.js.map +1 -1
- package/utils/async-iterable-helpers/to-set.d.ts +2 -0
- package/utils/async-iterable-helpers/to-set.js +16 -0
- package/utils/async-iterable-helpers/to-set.js.map +1 -0
- package/utils/async-iterable-helpers/to-sync-iterable.d.ts +1 -1
- package/utils/async-iterable-helpers/to-sync-iterable.js +9 -5
- package/utils/async-iterable-helpers/to-sync-iterable.js.map +1 -1
- package/utils/async-iterable-helpers/types.d.ts +1 -1
- package/utils/async-iterable-helpers/types.js +2 -1
- package/utils/async-iterable-helpers/while.d.ts +2 -2
- package/utils/async-iterable-helpers/while.js +7 -3
- package/utils/async-iterable-helpers/while.js.map +1 -1
- package/utils/async-iterator-iterable-iterator.js +8 -4
- package/utils/async-iterator-iterable-iterator.js.map +1 -1
- package/utils/backoff.d.ts +2 -2
- package/utils/backoff.js +20 -13
- package/utils/backoff.js.map +1 -1
- package/utils/base64.d.ts +1 -1
- package/utils/base64.js +24 -13
- package/utils/base64.js.map +1 -1
- package/utils/benchmark.js +25 -17
- package/utils/benchmark.js.map +1 -1
- package/utils/binary-search.d.ts +1 -1
- package/utils/binary-search.js +18 -8
- package/utils/binary-search.js.map +1 -1
- package/utils/binary.d.ts +1 -1
- package/utils/binary.js +12 -6
- package/utils/binary.js.map +1 -1
- package/utils/cancellation-token.js +25 -21
- package/utils/cancellation-token.js.map +1 -1
- package/utils/clone.d.ts +1 -0
- package/utils/clone.js +45 -0
- package/utils/clone.js.map +1 -0
- package/utils/comparison.js +17 -7
- package/utils/comparison.js.map +1 -1
- package/utils/compression.d.ts +2 -2
- package/utils/compression.js +25 -18
- package/utils/compression.js.map +1 -1
- package/utils/config-parser.js +18 -11
- package/utils/config-parser.js.map +1 -1
- package/utils/cryptography.d.ts +1 -1
- package/utils/cryptography.js +67 -53
- package/utils/cryptography.js.map +1 -1
- package/utils/date-time.js +55 -33
- package/utils/date-time.js.map +1 -1
- package/utils/encoding.d.ts +1 -1
- package/utils/encoding.js +19 -12
- package/utils/encoding.js.map +1 -1
- package/utils/enum.d.ts +6 -5
- package/utils/enum.js +18 -7
- package/utils/enum.js.map +1 -1
- package/utils/equals.d.ts +2 -2
- package/utils/equals.js +21 -15
- package/utils/equals.js.map +1 -1
- package/utils/event-loop.d.ts +2 -2
- package/utils/event-loop.js +14 -9
- package/utils/event-loop.js.map +1 -1
- package/utils/factory-map.js +5 -1
- package/utils/factory-map.js.map +1 -1
- package/utils/feedable-async-iterable.js +13 -8
- package/utils/feedable-async-iterable.js.map +1 -1
- package/utils/file-reader.js +13 -6
- package/utils/file-reader.js.map +1 -1
- package/utils/format-error.d.ts +20 -0
- package/utils/format-error.js +42 -0
- package/utils/format-error.js.map +1 -0
- package/utils/function/index.d.ts +2 -2
- package/utils/function/index.js +18 -2
- package/utils/function/index.js.map +1 -1
- package/utils/function/memoize.d.ts +6 -2
- package/utils/function/memoize.js +34 -21
- package/utils/function/memoize.js.map +1 -1
- package/utils/function/throttle.js +9 -5
- package/utils/function/throttle.js.map +1 -1
- package/utils/helpers.d.ts +1 -32
- package/utils/helpers.js +34 -163
- package/utils/helpers.js.map +1 -1
- package/utils/image.js +30 -22
- package/utils/image.js.map +1 -1
- package/utils/index.d.ts +45 -42
- package/utils/index.js +61 -42
- package/utils/index.js.map +1 -1
- package/utils/iterable-helpers/all.d.ts +1 -1
- package/utils/iterable-helpers/all.js +5 -1
- package/utils/iterable-helpers/all.js.map +1 -1
- package/utils/iterable-helpers/any.d.ts +1 -1
- package/utils/iterable-helpers/any.js +5 -1
- package/utils/iterable-helpers/any.js.map +1 -1
- package/utils/iterable-helpers/assert.d.ts +1 -1
- package/utils/iterable-helpers/assert.js +7 -3
- package/utils/iterable-helpers/assert.js.map +1 -1
- package/utils/iterable-helpers/batch.js +5 -1
- package/utils/iterable-helpers/batch.js.map +1 -1
- package/utils/iterable-helpers/concat.d.ts +1 -1
- package/utils/iterable-helpers/concat.js +8 -3
- package/utils/iterable-helpers/concat.js.map +1 -1
- package/utils/iterable-helpers/default-if-empty.js +5 -1
- package/utils/iterable-helpers/default-if-empty.js.map +1 -1
- package/utils/iterable-helpers/deferred.js +5 -1
- package/utils/iterable-helpers/deferred.js.map +1 -1
- package/utils/iterable-helpers/difference.d.ts +3 -0
- package/utils/iterable-helpers/difference.js +31 -0
- package/utils/iterable-helpers/difference.js.map +1 -0
- package/utils/iterable-helpers/distinct.d.ts +1 -1
- package/utils/iterable-helpers/distinct.js +5 -1
- package/utils/iterable-helpers/distinct.js.map +1 -1
- package/utils/iterable-helpers/drain.js +5 -1
- package/utils/iterable-helpers/drain.js.map +1 -1
- package/utils/iterable-helpers/filter.d.ts +1 -1
- package/utils/iterable-helpers/filter.js +5 -1
- package/utils/iterable-helpers/filter.js.map +1 -1
- package/utils/iterable-helpers/first-or-default.d.ts +1 -1
- package/utils/iterable-helpers/first-or-default.js +7 -3
- package/utils/iterable-helpers/first-or-default.js.map +1 -1
- package/utils/iterable-helpers/first.d.ts +1 -1
- package/utils/iterable-helpers/first.js +7 -3
- package/utils/iterable-helpers/first.js.map +1 -1
- package/utils/iterable-helpers/for-each.d.ts +1 -1
- package/utils/iterable-helpers/for-each.js +5 -1
- package/utils/iterable-helpers/for-each.js.map +1 -1
- package/utils/iterable-helpers/group-single.d.ts +1 -1
- package/utils/iterable-helpers/group-single.js +7 -3
- package/utils/iterable-helpers/group-single.js.map +1 -1
- package/utils/iterable-helpers/group-to-map.d.ts +1 -1
- package/utils/iterable-helpers/group-to-map.js +7 -3
- package/utils/iterable-helpers/group-to-map.js.map +1 -1
- package/utils/iterable-helpers/group-to-single-map.d.ts +1 -1
- package/utils/iterable-helpers/group-to-single-map.js +5 -1
- package/utils/iterable-helpers/group-to-single-map.js.map +1 -1
- package/utils/iterable-helpers/group.d.ts +1 -1
- package/utils/iterable-helpers/group.js +7 -3
- package/utils/iterable-helpers/group.js.map +1 -1
- package/utils/iterable-helpers/index.d.ts +38 -37
- package/utils/iterable-helpers/index.js +54 -37
- package/utils/iterable-helpers/index.js.map +1 -1
- package/utils/iterable-helpers/is-iterable.d.ts +1 -1
- package/utils/iterable-helpers/is-iterable.js +10 -5
- package/utils/iterable-helpers/is-iterable.js.map +1 -1
- package/utils/iterable-helpers/last-or-default.d.ts +1 -1
- package/utils/iterable-helpers/last-or-default.js +7 -3
- package/utils/iterable-helpers/last-or-default.js.map +1 -1
- package/utils/iterable-helpers/last.d.ts +1 -1
- package/utils/iterable-helpers/last.js +7 -3
- package/utils/iterable-helpers/last.js.map +1 -1
- package/utils/iterable-helpers/map-many.d.ts +1 -1
- package/utils/iterable-helpers/map-many.js +5 -1
- package/utils/iterable-helpers/map-many.js.map +1 -1
- package/utils/iterable-helpers/map.d.ts +1 -1
- package/utils/iterable-helpers/map.js +5 -1
- package/utils/iterable-helpers/map.js.map +1 -1
- package/utils/iterable-helpers/materialize.js +5 -1
- package/utils/iterable-helpers/materialize.js.map +1 -1
- package/utils/iterable-helpers/metadata.d.ts +1 -1
- package/utils/iterable-helpers/metadata.js +5 -1
- package/utils/iterable-helpers/metadata.js.map +1 -1
- package/utils/iterable-helpers/pairwise.js +5 -1
- package/utils/iterable-helpers/pairwise.js.map +1 -1
- package/utils/iterable-helpers/range.js +5 -1
- package/utils/iterable-helpers/range.js.map +1 -1
- package/utils/iterable-helpers/reduce.d.ts +1 -1
- package/utils/iterable-helpers/reduce.js +5 -1
- package/utils/iterable-helpers/reduce.js.map +1 -1
- package/utils/iterable-helpers/single-or-default.d.ts +1 -1
- package/utils/iterable-helpers/single-or-default.js +5 -1
- package/utils/iterable-helpers/single-or-default.js.map +1 -1
- package/utils/iterable-helpers/single.d.ts +1 -1
- package/utils/iterable-helpers/single.js +5 -1
- package/utils/iterable-helpers/single.js.map +1 -1
- package/utils/iterable-helpers/skip.js +5 -1
- package/utils/iterable-helpers/skip.js.map +1 -1
- package/utils/iterable-helpers/sort.d.ts +1 -1
- package/utils/iterable-helpers/sort.js +6 -2
- package/utils/iterable-helpers/sort.js.map +1 -1
- package/utils/iterable-helpers/take-until.d.ts +1 -1
- package/utils/iterable-helpers/take-until.js +5 -1
- package/utils/iterable-helpers/take-until.js.map +1 -1
- package/utils/iterable-helpers/take-while.d.ts +1 -1
- package/utils/iterable-helpers/take-while.js +5 -1
- package/utils/iterable-helpers/take-while.js.map +1 -1
- package/utils/iterable-helpers/take.js +5 -1
- package/utils/iterable-helpers/take.js.map +1 -1
- package/utils/iterable-helpers/tap.d.ts +1 -1
- package/utils/iterable-helpers/tap.js +5 -1
- package/utils/iterable-helpers/tap.js.map +1 -1
- package/utils/iterable-helpers/types.js +2 -1
- package/utils/iterable-helpers/while.d.ts +1 -1
- package/utils/iterable-helpers/while.js +5 -1
- package/utils/iterable-helpers/while.js.map +1 -1
- package/utils/jwt.d.ts +2 -2
- package/utils/jwt.js +31 -26
- package/utils/jwt.js.map +1 -1
- package/utils/map.js +15 -7
- package/utils/map.js.map +1 -1
- package/utils/math.js +17 -7
- package/utils/math.js.map +1 -1
- package/utils/merge.d.ts +5 -0
- package/utils/merge.js +32 -0
- package/utils/merge.js.map +1 -0
- package/utils/middleware.js +7 -2
- package/utils/middleware.js.map +1 -1
- package/utils/moving-metric.js +9 -5
- package/utils/moving-metric.js.map +1 -1
- package/utils/noop.js +5 -1
- package/utils/noop.js.map +1 -1
- package/utils/object/decycle.d.ts +16 -0
- package/utils/object/decycle.js +81 -0
- package/utils/object/decycle.js.map +1 -0
- package/utils/object/dereference.js +13 -7
- package/utils/object/dereference.js.map +1 -1
- package/utils/object/forward-ref.js +15 -12
- package/utils/object/forward-ref.js.map +1 -1
- package/utils/object/index.d.ts +7 -6
- package/utils/object/index.js +23 -6
- package/utils/object/index.js.map +1 -1
- package/utils/object/lazy-property.d.ts +1 -1
- package/utils/object/lazy-property.js +22 -15
- package/utils/object/lazy-property.js.map +1 -1
- package/utils/object/merge.js +17 -13
- package/utils/object/merge.js.map +1 -1
- package/utils/object/object.d.ts +10 -2
- package/utils/object/object.js +57 -25
- package/utils/object/object.js.map +1 -1
- package/utils/object/property-name.d.ts +1 -1
- package/utils/object/property-name.js +23 -16
- package/utils/object/property-name.js.map +1 -1
- package/utils/ordered-feedable-async-iterable.d.ts +1 -1
- package/utils/ordered-feedable-async-iterable.js +7 -3
- package/utils/ordered-feedable-async-iterable.js.map +1 -1
- package/utils/patch-worker.d.ts +2 -2
- package/utils/patch-worker.js +24 -19
- package/utils/patch-worker.js.map +1 -1
- package/utils/patterns.d.ts +1 -1
- package/utils/patterns.js +8 -4
- package/utils/patterns.js.map +1 -1
- package/utils/periodic-reporter.js +13 -9
- package/utils/periodic-reporter.js.map +1 -1
- package/utils/periodic-sampler.js +19 -15
- package/utils/periodic-sampler.js.map +1 -1
- package/utils/provider-function-iterable.js +7 -3
- package/utils/provider-function-iterable.js.map +1 -1
- package/utils/random.js +8 -3
- package/utils/random.js.map +1 -1
- package/utils/reflection.d.ts +1 -1
- package/utils/reflection.js +16 -7
- package/utils/reflection.js.map +1 -1
- package/utils/set.js +15 -7
- package/utils/set.js.map +1 -1
- package/utils/singleton.js +7 -3
- package/utils/singleton.js.map +1 -1
- package/utils/sort.js +12 -5
- package/utils/sort.js.map +1 -1
- package/utils/stream/async-iterable-readable.d.ts +3 -3
- package/utils/stream/async-iterable-readable.js +10 -6
- package/utils/stream/async-iterable-readable.js.map +1 -1
- package/utils/stream/async-writable-stream.d.ts +3 -3
- package/utils/stream/async-writable-stream.js +7 -3
- package/utils/stream/async-writable-stream.js.map +1 -1
- package/utils/stream/index.d.ts +5 -5
- package/utils/stream/index.js +21 -5
- package/utils/stream/index.js.map +1 -1
- package/utils/stream/stream-helper-types.d.ts +1 -1
- package/utils/stream/stream-helper-types.js +2 -1
- package/utils/stream/stream-reader.js +16 -13
- package/utils/stream/stream-reader.js.map +1 -1
- package/utils/stream/typed-readable.d.ts +2 -2
- package/utils/stream/typed-readable.js +5 -2
- package/utils/stream/typed-readable.js.map +1 -1
- package/utils/timer.js +5 -1
- package/utils/timer.js.map +1 -1
- package/utils/timing.d.ts +1 -1
- package/utils/timing.js +23 -12
- package/utils/timing.js.map +1 -1
- package/utils/type-guards.d.ts +10 -4
- package/utils/type-guards.js +434 -209
- package/utils/type-guards.js.map +1 -1
- package/utils/type-of.js +7 -3
- package/utils/type-of.js.map +1 -1
- package/utils/units.js +55 -51
- package/utils/units.js.map +1 -1
- package/utils/url-builder.d.ts +1 -1
- package/utils/url-builder.js +16 -11
- package/utils/url-builder.js.map +1 -1
- package/utils/z-base32.d.ts +1 -1
- package/utils/z-base32.js +11 -6
- package/utils/z-base32.js.map +1 -1
- package/database/mongo/model.js +0 -71
- package/database/mongo/model.js.map +0 -1
- package/database/mongo/mongo-entity.repository.js.map +0 -1
- package/database/mongo/simple-entity.repository.d.ts +0 -7
- package/database/mongo/simple-entity.repository.js +0 -7
- package/database/mongo/simple-entity.repository.js.map +0 -1
- package/instance-provider.d.ts +0 -17
- package/instance-provider.js +0 -48
- package/instance-provider.js.map +0 -1
- package/lock/mongo/mongo-lock.repository.js.map +0 -1
- package/module/modules/old-web-server.module.d.ts +0 -22
- package/module/modules/old-web-server.module.js +0 -33
- package/module/modules/old-web-server.module.js.map +0 -1
- package/old-api/endpoint.d.ts +0 -5
- package/old-api/endpoint.js +0 -15
- package/old-api/endpoint.js.map +0 -1
- package/old-api/endpoints/echo.endpoint.d.ts +0 -2
- package/old-api/endpoints/echo.endpoint.js +0 -2
- package/old-api/endpoints/echo.endpoint.js.map +0 -1
- package/old-api/endpoints/index.d.ts +0 -1
- package/old-api/endpoints/index.js +0 -2
- package/old-api/endpoints/index.js.map +0 -1
- package/old-api/http-api.d.ts +0 -63
- package/old-api/http-api.js +0 -258
- package/old-api/http-api.js.map +0 -1
- package/old-api/index.d.ts +0 -3
- package/old-api/index.js +0 -4
- package/old-api/index.js.map +0 -1
- package/old-api/validation/index.d.ts +0 -1
- package/old-api/validation/index.js +0 -2
- package/old-api/validation/index.js.map +0 -1
- package/old-api/validation/types.d.ts +0 -6
- package/old-api/validation/types.js +0 -3
- package/old-api/validation/types.js.map +0 -1
- package/old-api/validation/validators/index.d.ts +0 -1
- package/old-api/validation/validators/index.js +0 -2
- package/old-api/validation/validators/index.js.map +0 -1
- package/old-api/validation/validators/noop.d.ts +0 -2
- package/old-api/validation/validators/noop.js +0 -4
- package/old-api/validation/validators/noop.js.map +0 -1
- package/old-api/validation/validators/superstruct.d.ts +0 -14
- package/old-api/validation/validators/superstruct.js +0 -55
- package/old-api/validation/validators/superstruct.js.map +0 -1
- package/old-api/validation/validators/yup.d.ts +0 -7
- package/old-api/validation/validators/yup.js +0 -52
- package/old-api/validation/validators/yup.js.map +0 -1
- package/schema/schema.validator.d.ts +0 -40
- package/schema/schema.validator.js +0 -71
- package/schema/schema.validator.js.map +0 -1
- package/schema/schemas/async-iterable.d.ts +0 -13
- package/schema/schemas/async-iterable.js +0 -35
- package/schema/schemas/async-iterable.js.map +0 -1
- package/schema/schemas/iterable.d.ts +0 -13
- package/schema/schemas/iterable.js +0 -35
- package/schema/schemas/iterable.js.map +0 -1
- package/schema/schemas/never.d.ts +0 -9
- package/schema/schemas/never.js +0 -17
- package/schema/schemas/never.js.map +0 -1
- package/schema/schemas/preprocess.d.ts +0 -16
- package/schema/schemas/preprocess.js +0 -30
- package/schema/schemas/preprocess.js.map +0 -1
- package/schema/schemas/refine.d.ts +0 -24
- package/schema/schemas/refine.js +0 -47
- package/schema/schemas/refine.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-client-request.js","sourceRoot":"","sources":["../../../source/http/client/http-client-request.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"http-client-request.js","sourceRoot":"","sources":["../../../source/http/client/http-client-request.ts"],"names":[],"mappings":";;;AACA,iDAAuC;AAGvC,uEAA+D;AAC/D,yDAAuE;AAEvE,4CAAwC;AAExC,kDAA8C;AAE9C,8CAA0C;AAE1C,gEAA2D;AAiC3D,MAAa,iBAAiB;IAiF5B,YAAY,WAAgD,EAAE,MAAmB,EAAE,UAAuC,EAAE;QAC1H,IAAI,IAAA,sBAAQ,EAAC,WAAW,CAAC,EAAE;YACzB,IAAI,CAAC,GAAG,GAAG,WAAW,CAAC;YACvB,IAAI,CAAC,MAAM,GAAG,MAAM,IAAI,KAAK,CAAC;SAC/B;aACI;YACH,IAAI,CAAC,GAAG,GAAG,WAAW,CAAC,GAAG,CAAC;YAC3B,IAAI,CAAC,MAAM,GAAG,WAAW,CAAC,MAAM,IAAI,KAAK,CAAC;SAC3C;QAED,MAAM,cAAc,GAA4C,IAAA,sBAAQ,EAAC,WAAW,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC;QAE9G,IAAI,CAAC,OAAO,GAAG,IAAI,0BAAW,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QACvD,IAAI,CAAC,UAAU,GAAG,cAAc,CAAC,UAAU,CAAC;QAC5C,IAAI,CAAC,kBAAkB,GAAG,cAAc,CAAC,kBAAkB,IAAI,IAAI,CAAC;QACpE,IAAI,CAAC,oBAAoB,GAAG,cAAc,CAAC,oBAAoB,IAAI,IAAI,CAAC;QACxE,IAAI,CAAC,mBAAmB,GAAG,cAAc,CAAC,mBAAmB,IAAI,IAAI,CAAC;QACtE,IAAI,CAAC,aAAa,GAAG,IAAI,uCAAiB,C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IAAI,oBAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;KACzD;IAED,OAAO,cAA2C,CAAC;AACrD,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { TypedOmit } from "../../types
|
|
2
|
-
import type { HttpHeadersObject } from '../http-headers
|
|
3
|
-
import { HttpHeaders } from '../http-headers
|
|
4
|
-
import type { HttpBody, HttpBodyType } from '../types
|
|
5
|
-
import type { HttpClientRequest, HttpClientRequestObject } from './http-client-request
|
|
1
|
+
import type { TypedOmit } from "../../types";
|
|
2
|
+
import type { HttpHeadersObject } from '../http-headers';
|
|
3
|
+
import { HttpHeaders } from '../http-headers';
|
|
4
|
+
import type { HttpBody, HttpBodyType } from '../types';
|
|
5
|
+
import type { HttpClientRequest, HttpClientRequestObject } from './http-client-request';
|
|
6
6
|
export declare type ReadBodyOptions = {
|
|
7
7
|
maxBytes?: number;
|
|
8
8
|
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HttpClientResponse = void 0;
|
|
4
|
+
const http_headers_1 = require("../http-headers");
|
|
5
|
+
class HttpClientResponse {
|
|
3
6
|
constructor(options) {
|
|
4
7
|
this.request = options.request;
|
|
5
8
|
this.statusCode = options.statusCode;
|
|
6
9
|
this.statusMessage = options.statusMessage;
|
|
7
|
-
this.headers = new HttpHeaders(options.headers);
|
|
10
|
+
this.headers = new http_headers_1.HttpHeaders(options.headers);
|
|
8
11
|
this.body = options.body;
|
|
9
12
|
this.closeHandler = options.closeHandler;
|
|
10
13
|
}
|
|
@@ -22,4 +25,5 @@ export class HttpClientResponse {
|
|
|
22
25
|
return obj;
|
|
23
26
|
}
|
|
24
27
|
}
|
|
28
|
+
exports.HttpClientResponse = HttpClientResponse;
|
|
25
29
|
//# sourceMappingURL=http-client-response.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-client-response.js","sourceRoot":"","sources":["../../../source/http/client/http-client-response.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"http-client-response.js","sourceRoot":"","sources":["../../../source/http/client/http-client-response.ts"],"names":[],"mappings":";;;AAEA,kDAA8C;AAuB9C,MAAa,kBAAkB;IAS7B,YAAY,OAAqC;QAC/C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;QAC/B,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;QACrC,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;QAC3C,IAAI,CAAC,OAAO,GAAG,IAAI,0BAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAChD,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QACzB,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAC3C,CAAC;IAED,KAAK;QACH,IAAI,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;IAED,QAAQ;QACN,MAAM,GAAG,GAA6B;YACpC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;YAChC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;YAChC,IAAI,EAAE,IAAI,CAAC,IAAI;SAChB,CAAC;QAEF,OAAO,GAAG,CAAC;IACb,CAAC;CACF;AAjCD,gDAiCC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { HttpBodyType } from '../types
|
|
2
|
-
import type { HttpClientRequest } from './http-client-request
|
|
3
|
-
import type { HttpClientResponse } from './http-client-response
|
|
1
|
+
import type { HttpBodyType } from '../types';
|
|
2
|
+
import type { HttpClientRequest } from './http-client-request';
|
|
3
|
+
import type { HttpClientResponse } from './http-client-response';
|
|
4
4
|
export declare abstract class HttpClientAdapter {
|
|
5
5
|
/**
|
|
6
6
|
* should return a response with an stream (preferred) or Uint8Array if streams are not supported
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HttpClientAdapter = void 0;
|
|
4
|
+
class HttpClientAdapter {
|
|
2
5
|
}
|
|
6
|
+
exports.HttpClientAdapter = HttpClientAdapter;
|
|
3
7
|
//# sourceMappingURL=http-client.adapter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-client.adapter.js","sourceRoot":"","sources":["../../../source/http/client/http-client.adapter.ts"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"http-client.adapter.js","sourceRoot":"","sources":["../../../source/http/client/http-client.adapter.ts"],"names":[],"mappings":";;;AAIA,MAAsB,iBAAiB;CAKtC;AALD,8CAKC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { Injectable } from "../../container
|
|
2
|
-
import { resolveArgumentType } from "../../container
|
|
3
|
-
import type { OneOrMany, UndefinableJson } from "../../types
|
|
4
|
-
import type { AsyncMiddleware, AsyncMiddlewareHandler, AsyncMiddlewareNext } from "../../utils/middleware
|
|
5
|
-
import type { HttpBodyType, HttpBufferBodyType, HttpJsonBodyType, HttpMethod, HttpStreamBodyType, HttpTextBodyType, HttpValue } from '../types
|
|
6
|
-
import type { HttpClientRequestOptions } from './http-client-request
|
|
7
|
-
import { HttpClientRequest } from './http-client-request
|
|
8
|
-
import type { HttpClientResponse } from './http-client-response
|
|
9
|
-
import { HttpClientAdapter } from './http-client.adapter
|
|
1
|
+
import type { Injectable } from "../../container";
|
|
2
|
+
import { resolveArgumentType } from "../../container";
|
|
3
|
+
import type { OneOrMany, UndefinableJson } from "../../types";
|
|
4
|
+
import type { AsyncMiddleware, AsyncMiddlewareHandler, AsyncMiddlewareNext } from "../../utils/middleware";
|
|
5
|
+
import type { HttpBodyType, HttpBufferBodyType, HttpJsonBodyType, HttpMethod, HttpStreamBodyType, HttpTextBodyType, HttpValue } from '../types';
|
|
6
|
+
import type { HttpClientRequestOptions } from './http-client-request';
|
|
7
|
+
import { HttpClientRequest } from './http-client-request';
|
|
8
|
+
import type { HttpClientResponse } from './http-client-response';
|
|
9
|
+
import { HttpClientAdapter } from './http-client.adapter';
|
|
10
10
|
export declare type HttpClientOptions = {
|
|
11
11
|
/**
|
|
12
12
|
* base url for requests when only path is provided
|
|
@@ -25,7 +25,7 @@ export declare type HttpClientOptions = {
|
|
|
25
25
|
export declare type HttpClientHandler = AsyncMiddlewareHandler<HttpClientRequest, HttpClientResponse>;
|
|
26
26
|
export declare type HttpClientMiddleware = AsyncMiddleware<HttpClientRequest, HttpClientResponse>;
|
|
27
27
|
export declare type HttpClientMiddlewareNext = AsyncMiddlewareNext<HttpClientRequest, HttpClientResponse>;
|
|
28
|
-
export declare const HTTP_CLIENT_OPTIONS: import("../../container
|
|
28
|
+
export declare const HTTP_CLIENT_OPTIONS: import("../../container").InjectionToken<HttpClientOptions, any>;
|
|
29
29
|
export declare type HttpClientArgument = HttpClientOptions;
|
|
30
30
|
export declare class HttpClient implements Injectable<HttpClientArgument> {
|
|
31
31
|
private static _instance?;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -11,24 +12,26 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
11
12
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
12
13
|
};
|
|
13
14
|
var HttpClient_1;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.HttpClient = exports.HTTP_CLIENT_OPTIONS = void 0;
|
|
17
|
+
const response_1 = require("../../api/response");
|
|
18
|
+
const container_1 = require("../../container");
|
|
19
|
+
const array_1 = require("../../utils/array");
|
|
20
|
+
const middleware_1 = require("../../utils/middleware");
|
|
21
|
+
const type_guards_1 = require("../../utils/type-guards");
|
|
22
|
+
const url_builder_1 = require("../../utils/url-builder");
|
|
23
|
+
const http_headers_1 = require("../http-headers");
|
|
24
|
+
const http_error_1 = require("../http.error");
|
|
25
|
+
const types_1 = require("../types");
|
|
26
|
+
const http_client_request_1 = require("./http-client-request");
|
|
27
|
+
const http_client_adapter_1 = require("./http-client.adapter");
|
|
28
|
+
exports.HTTP_CLIENT_OPTIONS = (0, container_1.injectionToken)(Symbol('HttpClientOptions'));
|
|
26
29
|
let HttpClient = HttpClient_1 = class HttpClient {
|
|
27
30
|
constructor(adapter, options = {}) {
|
|
28
31
|
this.adapter = adapter;
|
|
29
32
|
this.options = options;
|
|
30
33
|
this.middleware = [...(options.middleware ?? [])];
|
|
31
|
-
this.headers = new HttpHeaders();
|
|
34
|
+
this.headers = new http_headers_1.HttpHeaders();
|
|
32
35
|
this.internalMiddleware = [
|
|
33
36
|
getBuildRequestUrlMiddleware(options.baseUrl),
|
|
34
37
|
addRequestHeadersMiddleware,
|
|
@@ -37,7 +40,7 @@ let HttpClient = HttpClient_1 = class HttpClient {
|
|
|
37
40
|
this.updateHandlers();
|
|
38
41
|
}
|
|
39
42
|
static get instance() {
|
|
40
|
-
if (isUndefined(this._instance)) {
|
|
43
|
+
if ((0, type_guards_1.isUndefined)(this._instance)) {
|
|
41
44
|
throw new Error('global instance not configured');
|
|
42
45
|
}
|
|
43
46
|
return this._instance;
|
|
@@ -154,32 +157,31 @@ let HttpClient = HttpClient_1 = class HttpClient {
|
|
|
154
157
|
yield* response.body;
|
|
155
158
|
}
|
|
156
159
|
async request(method, url, options = {}) {
|
|
157
|
-
const request = new HttpClientRequest(url, method, options);
|
|
160
|
+
const request = new http_client_request_1.HttpClientRequest(url, method, options);
|
|
158
161
|
return this.rawRequest(request);
|
|
159
162
|
}
|
|
160
163
|
async rawRequest(request) {
|
|
161
164
|
const preparedRequest = this.prepareRequest(request);
|
|
162
|
-
|
|
163
|
-
return response;
|
|
165
|
+
return this.callHandler(preparedRequest, undefined);
|
|
164
166
|
}
|
|
165
167
|
updateHandlers() {
|
|
166
|
-
this.callHandler = composeAsyncMiddleware([...this.middleware, ...this.internalMiddleware], async (request) => this.adapter.call(request), { allowMultipleNextCalls: true });
|
|
168
|
+
this.callHandler = (0, middleware_1.composeAsyncMiddleware)([...this.middleware, ...this.internalMiddleware], async (request) => this.adapter.call(request), { allowMultipleNextCalls: true });
|
|
167
169
|
}
|
|
168
170
|
prepareRequest(request) {
|
|
169
171
|
const clone = request.clone();
|
|
170
|
-
clone.headers = new HttpHeaders(this.headers);
|
|
172
|
+
clone.headers = new http_headers_1.HttpHeaders(this.headers);
|
|
171
173
|
clone.headers.setMany(request.headers);
|
|
172
174
|
return clone;
|
|
173
175
|
}
|
|
174
176
|
};
|
|
175
177
|
HttpClient = HttpClient_1 = __decorate([
|
|
176
|
-
singleton(),
|
|
177
|
-
__param(1, inject(HTTP_CLIENT_OPTIONS)),
|
|
178
|
-
__param(1, optional()),
|
|
179
|
-
__param(1, injectArg()),
|
|
180
|
-
__metadata("design:paramtypes", [HttpClientAdapter, Object])
|
|
178
|
+
(0, container_1.singleton)(),
|
|
179
|
+
__param(1, (0, container_1.inject)(exports.HTTP_CLIENT_OPTIONS)),
|
|
180
|
+
__param(1, (0, container_1.optional)()),
|
|
181
|
+
__param(1, (0, container_1.injectArg)()),
|
|
182
|
+
__metadata("design:paramtypes", [http_client_adapter_1.HttpClientAdapter, Object])
|
|
181
183
|
], HttpClient);
|
|
182
|
-
|
|
184
|
+
exports.HttpClient = HttpClient;
|
|
183
185
|
function getBuildRequestUrlMiddleware(baseUrl) {
|
|
184
186
|
async function buildUrlParametersMiddleware(request, next) {
|
|
185
187
|
const modifiedRequest = mapParameters(request, baseUrl);
|
|
@@ -189,16 +191,16 @@ function getBuildRequestUrlMiddleware(baseUrl) {
|
|
|
189
191
|
}
|
|
190
192
|
async function addRequestHeadersMiddleware(request, next) {
|
|
191
193
|
const clone = request.clone();
|
|
192
|
-
if (isDefined(clone.body?.json)) {
|
|
194
|
+
if ((0, type_guards_1.isDefined)(clone.body?.json)) {
|
|
193
195
|
clone.headers.contentType = 'application/json';
|
|
194
196
|
}
|
|
195
|
-
else if (isDefined(clone.body?.text)) {
|
|
197
|
+
else if ((0, type_guards_1.isDefined)(clone.body?.text)) {
|
|
196
198
|
clone.headers.contentType = 'text/plain';
|
|
197
199
|
}
|
|
198
|
-
else if (isDefined(clone.body?.form)) {
|
|
200
|
+
else if ((0, type_guards_1.isDefined)(clone.body?.form)) {
|
|
199
201
|
clone.headers.contentType = 'application/x-www-form-urlencoded';
|
|
200
202
|
}
|
|
201
|
-
else if (isDefined(clone.body?.stream) || isDefined(clone.body?.buffer)) {
|
|
203
|
+
else if ((0, type_guards_1.isDefined)(clone.body?.stream) || (0, type_guards_1.isDefined)(clone.body?.buffer)) {
|
|
202
204
|
clone.headers.contentType = 'application/octet-stream';
|
|
203
205
|
}
|
|
204
206
|
return next(clone);
|
|
@@ -207,21 +209,21 @@ async function errorMiddleware(request, next) {
|
|
|
207
209
|
try {
|
|
208
210
|
const response = await next(request);
|
|
209
211
|
if (request.throwOnNon200 && ((response.statusCode < 200) || (response.statusCode >= 300))) {
|
|
210
|
-
throw new HttpError(HttpErrorReason.Non200StatusCode, request, response);
|
|
212
|
+
throw new http_error_1.HttpError(http_error_1.HttpErrorReason.Non200StatusCode, request, response);
|
|
211
213
|
}
|
|
212
214
|
return response;
|
|
213
215
|
}
|
|
214
216
|
catch (error) {
|
|
215
|
-
if (!(error instanceof HttpError) || (error.responseInstance?.headers.contentType?.includes('json') == false)) {
|
|
217
|
+
if (!(error instanceof http_error_1.HttpError) || (error.responseInstance?.headers.contentType?.includes('json') == false)) {
|
|
216
218
|
throw error;
|
|
217
219
|
}
|
|
218
|
-
if (isDefined(error.response?.body)) {
|
|
220
|
+
if ((0, type_guards_1.isDefined)(error.response?.body)) {
|
|
219
221
|
const body = await error.response.body;
|
|
220
|
-
if (!isErrorResponse(body) || !hasErrorHandler(body)) {
|
|
222
|
+
if (!(0, response_1.isErrorResponse)(body) || !(0, response_1.hasErrorHandler)(body)) {
|
|
221
223
|
throw error;
|
|
222
224
|
}
|
|
223
|
-
const parsedError = parseErrorResponse(body, false);
|
|
224
|
-
if (isDefined(parsedError)) {
|
|
225
|
+
const parsedError = (0, response_1.parseErrorResponse)(body, false);
|
|
226
|
+
if ((0, type_guards_1.isDefined)(parsedError)) {
|
|
225
227
|
throw parsedError;
|
|
226
228
|
}
|
|
227
229
|
}
|
|
@@ -233,40 +235,42 @@ function mapParameters(request, baseUrl) {
|
|
|
233
235
|
const clone = request.clone();
|
|
234
236
|
const isGetOrHead = (request.method == 'GET') || (request.method == 'HEAD');
|
|
235
237
|
let url;
|
|
236
|
-
|
|
238
|
+
const filteredParameterEntries = Object.entries(request.parameters ?? {}).filter(([_, value]) => (0, type_guards_1.isDefined)(value));
|
|
239
|
+
const filteredParameters = Object.fromEntries(filteredParameterEntries);
|
|
240
|
+
let parameterEntries = new Set(filteredParameterEntries);
|
|
237
241
|
if (!request.mapParametersToUrl) {
|
|
238
242
|
url = new URL(request.url, baseUrl);
|
|
239
243
|
}
|
|
240
244
|
else {
|
|
241
|
-
const { parsedUrl, parametersRest } = buildUrl(request.url,
|
|
245
|
+
const { parsedUrl, parametersRest } = (0, url_builder_1.buildUrl)(request.url, filteredParameters, { arraySeparator: request.urlParametersSeparator });
|
|
242
246
|
url = new URL(parsedUrl, baseUrl);
|
|
243
247
|
parameterEntries = new Set(Object.entries(parametersRest));
|
|
244
248
|
}
|
|
245
|
-
if (request.mapParametersToBody && !isGetOrHead && isUndefined(request.body)) {
|
|
249
|
+
if (request.mapParametersToBody && !isGetOrHead && (0, type_guards_1.isUndefined)(request.body)) {
|
|
246
250
|
clone.body = { json: Object.fromEntries(parameterEntries) };
|
|
247
251
|
parameterEntries.clear();
|
|
248
252
|
}
|
|
249
253
|
if (request.mapParametersToQuery) {
|
|
250
254
|
for (const entry of parameterEntries) {
|
|
251
255
|
const [parameter, value] = entry;
|
|
252
|
-
if (isUndefined(value) || isObject(value)) {
|
|
256
|
+
if ((0, type_guards_1.isUndefined)(value) || (0, type_guards_1.isObject)(value)) {
|
|
253
257
|
continue;
|
|
254
258
|
}
|
|
255
|
-
for (const val of toArray(value)) {
|
|
256
|
-
url.searchParams.append(parameter, normalizeSingleHttpValue(val));
|
|
259
|
+
for (const val of (0, array_1.toArray)(value)) {
|
|
260
|
+
url.searchParams.append(parameter, (0, types_1.normalizeSingleHttpValue)(val));
|
|
257
261
|
}
|
|
258
262
|
parameterEntries.delete(entry);
|
|
259
263
|
}
|
|
260
264
|
}
|
|
261
265
|
if (parameterEntries.size > 0) {
|
|
262
266
|
const error = new Error('not all parameters could be mapped to url, query and body because request is either GET/HEAD or body is already defined');
|
|
263
|
-
throw new HttpError(HttpErrorReason.InvalidRequest, request, undefined, error);
|
|
267
|
+
throw new http_error_1.HttpError(http_error_1.HttpErrorReason.InvalidRequest, request, undefined, error);
|
|
264
268
|
}
|
|
265
|
-
if (isDefined(request.query)) {
|
|
269
|
+
if ((0, type_guards_1.isDefined)(request.query)) {
|
|
266
270
|
for (const [key, valueOrValues] of request.query) {
|
|
267
|
-
const normalizedValues = normalizeHttpValue(valueOrValues);
|
|
268
|
-
if (isDefined(normalizedValues)) {
|
|
269
|
-
for (const normalizedValue of toArray(normalizedValues)) {
|
|
271
|
+
const normalizedValues = (0, types_1.normalizeHttpValue)(valueOrValues);
|
|
272
|
+
if ((0, type_guards_1.isDefined)(normalizedValues)) {
|
|
273
|
+
for (const normalizedValue of (0, array_1.toArray)(normalizedValues)) {
|
|
270
274
|
url.searchParams.append(key, normalizedValue.toString());
|
|
271
275
|
}
|
|
272
276
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-client.js","sourceRoot":"","sources":["../../../source/http/client/http-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,kBAAkB,EAAE,8BAA0B;AAEzF,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,QAAQ,EAAE,mBAAmB,EAAE,SAAS,EAAE,iCAA6B;AAEnH,OAAO,EAAE,OAAO,EAAE,mCAA+B;AAEjD,OAAO,EAAE,sBAAsB,EAAE,kCAA8B;AAC/D,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,mCAA+B;AAC1E,OAAO,EAAE,QAAQ,EAAE,mCAA+B;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAE3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAwB7D,MAAM,CAAC,MAAM,mBAAmB,GAAG,cAAc,CAAoB,MAAM,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAKlG,IAAa,UAAU,kBAAvB,MAAa,UAAU;IAqBrB,YAAY,OAA0B,EAAwD,UAA6B,EAAE;QAC3H,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QAEvB,IAAI,CAAC,UAAU,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,UAA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CAAC,YAAY,CAAC,MAAM,CAAC,SAAS,EAAE,IAAA,gCAAwB,EAAC,GAAG,CAAC,CAAC,CAAC;aACnE;YAED,gBAAgB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;SAChC;KACF;IAED,IAAI,gBAAgB,CAAC,IAAI,GAAG,CAAC,EAAE;QAC7B,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,yHAAyH,CAAC,CAAC;QACnJ,MAAM,IAAI,sBAAS,CAAC,4BAAe,CAAC,cAAc,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;KAChF;IAED,IAAI,IAAA,uBAAS,EAAC,OAAO,CAAC,KAAK,CAAC,EAAE;QAC5B,KAAK,MAAM,CAAC,GAAG,EAAE,aAAa,CAAC,IAAI,OAAO,CAAC,KAAK,EAAE;YAChD,MAAM,gBAAgB,GAAG,IAAA,0BAAkB,EAAC,aAAa,CAAC,CAAC;YAE3D,IAAI,IAAA,uBAAS,EAAC,gBAAgB,CAAC,EAAE;gBAC/B,KAAK,MAAM,eAAe,IAAI,IAAA,eAAO,EAAC,gBAAgB,CAAC,EAAE;oBACvD,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,GAAG,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAC,CAAC;iBAC1D;aACF;SACF;KACF;IAED,KAAK,CAAC,GAAG,GAAG,GAAG,CAAC,IAAI,CAAC;IAErB,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/http/client/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './http-client
|
|
2
|
-
export * from './http-client-request
|
|
3
|
-
export * from './http-client-response
|
|
4
|
-
export * from './http-client.adapter
|
|
1
|
+
export * from './http-client';
|
|
2
|
+
export * from './http-client-request';
|
|
3
|
+
export * from './http-client-response';
|
|
4
|
+
export * from './http-client.adapter';
|
package/http/client/index.js
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./http-client"), exports);
|
|
18
|
+
__exportStar(require("./http-client-request"), exports);
|
|
19
|
+
__exportStar(require("./http-client-response"), exports);
|
|
20
|
+
__exportStar(require("./http-client.adapter"), exports);
|
|
5
21
|
//# sourceMappingURL=index.js.map
|
package/http/client/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/http/client/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/http/client/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,wDAAsC;AACtC,yDAAuC;AACvC,wDAAsC"}
|
package/http/cookie-parser.d.ts
CHANGED
package/http/cookie-parser.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CookieParser = void 0;
|
|
4
|
+
const lazy_property_1 = require("../utils/object/lazy-property");
|
|
5
|
+
const type_guards_1 = require("../utils/type-guards");
|
|
6
|
+
class CookieParser {
|
|
4
7
|
constructor(httpHeaders) {
|
|
5
8
|
this.httpHeaders = httpHeaders;
|
|
6
|
-
lazyProperty(this, 'cookies', () => this.parseCookies());
|
|
9
|
+
(0, lazy_property_1.lazyProperty)(this, 'cookies', () => this.parseCookies());
|
|
7
10
|
}
|
|
8
11
|
has(name) {
|
|
9
12
|
return this.cookies.has(name);
|
|
@@ -13,7 +16,7 @@ export class CookieParser {
|
|
|
13
16
|
}
|
|
14
17
|
parseCookies() {
|
|
15
18
|
const cookie = this.httpHeaders.tryGetSingle('Cookie');
|
|
16
|
-
if (isUndefined(cookie)) {
|
|
19
|
+
if ((0, type_guards_1.isUndefined)(cookie)) {
|
|
17
20
|
return new Map();
|
|
18
21
|
}
|
|
19
22
|
const entries = cookie.split(';')
|
|
@@ -27,4 +30,5 @@ export class CookieParser {
|
|
|
27
30
|
return new Map(entries);
|
|
28
31
|
}
|
|
29
32
|
}
|
|
33
|
+
exports.CookieParser = CookieParser;
|
|
30
34
|
//# sourceMappingURL=cookie-parser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cookie-parser.js","sourceRoot":"","sources":["../../source/http/cookie-parser.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"cookie-parser.js","sourceRoot":"","sources":["../../source/http/cookie-parser.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAC5D,sDAAkD;AAGlD,MAAa,YAAY;IAIvB,YAAY,WAAwB;QAClC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAA,4BAAY,EAAC,IAAW,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,GAAG,CAAC,IAAY;QACd,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IAED,GAAG,CAAC,IAAY;QACd,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IAEO,YAAY;QAClB,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,QAAQ,CAAuB,CAAC;QAE7E,IAAI,IAAA,yBAAW,EAAC,MAAM,CAAC,EAAE;YACvB,OAAO,IAAI,GAAG,EAAE,CAAC;SAClB;QAED,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC;aAC9B,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;aAC5B,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;YACb,MAAM,WAAW,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;YAEvC,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;YACzC,MAAM,WAAW,GAAG,KAAK,CAAC,KAAK,CAAC,WAAW,GAAG,CAAC,CAAC,CAAC;YAEjD,OAAO,CAAC,IAAI,EAAE,WAAW,CAAU,CAAC;QACtC,CAAC,CAAC,CAAC;QAEL,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC;IAC1B,CAAC;CACF;AAtCD,oCAsCC"}
|
package/http/http-form.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { HttpValueMapInput } from './http-value-map
|
|
2
|
-
import { HttpValueMap } from './http-value-map
|
|
3
|
-
import type { HttpValueObject, NormalizedHttpValueObject } from './types
|
|
1
|
+
import type { HttpValueMapInput } from './http-value-map';
|
|
2
|
+
import { HttpValueMap } from './http-value-map';
|
|
3
|
+
import type { HttpValueObject, NormalizedHttpValueObject } from './types';
|
|
4
4
|
export declare type HttpFormObject = HttpValueObject;
|
|
5
5
|
export declare type NormalizedHttpFormObject = NormalizedHttpValueObject;
|
|
6
6
|
export declare class HttpForm extends HttpValueMap<HttpForm> {
|
package/http/http-form.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HttpForm = void 0;
|
|
4
|
+
const http_value_map_1 = require("./http-value-map");
|
|
5
|
+
class HttpForm extends http_value_map_1.HttpValueMap {
|
|
3
6
|
constructor(input) {
|
|
4
7
|
super('form', false, input);
|
|
5
8
|
}
|
|
@@ -14,4 +17,5 @@ export class HttpForm extends HttpValueMap {
|
|
|
14
17
|
return new HttpForm(this);
|
|
15
18
|
}
|
|
16
19
|
}
|
|
20
|
+
exports.HttpForm = HttpForm;
|
|
17
21
|
//# sourceMappingURL=http-form.js.map
|
package/http/http-form.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-form.js","sourceRoot":"","sources":["../../source/http/http-form.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"http-form.js","sourceRoot":"","sources":["../../source/http/http-form.ts"],"names":[],"mappings":";;;AACA,qDAAgD;AAOhD,MAAa,QAAS,SAAQ,6BAAsB;IAClD,YAAY,KAAyB;QACnC,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC9B,CAAC;IAED,MAAM,CAAC,mBAAmB,CAAC,eAAgC;QACzD,MAAM,KAAK,GAAG,IAAI,QAAQ,EAAE,CAAC;QAE7B,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,eAAe,EAAE;YAC1C,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;SAC1B;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED,KAAK;QACH,OAAO,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;CACF;AAlBD,4BAkBC"}
|
package/http/http-headers.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { HttpValueMapInput } from './http-value-map
|
|
2
|
-
import { HttpValueMap } from './http-value-map
|
|
3
|
-
import type { HttpValueObject, NormalizedHttpValueObject } from './types
|
|
1
|
+
import type { HttpValueMapInput } from './http-value-map';
|
|
2
|
+
import { HttpValueMap } from './http-value-map';
|
|
3
|
+
import type { HttpValueObject, NormalizedHttpValueObject } from './types';
|
|
4
4
|
export declare type HttpHeadersObject = HttpValueObject;
|
|
5
5
|
export declare type NormalizedHttpHeadersObject = NormalizedHttpValueObject;
|
|
6
6
|
export declare class HttpHeaders extends HttpValueMap<HttpHeaders> {
|
package/http/http-headers.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HttpHeaders = void 0;
|
|
4
|
+
const bad_request_error_1 = require("../error/bad-request.error");
|
|
5
|
+
const patterns_1 = require("../utils/patterns");
|
|
6
|
+
const type_guards_1 = require("../utils/type-guards");
|
|
7
|
+
const http_value_map_1 = require("./http-value-map");
|
|
8
|
+
class HttpHeaders extends http_value_map_1.HttpValueMap {
|
|
6
9
|
get accept() {
|
|
7
10
|
return this.getStringHeader('Accept');
|
|
8
11
|
}
|
|
@@ -36,7 +39,7 @@ export class HttpHeaders extends HttpValueMap {
|
|
|
36
39
|
/** get charset from {@link contentType} */
|
|
37
40
|
get charset() {
|
|
38
41
|
const contentType = this.contentType;
|
|
39
|
-
if (isUndefined(contentType)) {
|
|
42
|
+
if ((0, type_guards_1.isUndefined)(contentType)) {
|
|
40
43
|
return undefined;
|
|
41
44
|
}
|
|
42
45
|
const charset = contentType.split(';').find((value) => value.trim().startsWith('charset='));
|
|
@@ -50,33 +53,34 @@ export class HttpHeaders extends HttpValueMap {
|
|
|
50
53
|
}
|
|
51
54
|
getNumberHeader(name) {
|
|
52
55
|
const value = this.tryGet(name);
|
|
53
|
-
if (isNullOrUndefined(value)) {
|
|
56
|
+
if ((0, type_guards_1.isNullOrUndefined)(value)) {
|
|
54
57
|
return undefined;
|
|
55
58
|
}
|
|
56
|
-
if (isNumber(value)) {
|
|
59
|
+
if ((0, type_guards_1.isNumber)(value)) {
|
|
57
60
|
return value;
|
|
58
61
|
}
|
|
59
|
-
if (isString(value) && numberPattern.test(value)) {
|
|
62
|
+
if ((0, type_guards_1.isString)(value) && patterns_1.numberPattern.test(value)) {
|
|
60
63
|
const numberValue = Number(value);
|
|
61
64
|
if (Number.isNaN(numberValue)) {
|
|
62
|
-
throw new BadRequestError(`invalid ${name} header`);
|
|
65
|
+
throw new bad_request_error_1.BadRequestError(`invalid ${name} header`);
|
|
63
66
|
}
|
|
64
67
|
return numberValue;
|
|
65
68
|
}
|
|
66
|
-
if (isNotNumber(value)) {
|
|
67
|
-
throw new BadRequestError(`invalid ${name} header`);
|
|
69
|
+
if ((0, type_guards_1.isNotNumber)(value)) {
|
|
70
|
+
throw new bad_request_error_1.BadRequestError(`invalid ${name} header`);
|
|
68
71
|
}
|
|
69
72
|
return value;
|
|
70
73
|
}
|
|
71
74
|
getStringHeader(name) {
|
|
72
75
|
const value = this.tryGet(name);
|
|
73
|
-
if (isNullOrUndefined(value)) {
|
|
76
|
+
if ((0, type_guards_1.isNullOrUndefined)(value)) {
|
|
74
77
|
return undefined;
|
|
75
78
|
}
|
|
76
|
-
if (isNotString(value)) {
|
|
77
|
-
throw new BadRequestError(`invalid ${name} header`);
|
|
79
|
+
if ((0, type_guards_1.isNotString)(value)) {
|
|
80
|
+
throw new bad_request_error_1.BadRequestError(`invalid ${name} header`);
|
|
78
81
|
}
|
|
79
82
|
return value;
|
|
80
83
|
}
|
|
81
84
|
}
|
|
85
|
+
exports.HttpHeaders = HttpHeaders;
|
|
82
86
|
//# sourceMappingURL=http-headers.js.map
|
package/http/http-headers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-headers.js","sourceRoot":"","sources":["../../source/http/http-headers.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"http-headers.js","sourceRoot":"","sources":["../../source/http/http-headers.ts"],"names":[],"mappings":";;;AAAA,kEAA4D;AAC5D,gDAAiD;AACjD,sDAAmH;AAEnH,qDAAgD;AAOhD,MAAa,WAAY,SAAQ,6BAAyB;IACxD,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;IACxC,CAAC;IAED,IAAI,MAAM,CAAC,KAAyB;QAClC,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC;IAC9C,CAAC;IAED,IAAI,WAAW,CAAC,KAAyB;QACvC,IAAI,CAAC,GAAG,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;IAClC,CAAC;IAED,IAAI,aAAa;QACf,OAAO,IAAI,CAAC,eAAe,CAAC,gBAAgB,CAAC,CAAC;IAChD,CAAC;IAED,IAAI,aAAa,CAAC,KAAyB;QACzC,IAAI,CAAC,GAAG,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAC;IACpC,CAAC;IAED,IAAI,kBAAkB;QACpB,OAAO,IAAI,CAAC,eAAe,CAAC,qBAAqB,CAAC,CAAC;IACrD,CAAC;IAED,IAAI,kBAAkB,CAAC,KAAyB;QAC9C,IAAI,CAAC,GAAG,CAAC,qBAAqB,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;IAED,IAAI,eAAe;QACjB,OAAO,IAAI,CAAC,eAAe,CAAC,kBAAkB,CAAC,CAAC;IAClD,CAAC;IAED,IAAI,eAAe,CAAC,KAAyB;QAC3C,IAAI,CAAC,GAAG,CAAC,kBAAkB,EA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;YACtB,MAAM,IAAI,mCAAe,CAAC,WAAW,IAAI,SAAS,CAAC,CAAC;SACrD;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAEO,eAAe,CAAC,IAAY;QAClC,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAEhC,IAAI,IAAA,+BAAiB,EAAC,KAAK,CAAC,EAAE;YAC5B,OAAO,SAAS,CAAC;SAClB;QAED,IAAI,IAAA,yBAAW,EAAC,KAAK,CAAC,EAAE;YACtB,MAAM,IAAI,mCAAe,CAAC,WAAW,IAAI,SAAS,CAAC,CAAC;SACrD;QAED,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AAtGD,kCAsGC"}
|
package/http/http-query.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { HttpValueMapInput } from './http-value-map
|
|
2
|
-
import { HttpValueMap } from './http-value-map
|
|
3
|
-
import type { HttpValueObject, NormalizedHttpValueObject } from './types
|
|
1
|
+
import type { HttpValueMapInput } from './http-value-map';
|
|
2
|
+
import { HttpValueMap } from './http-value-map';
|
|
3
|
+
import type { HttpValueObject, NormalizedHttpValueObject } from './types';
|
|
4
4
|
export declare type HttpQueryObject = HttpValueObject;
|
|
5
5
|
export declare type NormalizedHttpQueryObject = NormalizedHttpValueObject;
|
|
6
6
|
export declare class HttpQuery extends HttpValueMap<HttpQuery> {
|