@tstdl/base 0.81.5 → 0.81.7
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/api/client/client.d.ts +6 -6
- package/api/client/client.js +4 -4
- package/api/client/client.js.map +1 -1
- package/api/default-error-handlers.d.ts +2 -2
- package/api/default-error-handlers.js +1 -1
- package/api/default-error-handlers.js.map +1 -1
- package/api/response.d.ts +8 -8
- package/api/response.js +1 -1
- package/api/response.js.map +1 -1
- package/api/server/api-controller.d.ts +3 -3
- package/api/server/api-controller.js +3 -3
- package/api/server/api-controller.js.map +1 -1
- package/api/server/error-handler.d.ts +3 -3
- package/api/server/error-handler.js +2 -2
- package/api/server/error-handler.js.map +1 -1
- package/api/server/gateway.d.ts +17 -17
- package/api/server/gateway.js +12 -12
- package/api/server/gateway.js.map +1 -1
- package/api/server/middlewares/allowed-methods.middleware.d.ts +3 -3
- package/api/server/middlewares/allowed-methods.middleware.js +3 -3
- package/api/server/middlewares/allowed-methods.middleware.js.map +1 -1
- package/api/server/middlewares/catch-error.middleware.d.ts +2 -2
- package/api/server/middlewares/cors.middleware.d.ts +2 -2
- package/api/server/middlewares/cors.middleware.js +2 -2
- package/api/server/middlewares/cors.middleware.js.map +1 -1
- package/api/server/middlewares/response-time.middleware.d.ts +1 -1
- package/api/server/middlewares/response-time.middleware.js +2 -2
- package/api/server/middlewares/response-time.middleware.js.map +1 -1
- package/api/server/module.d.ts +2 -2
- package/api/server/module.js +2 -2
- package/api/server/module.js.map +1 -1
- package/api/server/tokens.d.ts +1 -1
- package/api/server/tokens.js +1 -1
- package/api/server/tokens.js.map +1 -1
- package/api/types.d.ts +34 -34
- package/api/types.js +2 -2
- package/api/types.js.map +1 -1
- package/api/utils.d.ts +1 -1
- package/api/utils.js +3 -3
- package/api/utils.js.map +1 -1
- package/application/application.d.ts +5 -5
- package/application/application.js +19 -19
- package/application/application.js.map +1 -1
- package/collections/awaitable/awaitable-list.js +6 -6
- package/collections/awaitable/awaitable-list.js.map +1 -1
- package/collections/awaitable/awaitable-map.js +7 -7
- package/collections/awaitable/awaitable-map.js.map +1 -1
- package/collections/awaitable/awaitable-set.js +7 -7
- package/collections/awaitable/awaitable-set.js.map +1 -1
- package/collections/keyed-set.d.ts +1 -1
- package/collections/observable/observable-array.js +4 -4
- package/collections/observable/observable-array.js.map +1 -1
- package/collections/observable/observable-collection-base.js +9 -9
- package/collections/observable/observable-collection-base.js.map +1 -1
- package/collections/observable/observable-collection.d.ts +1 -1
- package/collections/observable/observable-list-base.js +6 -6
- package/collections/observable/observable-list-base.js.map +1 -1
- package/collections/observable/observable-list.d.ts +2 -2
- package/collections/observable/observable-map.js +5 -5
- package/collections/observable/observable-map.js.map +1 -1
- package/collections/observable/observable-set.js +5 -5
- package/collections/observable/observable-set.js.map +1 -1
- package/collections/observable/observable-sorted-array-list.d.ts +1 -1
- package/collections/observable/observable-sorted-array-list.js +8 -8
- package/collections/observable/observable-sorted-array-list.js.map +1 -1
- package/collections/sorted-array-list.d.ts +1 -1
- package/collections/sorted-array-list.js +5 -5
- package/collections/sorted-array-list.js.map +1 -1
- package/collections/sorted-map.js +4 -4
- package/collections/sorted-map.js.map +1 -1
- package/container/container.d.ts +4 -4
- package/container/container.js +12 -12
- package/container/container.js.map +1 -1
- package/container/decorators.d.ts +5 -5
- package/container/decorators.js +3 -3
- package/container/decorators.js.map +1 -1
- package/container/interfaces.d.ts +1 -1
- package/container/provider.d.ts +7 -7
- package/container/provider.js +1 -1
- package/container/provider.js.map +1 -1
- package/container/resolve-chain.d.ts +3 -3
- package/container/resolve-chain.js +5 -5
- package/container/resolve-chain.js.map +1 -1
- package/container/resolve.error.d.ts +1 -1
- package/container/resolve.error.js +2 -2
- package/container/resolve.error.js.map +1 -1
- package/container/token.d.ts +4 -4
- package/container/token.js +1 -1
- package/container/token.js.map +1 -1
- package/container/type-info.d.ts +1 -1
- package/container/types.d.ts +4 -4
- package/container/utils.d.ts +1 -1
- package/container/utils.js +1 -1
- package/container/utils.js.map +1 -1
- package/core.d.ts +1 -1
- package/css/theme/theme.model.d.ts +2 -2
- package/css/theme/theme.service.js +4 -4
- package/css/theme/theme.service.js.map +1 -1
- package/data-structures/array-list.d.ts +1 -1
- package/data-structures/circular-buffer.d.ts +1 -1
- package/data-structures/circular-buffer.js +14 -14
- package/data-structures/circular-buffer.js.map +1 -1
- package/data-structures/collection.d.ts +1 -1
- package/data-structures/collection.js +13 -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 +2 -2
- package/data-structures/index-out-of-bounds.error.js.map +1 -1
- package/data-structures/iterable-weak-map.js +11 -11
- package/data-structures/iterable-weak-map.js.map +1 -1
- package/data-structures/linked-list.d.ts +4 -4
- package/data-structures/linked-list.js +8 -8
- package/data-structures/linked-list.js.map +1 -1
- package/data-structures/list.d.ts +1 -1
- package/data-structures/list.js +1 -1
- package/data-structures/list.js.map +1 -1
- package/data-structures/multi-key-map.d.ts +2 -2
- package/data-structures/multi-key-map.js +2 -2
- package/data-structures/multi-key-map.js.map +1 -1
- package/data-structures/sorted-array-list.d.ts +5 -5
- package/data-structures/sorted-array-list.js +5 -5
- package/data-structures/sorted-array-list.js.map +1 -1
- package/data-structures/weak-ref-map.js +8 -8
- package/data-structures/weak-ref-map.js.map +1 -1
- package/database/entity-repository.d.ts +2 -2
- package/database/entity.d.ts +3 -3
- package/database/id.js +1 -1
- package/database/id.js.map +1 -1
- package/database/module.d.ts +1 -1
- package/database/module.js +1 -1
- package/database/module.js.map +1 -1
- package/database/mongo/classes.d.ts +6 -6
- package/database/mongo/classes.js +1 -1
- package/database/mongo/classes.js.map +1 -1
- package/database/mongo/model/document.d.ts +4 -4
- package/database/mongo/model/document.js +2 -2
- package/database/mongo/model/document.js.map +1 -1
- package/database/mongo/module.d.ts +1 -1
- package/database/mongo/module.js +4 -4
- package/database/mongo/module.js.map +1 -1
- package/database/mongo/mongo-base.repository.d.ts +13 -13
- package/database/mongo/mongo-base.repository.js +4 -4
- package/database/mongo/mongo-base.repository.js.map +1 -1
- package/database/mongo/mongo-bulk.d.ts +2 -2
- package/database/mongo/mongo-entity-repository.d.ts +12 -12
- package/database/mongo/mongo-entity-repository.js +6 -6
- package/database/mongo/mongo-entity-repository.js.map +1 -1
- package/database/mongo/operations.d.ts +1 -1
- package/database/mongo/query-converter.d.ts +2 -2
- package/database/mongo/query-converter.js +3 -3
- package/database/mongo/query-converter.js.map +1 -1
- package/database/mongo/simple-entity-repository.d.ts +2 -2
- package/database/mongo/types.d.ts +18 -18
- package/database/query.d.ts +40 -40
- package/disposable/async-disposer.d.ts +3 -3
- package/disposable/async-disposer.js +10 -10
- package/disposable/async-disposer.js.map +1 -1
- package/disposable/disposable.js +1 -1
- package/disposable/disposable.js.map +1 -1
- package/distributed-loop/distributed-loop.d.ts +6 -6
- package/distributed-loop/distributed-loop.js +6 -6
- package/distributed-loop/distributed-loop.js.map +1 -1
- package/distributed-loop/provider.d.ts +1 -1
- package/distributed-loop/provider.js +2 -2
- package/distributed-loop/provider.js.map +1 -1
- package/enumerable/async-enumerable.d.ts +3 -3
- package/enumerable/async-enumerable.js +2 -2
- package/enumerable/async-enumerable.js.map +1 -1
- package/enumerable/enumerable.d.ts +2 -2
- package/error/custom.error.d.ts +1 -1
- package/error/not-supported.error.d.ts +1 -1
- package/error/not-supported.error.js +1 -1
- package/error/not-supported.error.js.map +1 -1
- package/examples/api/basic-overview.js +11 -11
- package/examples/api/basic-overview.js.map +1 -1
- package/examples/api/streaming.js +14 -14
- package/examples/api/streaming.js.map +1 -1
- package/examples/http/client.js +3 -3
- package/examples/http/client.js.map +1 -1
- package/examples/mail/basic.js +9 -9
- package/examples/mail/basic.js.map +1 -1
- package/examples/mail/templates/hello-name.d.ts +1 -1
- package/examples/mail/templates/hello-name.js +2 -2
- package/examples/mail/templates/hello-name.js.map +1 -1
- package/examples/pdf/basic.js +9 -9
- package/examples/pdf/basic.js.map +1 -1
- package/examples/pdf/templates/hello-name.d.ts +1 -1
- package/examples/pdf/templates/hello-name.js +3 -3
- package/examples/pdf/templates/hello-name.js.map +1 -1
- package/examples/reflection/basic.d.ts +1 -1
- package/examples/reflection/basic.js +4 -4
- package/examples/reflection/basic.js.map +1 -1
- package/examples/template/basic.js +7 -7
- package/examples/template/basic.js.map +1 -1
- package/examples/template/templates/hello-name.d.ts +1 -1
- package/examples/template/templates/hello-name.js +3 -3
- package/examples/template/templates/hello-name.js.map +1 -1
- package/http/client/adapters/undici-http-client.adapter.d.ts +1 -1
- package/http/client/adapters/undici-http-client.adapter.js +4 -4
- package/http/client/adapters/undici-http-client.adapter.js.map +1 -1
- package/http/client/http-client-request.d.ts +9 -9
- package/http/client/http-client-request.js +10 -10
- package/http/client/http-client-request.js.map +1 -1
- package/http/client/http-client-response.d.ts +3 -3
- package/http/client/http-client-response.js +3 -3
- package/http/client/http-client-response.js.map +1 -1
- package/http/client/http-client.d.ts +10 -10
- package/http/client/http-client.js +10 -10
- package/http/client/http-client.js.map +1 -1
- package/http/cookie-parser.js +2 -2
- package/http/cookie-parser.js.map +1 -1
- package/http/http-body.d.ts +3 -3
- package/http/http-body.js +5 -5
- package/http/http-body.js.map +1 -1
- package/http/http-form.d.ts +2 -2
- package/http/http-headers.d.ts +3 -3
- package/http/http-headers.js +3 -3
- package/http/http-headers.js.map +1 -1
- package/http/http-query.d.ts +2 -2
- package/http/http-url-parameters.d.ts +2 -2
- package/http/http-value-map.d.ts +2 -2
- package/http/http-value-map.js +5 -5
- package/http/http-value-map.js.map +1 -1
- package/http/http.error.d.ts +2 -2
- package/http/http.error.js +2 -2
- package/http/http.error.js.map +1 -1
- package/http/server/http-server-request.d.ts +2 -2
- package/http/server/http-server-request.js +3 -3
- package/http/server/http-server-request.js.map +1 -1
- package/http/server/http-server-response.d.ts +3 -3
- package/http/server/http-server.d.ts +4 -4
- package/http/server/http-server.js +1 -1
- package/http/server/http-server.js.map +1 -1
- package/http/server/node/module.js +1 -1
- package/http/server/node/module.js.map +1 -1
- package/http/server/node/node-http-server.d.ts +6 -6
- package/http/server/node/node-http-server.js +16 -16
- package/http/server/node/node-http-server.js.map +1 -1
- package/http/types.d.ts +6 -6
- package/http/types.js +1 -1
- package/http/types.js.map +1 -1
- package/http/utils.d.ts +5 -5
- package/http/utils.js +10 -10
- package/http/utils.js.map +1 -1
- package/image-service/image-service.js +1 -1
- package/image-service/image-service.js.map +1 -1
- package/image-service/imgproxy/imgproxy-image-service.d.ts +4 -4
- package/image-service/imgproxy/imgproxy-image-service.js +6 -6
- package/image-service/imgproxy/imgproxy-image-service.js.map +1 -1
- package/json-path/json-path.d.ts +4 -4
- package/json-path/json-path.js +17 -17
- package/json-path/json-path.js.map +1 -1
- package/key-value-store/key-value.store.d.ts +3 -3
- package/key-value-store/key-value.store.js +1 -1
- package/key-value-store/key-value.store.js.map +1 -1
- package/key-value-store/mongo/module.d.ts +2 -2
- package/key-value-store/mongo/module.js +1 -1
- package/key-value-store/mongo/module.js.map +1 -1
- package/key-value-store/mongo/mongo-key-value-store.provider.d.ts +2 -2
- package/key-value-store/mongo/mongo-key-value-store.provider.js +1 -1
- 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 +2 -2
- package/key-value-store/mongo/mongo-key-value.repository.d.ts +5 -5
- package/key-value-store/mongo/mongo-key-value.repository.js +3 -3
- package/key-value-store/mongo/mongo-key-value.repository.js.map +1 -1
- package/key-value-store/mongo/mongo-key-value.store.d.ts +2 -2
- package/key-value-store/mongo/mongo-key-value.store.js +6 -6
- package/key-value-store/mongo/mongo-key-value.store.js.map +1 -1
- package/lock/lock.d.ts +6 -6
- package/lock/lock.js +1 -1
- package/lock/lock.js.map +1 -1
- package/lock/mongo/lock.d.ts +3 -3
- package/lock/mongo/lock.js +10 -10
- package/lock/mongo/lock.js.map +1 -1
- package/lock/mongo/model.d.ts +2 -2
- package/lock/mongo/module.d.ts +2 -2
- package/lock/mongo/module.js +1 -1
- package/lock/mongo/module.js.map +1 -1
- package/lock/mongo/mongo-lock-repository.d.ts +5 -5
- package/lock/mongo/mongo-lock-repository.js +5 -5
- package/lock/mongo/mongo-lock-repository.js.map +1 -1
- package/lock/mongo/provider.d.ts +3 -3
- package/lock/mongo/provider.js +4 -4
- package/lock/mongo/provider.js.map +1 -1
- package/lock/provider.d.ts +3 -3
- package/lock/provider.js +1 -1
- package/lock/provider.js.map +1 -1
- package/logger/console/logger.js +4 -4
- package/logger/console/logger.js.map +1 -1
- package/logger/logger.d.ts +8 -8
- package/logger/logger.js +3 -3
- package/logger/logger.js.map +1 -1
- package/mail/clients/nodemailer.mail-client.js +2 -2
- package/mail/clients/nodemailer.mail-client.js.map +1 -1
- package/mail/mail-log.repository.d.ts +1 -1
- package/mail/mail-log.repository.js +1 -1
- package/mail/mail-log.repository.js.map +1 -1
- package/mail/mail.client.d.ts +3 -3
- package/mail/mail.client.js +1 -1
- package/mail/mail.client.js.map +1 -1
- package/mail/mail.service.d.ts +3 -3
- package/mail/mail.service.js +6 -6
- package/mail/mail.service.js.map +1 -1
- package/mail/models/mail-address.model.d.ts +1 -1
- package/mail/models/mail-content.model.d.ts +1 -1
- package/mail/models/mail-data.model.d.ts +2 -2
- package/mail/models/mail-log.model.d.ts +3 -3
- package/mail/models/mail-send-result.model.d.ts +1 -1
- package/mail/models/mail-template.model.d.ts +2 -2
- package/mail/module.d.ts +2 -2
- package/mail/module.js +2 -2
- package/mail/module.js.map +1 -1
- package/mail/repositories/mongo-mail-log.repository.d.ts +7 -7
- package/mail/repositories/mongo-mail-log.repository.js +3 -3
- package/mail/repositories/mongo-mail-log.repository.js.map +1 -1
- package/mail/tokens.d.ts +1 -1
- package/mail/tokens.js +1 -1
- package/mail/tokens.js.map +1 -1
- package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.d.ts +1 -1
- package/message-bus/broadcast-channel/broadcast-channel-message-bus.d.ts +1 -1
- package/message-bus/broadcast-channel/broadcast-channel-message-bus.js +5 -5
- package/message-bus/broadcast-channel/broadcast-channel-message-bus.js.map +1 -1
- package/message-bus/local/local-message-bus-provider.d.ts +1 -1
- package/message-bus/local/local-message-bus-provider.js +5 -5
- package/message-bus/local/local-message-bus-provider.js.map +1 -1
- package/message-bus/local/local-message-bus.d.ts +1 -1
- package/message-bus/local/local-message-bus.js +3 -3
- package/message-bus/local/local-message-bus.js.map +1 -1
- package/message-bus/local/types.d.ts +1 -1
- package/message-bus/message-bus-base.d.ts +1 -1
- package/message-bus/message-bus.d.ts +3 -3
- package/message-bus/message-bus.js +1 -1
- package/message-bus/message-bus.js.map +1 -1
- package/migration/migration-state-repository.d.ts +1 -1
- package/migration/migration-state-repository.js +1 -1
- package/migration/migration-state-repository.js.map +1 -1
- package/migration/migration-state.d.ts +3 -3
- package/migration/migrator.d.ts +6 -6
- package/migration/migrator.js +9 -9
- package/migration/migrator.js.map +1 -1
- package/migration/mongo/migration-state-repository.d.ts +4 -4
- package/migration/mongo/migration-state-repository.js +2 -2
- package/migration/mongo/migration-state-repository.js.map +1 -1
- package/migration/mongo/module.d.ts +3 -3
- package/migration/mongo/module.js +2 -2
- package/migration/mongo/module.js.map +1 -1
- package/module/module-base.d.ts +3 -3
- package/module/module-base.js +7 -7
- package/module/module-base.js.map +1 -1
- package/module/module-metric-reporter.d.ts +5 -5
- package/module/module-metric-reporter.js +3 -3
- package/module/module-metric-reporter.js.map +1 -1
- package/module/module.d.ts +2 -2
- package/module/modules/function.module.d.ts +2 -2
- package/module/modules/web-server.module.d.ts +7 -7
- package/module/modules/web-server.module.js +4 -4
- package/module/modules/web-server.module.js.map +1 -1
- package/module/utils.d.ts +1 -1
- package/notification/api.d.ts +4 -4
- package/notification/api.js +3 -3
- package/notification/api.js.map +1 -1
- package/notification/model.js +1 -1
- package/notification/model.js.map +1 -1
- package/notification/module.d.ts +1 -1
- package/object-storage/object-storage.d.ts +3 -3
- package/object-storage/object-storage.js +1 -1
- package/object-storage/object-storage.js.map +1 -1
- package/object-storage/object.d.ts +2 -2
- package/object-storage/s3/s3.object-storage-provider.d.ts +3 -3
- package/object-storage/s3/s3.object-storage-provider.js +3 -3
- package/object-storage/s3/s3.object-storage-provider.js.map +1 -1
- package/object-storage/s3/s3.object-storage.d.ts +2 -2
- package/object-storage/s3/s3.object-storage.js +6 -6
- package/object-storage/s3/s3.object-storage.js.map +1 -1
- package/object-storage/s3/s3.object.d.ts +3 -3
- package/openid-connect/cached-oidc-configuration.service.d.ts +1 -1
- package/openid-connect/cached-oidc-configuration.service.js +5 -5
- package/openid-connect/cached-oidc-configuration.service.js.map +1 -1
- package/openid-connect/index.js +1 -1
- package/openid-connect/index.js.map +1 -1
- package/openid-connect/mongo-oidc-state.repository.d.ts +7 -7
- package/openid-connect/mongo-oidc-state.repository.js +3 -3
- package/openid-connect/mongo-oidc-state.repository.js.map +1 -1
- package/openid-connect/oidc-configuration.service.d.ts +2 -2
- package/openid-connect/oidc-configuration.service.js +3 -3
- package/openid-connect/oidc-configuration.service.js.map +1 -1
- package/openid-connect/oidc-state.model.d.ts +3 -3
- package/openid-connect/oidc-state.repository.d.ts +1 -1
- package/openid-connect/oidc-state.repository.js +1 -1
- package/openid-connect/oidc-state.repository.js.map +1 -1
- package/openid-connect/oidc.service-model.d.ts +8 -8
- package/openid-connect/oidc.service.d.ts +1 -1
- package/openid-connect/oidc.service.js +14 -14
- package/openid-connect/oidc.service.js.map +1 -1
- package/orm/sql/sql-repository.js +1 -1
- package/orm/sql/sql-repository.js.map +1 -1
- package/orm/test.js +1 -1
- package/orm/test.js.map +1 -1
- package/orm/types.d.ts +5 -5
- package/orm/types.js +6 -6
- package/orm/types.js.map +1 -1
- package/package.json +3 -3
- package/pdf/pdf.service.d.ts +8 -8
- package/pdf/pdf.service.js +13 -13
- package/pdf/pdf.service.js.map +1 -1
- package/pool/pool.d.ts +7 -7
- package/pool/pool.js +7 -7
- package/pool/pool.js.map +1 -1
- package/process-shutdown.d.ts +2 -2
- package/process-shutdown.js +2 -2
- package/promise/cancelable-promise.d.ts +1 -1
- package/promise/deferred-promise.js +7 -7
- package/promise/deferred-promise.js.map +1 -1
- package/promise/lazy-promise.d.ts +1 -1
- package/promise/lazy-promise.js +2 -2
- package/promise/lazy-promise.js.map +1 -1
- package/queue/mongo/job.d.ts +5 -5
- package/queue/mongo/mongo-job.repository.d.ts +6 -6
- package/queue/mongo/mongo-job.repository.js +5 -5
- package/queue/mongo/mongo-job.repository.js.map +1 -1
- package/queue/mongo/queue.d.ts +5 -5
- package/queue/mongo/queue.js +12 -12
- package/queue/mongo/queue.js.map +1 -1
- package/queue/mongo/queue.provider.d.ts +7 -7
- package/queue/mongo/queue.provider.js +4 -4
- package/queue/mongo/queue.provider.js.map +1 -1
- package/queue/queue.d.ts +8 -8
- package/queue/queue.js +2 -2
- package/queue/queue.js.map +1 -1
- package/reflection/decorator-data.js +1 -1
- package/reflection/decorator-data.js.map +1 -1
- package/reflection/decorators.js +1 -1
- package/reflection/decorators.js.map +1 -1
- package/reflection/reflection-data-map.d.ts +1 -1
- package/reflection/reflection-data-map.js +3 -3
- package/reflection/reflection-data-map.js.map +1 -1
- package/reflection/registry.d.ts +10 -10
- package/reflection/registry.js +4 -4
- package/reflection/registry.js.map +1 -1
- package/reflection/types.d.ts +33 -33
- package/reflection/utils.d.ts +6 -6
- package/reflection/utils.js +3 -3
- package/reflection/utils.js.map +1 -1
- package/rpc/endpoints/message-port.rpc-endpoint.d.ts +3 -3
- package/rpc/endpoints/message-port.rpc-endpoint.js +1 -1
- package/rpc/endpoints/message-port.rpc-endpoint.js.map +1 -1
- package/rpc/model.d.ts +24 -24
- package/rpc/model.js +1 -1
- package/rpc/model.js.map +1 -1
- package/rpc/rpc-error.d.ts +1 -1
- package/rpc/rpc-error.js +3 -3
- package/rpc/rpc-error.js.map +1 -1
- package/rpc/rpc.d.ts +2 -2
- package/rpc/rpc.js +7 -7
- package/rpc/rpc.js.map +1 -1
- package/rxjs/intersection-observer.d.ts +1 -1
- package/rxjs/intersection-observer.js +2 -2
- package/rxjs/intersection-observer.js.map +1 -1
- package/rxjs/mutation-observer.d.ts +1 -1
- package/rxjs/mutation-observer.js +2 -2
- package/rxjs/mutation-observer.js.map +1 -1
- package/rxjs/performance-observer.d.ts +1 -1
- package/rxjs/performance-observer.js +2 -2
- package/rxjs/performance-observer.js.map +1 -1
- package/rxjs/resize-observer.d.ts +1 -1
- package/rxjs/resize-observer.js +2 -2
- package/rxjs/resize-observer.js.map +1 -1
- package/rxjs/retry-backoff.d.ts +1 -1
- package/rxjs/retry-backoff.js +1 -1
- package/rxjs/retry-backoff.js.map +1 -1
- package/rxjs/slow-array.d.ts +1 -1
- package/rxjs/touch.d.ts +1 -1
- package/schema/array-constraints/maximum-length.d.ts +2 -2
- package/schema/array-constraints/minimum-length.d.ts +2 -2
- package/schema/coercers/boolean.coercer.d.ts +1 -1
- package/schema/coercers/boolean.coercer.js +1 -1
- package/schema/coercers/boolean.coercer.js.map +1 -1
- package/schema/coercers/date.coercer.d.ts +1 -1
- package/schema/coercers/date.coercer.js +1 -1
- package/schema/coercers/date.coercer.js.map +1 -1
- package/schema/coercers/number.coercer.d.ts +1 -1
- package/schema/coercers/regexp.coercer.d.ts +1 -1
- package/schema/coercers/string.coercer.d.ts +1 -1
- package/schema/coercers/string.coercer.js +1 -1
- package/schema/coercers/string.coercer.js.map +1 -1
- package/schema/coercers/uint8-array.coercer.d.ts +1 -1
- package/schema/constraints/enumeration.d.ts +2 -2
- package/schema/constraints/enumeration.js +3 -3
- package/schema/constraints/enumeration.js.map +1 -1
- package/schema/constraints/generic.d.ts +4 -4
- package/schema/constraints/generic.js +1 -1
- package/schema/constraints/generic.js.map +1 -1
- package/schema/constraints/integer.d.ts +2 -2
- package/schema/constraints/length.d.ts +2 -2
- package/schema/constraints/length.js +1 -1
- package/schema/constraints/length.js.map +1 -1
- package/schema/constraints/literal.d.ts +1 -1
- package/schema/constraints/literal.js +1 -1
- package/schema/constraints/literal.js.map +1 -1
- package/schema/constraints/maximum-date.d.ts +2 -2
- package/schema/constraints/maximum-date.js +1 -1
- package/schema/constraints/maximum-date.js.map +1 -1
- package/schema/constraints/maximum-length.d.ts +2 -2
- package/schema/constraints/maximum-length.js +1 -1
- package/schema/constraints/maximum-length.js.map +1 -1
- package/schema/constraints/maximum.d.ts +2 -2
- package/schema/constraints/minimum-date.d.ts +2 -2
- package/schema/constraints/minimum-date.js +1 -1
- package/schema/constraints/minimum-date.js.map +1 -1
- package/schema/constraints/minimum-length.d.ts +2 -2
- package/schema/constraints/minimum-length.js +1 -1
- package/schema/constraints/minimum-length.js.map +1 -1
- package/schema/constraints/minimum.d.ts +2 -2
- package/schema/constraints/pattern.d.ts +2 -2
- package/schema/decorators/class.d.ts +1 -1
- package/schema/decorators/class.js +1 -1
- package/schema/decorators/class.js.map +1 -1
- package/schema/decorators/coerce.d.ts +1 -1
- package/schema/decorators/constraint.d.ts +2 -2
- package/schema/decorators/property.d.ts +2 -2
- package/schema/decorators/property.js +2 -2
- package/schema/decorators/property.js.map +1 -1
- package/schema/decorators/types.d.ts +4 -4
- package/schema/decorators/utils.d.ts +2 -2
- package/schema/decorators/utils.js +5 -5
- package/schema/decorators/utils.js.map +1 -1
- package/schema/schema.d.ts +4 -4
- package/schema/schema.error.d.ts +6 -6
- package/schema/schema.error.js +3 -3
- package/schema/schema.error.js.map +1 -1
- package/schema/schema.js +6 -6
- package/schema/schema.js.map +1 -1
- package/schema/schemas/any.d.ts +2 -2
- package/schema/schemas/array.d.ts +3 -3
- package/schema/schemas/array.js +2 -2
- package/schema/schemas/array.js.map +1 -1
- package/schema/schemas/assign.d.ts +1 -1
- package/schema/schemas/assign.js +2 -2
- package/schema/schemas/assign.js.map +1 -1
- package/schema/schemas/boolean.d.ts +2 -2
- package/schema/schemas/constraint.d.ts +1 -1
- package/schema/schemas/date.d.ts +2 -2
- package/schema/schemas/date.js +2 -2
- package/schema/schemas/date.js.map +1 -1
- package/schema/schemas/defaulted.d.ts +2 -2
- package/schema/schemas/enumeration.d.ts +3 -3
- package/schema/schemas/enumeration.js +1 -1
- package/schema/schemas/enumeration.js.map +1 -1
- package/schema/schemas/instance.d.ts +1 -1
- package/schema/schemas/literal.d.ts +2 -2
- package/schema/schemas/literal.js +1 -1
- package/schema/schemas/literal.js.map +1 -1
- package/schema/schemas/nullable.d.ts +2 -2
- package/schema/schemas/number.d.ts +2 -2
- package/schema/schemas/number.js +2 -2
- package/schema/schemas/number.js.map +1 -1
- package/schema/schemas/object.d.ts +2 -2
- package/schema/schemas/omit.d.ts +1 -1
- package/schema/schemas/omit.js +2 -2
- package/schema/schemas/omit.js.map +1 -1
- package/schema/schemas/one-or-many.d.ts +4 -4
- package/schema/schemas/one-or-many.js +1 -1
- package/schema/schemas/one-or-many.js.map +1 -1
- package/schema/schemas/optional.d.ts +3 -3
- package/schema/schemas/partial.d.ts +1 -1
- package/schema/schemas/partial.js +3 -3
- package/schema/schemas/partial.js.map +1 -1
- package/schema/schemas/pick.d.ts +1 -1
- package/schema/schemas/pick.js +2 -2
- package/schema/schemas/pick.js.map +1 -1
- package/schema/schemas/readable-stream.d.ts +2 -2
- package/schema/schemas/record.d.ts +2 -2
- package/schema/schemas/regexp.d.ts +2 -2
- package/schema/schemas/string.d.ts +2 -2
- package/schema/schemas/string.js +2 -2
- package/schema/schemas/string.js.map +1 -1
- package/schema/schemas/transform.d.ts +1 -1
- package/schema/schemas/uint8-array.d.ts +2 -2
- package/schema/schemas/uint8-array.js +2 -2
- package/schema/schemas/uint8-array.js.map +1 -1
- package/schema/schemas/union.d.ts +2 -2
- package/schema/schemas/union.js +1 -1
- package/schema/schemas/union.js.map +1 -1
- package/schema/schemas/unknown.d.ts +2 -2
- package/schema/transformers/generic.d.ts +3 -3
- package/schema/transformers/lowercase.d.ts +1 -1
- package/schema/transformers/trim.d.ts +1 -1
- package/schema/transformers/uppercase.d.ts +1 -1
- package/schema/types.d.ts +33 -33
- package/schema/types.js +2 -2
- package/schema/types.js.map +1 -1
- package/schema/utils/schema.d.ts +1 -1
- package/schema/utils/schema.js +5 -5
- package/schema/utils/schema.js.map +1 -1
- package/schema/utils/value-type.d.ts +1 -1
- package/schema/utils/value-type.js +2 -2
- package/schema/utils/value-type.js.map +1 -1
- package/search-index/elastic/config.d.ts +4 -4
- package/search-index/elastic/config.js +2 -2
- package/search-index/elastic/config.js.map +1 -1
- package/search-index/elastic/model/elastic-query.d.ts +15 -15
- package/search-index/elastic/model/index-mapping.d.ts +16 -16
- package/search-index/elastic/model/index-mapping.js +1 -1
- package/search-index/elastic/model/index-mapping.js.map +1 -1
- package/search-index/elastic/model/sort.d.ts +4 -4
- package/search-index/elastic/module.d.ts +3 -3
- package/search-index/elastic/module.js +4 -4
- package/search-index/elastic/module.js.map +1 -1
- package/search-index/elastic/query-builder/boolean-query-builder.js +3 -3
- package/search-index/elastic/query-builder/boolean-query-builder.js.map +1 -1
- package/search-index/elastic/query-converter.d.ts +2 -2
- package/search-index/elastic/query-converter.js +2 -2
- package/search-index/elastic/query-converter.js.map +1 -1
- package/search-index/elastic/search-index.d.ts +6 -6
- package/search-index/elastic/search-index.js +8 -8
- package/search-index/elastic/search-index.js.map +1 -1
- package/search-index/elastic/sort-converter.d.ts +1 -1
- package/search-index/error.d.ts +1 -1
- package/search-index/error.js +2 -2
- package/search-index/error.js.map +1 -1
- package/search-index/memory/memory-search-index.d.ts +1 -1
- package/search-index/memory/memory-search-index.js +7 -7
- package/search-index/memory/memory-search-index.js.map +1 -1
- package/search-index/search-index.d.ts +3 -3
- package/search-index/search-index.js +1 -1
- package/search-index/search-index.js.map +1 -1
- package/search-index/search-result.d.ts +3 -3
- package/serializer/handlers/binary.d.ts +2 -2
- package/serializer/handlers/binary.js +1 -1
- package/serializer/handlers/binary.js.map +1 -1
- package/serializer/handlers/error.d.ts +1 -1
- package/serializer/handlers/map.d.ts +1 -1
- package/serializer/handlers/regex.d.ts +1 -1
- package/serializer/handlers/register.js +2 -2
- package/serializer/handlers/register.js.map +1 -1
- package/serializer/handlers/set.d.ts +1 -1
- package/serializer/serializable.d.ts +7 -7
- package/serializer/serializable.js +1 -1
- package/serializer/serializable.js.map +1 -1
- package/serializer/serializer.d.ts +2 -2
- package/serializer/serializer.js +6 -6
- package/serializer/serializer.js.map +1 -1
- package/serializer/types.d.ts +16 -16
- package/sse/server-sent-events.d.ts +3 -3
- package/sse/server-sent-events.js +7 -7
- package/sse/server-sent-events.js.map +1 -1
- package/tailwind/colors.d.ts +2 -2
- package/tailwind/colors.js +2 -2
- package/tailwind/colors.js.map +1 -1
- package/templates/module.d.ts +2 -2
- package/templates/module.js +1 -1
- package/templates/module.js.map +1 -1
- package/templates/providers/file.provider-template.d.ts +4 -4
- package/templates/providers/file.provider-template.js +4 -5
- package/templates/providers/file.provider-template.js.map +1 -1
- package/templates/providers/memory.template-provider.js +2 -2
- package/templates/providers/memory.template-provider.js.map +1 -1
- package/templates/renderers/handlebars.template-renderer.d.ts +10 -10
- package/templates/renderers/handlebars.template-renderer.js +4 -4
- package/templates/renderers/handlebars.template-renderer.js.map +1 -1
- package/templates/renderers/mjml.template-renderer.d.ts +3 -3
- package/templates/renderers/mjml.template-renderer.js +1 -1
- package/templates/renderers/mjml.template-renderer.js.map +1 -1
- package/templates/renderers/string.template-renderer.d.ts +1 -1
- package/templates/renderers/string.template-renderer.js +1 -1
- package/templates/renderers/string.template-renderer.js.map +1 -1
- package/templates/resolvers/file.template-resolver.d.ts +5 -5
- package/templates/resolvers/file.template-resolver.js +3 -3
- package/templates/resolvers/file.template-resolver.js.map +1 -1
- package/templates/resolvers/string.template-resolver.d.ts +1 -1
- package/templates/resolvers/string.template-resolver.js +2 -2
- package/templates/resolvers/string.template-resolver.js.map +1 -1
- package/templates/template-renderer.provider.js +1 -1
- package/templates/template-renderer.provider.js.map +1 -1
- package/templates/template-resolver.provider.js +1 -1
- package/templates/template-resolver.provider.js.map +1 -1
- package/templates/template.model.d.ts +2 -2
- package/templates/template.model.js +1 -1
- package/templates/template.model.js.map +1 -1
- package/templates/template.renderer.d.ts +4 -4
- package/templates/template.service.d.ts +2 -2
- package/templates/template.service.js +4 -4
- package/templates/template.service.js.map +1 -1
- package/templates/tokens.d.ts +2 -2
- package/templates/tokens.js +1 -1
- package/templates/tokens.js.map +1 -1
- package/text/dynamic-text.model.d.ts +1 -1
- package/text/dynamic-text.model.js +2 -2
- package/text/dynamic-text.model.js.map +1 -1
- package/text/localizable-text.model.d.ts +1 -1
- package/text/localization.service.d.ts +13 -13
- package/text/localization.service.js +12 -12
- package/text/localization.service.js.map +1 -1
- package/threading/thread-pool.d.ts +4 -4
- package/threading/thread-pool.js +5 -5
- package/threading/thread-pool.js.map +1 -1
- package/threading/thread-worker.d.ts +2 -2
- package/threading/thread-worker.js +1 -1
- package/threading/thread-worker.js.map +1 -1
- package/types/geo-json.d.ts +13 -13
- package/types.d.ts +89 -89
- package/utils/any-iterable-iterator.d.ts +3 -3
- package/utils/array/array-backtracker.js +3 -3
- package/utils/array/array-backtracker.js.map +1 -1
- package/utils/async-iterable-helpers/buffer.js +1 -1
- package/utils/async-iterable-helpers/buffer.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/types.d.ts +2 -2
- package/utils/async-iterable-helpers/types.d.ts +7 -7
- package/utils/backoff.d.ts +5 -5
- package/utils/base64.js +1 -1
- package/utils/base64.js.map +1 -1
- package/utils/benchmark.d.ts +1 -1
- package/utils/binary-search.d.ts +1 -1
- package/utils/binary.d.ts +1 -1
- package/utils/binary.js +1 -1
- package/utils/binary.js.map +1 -1
- package/utils/cancellation-token.d.ts +1 -1
- package/utils/cancellation-token.js +13 -13
- package/utils/cancellation-token.js.map +1 -1
- package/utils/clone.js +1 -1
- package/utils/clone.js.map +1 -1
- package/utils/compression.d.ts +1 -1
- package/utils/compression.js +3 -3
- package/utils/compression.js.map +1 -1
- package/utils/cryptography.d.ts +12 -12
- package/utils/date-time.d.ts +7 -7
- package/utils/encoding.d.ts +1 -1
- package/utils/encoding.js +1 -1
- package/utils/encoding.js.map +1 -1
- package/utils/enum.d.ts +1 -1
- package/utils/equals.d.ts +4 -4
- package/utils/factory-map.d.ts +1 -1
- package/utils/factory-map.js +3 -3
- package/utils/factory-map.js.map +1 -1
- package/utils/feedable-async-iterable.js +6 -6
- package/utils/feedable-async-iterable.js.map +1 -1
- package/utils/format-error.d.ts +2 -2
- package/utils/function/memoize.d.ts +1 -1
- package/utils/function/memoize.js +2 -2
- package/utils/function/memoize.js.map +1 -1
- package/utils/helpers.d.ts +1 -1
- package/utils/helpers.js +1 -1
- package/utils/helpers.js.map +1 -1
- package/utils/image.js +1 -1
- package/utils/image.js.map +1 -1
- package/utils/iterable-helpers/types.d.ts +6 -6
- package/utils/jwt.d.ts +4 -4
- package/utils/math.d.ts +1 -1
- package/utils/math.js +1 -1
- package/utils/math.js.map +1 -1
- package/utils/merge.d.ts +2 -2
- package/utils/middleware.d.ts +9 -9
- package/utils/moving-metric.d.ts +1 -1
- package/utils/object/decycle.d.ts +2 -2
- package/utils/object/decycle.js +1 -1
- package/utils/object/decycle.js.map +1 -1
- package/utils/object/dereference.d.ts +2 -2
- package/utils/object/dereference.js +1 -1
- package/utils/object/dereference.js.map +1 -1
- package/utils/object/forward-ref.d.ts +2 -2
- package/utils/object/lazy-property.d.ts +6 -6
- package/utils/object/merge.d.ts +1 -1
- package/utils/object/object.d.ts +1 -1
- package/utils/object/property-name.d.ts +6 -6
- package/utils/ordered-feedable-async-iterable.js +5 -5
- package/utils/ordered-feedable-async-iterable.js.map +1 -1
- package/utils/patch-worker.d.ts +2 -2
- package/utils/periodic-reporter.js +3 -3
- package/utils/periodic-reporter.js.map +1 -1
- package/utils/periodic-sampler.d.ts +1 -1
- package/utils/provider-function-iterable.d.ts +2 -2
- package/utils/proxy.d.ts +1 -1
- package/utils/reflection.d.ts +1 -1
- package/utils/singleton.d.ts +2 -2
- package/utils/sort.d.ts +2 -2
- package/utils/stream/size-limited-stream.d.ts +1 -1
- package/utils/stream/size-limited-stream.js +1 -1
- package/utils/stream/size-limited-stream.js.map +1 -1
- package/utils/stream/stream-helper-types.d.ts +5 -5
- package/utils/stream/stream-reader.js +1 -1
- package/utils/stream/stream-reader.js.map +1 -1
- package/utils/type-guards.d.ts +4 -4
- package/utils/type-guards.js +1 -1
- package/utils/type-guards.js.map +1 -1
- package/utils/url-builder.d.ts +4 -4
- package/utils/url-builder.js +1 -1
- package/utils/url-builder.js.map +1 -1
- package/utils/z-base32.d.ts +1 -1
- package/web-types.d.ts +4 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { Entity } from
|
|
2
|
-
import type { Paths, TypedOmit } from
|
|
1
|
+
import type { Entity } from "..";
|
|
2
|
+
import type { Paths, TypedOmit } from "../../types";
|
|
3
3
|
import type * as Mongo from 'mongodb';
|
|
4
4
|
import type { MongoDocument } from './model';
|
|
5
|
-
export type MongoConnection = {
|
|
5
|
+
export declare type MongoConnection = {
|
|
6
6
|
url: string;
|
|
7
7
|
} & Mongo.MongoClientOptions;
|
|
8
|
-
export type MongoRepositoryConfig<T extends Entity, TDb extends Entity = T> = {
|
|
8
|
+
export declare type MongoRepositoryConfig<T extends Entity, TDb extends Entity = T> = {
|
|
9
9
|
connection?: MongoConnection;
|
|
10
10
|
database?: string;
|
|
11
11
|
collection: string;
|
|
@@ -14,34 +14,34 @@ export type MongoRepositoryConfig<T extends Entity, TDb extends Entity = T> = {
|
|
|
14
14
|
database: TDb;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
export type Filter<T extends Entity = Entity> = Mongo.Filter<MongoDocument<T>>;
|
|
18
|
-
export type UpdateFilter<T extends Entity = Entity> = Mongo.UpdateFilter<MongoDocument<T>>;
|
|
19
|
-
export type BulkOperation<T extends Entity = Entity> = InsertOneOperation<T> | ReplaceOneOperation<T> | UpdateOneOperation<T> | UpdateManyOperation<T> | DeleteOneOperation<T> | DeleteManyOperation<T>;
|
|
20
|
-
export type InsertOneOperation<T extends Entity = Entity> = {
|
|
17
|
+
export declare type Filter<T extends Entity = Entity> = Mongo.Filter<MongoDocument<T>>;
|
|
18
|
+
export declare type UpdateFilter<T extends Entity = Entity> = Mongo.UpdateFilter<MongoDocument<T>>;
|
|
19
|
+
export declare type BulkOperation<T extends Entity = Entity> = InsertOneOperation<T> | ReplaceOneOperation<T> | UpdateOneOperation<T> | UpdateManyOperation<T> | DeleteOneOperation<T> | DeleteManyOperation<T>;
|
|
20
|
+
export declare type InsertOneOperation<T extends Entity = Entity> = {
|
|
21
21
|
insertOne: Mongo.InsertOneModel<MongoDocument<T>>;
|
|
22
22
|
};
|
|
23
|
-
export type ReplaceOneOperation<T extends Entity = Entity> = {
|
|
23
|
+
export declare type ReplaceOneOperation<T extends Entity = Entity> = {
|
|
24
24
|
replaceOne: Mongo.ReplaceOneModel<MongoDocument<T>>;
|
|
25
25
|
};
|
|
26
|
-
export type UpdateOneOperation<T extends Entity = Entity> = {
|
|
26
|
+
export declare type UpdateOneOperation<T extends Entity = Entity> = {
|
|
27
27
|
updateOne: Mongo.UpdateOneModel<MongoDocument<T>>;
|
|
28
28
|
};
|
|
29
|
-
export type UpdateManyOperation<T extends Entity = Entity> = {
|
|
29
|
+
export declare type UpdateManyOperation<T extends Entity = Entity> = {
|
|
30
30
|
updateMany: Mongo.UpdateManyModel<MongoDocument<T>>;
|
|
31
31
|
};
|
|
32
|
-
export type DeleteOneOperation<T extends Entity = Entity> = {
|
|
32
|
+
export declare type DeleteOneOperation<T extends Entity = Entity> = {
|
|
33
33
|
deleteOne: Mongo.DeleteOneModel<MongoDocument<T>>;
|
|
34
34
|
};
|
|
35
|
-
export type DeleteManyOperation<T extends Entity = Entity> = {
|
|
35
|
+
export declare type DeleteManyOperation<T extends Entity = Entity> = {
|
|
36
36
|
deleteMany: Mongo.DeleteManyModel<MongoDocument<T>>;
|
|
37
37
|
};
|
|
38
|
-
export type SortObject<T extends Entity = Entity> = {
|
|
38
|
+
export declare type SortObject<T extends Entity = Entity> = {
|
|
39
39
|
[P in keyof MongoDocument<T>]?: 1 | -1;
|
|
40
40
|
};
|
|
41
|
-
export type SortArrayItem<T extends Entity = Entity> = [keyof MongoDocument<T> & string, 1 | -1];
|
|
42
|
-
export type SortArray<T extends Entity = Entity> = SortArrayItem<T>[];
|
|
43
|
-
export type Sort<T extends Entity = Entity> = SortArray<T> | SortObject<T>;
|
|
44
|
-
export type TypedIndexDescription<T extends Entity = Entity> = Omit<Mongo.IndexDescription, 'key' | 'partialFilterExpression'> & {
|
|
41
|
+
export declare type SortArrayItem<T extends Entity = Entity> = [keyof MongoDocument<T> & string, 1 | -1];
|
|
42
|
+
export declare type SortArray<T extends Entity = Entity> = SortArrayItem<T>[];
|
|
43
|
+
export declare type Sort<T extends Entity = Entity> = SortArray<T> | SortObject<T>;
|
|
44
|
+
export declare type TypedIndexDescription<T extends Entity = Entity> = Omit<Mongo.IndexDescription, 'key' | 'partialFilterExpression'> & {
|
|
45
45
|
key: {
|
|
46
46
|
[P in Paths<T>]?: Mongo.IndexDirection;
|
|
47
47
|
};
|
package/database/query.d.ts
CHANGED
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
import type { Flatten, StringMap } from
|
|
2
|
-
import type { Geometry } from
|
|
3
|
-
export type QueryOptions<T = any> = {
|
|
1
|
+
import type { Flatten, StringMap } from "../types";
|
|
2
|
+
import type { Geometry } from "../types/geo-json";
|
|
3
|
+
export declare type QueryOptions<T = any> = {
|
|
4
4
|
sort?: Sort<T>[];
|
|
5
5
|
skip?: number;
|
|
6
6
|
limit?: number;
|
|
7
7
|
};
|
|
8
|
-
export type LogicalQuery<T = any> = LogicalAndQuery<T> | LogicalOrQuery<T> | LogicalNorQuery<T>;
|
|
9
|
-
export type LogicalQueryTypes = keyof (LogicalAndQuery & LogicalOrQuery & LogicalNorQuery);
|
|
8
|
+
export declare type LogicalQuery<T = any> = LogicalAndQuery<T> | LogicalOrQuery<T> | LogicalNorQuery<T>;
|
|
9
|
+
export declare type LogicalQueryTypes = keyof (LogicalAndQuery & LogicalOrQuery & LogicalNorQuery);
|
|
10
10
|
export declare const allLogicalQueryTypes: LogicalQueryTypes[];
|
|
11
|
-
export type ComparisonQueryBody<T = any> = {
|
|
11
|
+
export declare type ComparisonQueryBody<T = any> = {
|
|
12
12
|
[P in keyof T]?: ComparisonQueryOrValue<T[P]>;
|
|
13
13
|
} & StringMap<ComparisonQueryOrValue>;
|
|
14
|
-
export type ComparisonQueryOrValue<T = any> = ComparisonQuery<T> | T | Flatten<T>;
|
|
15
|
-
export type ComparisonQuery<T = any> = Partial<ComparisonNotQuery<T> & ComparisonEqualsQuery<T> & ComparisonNotEqualsQuery<T> & ComparisonExistsQuery & ComparisonItemQuery<T> & ComparisonInQuery<T> & ComparisonNotInQuery<T> & ComparisonAllQuery<T> & ComparisonGreaterThanQuery<T> & ComparisonGreaterThanOrEqualsQuery<T> & ComparisonLessThanQuery<T> & ComparisonLessThanOrEqualsQuery<T> & ComparisonRegexQuery & ComparisonTextQuery & ComparisonGeoShapeQuery & ComparisonGeoDistanceQuery>;
|
|
16
|
-
export type ComparisonQueryTypes = keyof ComparisonQuery;
|
|
14
|
+
export declare type ComparisonQueryOrValue<T = any> = ComparisonQuery<T> | T | Flatten<T>;
|
|
15
|
+
export declare type ComparisonQuery<T = any> = Partial<ComparisonNotQuery<T> & ComparisonEqualsQuery<T> & ComparisonNotEqualsQuery<T> & ComparisonExistsQuery & ComparisonItemQuery<T> & ComparisonInQuery<T> & ComparisonNotInQuery<T> & ComparisonAllQuery<T> & ComparisonGreaterThanQuery<T> & ComparisonGreaterThanOrEqualsQuery<T> & ComparisonLessThanQuery<T> & ComparisonLessThanOrEqualsQuery<T> & ComparisonRegexQuery & ComparisonTextQuery & ComparisonGeoShapeQuery & ComparisonGeoDistanceQuery>;
|
|
16
|
+
export declare type ComparisonQueryTypes = keyof ComparisonQuery;
|
|
17
17
|
export declare const allComparisonQueryTypes: ComparisonQueryTypes[];
|
|
18
|
-
export type SpecialQuery<T = any> = Partial<TextSpanQuery<T>>;
|
|
19
|
-
export type SpecialQueryTypes = keyof SpecialQuery;
|
|
18
|
+
export declare type SpecialQuery<T = any> = Partial<TextSpanQuery<T>>;
|
|
19
|
+
export declare type SpecialQueryTypes = keyof SpecialQuery;
|
|
20
20
|
export declare const allSpecialQueryTypes: SpecialQueryTypes[];
|
|
21
|
-
export type Query<T = any> = LogicalQuery<T> | (ComparisonQueryBody<T> & SpecialQuery<T>);
|
|
22
|
-
export type QueryTypes = LogicalQueryTypes | ComparisonQueryTypes | SpecialQueryTypes;
|
|
21
|
+
export declare type Query<T = any> = LogicalQuery<T> | (ComparisonQueryBody<T> & SpecialQuery<T>);
|
|
22
|
+
export declare type QueryTypes = LogicalQueryTypes | ComparisonQueryTypes | SpecialQueryTypes;
|
|
23
23
|
export declare const allQueryTypes: ("$and" | "$or" | "$nor" | "$not" | "$eq" | "$neq" | "$exists" | "$item" | "$in" | "$nin" | "$all" | "$gt" | "$gte" | "$lt" | "$lte" | "$regex" | "$text" | "$geoShape" | "$geoDistance" | "$textSpan")[];
|
|
24
|
-
export type Order = 'asc' | 'desc';
|
|
24
|
+
export declare type Order = 'asc' | 'desc';
|
|
25
25
|
export declare const allOrders: Order[];
|
|
26
|
-
export type Operator = 'and' | 'or';
|
|
26
|
+
export declare type Operator = 'and' | 'or';
|
|
27
27
|
export declare const allOperators: Operator[];
|
|
28
|
-
export type Sort<T = any> = {
|
|
28
|
+
export declare type Sort<T = any> = {
|
|
29
29
|
field: (Extract<keyof T, string> | '$score');
|
|
30
30
|
order?: Order;
|
|
31
31
|
};
|
|
32
|
-
export type LogicalAndQuery<T = any> = {
|
|
32
|
+
export declare type LogicalAndQuery<T = any> = {
|
|
33
33
|
$and: Query<T>[];
|
|
34
34
|
};
|
|
35
|
-
export type LogicalOrQuery<T = any> = {
|
|
35
|
+
export declare type LogicalOrQuery<T = any> = {
|
|
36
36
|
$or: Query<T>[];
|
|
37
37
|
};
|
|
38
|
-
export type LogicalNorQuery<T = any> = {
|
|
38
|
+
export declare type LogicalNorQuery<T = any> = {
|
|
39
39
|
$nor: Query<T>[];
|
|
40
40
|
};
|
|
41
|
-
export type ComparisonValue<T> = T | Flatten<T>;
|
|
42
|
-
export type ComparisonValueWithRegex<T> = T extends string ? ComparisonValue<T | RegExp> : T extends string[] ? ComparisonValue<(Flatten<T> | RegExp)[]> : (T | Flatten<T>);
|
|
43
|
-
export type ComparisonNotQuery<T = any> = {
|
|
41
|
+
export declare type ComparisonValue<T> = T | Flatten<T>;
|
|
42
|
+
export declare type ComparisonValueWithRegex<T> = T extends string ? ComparisonValue<T | RegExp> : T extends string[] ? ComparisonValue<(Flatten<T> | RegExp)[]> : (T | Flatten<T>);
|
|
43
|
+
export declare type ComparisonNotQuery<T = any> = {
|
|
44
44
|
$not: ComparisonQuery<T>;
|
|
45
45
|
};
|
|
46
|
-
export type ComparisonEqualsQuery<T = any> = {
|
|
46
|
+
export declare type ComparisonEqualsQuery<T = any> = {
|
|
47
47
|
$eq: ComparisonValueWithRegex<T>;
|
|
48
48
|
};
|
|
49
|
-
export type ComparisonNotEqualsQuery<T = any> = {
|
|
49
|
+
export declare type ComparisonNotEqualsQuery<T = any> = {
|
|
50
50
|
$neq: ComparisonValueWithRegex<T>;
|
|
51
51
|
};
|
|
52
|
-
export type ComparisonExistsQuery = {
|
|
52
|
+
export declare type ComparisonExistsQuery = {
|
|
53
53
|
$exists: ComparisonValue<boolean>;
|
|
54
54
|
};
|
|
55
|
-
export type ComparisonItemQuery<T = any> = {
|
|
55
|
+
export declare type ComparisonItemQuery<T = any> = {
|
|
56
56
|
$item: T extends (infer U)[] ? U extends Record<any, any> ? Query<U> : ComparisonQuery<U> : never;
|
|
57
57
|
};
|
|
58
|
-
export type ComparisonInQuery<T = any> = {
|
|
58
|
+
export declare type ComparisonInQuery<T = any> = {
|
|
59
59
|
$in: ComparisonValueWithRegex<T>[];
|
|
60
60
|
};
|
|
61
|
-
export type ComparisonNotInQuery<T = any> = {
|
|
61
|
+
export declare type ComparisonNotInQuery<T = any> = {
|
|
62
62
|
$nin: ComparisonValueWithRegex<T>[];
|
|
63
63
|
};
|
|
64
|
-
export type ComparisonAllQuery<T = any> = {
|
|
64
|
+
export declare type ComparisonAllQuery<T = any> = {
|
|
65
65
|
$all: ComparisonValueWithRegex<T>[];
|
|
66
66
|
};
|
|
67
|
-
export type ComparisonGreaterThanQuery<T = any> = {
|
|
67
|
+
export declare type ComparisonGreaterThanQuery<T = any> = {
|
|
68
68
|
$gt: ComparisonValue<T>;
|
|
69
69
|
};
|
|
70
|
-
export type ComparisonGreaterThanOrEqualsQuery<T = any> = {
|
|
70
|
+
export declare type ComparisonGreaterThanOrEqualsQuery<T = any> = {
|
|
71
71
|
$gte: ComparisonValue<T>;
|
|
72
72
|
};
|
|
73
|
-
export type ComparisonLessThanQuery<T = any> = {
|
|
73
|
+
export declare type ComparisonLessThanQuery<T = any> = {
|
|
74
74
|
$lt: ComparisonValue<T>;
|
|
75
75
|
};
|
|
76
|
-
export type ComparisonLessThanOrEqualsQuery<T = any> = {
|
|
76
|
+
export declare type ComparisonLessThanOrEqualsQuery<T = any> = {
|
|
77
77
|
$lte: ComparisonValue<T>;
|
|
78
78
|
};
|
|
79
|
-
export type ComparisonRegexQuery = {
|
|
79
|
+
export declare type ComparisonRegexQuery = {
|
|
80
80
|
$regex: string | RegExp | {
|
|
81
81
|
pattern: string;
|
|
82
82
|
flags: string;
|
|
83
83
|
};
|
|
84
84
|
};
|
|
85
|
-
export type ComparisonTextQuery = {
|
|
85
|
+
export declare type ComparisonTextQuery = {
|
|
86
86
|
$text: string | {
|
|
87
87
|
text: string;
|
|
88
88
|
operator?: Operator;
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
-
export type GeoShapeRelation = 'intersects' | 'within' | 'disjoint' | 'contains';
|
|
92
|
-
export type ComparisonGeoShapeQuery = {
|
|
91
|
+
export declare type GeoShapeRelation = 'intersects' | 'within' | 'disjoint' | 'contains';
|
|
92
|
+
export declare type ComparisonGeoShapeQuery = {
|
|
93
93
|
$geoShape: {
|
|
94
94
|
geometry: Geometry;
|
|
95
95
|
relation: GeoShapeRelation;
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
|
-
export type ComparisonGeoDistanceQuery = {
|
|
98
|
+
export declare type ComparisonGeoDistanceQuery = {
|
|
99
99
|
$geoDistance: {
|
|
100
100
|
longitude: number;
|
|
101
101
|
latitude: number;
|
|
@@ -109,9 +109,9 @@ export type ComparisonGeoDistanceQuery = {
|
|
|
109
109
|
minDistance?: number;
|
|
110
110
|
};
|
|
111
111
|
};
|
|
112
|
-
export type TextSpanQueryMode = 'best' | 'most' | 'cross';
|
|
112
|
+
export declare type TextSpanQueryMode = 'best' | 'most' | 'cross';
|
|
113
113
|
export declare const allTextSpanQueryModes: TextSpanQueryMode[];
|
|
114
|
-
export type TextSpanQuery<T = any> = {
|
|
114
|
+
export declare type TextSpanQuery<T = any> = {
|
|
115
115
|
$textSpan: {
|
|
116
116
|
fields: (Extract<keyof T, string>)[];
|
|
117
117
|
text: string;
|
|
@@ -3,12 +3,12 @@ import { CancellationToken } from '../utils/cancellation-token';
|
|
|
3
3
|
import type { AsyncDisposable, Disposable } from './disposable';
|
|
4
4
|
import { disposeAsync } from './disposable';
|
|
5
5
|
declare const deferrerToken: unique symbol;
|
|
6
|
-
export type TaskFunction = () => any;
|
|
7
|
-
export type Task = {
|
|
6
|
+
export declare type TaskFunction = () => any;
|
|
7
|
+
export declare type Task = {
|
|
8
8
|
priority: number;
|
|
9
9
|
taskFunction: TaskFunction;
|
|
10
10
|
};
|
|
11
|
-
export type Deferrer = {
|
|
11
|
+
export declare type Deferrer = {
|
|
12
12
|
[deferrerToken]: CancellationToken;
|
|
13
13
|
yield(): void;
|
|
14
14
|
};
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AsyncDisposer = void 0;
|
|
4
|
-
const comparison_1 = require("
|
|
5
|
-
const group_1 = require("
|
|
6
|
-
const sort_1 = require("
|
|
7
|
-
const type_guards_1 = require("
|
|
4
|
+
const comparison_1 = require("../utils/comparison");
|
|
5
|
+
const group_1 = require("../utils/iterable-helpers/group");
|
|
6
|
+
const sort_1 = require("../utils/iterable-helpers/sort");
|
|
7
|
+
const type_guards_1 = require("../utils/type-guards");
|
|
8
8
|
const multi_error_1 = require("../error/multi.error");
|
|
9
9
|
const parallel_1 = require("../utils/async-iterable-helpers/parallel");
|
|
10
10
|
const cancellation_token_1 = require("../utils/cancellation-token");
|
|
11
11
|
const disposable_1 = require("./disposable");
|
|
12
12
|
const deferrerToken = Symbol('DeferrerToken');
|
|
13
13
|
class AsyncDisposer {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.deferrers = new Set();
|
|
16
|
+
this.tasks = [];
|
|
17
|
+
this._disposingToken = new cancellation_token_1.CancellationToken();
|
|
18
|
+
this._disposedToken = new cancellation_token_1.CancellationToken();
|
|
19
|
+
}
|
|
14
20
|
get disposingToken() {
|
|
15
21
|
return this._disposingToken;
|
|
16
22
|
}
|
|
@@ -23,12 +29,6 @@ class AsyncDisposer {
|
|
|
23
29
|
get disposed() {
|
|
24
30
|
return this._disposedToken.isSet;
|
|
25
31
|
}
|
|
26
|
-
constructor() {
|
|
27
|
-
this.deferrers = new Set();
|
|
28
|
-
this.tasks = [];
|
|
29
|
-
this._disposingToken = new cancellation_token_1.CancellationToken();
|
|
30
|
-
this._disposedToken = new cancellation_token_1.CancellationToken();
|
|
31
|
-
}
|
|
32
32
|
getDeferrer() {
|
|
33
33
|
const deferrer = {
|
|
34
34
|
[deferrerToken]: new cancellation_token_1.CancellationToken(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async-disposer.js","sourceRoot":"","sources":["../../source/disposable/async-disposer.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"async-disposer.js","sourceRoot":"","sources":["../../source/disposable/async-disposer.ts"],"names":[],"mappings":";;;AAAA,oDAA6D;AAC7D,2DAAuD;AACvD,yDAAqD;AACrD,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,EAAE,IAAI,EAAE,EAAE;gBAC9C,IAAI;oBACF,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;iBAC3B;gBACD,OAAO,KAAc,EAAE;oBACrB,MAAM,CAAC,IAAI,CAAC,KAAc,CAAC,CAAC;iBAC7B;YACH,CAAC,CAAC,CAAC;SACJ;QAED,MAAM,KAAK,GAAG,CAAC,MAAM,CAAC,MAAM,IAAI,CAAC,CAAC;YAChC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAE;YACZ,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;gBACnB,CAAC,CAAC,IAAI,wBAAU,CAAC,MAAM,EAAE,gBAAgB,CAAC;gBAC1C,CAAC,CAAC,SAAS,CAAC;QAEhB,IAAI,IAAA,uBAAS,EAAC,KAAK,CAAC,EAAE;YACpB,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACjC,MAAM,KAAK,CAAC;SACb;QAED,IAAI,CAAC,cAAc,CAAC,GAAG,EAAE,CAAC;IAC5B,CAAC;IAED,KAAK,CAAC,CAAC,yBAAY,CAAC;QAClB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC;IACxB,CAAC;CACF;AAvHD,sCAuHC"}
|
package/disposable/disposable.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isAsyncDisposable = exports.isDisposable = exports.disposeAsync = exports.dispose = void 0;
|
|
4
|
-
const type_guards_1 = require("
|
|
4
|
+
const type_guards_1 = require("../utils/type-guards");
|
|
5
5
|
exports.dispose = Symbol('dispose');
|
|
6
6
|
exports.disposeAsync = Symbol('disposeAsync');
|
|
7
7
|
function isDisposable(object) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disposable.js","sourceRoot":"","sources":["../../source/disposable/disposable.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"disposable.js","sourceRoot":"","sources":["../../source/disposable/disposable.ts"],"names":[],"mappings":";;;AAAA,sDAAiD;AAEpC,QAAA,OAAO,GAAkB,MAAM,CAAC,SAAS,CAAC,CAAC;AAC3C,QAAA,YAAY,GAAkB,MAAM,CAAC,cAAc,CAAC,CAAC;AAUlE,SAAgB,YAAY,CAAC,MAAW;IACtC,OAAO,IAAA,wBAAU,EAAE,MAAiC,EAAE,CAAC,eAAO,CAAC,CAAC,CAAC;AACnE,CAAC;AAFD,oCAEC;AAED,SAAgB,iBAAiB,CAAC,MAAW;IAC3C,OAAO,IAAA,wBAAU,EAAE,MAAsC,EAAE,CAAC,oBAAY,CAAC,CAAC,CAAC;AAC7E,CAAC;AAFD,8CAEC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { Injectable } from
|
|
2
|
-
import { resolveArgumentType } from
|
|
3
|
-
import { LockProvider } from
|
|
4
|
-
import type { ReadonlyCancellationToken } from
|
|
1
|
+
import type { Injectable } from "../container";
|
|
2
|
+
import { resolveArgumentType } from "../container";
|
|
3
|
+
import { LockProvider } from "../lock";
|
|
4
|
+
import type { ReadonlyCancellationToken } from "../utils/cancellation-token";
|
|
5
5
|
import type { LoopController } from './controller';
|
|
6
|
-
export type LoopFunction = (controller: LoopController) => any | Promise<any>;
|
|
6
|
+
export declare type LoopFunction = (controller: LoopController) => any | Promise<any>;
|
|
7
7
|
/** loop key */
|
|
8
|
-
export type DistributedLoopArgument = string;
|
|
8
|
+
export declare type DistributedLoopArgument = string;
|
|
9
9
|
export declare class DistributedLoop implements Injectable<DistributedLoopArgument> {
|
|
10
10
|
private readonly key;
|
|
11
11
|
private readonly lockProvider;
|
|
@@ -13,12 +13,12 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.DistributedLoop = void 0;
|
|
16
|
-
const container_1 = require("
|
|
17
|
-
const lock_1 = require("
|
|
18
|
-
const promise_1 = require("
|
|
19
|
-
const cancellation_token_1 = require("
|
|
20
|
-
const timer_1 = require("
|
|
21
|
-
const timing_1 = require("
|
|
16
|
+
const container_1 = require("../container");
|
|
17
|
+
const lock_1 = require("../lock");
|
|
18
|
+
const promise_1 = require("../promise");
|
|
19
|
+
const cancellation_token_1 = require("../utils/cancellation-token");
|
|
20
|
+
const timer_1 = require("../utils/timer");
|
|
21
|
+
const timing_1 = require("../utils/timing");
|
|
22
22
|
let DistributedLoop = class DistributedLoop {
|
|
23
23
|
/**
|
|
24
24
|
* a loop which runs distributed in the scope of the provided {@link LockProvider}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distributed-loop.js","sourceRoot":"","sources":["../../source/distributed-loop/distributed-loop.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,
|
|
1
|
+
{"version":3,"file":"distributed-loop.js","sourceRoot":"","sources":["../../source/distributed-loop/distributed-loop.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,4CAAyE;AACzE,kCAAsC;AACtC,wCAA4C;AAE5C,oEAA+D;AAC/D,0CAAsC;AACtC,4CAAmD;AAU5C,IAAM,eAAe,GAArB,MAAM,eAAe;IAM1B;;;;;;;;OAQG;IACH,YAAyB,GAAW,EAAE,YAA0B;QAC9D,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CAAC,QAAgB,EAAE,QAAgB,EAAE,IAAkB,EAAE,iBAA6C;QACvG,MAAM,QAAQ,GAAG,IAAI,yBAAe,EAAE,CAAC;QACvC,MAAM,SAAS,GAAG,iBAAiB,EAAE,WAAW,EAAE,IAAI,IAAI,sCAAiB,EAAE,CAAC;QAE9E,MAAM,YAAY,GAAG,KAAK,IAAmB,EAAE;YAC7C,IAAI,CAAC,SA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
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DistributedLoopProvider = void 0;
|
|
13
|
-
const container_1 = require("
|
|
14
|
-
const lock_1 = require("
|
|
13
|
+
const container_1 = require("../container");
|
|
14
|
+
const lock_1 = require("../lock");
|
|
15
15
|
const distributed_loop_1 = require("./distributed-loop");
|
|
16
16
|
let DistributedLoopProvider = class DistributedLoopProvider {
|
|
17
17
|
constructor(lockProvider) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../source/distributed-loop/provider.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../source/distributed-loop/provider.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwC;AACxC,kCAAsC;AACtC,yDAAqD;AAG9C,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAGlC,YAAY,YAA0B;QACpC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;IAED,GAAG,CAAC,GAAW;QACb,OAAO,IAAI,kCAAe,CAAC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IACrD,CAAC;CACF,CAAA;AAVY,uBAAuB;IADnC,IAAA,qBAAS,GAAE;qCAIgB,mBAAY;GAH3B,uBAAuB,CAUnC;AAVY,0DAAuB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { AnyIterable } from
|
|
2
|
-
import type { ReadonlyCancellationToken } from
|
|
3
|
-
import type { AsyncComparator } from
|
|
1
|
+
import type { AnyIterable } from "../utils/any-iterable-iterator";
|
|
2
|
+
import type { ReadonlyCancellationToken } from "../utils/cancellation-token";
|
|
3
|
+
import type { AsyncComparator } from "../utils/sort";
|
|
4
4
|
import type { Observable } from 'rxjs';
|
|
5
5
|
import type { AsyncIteratorFunction, AsyncPredicate, AsyncReducer, AsyncRetryPredicate, ParallelizableIteratorFunction, ParallelizablePredicate, ThrottleFunction } from '../utils/async-iterable-helpers';
|
|
6
6
|
import type { IterableItemMetadata, TypePredicate } from '../utils/iterable-helpers';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AsyncEnumerable = exports.setEnumerable = void 0;
|
|
4
|
-
const any_iterable_iterator_1 = require("
|
|
5
|
-
const type_guards_1 = require("
|
|
4
|
+
const any_iterable_iterator_1 = require("../utils/any-iterable-iterator");
|
|
5
|
+
const type_guards_1 = require("../utils/type-guards");
|
|
6
6
|
const async_iterable_helpers_1 = require("../utils/async-iterable-helpers");
|
|
7
7
|
const observable_iterable_1 = require("../utils/async-iterable-helpers/observable-iterable");
|
|
8
8
|
const parallel_1 = require("../utils/async-iterable-helpers/parallel");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async-enumerable.js","sourceRoot":"","sources":["../../source/enumerable/async-enumerable.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"async-enumerable.js","sourceRoot":"","sources":["../../source/enumerable/async-enumerable.ts"],"names":[],"mappings":";;;AACA,0EAA8D;AAG9D,sDAA2D;AAG3D,4EAAiyB;AACjyB,6FAA8F;AAC9F,uEAAoI;AAEpI,gEAAkD;AAClD,6CAA8D;AAG9D,IAAI,UAAmE,CAAC;AAEjE,MAAM,aAAa,GAAiD,CAAC,EAAqB,EAAO,EAAE,CAAC,CAAC,UAAU,GAAG,EAAE,CAAC,CAAC;AAAhH,QAAA,aAAa,iBAAmG;AAE7H,MAAa,eAAe;IAG1B,YAAY,MAAsB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED,MAAM,CAAC,IAAI,CAAI,MAAsB;QACnC,OAAO,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED,MAAM,CAAC,YAAY,CAAI,MAA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S,WAAmB,EAAE,QAAmD;QAClG,OAAO,IAAA,wBAAa,EAAC,IAAI,CAAC,MAAM,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC3D,CAAC;IAED,WAAW,CAAC,WAAmB,EAAE,SAAkB,EAAE,MAA8C;QACjG,MAAM,MAAM,GAAG,IAAA,sBAAW,EAAC,IAAI,CAAC,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;QACxE,OAAO,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED,WAAW,CAAO,WAAmB,EAAE,SAAkB,EAAE,IAA6C;QACtG,MAAM,MAAM,GAAG,IAAA,sBAAW,EAAC,IAAI,CAAC,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;QACtE,OAAO,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED,CAAC,MAAM,CAAC,aAAa,CAAC;QACpB,IAAI,IAAA,gDAAuB,EAAC,IAAI,CAAC,MAAM,CAAC,EAAE;YACxC,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,CAAC;SAC5C;QAED,IAAI,IAAA,qCAAa,EAAC,IAAI,CAAC,MAAM,CAAC,EAAE;YAC9B,OAAO,IAAA,wDAA+B,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SACrD;QAED,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;IACnE,CAAC;CACF;AA1SD,0CA0SC;AAED,6DAA6D;AAC7D,IAAA,+BAAkB,CAAA,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AnyIterable } from
|
|
2
|
-
import type { Comparator } from
|
|
1
|
+
import type { AnyIterable } from "../utils/any-iterable-iterator";
|
|
2
|
+
import type { Comparator } from "../utils/sort";
|
|
3
3
|
import type { ReadonlyCancellationToken } from '../utils/cancellation-token';
|
|
4
4
|
import type { IterableItemMetadata, IteratorFunction, Predicate, Reducer, TypePredicate } from '../utils/iterable-helpers';
|
|
5
5
|
import { AsyncEnumerable } from './async-enumerable';
|
package/error/custom.error.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EnumerationObject, EnumerationValue } from
|
|
1
|
+
import type { EnumerationObject, EnumerationValue } from "../types";
|
|
2
2
|
import { CustomError } from './custom.error';
|
|
3
3
|
export declare class NotSupportedError extends CustomError {
|
|
4
4
|
static readonly errorName = "NotSupportedError";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NotSupportedError = void 0;
|
|
4
|
-
const enum_1 = require("
|
|
4
|
+
const enum_1 = require("../utils/enum");
|
|
5
5
|
const custom_error_1 = require("./custom.error");
|
|
6
6
|
class NotSupportedError extends custom_error_1.CustomError {
|
|
7
7
|
constructor(message = 'Not supported.') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"not-supported.error.js","sourceRoot":"","sources":["../../source/error/not-supported.error.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"not-supported.error.js","sourceRoot":"","sources":["../../source/error/not-supported.error.ts"],"names":[],"mappings":";;;AACA,wCAA6C;AAC7C,iDAA6C;AAE7C,MAAa,iBAAkB,SAAQ,0BAAW;IAGhD,YAAY,UAAkB,gBAAgB;QAC5C,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;IACrB,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,WAA8B,EAAE,IAAY,EAAE,KAAuB;QACnF,MAAM,SAAS,GAAG,IAAA,oBAAa,EAAC,WAAW,EAAE,KAAK,CAAC,CAAC;QACpD,OAAO,IAAI,iBAAiB,CAAC,GAAG,IAAI,KAAK,SAAS,qBAAqB,CAAC,CAAC;IAC3E,CAAC;;AAVH,8CAWC;AAViB,2BAAS,GAAG,mBAAmB,CAAC"}
|
|
@@ -9,17 +9,17 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const api_1 = require("
|
|
13
|
-
const client_1 = require("
|
|
14
|
-
const server_1 = require("
|
|
15
|
-
const application_1 = require("
|
|
16
|
-
const container_1 = require("
|
|
17
|
-
const http_1 = require("
|
|
18
|
-
const undici_http_client_adapter_1 = require("
|
|
19
|
-
const node_1 = require("
|
|
20
|
-
const modules_1 = require("
|
|
21
|
-
const schema_1 = require("
|
|
22
|
-
const utils_1 = require("
|
|
12
|
+
const api_1 = require("../../api");
|
|
13
|
+
const client_1 = require("../../api/client");
|
|
14
|
+
const server_1 = require("../../api/server");
|
|
15
|
+
const application_1 = require("../../application");
|
|
16
|
+
const container_1 = require("../../container");
|
|
17
|
+
const http_1 = require("../../http");
|
|
18
|
+
const undici_http_client_adapter_1 = require("../../http/client/adapters/undici-http-client.adapter");
|
|
19
|
+
const node_1 = require("../../http/server/node");
|
|
20
|
+
const modules_1 = require("../../module/modules");
|
|
21
|
+
const schema_1 = require("../../schema");
|
|
22
|
+
const utils_1 = require("../../utils");
|
|
23
23
|
const undici_1 = require("undici");
|
|
24
24
|
class User {
|
|
25
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basic-overview.js","sourceRoot":"","sources":["../../../source/examples/api/basic-overview.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA
|
|
1
|
+
{"version":3,"file":"basic-overview.js","sourceRoot":"","sources":["../../../source/examples/api/basic-overview.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,mCAAkC;AAClC,6CAA6C;AAC7C,6CAAiE;AACjE,mDAA4C;AAC5C,+CAAwC;AACxC,qCAA6C;AAC7C,sGAAqG;AACrG,iDAA6D;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B,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;IACxF,qBAAS,CAAC,QAAQ,CAAC,0BAAmB,EAAE,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,uBAAuB,EAAE,EAAE,CAAC,CAAC;IAE5F,yBAAW,CAAC,cAAc,CAAC,yBAAe,CAAC,CAAC;IAC5C,MAAM,yBAAW,CAAC,GAAG,EAAE,CAAC;AAC1B,CAAC;AAED,KAAK,IAAI,EAAE,CAAC;AACZ,KAAK,UAAU,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,IAAA,eAAO,EAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,yBAAW,CAAC,QAAQ,EAAE,CAAC,CAAC"}
|
|
@@ -6,20 +6,20 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
const api_1 = require("
|
|
10
|
-
const client_1 = require("
|
|
11
|
-
const server_1 = require("
|
|
12
|
-
const application_1 = require("
|
|
13
|
-
const container_1 = require("
|
|
14
|
-
const core_1 = require("
|
|
15
|
-
const http_1 = require("
|
|
16
|
-
const undici_http_client_adapter_1 = require("
|
|
17
|
-
const server_2 = require("
|
|
18
|
-
const node_1 = require("
|
|
19
|
-
const modules_1 = require("
|
|
20
|
-
const sse_1 = require("
|
|
21
|
-
const utils_1 = require("
|
|
22
|
-
const stream_1 = require("
|
|
9
|
+
const api_1 = require("../../api");
|
|
10
|
+
const client_1 = require("../../api/client");
|
|
11
|
+
const server_1 = require("../../api/server");
|
|
12
|
+
const application_1 = require("../../application");
|
|
13
|
+
const container_1 = require("../../container");
|
|
14
|
+
const core_1 = require("../../core");
|
|
15
|
+
const http_1 = require("../../http");
|
|
16
|
+
const undici_http_client_adapter_1 = require("../../http/client/adapters/undici-http-client.adapter");
|
|
17
|
+
const server_2 = require("../../http/server");
|
|
18
|
+
const node_1 = require("../../http/server/node");
|
|
19
|
+
const modules_1 = require("../../module/modules");
|
|
20
|
+
const sse_1 = require("../../sse");
|
|
21
|
+
const utils_1 = require("../../utils");
|
|
22
|
+
const stream_1 = require("../../utils/stream");
|
|
23
23
|
const undici_1 = require("undici");
|
|
24
24
|
const logger = container_1.container.resolve(core_1.CORE_LOGGER);
|
|
25
25
|
const streamingApiDefinition = (0, api_1.defineApi)({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streaming.js","sourceRoot":"","sources":["../../../source/examples/api/streaming.ts"],"names":[],"mappings":";;;;;;;;AAEA
|
|
1
|
+
{"version":3,"file":"streaming.js","sourceRoot":"","sources":["../../../source/examples/api/streaming.ts"],"names":[],"mappings":";;;;;;;;AAEA,mCAAkC;AAClC,6CAA6C;AAC7C,6CAAiE;AACjE,mDAA4C;AAC5C,+CAAwC;AACxC,qCAAqC;AACrC,qCAA6C;AAC7C,sGAAqG;AACrG,8CAAmD;AACnD,iDAA6D;AAC7D,kDAAmD;AACnD,mCAAwC;AACxC,uCAAoG;AACpG,+CAA0F;AAC1F,mCAA+B;AAE/B,MAAM,MAAM,GAAG,qBAAS,CAAC,OAAO,CAAC,kBAAW,CAAC,CAAC;AAI9C,MAAM,sBAAsB,GAAG,IAAA,eAAS,EAAC;IACvC,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE;QACT,IAAI,EAAE;YACJ,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,MAAM;YAChB,IAAI,EAAE,cAAc;YACpB,MAAM,EAAE,cAAc;SACvB;QACD,MAAM,EAAE;YACN,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,cAAc;YACtB,IAAI,EAAE;gBACJ,wBAAwB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C,KAAK,CAAC,EAAE;gBAC5C,OAAO;aACR;YAED,MAAM,MAAM,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,GAAG,IAAI,IAAI,EAAE,CAAC,cAAc,EAAE,EAAE,EAAE,MAAM,EAAE,WAAW,CAAC,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;YACxJ,MAAM,IAAA,eAAO,EAAC,IAAI,CAAC,CAAC;SACrB;QAED,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;IACvB,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IAE5C,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/examples/http/client.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const container_1 = require("
|
|
4
|
-
const http_1 = require("
|
|
5
|
-
const undici_http_client_adapter_1 = require("
|
|
3
|
+
const container_1 = require("../../container");
|
|
4
|
+
const http_1 = require("../../http");
|
|
5
|
+
const undici_http_client_adapter_1 = require("../../http/client/adapters/undici-http-client.adapter");
|
|
6
6
|
(0, undici_http_client_adapter_1.configureUndiciHttpClientAdapter)();
|
|
7
7
|
async function main() {
|
|
8
8
|
const httpClient = container_1.container.resolve(http_1.HttpClient);
|