@velajs/vela 1.19.0 → 1.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -14
- package/dist/configurable-module.builder-5FGMaXG6.js +91 -0
- package/dist/configurable-module.builder-5FGMaXG6.js.map +1 -0
- package/dist/container-BqUHID4l.js +645 -0
- package/dist/container-BqUHID4l.js.map +1 -0
- package/dist/cron-matcher-C9qv5OUA.js +113 -0
- package/dist/cron-matcher-C9qv5OUA.js.map +1 -0
- package/dist/decorate-GcSMAbKn.js +528 -0
- package/dist/decorate-GcSMAbKn.js.map +1 -0
- package/dist/decorators-C8YBFCIk.js +53 -0
- package/dist/decorators-C8YBFCIk.js.map +1 -0
- package/dist/define-module-NOyOZNXD.js +235 -0
- package/dist/define-module-NOyOZNXD.js.map +1 -0
- package/dist/discovery.service-BYm95SSD.js +368 -0
- package/dist/discovery.service-BYm95SSD.js.map +1 -0
- package/dist/discovery.service-Cpf1QcZ5.d.ts +648 -0
- package/dist/i18n/index.d.ts +138 -10
- package/dist/i18n/index.js +270 -8
- package/dist/i18n/index.js.map +1 -0
- package/dist/index-D72EQfcC.d.ts +430 -0
- package/dist/index-DhShDLCM.d.ts +2310 -0
- package/dist/index.d.ts +6 -70
- package/dist/index.js +14 -76
- package/dist/internal.d.ts +13 -17
- package/dist/internal.js +6 -19
- package/dist/live/index.d.ts +2 -12
- package/dist/live/index.js +826 -16
- package/dist/live/index.js.map +1 -0
- package/dist/metadata.registry-D1od8ZBt.d.ts +842 -0
- package/dist/plugin-ByBlVOve.js +1387 -0
- package/dist/plugin-ByBlVOve.js.map +1 -0
- package/dist/queue/index.d.ts +247 -10
- package/dist/queue/index.js +384 -12
- package/dist/queue/index.js.map +1 -0
- package/dist/request-context-C3nCGJNd.js +26 -0
- package/dist/request-context-C3nCGJNd.js.map +1 -0
- package/dist/route.manager-DRAZ5X04.js +991 -0
- package/dist/route.manager-DRAZ5X04.js.map +1 -0
- package/dist/schedule-node/index.d.ts +32 -3
- package/dist/schedule-node/index.js +97 -3
- package/dist/schedule-node/index.js.map +1 -0
- package/dist/schedule.registry-DVm7Jp5w.d.ts +55 -0
- package/dist/seeder/index.d.ts +75 -5
- package/dist/seeder/index.js +105 -4
- package/dist/seeder/index.js.map +1 -0
- package/dist/signed-url-CMmi0SIb.js +56 -0
- package/dist/signed-url-CMmi0SIb.js.map +1 -0
- package/dist/signed-url-DKhgja4U.d.ts +16 -0
- package/dist/src-eb5CI6Xn.js +2151 -0
- package/dist/src-eb5CI6Xn.js.map +1 -0
- package/dist/storage/index.d.ts +57 -4
- package/dist/storage/index.js +22 -5
- package/dist/storage/index.js.map +1 -0
- package/dist/streaming/index.d.ts +2 -2
- package/dist/streaming/index.js +2 -1
- package/dist/websocket/index.d.ts +3 -12
- package/dist/websocket/index.js +2 -16
- package/dist/websocket-DXmB-MWJ.js +697 -0
- package/dist/websocket-DXmB-MWJ.js.map +1 -0
- package/dist/websocket-node/index.d.ts +108 -6
- package/dist/websocket-node/index.js +228 -6
- package/dist/websocket-node/index.js.map +1 -0
- package/package.json +66 -53
- package/dist/__tests__/workers/entry.d.ts +0 -9
- package/dist/__tests__/workers-als/entry-als.d.ts +0 -9
- package/dist/application.d.ts +0 -104
- package/dist/application.js +0 -364
- package/dist/cache/cache.decorators.d.ts +0 -2
- package/dist/cache/cache.decorators.js +0 -4
- package/dist/cache/cache.interceptor.d.ts +0 -9
- package/dist/cache/cache.interceptor.js +0 -60
- package/dist/cache/cache.module.d.ts +0 -7
- package/dist/cache/cache.module.js +0 -58
- package/dist/cache/cache.service.d.ts +0 -9
- package/dist/cache/cache.service.js +0 -42
- package/dist/cache/cache.store.d.ts +0 -12
- package/dist/cache/cache.store.js +0 -51
- package/dist/cache/cache.tokens.d.ts +0 -6
- package/dist/cache/cache.tokens.js +0 -5
- package/dist/cache/cache.types.d.ts +0 -41
- package/dist/cache/cache.types.js +0 -1
- package/dist/cache/index.d.ts +0 -8
- package/dist/cache/index.js +0 -7
- package/dist/cache/tiered-cache.store.d.ts +0 -19
- package/dist/cache/tiered-cache.store.js +0 -40
- package/dist/config/config.module.d.ts +0 -19
- package/dist/config/config.module.js +0 -98
- package/dist/config/config.service.d.ts +0 -20
- package/dist/config/config.service.js +0 -43
- package/dist/config/config.store.d.ts +0 -46
- package/dist/config/config.store.js +0 -119
- package/dist/config/config.tokens.d.ts +0 -13
- package/dist/config/config.tokens.js +0 -14
- package/dist/config/config.types.d.ts +0 -41
- package/dist/config/config.types.js +0 -4
- package/dist/config/index.d.ts +0 -7
- package/dist/config/index.js +0 -5
- package/dist/config/register-as.d.ts +0 -52
- package/dist/config/register-as.js +0 -39
- package/dist/constants.d.ts +0 -44
- package/dist/constants.js +0 -46
- package/dist/container/container.d.ts +0 -154
- package/dist/container/container.js +0 -849
- package/dist/container/decorators.d.ts +0 -17
- package/dist/container/decorators.js +0 -57
- package/dist/container/disposable.d.ts +0 -5
- package/dist/container/disposable.js +0 -33
- package/dist/container/index.d.ts +0 -6
- package/dist/container/index.js +0 -5
- package/dist/container/mixin.d.ts +0 -24
- package/dist/container/mixin.js +0 -26
- package/dist/container/module-ref.d.ts +0 -21
- package/dist/container/module-ref.js +0 -48
- package/dist/container/types.d.ts +0 -154
- package/dist/container/types.js +0 -49
- package/dist/cors/cors.module.d.ts +0 -7
- package/dist/cors/cors.module.js +0 -37
- package/dist/cors/cors.tokens.d.ts +0 -3
- package/dist/cors/cors.tokens.js +0 -2
- package/dist/cors/cors.types.d.ts +0 -8
- package/dist/cors/cors.types.js +0 -1
- package/dist/cors/index.d.ts +0 -3
- package/dist/cors/index.js +0 -2
- package/dist/crypto/signed-url.d.ts +0 -12
- package/dist/crypto/signed-url.js +0 -60
- package/dist/discovery/discoverable.decorator.d.ts +0 -38
- package/dist/discovery/discoverable.decorator.js +0 -42
- package/dist/discovery/discovery.service.d.ts +0 -102
- package/dist/discovery/discovery.service.js +0 -177
- package/dist/discovery/index.d.ts +0 -2
- package/dist/discovery/index.js +0 -2
- package/dist/entrypoint/entrypoint.registry.d.ts +0 -42
- package/dist/entrypoint/entrypoint.registry.js +0 -112
- package/dist/entrypoint/entrypoint.types.d.ts +0 -41
- package/dist/entrypoint/entrypoint.types.js +0 -3
- package/dist/entrypoint/execution-context.d.ts +0 -15
- package/dist/entrypoint/execution-context.js +0 -21
- package/dist/entrypoint/execution-scope.d.ts +0 -21
- package/dist/entrypoint/execution-scope.js +0 -28
- package/dist/entrypoint/index.d.ts +0 -4
- package/dist/entrypoint/index.js +0 -4
- package/dist/errors/http-exception.d.ts +0 -63
- package/dist/errors/http-exception.js +0 -142
- package/dist/errors/index.d.ts +0 -1
- package/dist/errors/index.js +0 -1
- package/dist/event-emitter/event-emitter.decorators.d.ts +0 -1
- package/dist/event-emitter/event-emitter.decorators.js +0 -10
- package/dist/event-emitter/event-emitter.module.d.ts +0 -2
- package/dist/event-emitter/event-emitter.module.js +0 -23
- package/dist/event-emitter/event-emitter.service.d.ts +0 -13
- package/dist/event-emitter/event-emitter.service.js +0 -127
- package/dist/event-emitter/event-emitter.subscriber.d.ts +0 -9
- package/dist/event-emitter/event-emitter.subscriber.js +0 -45
- package/dist/event-emitter/event-emitter.tokens.d.ts +0 -1
- package/dist/event-emitter/event-emitter.tokens.js +0 -1
- package/dist/event-emitter/event-emitter.types.d.ts +0 -5
- package/dist/event-emitter/event-emitter.types.js +0 -1
- package/dist/event-emitter/index.d.ts +0 -6
- package/dist/event-emitter/index.js +0 -5
- package/dist/exceptions/errors.module.d.ts +0 -40
- package/dist/exceptions/errors.module.js +0 -46
- package/dist/exceptions/exception-handler.d.ts +0 -56
- package/dist/exceptions/exception-handler.js +0 -17
- package/dist/exceptions/index.d.ts +0 -6
- package/dist/exceptions/index.js +0 -3
- package/dist/exceptions/reporter.d.ts +0 -21
- package/dist/exceptions/reporter.js +0 -70
- package/dist/factory/adapter.d.ts +0 -36
- package/dist/factory/adapter.js +0 -18
- package/dist/factory/bootstrap.d.ts +0 -23
- package/dist/factory/bootstrap.js +0 -110
- package/dist/factory.d.ts +0 -16
- package/dist/factory.js +0 -36
- package/dist/fetch/fetch.module.d.ts +0 -7
- package/dist/fetch/fetch.module.js +0 -31
- package/dist/fetch/fetch.service.d.ts +0 -24
- package/dist/fetch/fetch.service.js +0 -145
- package/dist/fetch/fetch.types.d.ts +0 -24
- package/dist/fetch/fetch.types.js +0 -1
- package/dist/fetch/index.d.ts +0 -3
- package/dist/fetch/index.js +0 -2
- package/dist/health/health.http.d.ts +0 -14
- package/dist/health/health.http.js +0 -75
- package/dist/health/health.indicator.d.ts +0 -9
- package/dist/health/health.indicator.js +0 -32
- package/dist/health/health.module.d.ts +0 -2
- package/dist/health/health.module.js +0 -26
- package/dist/health/health.service.d.ts +0 -7
- package/dist/health/health.service.js +0 -69
- package/dist/health/health.types.d.ts +0 -15
- package/dist/health/health.types.js +0 -1
- package/dist/health/index.d.ts +0 -6
- package/dist/health/index.js +0 -4
- package/dist/http/ambient.d.ts +0 -17
- package/dist/http/ambient.js +0 -44
- package/dist/http/argument-resolver.d.ts +0 -10
- package/dist/http/argument-resolver.js +0 -89
- package/dist/http/decorators.d.ts +0 -198
- package/dist/http/decorators.js +0 -321
- package/dist/http/execution-context.d.ts +0 -8
- package/dist/http/execution-context.js +0 -35
- package/dist/http/handler-executor.d.ts +0 -20
- package/dist/http/handler-executor.js +0 -133
- package/dist/http/index.d.ts +0 -12
- package/dist/http/index.js +0 -7
- package/dist/http/instantiate.d.ts +0 -4
- package/dist/http/instantiate.js +0 -45
- package/dist/http/lazy-param.decorator.d.ts +0 -37
- package/dist/http/lazy-param.decorator.js +0 -117
- package/dist/http/request-container.d.ts +0 -16
- package/dist/http/request-container.js +0 -19
- package/dist/http/request-context.d.ts +0 -13
- package/dist/http/request-context.js +0 -22
- package/dist/http/response-mapper.d.ts +0 -8
- package/dist/http/response-mapper.js +0 -42
- package/dist/http/route-contributor.d.ts +0 -68
- package/dist/http/route-contributor.js +0 -22
- package/dist/http/route-map.d.ts +0 -30
- package/dist/http/route-map.js +0 -27
- package/dist/http/route.manager.d.ts +0 -92
- package/dist/http/route.manager.js +0 -481
- package/dist/http/types.d.ts +0 -37
- package/dist/http/types.js +0 -1
- package/dist/http/url/index.d.ts +0 -4
- package/dist/http/url/index.js +0 -3
- package/dist/http/url/signed-url.guard.d.ts +0 -27
- package/dist/http/url/signed-url.guard.js +0 -62
- package/dist/http/url/signing-secret.d.ts +0 -20
- package/dist/http/url/signing-secret.js +0 -24
- package/dist/http/url/url-generator.service.d.ts +0 -52
- package/dist/http/url/url-generator.service.js +0 -104
- package/dist/i18n/deep-merge.d.ts +0 -2
- package/dist/i18n/deep-merge.js +0 -15
- package/dist/i18n/i18n.middleware.d.ts +0 -15
- package/dist/i18n/i18n.middleware.js +0 -94
- package/dist/i18n/i18n.module.d.ts +0 -13
- package/dist/i18n/i18n.module.js +0 -69
- package/dist/i18n/i18n.options.d.ts +0 -30
- package/dist/i18n/i18n.options.js +0 -16
- package/dist/i18n/i18n.service.d.ts +0 -20
- package/dist/i18n/i18n.service.js +0 -49
- package/dist/i18n/i18n.tokens.d.ts +0 -6
- package/dist/i18n/i18n.tokens.js +0 -3
- package/dist/i18n/i18n.types.d.ts +0 -6
- package/dist/i18n/i18n.types.js +0 -1
- package/dist/i18n/message-loader.service.d.ts +0 -21
- package/dist/i18n/message-loader.service.js +0 -90
- package/dist/i18n/message-registry.d.ts +0 -16
- package/dist/i18n/message-registry.js +0 -49
- package/dist/lifecycle/index.d.ts +0 -20
- package/dist/lifecycle/index.js +0 -15
- package/dist/live/live.cursor.d.ts +0 -22
- package/dist/live/live.cursor.js +0 -56
- package/dist/live/live.decorators.d.ts +0 -32
- package/dist/live/live.decorators.js +0 -46
- package/dist/live/live.delta.d.ts +0 -15
- package/dist/live/live.delta.js +0 -51
- package/dist/live/live.engine.d.ts +0 -88
- package/dist/live/live.engine.js +0 -471
- package/dist/live/live.invalidation.d.ts +0 -45
- package/dist/live/live.invalidation.js +0 -99
- package/dist/live/live.module.d.ts +0 -28
- package/dist/live/live.module.js +0 -87
- package/dist/live/live.tokens.d.ts +0 -9
- package/dist/live/live.tokens.js +0 -8
- package/dist/live/live.types.d.ts +0 -138
- package/dist/live/live.types.js +0 -1
- package/dist/live/presence.d.ts +0 -44
- package/dist/live/presence.js +0 -130
- package/dist/metadata.d.ts +0 -10
- package/dist/metadata.js +0 -20
- package/dist/module/configurable-module.builder.d.ts +0 -56
- package/dist/module/configurable-module.builder.js +0 -84
- package/dist/module/configurable-module.types.d.ts +0 -93
- package/dist/module/configurable-module.types.js +0 -5
- package/dist/module/decorators.d.ts +0 -10
- package/dist/module/decorators.js +0 -47
- package/dist/module/define-module.d.ts +0 -112
- package/dist/module/define-module.js +0 -232
- package/dist/module/graph.d.ts +0 -10
- package/dist/module/graph.js +0 -35
- package/dist/module/index.d.ts +0 -10
- package/dist/module/index.js +0 -7
- package/dist/module/lazy-modules.d.ts +0 -82
- package/dist/module/lazy-modules.js +0 -231
- package/dist/module/lazy-provider.d.ts +0 -65
- package/dist/module/lazy-provider.js +0 -111
- package/dist/module/middleware.d.ts +0 -30
- package/dist/module/middleware.js +0 -67
- package/dist/module/module-loader.d.ts +0 -58
- package/dist/module/module-loader.js +0 -484
- package/dist/module/stable-hash.d.ts +0 -15
- package/dist/module/stable-hash.js +0 -52
- package/dist/module/types.d.ts +0 -1
- package/dist/module/types.js +0 -1
- package/dist/openapi/decorators.d.ts +0 -34
- package/dist/openapi/decorators.js +0 -66
- package/dist/openapi/document.d.ts +0 -3
- package/dist/openapi/document.js +0 -316
- package/dist/openapi/index.d.ts +0 -7
- package/dist/openapi/index.js +0 -6
- package/dist/openapi/redoc-ui.d.ts +0 -1
- package/dist/openapi/redoc-ui.js +0 -19
- package/dist/openapi/scalar-ui.d.ts +0 -1
- package/dist/openapi/scalar-ui.js +0 -19
- package/dist/openapi/swagger-ui.d.ts +0 -1
- package/dist/openapi/swagger-ui.js +0 -23
- package/dist/openapi/types.d.ts +0 -182
- package/dist/openapi/types.js +0 -4
- package/dist/openapi/zod-to-json-schema.d.ts +0 -4
- package/dist/openapi/zod-to-json-schema.js +0 -57
- package/dist/pipeline/app-providers.d.ts +0 -10
- package/dist/pipeline/app-providers.js +0 -43
- package/dist/pipeline/component.manager.d.ts +0 -25
- package/dist/pipeline/component.manager.js +0 -66
- package/dist/pipeline/decorators.d.ts +0 -10
- package/dist/pipeline/decorators.js +0 -42
- package/dist/pipeline/index.d.ts +0 -12
- package/dist/pipeline/index.js +0 -7
- package/dist/pipeline/pipeline-runner.d.ts +0 -31
- package/dist/pipeline/pipeline-runner.js +0 -40
- package/dist/pipeline/pipes.d.ts +0 -48
- package/dist/pipeline/pipes.js +0 -104
- package/dist/pipeline/reflector.d.ts +0 -86
- package/dist/pipeline/reflector.js +0 -121
- package/dist/pipeline/scoped-components.d.ts +0 -26
- package/dist/pipeline/scoped-components.js +0 -27
- package/dist/pipeline/tokens.d.ts +0 -57
- package/dist/pipeline/tokens.js +0 -47
- package/dist/pipeline/types.d.ts +0 -64
- package/dist/pipeline/types.js +0 -1
- package/dist/plugin/plugin.d.ts +0 -31
- package/dist/plugin/plugin.js +0 -111
- package/dist/queue/inline.driver.d.ts +0 -30
- package/dist/queue/inline.driver.js +0 -58
- package/dist/queue/queue.binding.d.ts +0 -23
- package/dist/queue/queue.binding.js +0 -60
- package/dist/queue/queue.client.d.ts +0 -20
- package/dist/queue/queue.client.js +0 -33
- package/dist/queue/queue.decorators.d.ts +0 -23
- package/dist/queue/queue.decorators.js +0 -46
- package/dist/queue/queue.dispatch.d.ts +0 -36
- package/dist/queue/queue.dispatch.js +0 -109
- package/dist/queue/queue.module.d.ts +0 -32
- package/dist/queue/queue.module.js +0 -80
- package/dist/queue/queue.tokens.d.ts +0 -21
- package/dist/queue/queue.tokens.js +0 -34
- package/dist/queue/queue.types.d.ts +0 -61
- package/dist/queue/queue.types.js +0 -4
- package/dist/registry/index.d.ts +0 -2
- package/dist/registry/index.js +0 -1
- package/dist/registry/metadata.registry.d.ts +0 -73
- package/dist/registry/metadata.registry.js +0 -357
- package/dist/registry/paths.d.ts +0 -3
- package/dist/registry/paths.js +0 -15
- package/dist/registry/types.d.ts +0 -116
- package/dist/registry/types.js +0 -1
- package/dist/registry/util.d.ts +0 -3
- package/dist/registry/util.js +0 -8
- package/dist/schedule/cron-matcher.d.ts +0 -2
- package/dist/schedule/cron-matcher.js +0 -62
- package/dist/schedule/index.d.ts +0 -8
- package/dist/schedule/index.js +0 -5
- package/dist/schedule/schedule.decorators.d.ts +0 -2
- package/dist/schedule/schedule.decorators.js +0 -18
- package/dist/schedule/schedule.module.d.ts +0 -9
- package/dist/schedule/schedule.module.js +0 -28
- package/dist/schedule/schedule.registry.d.ts +0 -23
- package/dist/schedule/schedule.registry.js +0 -63
- package/dist/schedule/schedule.tokens.d.ts +0 -2
- package/dist/schedule/schedule.tokens.js +0 -2
- package/dist/schedule/schedule.types.d.ts +0 -8
- package/dist/schedule/schedule.types.js +0 -1
- package/dist/schedule-node/schedule-node.module.d.ts +0 -9
- package/dist/schedule-node/schedule-node.module.js +0 -28
- package/dist/schedule-node/schedule.executor.d.ts +0 -19
- package/dist/schedule-node/schedule.executor.js +0 -112
- package/dist/seeder/seeder.decorator.d.ts +0 -7
- package/dist/seeder/seeder.decorator.js +0 -15
- package/dist/seeder/seeder.module.d.ts +0 -16
- package/dist/seeder/seeder.module.js +0 -44
- package/dist/seeder/seeder.registry.d.ts +0 -23
- package/dist/seeder/seeder.registry.js +0 -83
- package/dist/seeder/seeder.tokens.d.ts +0 -2
- package/dist/seeder/seeder.tokens.js +0 -1
- package/dist/seeder/seeder.types.d.ts +0 -20
- package/dist/seeder/seeder.types.js +0 -1
- package/dist/serialization/index.d.ts +0 -2
- package/dist/serialization/index.js +0 -2
- package/dist/serialization/serialize.decorator.d.ts +0 -6
- package/dist/serialization/serialize.decorator.js +0 -7
- package/dist/serialization/serializer.interceptor.d.ts +0 -4
- package/dist/serialization/serializer.interceptor.js +0 -16
- package/dist/services/index.d.ts +0 -2
- package/dist/services/index.js +0 -1
- package/dist/services/logger.d.ts +0 -59
- package/dist/services/logger.js +0 -159
- package/dist/storage/path-template.d.ts +0 -9
- package/dist/storage/path-template.js +0 -20
- package/dist/storage/storage.types.d.ts +0 -41
- package/dist/storage/storage.types.js +0 -5
- package/dist/throttler/index.d.ts +0 -6
- package/dist/throttler/index.js +0 -5
- package/dist/throttler/throttler.decorators.d.ts +0 -3
- package/dist/throttler/throttler.decorators.js +0 -4
- package/dist/throttler/throttler.guard.d.ts +0 -9
- package/dist/throttler/throttler.guard.js +0 -72
- package/dist/throttler/throttler.module.d.ts +0 -7
- package/dist/throttler/throttler.module.js +0 -41
- package/dist/throttler/throttler.storage.d.ts +0 -10
- package/dist/throttler/throttler.storage.js +0 -44
- package/dist/throttler/throttler.tokens.d.ts +0 -6
- package/dist/throttler/throttler.tokens.js +0 -5
- package/dist/throttler/throttler.types.d.ts +0 -25
- package/dist/throttler/throttler.types.js +0 -1
- package/dist/validation/create-zod-dto.d.ts +0 -13
- package/dist/validation/create-zod-dto.js +0 -18
- package/dist/validation/index.d.ts +0 -3
- package/dist/validation/index.js +0 -2
- package/dist/validation/validation.pipe.d.ts +0 -4
- package/dist/validation/validation.pipe.js +0 -19
- package/dist/websocket/websocket.decorators.d.ts +0 -47
- package/dist/websocket/websocket.decorators.js +0 -80
- package/dist/websocket/websocket.module.d.ts +0 -35
- package/dist/websocket/websocket.module.js +0 -63
- package/dist/websocket/websocket.tokens.d.ts +0 -30
- package/dist/websocket/websocket.tokens.js +0 -27
- package/dist/websocket/websocket.types.d.ts +0 -102
- package/dist/websocket/websocket.types.js +0 -4
- package/dist/websocket/ws-argument-resolver.d.ts +0 -13
- package/dist/websocket/ws-argument-resolver.js +0 -40
- package/dist/websocket/ws-dispatcher.d.ts +0 -54
- package/dist/websocket/ws-dispatcher.js +0 -343
- package/dist/websocket/ws-exception.d.ts +0 -25
- package/dist/websocket/ws-exception.js +0 -42
- package/dist/websocket/ws-execution-context.d.ts +0 -9
- package/dist/websocket/ws-execution-context.js +0 -24
- package/dist/websocket/ws-server.d.ts +0 -31
- package/dist/websocket/ws-server.js +0 -74
- package/dist/websocket/ws-sync.d.ts +0 -47
- package/dist/websocket/ws-sync.js +0 -74
- package/dist/websocket-node/node-ws-client.d.ts +0 -24
- package/dist/websocket-node/node-ws-client.js +0 -49
- package/dist/websocket-node/redis-live.d.ts +0 -24
- package/dist/websocket-node/redis-live.js +0 -57
- package/dist/websocket-node/redis-sync.d.ts +0 -33
- package/dist/websocket-node/redis-sync.js +0 -56
- package/dist/websocket-node/register-gateways.d.ts +0 -20
- package/dist/websocket-node/register-gateways.js +0 -61
package/dist/index.d.ts
CHANGED
|
@@ -1,70 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export type
|
|
7
|
-
export { createOpenApiDocument, ApiDoc, ApiTags, ApiResponse, zodToJsonSchema, } from './openapi/index';
|
|
8
|
-
export type { OpenApiDocument, OpenApiInfo, OpenApiOperation, OpenApiParameter, OpenApiPathItem, OpenApiRequestBody, OpenApiResponse, ApiDocMetadata, ApiResponseEntry, ApiResponseOptions, CreateOpenApiDocumentOptions, HttpVerb, JsonSchema, } from './openapi/index';
|
|
9
|
-
export { Container, Injectable, Inject, Optional, InjectionToken, ForwardRef, forwardRef, ModuleRef, ModuleVisibilityError, MultipleProvidersFoundError, ROOT_MODULE_ID, mixin, describeToken, } from './container/index';
|
|
10
|
-
export type { Type, Token, InferToken, InferTokens, InjectableOptions, ProviderOptions, ModuleScope, ModuleDescription, ContainerOptions, Diagnostics, } from './container/index';
|
|
11
|
-
export type { RouteDescription } from './http/route.manager';
|
|
12
|
-
export { METADATA_KEYS, HttpMethod, ParamType, Scope } from './constants';
|
|
13
|
-
export { Controller, Version, Get, Post, Put, Patch, Delete, Options, Head, All, Sse, Param, Query, Body, Headers, Req, Res, Ip, Cookie, Cookies, RawBody, HttpCode, Header, Redirect, createParamDecorator, createLazyParamDecorator, applyDecorators, UrlGeneratorService, SignedUrlGuard, SignedUrl, URL_SIGNING_SECRET, } from './http/index';
|
|
14
|
-
export type { RouteOptions, UrlForOptions, SignedUrlGenerateOptions, VelaRouteMap, RouteName, RouteParams, } from './http/index';
|
|
15
|
-
export { signUrl, verifySignedUrl } from './crypto/signed-url';
|
|
16
|
-
export type { SignedUrlOptions } from './crypto/signed-url';
|
|
17
|
-
export { REQUEST_CONTEXT } from './http/request-context';
|
|
18
|
-
export type { RequestContext } from './http/request-context';
|
|
19
|
-
export { getRequestContainer } from './http/request-container';
|
|
20
|
-
export { enableAmbientContainer, getCurrentContainer, getCurrentRequestContext, } from './http/ambient';
|
|
21
|
-
export { Logger, LogLevel } from './services/index';
|
|
22
|
-
export type { LoggerService, ContextProvider, Writer, LoggerLevelName } from './services/index';
|
|
23
|
-
export { ConfigModule, ConfigService, ConfigStore, CONFIG_OPTIONS, CONFIG_ENV, registerAs, } from './config/index';
|
|
24
|
-
export type { ConfigModuleOptions, ConfigSchema, ConfigNamespace, AnyConfigNamespace, InferConfigType, ConfigType, ConfigPath, ConfigPathValue, } from './config/index';
|
|
25
|
-
export { HttpModule, HttpService, HTTP_MODULE_OPTIONS, HttpRequestException } from './fetch/index';
|
|
26
|
-
export type { HttpModuleOptions, HttpResponse, HttpRequestConfig } from './fetch/index';
|
|
27
|
-
export { CorsModule, CORS_OPTIONS } from './cors/index';
|
|
28
|
-
export type { CorsOptions } from './cors/index';
|
|
29
|
-
export { CacheModule, CacheService, CacheInterceptor, MemoryCacheStore, TieredCacheStore, CacheKey, CacheTTL, CACHE_MANAGER, CACHE_MODULE_OPTIONS, CACHE_KEY_METADATA, CACHE_TTL_METADATA, } from './cache/index';
|
|
30
|
-
export type { Awaitable, CacheModuleOptions, CacheStore, AsyncCacheStore, AnyCacheStore, CacheEntry, } from './cache/index';
|
|
31
|
-
export { EventEmitterModule, EventEmitter, EventEmitterSubscriber, OnEvent, ON_EVENT_METADATA, } from './event-emitter/index';
|
|
32
|
-
export type { EventHandler, OnEventMetadata } from './event-emitter/index';
|
|
33
|
-
export { ScheduleModule, ScheduleRegistry, Cron, Interval, parseCron, CRON_METADATA, INTERVAL_METADATA, } from './schedule/index';
|
|
34
|
-
export type { RegisteredCronJob, RegisteredIntervalJob, CronMetadata, IntervalMetadata, CronMatcher, } from './schedule/index';
|
|
35
|
-
export { WebSocketModule, WebSocketGateway, SubscribeMessage, MessageBody, ConnectedSocket, WebSocketServer, ReservedWsEvent, WsDispatcher, WsException, WS_SERVER, RESERVED_WS_EVENT_PREFIX, } from './websocket/index';
|
|
36
|
-
export type { WebSocketModuleOptions, WsClient, WsServer, WsMessage, WsResponse, ReservedWsEventMetadata, ReservedWsEventHandler, WsExecutionContext, WsArgumentsHost, BroadcastCommand, SyncDriver, RoomRegistry, OnGatewayInit, OnGatewayConnection, OnGatewayDisconnect, } from './websocket/index';
|
|
37
|
-
export { HealthModule, HealthCheckService, HealthIndicatorService, HttpHealthIndicator, } from './health/index';
|
|
38
|
-
export type { HealthCheckResult, HealthCheckStatus, HealthIndicatorResult, HealthIndicatorFunction, ResponseCheckCallback, HttpPingOptions, } from './health/index';
|
|
39
|
-
export { ThrottlerModule, ThrottlerGuard, ThrottlerStorage, Throttle, SkipThrottle, THROTTLER_OPTIONS, THROTTLER_STORAGE, THROTTLE_METADATA, SKIP_THROTTLE_METADATA, } from './throttler/index';
|
|
40
|
-
export type { ThrottlerModuleOptions, ThrottleConfig, ThrottlerStore, ThrottlerStorageRecord, RateLimitInfo, } from './throttler/index';
|
|
41
|
-
export { Global, Module, defineDynamicModule, stableHash, moduleKey, ConfigurableModuleBuilder, defineConfigurableModule, defineModule, buildAsyncOptionsProviders, lazyProvider, moduleToken, provideGlobal, sideEffectModule, } from './module/index';
|
|
42
|
-
export type { ModuleOptions, DynamicModule, AsyncModuleOptions, ModuleImport, ConfigurableModuleAsyncOptions, ConfigurableModuleBuilderOptions, ConfigurableModuleClassType, ConfigurableModuleExtras, ConfigurableModuleExtrasTransform, ConfigurableModuleHost, ConfigurableModuleOptionsFactory, DefineConfigurableModuleSpec, DefineModuleSpec, GlobalComponentSlot, ModuleContributions, ModuleSetupContext, LazyProviderSpec, } from './module/index';
|
|
43
|
-
export type { MiddlewareConsumer, NestModule, RouteInfo } from './http/index';
|
|
44
|
-
export { DiscoveryService, createDiscoverableDecorator, } from './discovery/index';
|
|
45
|
-
export type { DiscoveredClass, DiscoveredMethodMeta, DiscoveryFilter, DiscoverableDecorator, CreateDiscoverableDecoratorOptions, } from './discovery/index';
|
|
46
|
-
export { EntrypointRegistry, registerEntrypointKind, getEntrypointKinds, contributesEntrypoints, runInEntrypointScope, buildEntrypointExecutionContext, } from './entrypoint/index';
|
|
47
|
-
export type { ContributesEntrypoints, Entrypoint, EntrypointKind, EntrypointExecutionContext, } from './entrypoint/index';
|
|
48
|
-
export { registerRouteContributor, getRouteContributors, } from './http/route-contributor';
|
|
49
|
-
export type { RouteContributor, RouteContributorContext, RouteContributorOpenApiContext, } from './http/route-contributor';
|
|
50
|
-
export type { AdapterContext, RuntimeAdapter } from './factory/adapter';
|
|
51
|
-
export type { VelaCreateOptions } from './factory';
|
|
52
|
-
export { definePlugin, composePlugins, PluginRegistry, PluginRootModule, PLUGIN_REGISTRY_TOKEN, } from './plugin/plugin';
|
|
53
|
-
export type { Plugin } from './plugin/plugin';
|
|
54
|
-
export { UseMiddleware, UseGuards, UsePipes, UseInterceptors, UseFilters, Catch, SetMetadata, Reflector, PipelineRunner, getCatchTypes, shouldFilterCatch, resolveScopedComponents, APP_GUARD, APP_PIPE, APP_INTERCEPTOR, APP_FILTER, APP_MIDDLEWARE, APP_EXCEPTION_HANDLER, ERROR_CATALOG, } from './pipeline/index';
|
|
55
|
-
export type { PipelineRunOptions, ResolvedComponentMap } from './pipeline/index';
|
|
56
|
-
export type { HttpArgumentsHost, ExecutionContext, CanActivate, CallHandler, NestInterceptor, NestMiddleware, PipeTransform, ExceptionFilter, ArgumentMetadata, ReflectableDecorator, CreateDecoratorOptions, } from './pipeline/index';
|
|
57
|
-
export type { Constructor, MiddlewareType, GuardType, PipeType, InterceptorType, FilterType, } from './registry/index';
|
|
58
|
-
export { ParseIntPipe, ParseFloatPipe, ParseBoolPipe, ParseUUIDPipe, ParseEnumPipe, ParseArrayPipe, DefaultValuePipe, RequiredPipe, ZodValidationPipe, } from './pipeline/index';
|
|
59
|
-
export type { ParseUUIDPipeOptions, ParseArrayPipeOptions } from './pipeline/index';
|
|
60
|
-
export { HttpException, BadRequestException, UnauthorizedException, ForbiddenException, NotFoundException, MethodNotAllowedException, NotAcceptableException, RequestTimeoutException, ConflictException, GoneException, PayloadTooLargeException, UnsupportedMediaTypeException, UnprocessableEntityException, TooManyRequestsException, InternalServerErrorException, NotImplementedException, BadGatewayException, ServiceUnavailableException, GatewayTimeoutException, } from './errors/index';
|
|
61
|
-
export { ErrorsModule, matchesAny, resolveErrorReporter } from './exceptions/index';
|
|
62
|
-
export type { ErrorMatcher, ErrorReportContext, ErrorsModuleOptions, ExceptionHandler, ErrorReporter, } from './exceptions/index';
|
|
63
|
-
export { VelaError, isVelaError, defineErrorCatalog, composeCatalogs, toErrorBody, CORE_CATALOG, } from '@velajs/errors';
|
|
64
|
-
export type { Catalog, ErrorBodyResult, ErrorCatalogEntry, VelaErrorOptions } from '@velajs/errors';
|
|
65
|
-
export type { OnModuleInit, OnApplicationBootstrap, OnModuleDestroy, OnApplicationShutdown, BeforeApplicationShutdown, } from './lifecycle/index';
|
|
66
|
-
export { MetadataRegistry } from './registry/metadata.registry';
|
|
67
|
-
export { createZodDto, ValidationPipe } from './validation/index';
|
|
68
|
-
export type { CreateZodDtoOptions } from './validation/index';
|
|
69
|
-
export { Serialize, SerializerInterceptor, SERIALIZE_METADATA } from './serialization/index';
|
|
70
|
-
export { getRuntimeKey, env } from 'hono/adapter';
|
|
1
|
+
import { a as OnApplicationBootstrap, c as OnModuleInit, i as BeforeApplicationShutdown, l as defineMetadata, n as RegisteredIntervalJob, o as OnApplicationShutdown, r as ScheduleRegistry, s as OnModuleDestroy, t as RegisteredCronJob, u as getMetadata } from "./schedule.registry-DVm7Jp5w.js";
|
|
2
|
+
import { $ as forwardRef, A as NestInterceptor, B as InferTokens, D as ExceptionFilter, E as CanActivate, F as Constructor, G as ModuleScope, H as InjectableOptions, I as ContainerOptions, J as ProviderOptions, K as ModuleVisibilityError, L as Diagnostics, M as PipeTransform, N as WsArgumentsHost, O as ExecutionContext, P as Container, Q as describeToken, R as ForwardRef, S as PipeType, T as CallHandler, U as InjectionToken, W as ModuleDescription, X as Token, Y as ROOT_MODULE_ID, Z as Type, _ as MiddlewareType, a as CreateDiscoverableDecoratorOptions, b as ModuleOptions, c as AsyncModuleOptions, et as HttpMethod, f as DynamicModule, g as InterceptorType, i as DiscoveryService, j as NestMiddleware, k as HttpArgumentsHost, m as GuardType, n as DiscoveredMethodMeta, nt as ParamType, o as DiscoverableDecorator, p as FilterType, q as MultipleProvidersFoundError, r as DiscoveryFilter, rt as Scope, s as createDiscoverableDecorator, t as DiscoveredClass, tt as METADATA_KEYS, v as ModuleImport, w as ArgumentMetadata, z as InferToken } from "./discovery.service-Cpf1QcZ5.js";
|
|
3
|
+
import { $ as contributesEntrypoints, A as CreateOpenApiDocumentOptions, B as RouteDescription, C as BootstrapResult, D as ApiDocMetadata, E as VelaApplication, F as OpenApiOperation, G as NestModule, I as OpenApiParameter, J as getEntrypointKinds, K as RouteInfo, L as OpenApiPathItem, M as JsonSchema, N as OpenApiDocument, O as ApiResponseEntry, P as OpenApiInfo, Q as EntrypointKind, R as OpenApiRequestBody, S as BootstrapOptions, W as MiddlewareConsumer, X as ContributesEntrypoints, Y as registerEntrypointKind, Z as Entrypoint, _ as Module, a as APP_INTERCEPTOR, c as ERROR_CATALOG, d as Plugin, et as ErrorMatcher, f as PluginRegistry, g as Global, h as definePlugin, i as APP_GUARD, j as HttpVerb, k as ApiResponseOptions, m as composePlugins, n as APP_EXCEPTION_HANDLER, nt as ExceptionHandler, o as APP_MIDDLEWARE, p as PluginRootModule, q as EntrypointRegistry, r as APP_FILTER, rt as matchesAny, s as APP_PIPE, t as MetadataRegistry, tt as ErrorReportContext, u as PLUGIN_REGISTRY_TOKEN, v as defineDynamicModule, w as bootstrap, x as ModuleRef, z as OpenApiResponse } from "./metadata.registry-D1od8ZBt.js";
|
|
4
|
+
import { $ as CreateDecoratorOptions, $i as Sse, $r as ConfigModuleOptions, $t as ThrottlerGuard, A as InternalServerErrorException, Ai as All, Ar as CacheService, At as ModuleContributions, B as UnprocessableEntityException, Bi as HttpCode, Bn as MessageBody, Br as CorsOptions, Bt as ConfigurableModuleExtras, C as BadGatewayException, Ci as SignedUrlGenerateOptions, Cr as CACHE_MODULE_OPTIONS, Ct as LazyProviderSpec, D as GatewayTimeoutException, Di as RouteParams, Dr as TieredCacheStore, Dt as sideEffectModule, E as ForbiddenException, Ei as RouteName, En as WsException, Er as CacheTTL, Et as provideGlobal, F as PayloadTooLargeException, Fi as Delete, Fr as CacheEntry, Ft as defineConfigurableModule, G as ParseBoolPipe, Gi as Post, Gn as BroadcastCommand, Gr as HttpModuleOptions, Gt as stableHash, H as DefaultValuePipe, Hi as Options, Hn as SubscribeMessage, Hr as HttpRequestException, Ht as ConfigurableModuleHost, I as RequestTimeoutException, Ii as Get, In as RoomRegistry, Ir as CacheModuleOptions, It as moduleKey, J as ParseIntPipe, Ji as RawBody, Jn as OnGatewayDisconnect, Jr as CONFIG_ENV, Jt as THROTTLER_STORAGE, K as ParseEnumPipe, Ki as Put, Kr as HttpRequestConfig, Kt as SKIP_THROTTLE_METADATA, L as ServiceUnavailableException, Li as Head, Ln as SyncDriver, Lr as CacheStore, Lt as ConfigurableModuleAsyncOptions, M as NotAcceptableException, Mi as Controller, Mr as AnyCacheStore, Mt as buildAsyncOptionsProviders, N as NotFoundException, Ni as Cookie, Nn as WebSocketModule, Nr as AsyncCacheStore, Nt as defineModule, O as GoneException, Oi as VelaRouteMap, Or as MemoryCacheStore, Ot as DefineModuleSpec, P as NotImplementedException, Pi as Cookies, Pn as WebSocketModuleOptions, Pr as Awaitable, Pt as ConfigurableModuleBuilder, Q as ZodValidationPipe, Qi as RouteOptions, Qr as ConfigModule, Qt as ThrottlerStorage, R as TooManyRequestsException, Ri as Header, Rr as CORS_OPTIONS, Rt as ConfigurableModuleBuilderOptions, S as ErrorsModuleOptions, Si as SignedUrlGuard, Sr as CACHE_MANAGER, St as runInEntrypointScope, T as ConflictException, Ti as UrlGeneratorService, Tr as CacheKey, Tt as moduleToken, U as ParseArrayPipe, Ui as Param, Un as WebSocketGateway, Ur as HttpService, Ut as ConfigurableModuleOptionsFactory, V as UnsupportedMediaTypeException, Vi as Ip, Vn as ReservedWsEvent, Vr as HTTP_MODULE_OPTIONS, Vt as ConfigurableModuleExtrasTransform, W as ParseArrayPipeOptions, Wi as Patch, Wn as WebSocketServer, Wr as HttpModule, Wt as DefineConfigurableModuleSpec, X as ParseUUIDPipeOptions, Xi as Req, Xn as ReservedWsEventHandler, Xr as ConfigService, Xt as SkipThrottle, Y as ParseUUIDPipe, Yi as Redirect, Yn as OnGatewayInit, Yr as CONFIG_OPTIONS, Yt as THROTTLE_METADATA, Z as RequiredPipe, Zi as Res, Zn as ReservedWsEventMetadata, Zr as ConfigStore, Zt as Throttle, _ as CreateZodDtoOptions, _i as getCurrentRequestContext, _r as EventEmitter, _t as RouteContributorOpenApiContext, a as VelaError, aa as Injectable, ai as ConfigType, an as ThrottlerStore, ar as CronMatcher, at as UseGuards, b as resolveErrorReporter, bi as URL_SIGNING_SECRET, br as EventEmitterModule, bt as EntrypointExecutionContext, c as defineErrorCatalog, ca as ApiDoc, ci as ContextProvider, cn as HealthIndicatorService, cr as IntervalMetadata, ct as UsePipes, d as isVelaError, da as createOpenApiDocument, di as LoggerLevelName, dn as HealthCheckStatus, dr as Cron, dt as ResolvedComponentMap, ea as Version, ei as ConfigPath, en as ThrottlerModule, er as WsClient, et as ReflectableDecorator, f as toErrorBody, fa as VelaCreateOptions, fi as LoggerService, fn as HealthIndicatorFunction, fr as Interval, ft as resolveScopedComponents, g as ValidationPipe, gi as getCurrentContainer, gn as RESERVED_WS_EVENT_PREFIX, gr as EventEmitterSubscriber, gt as RouteContributorContext, h as Serialize, ha as RuntimeAdapter, hi as enableAmbientContainer, hn as HealthModule, hr as OnEvent, ht as RouteContributor, i as ErrorCatalogEntry, ia as Inject, ii as ConfigNamespace, in as ThrottlerStorageRecord, ir as WsServer, it as UseFilters, j as MethodNotAllowedException, ji as Body, jn as WsDispatcher, jr as CacheModule, jt as ModuleSetupContext, k as HttpException, ki as createLazyParamDecorator, kr as CacheInterceptor, kt as GlobalComponentSlot, l as env, la as ApiResponse, li as LogLevel, ln as HealthCheckService, lr as CRON_METADATA, lt as getCatchTypes, m as SERIALIZE_METADATA, ma as AdapterContext, mi as getRequestContainer, mn as ResponseCheckCallback, mr as ON_EVENT_METADATA, mt as PipelineRunner, n as Catalog, na as createParamDecorator, ni as ConfigSchema, nn as ThrottleConfig, nr as WsMessage, nt as SetMetadata, o as VelaErrorOptions, oa as Optional, oi as InferConfigType, on as HttpHealthIndicator, or as parseCron, ot as UseInterceptors, p as SerializerInterceptor, pa as VelaFactory, pi as Writer, pn as HealthIndicatorResult, pr as ScheduleModule, pt as PipelineRunOptions, q as ParseFloatPipe, qi as Query, qn as OnGatewayConnection, qr as HttpResponse, qt as THROTTLER_OPTIONS, r as ErrorBodyResult, ra as mixin, ri as AnyConfigNamespace, rn as ThrottlerModuleOptions, rr as WsResponse, rt as Catch, s as composeCatalogs, sa as zodToJsonSchema, si as registerAs, sn as HttpPingOptions, sr as CronMetadata, st as UseMiddleware, t as CORE_CATALOG, ta as applyDecorators, ti as ConfigPathValue, tn as RateLimitInfo, tr as WsExecutionContext, tt as Reflector, u as getRuntimeKey, ua as ApiTags, ui as Logger, un as HealthCheckResult, ur as INTERVAL_METADATA, ut as shouldFilterCatch, v as createZodDto, vi as REQUEST_CONTEXT, vr as EventHandler, vt as getRouteContributors, w as BadRequestException, wi as UrlForOptions, wr as CACHE_TTL_METADATA, wt as lazyProvider, x as ErrorsModule, xi as SignedUrl, xn as WS_SERVER, xr as CACHE_KEY_METADATA, xt as buildEntrypointExecutionContext, y as ErrorReporter, yi as RequestContext, yr as OnEventMetadata, yt as registerRouteContributor, z as UnauthorizedException, zi as Headers, zn as ConnectedSocket, zr as CorsModule, zt as ConfigurableModuleClassType } from "./index-DhShDLCM.js";
|
|
5
|
+
import { n as signUrl, r as verifySignedUrl, t as SignedUrlOptions } from "./signed-url-DKhgja4U.js";
|
|
6
|
+
export { APP_EXCEPTION_HANDLER, APP_FILTER, APP_GUARD, APP_INTERCEPTOR, APP_MIDDLEWARE, APP_PIPE, type AdapterContext, All, type AnyCacheStore, type AnyConfigNamespace, ApiDoc, type ApiDocMetadata, ApiResponse, type ApiResponseEntry, type ApiResponseOptions, ApiTags, type ArgumentMetadata, type AsyncCacheStore, type AsyncModuleOptions, type Awaitable, BadGatewayException, BadRequestException, type BeforeApplicationShutdown, Body, type BootstrapOptions, type BootstrapResult, type BroadcastCommand, CACHE_KEY_METADATA, CACHE_MANAGER, CACHE_MODULE_OPTIONS, CACHE_TTL_METADATA, CONFIG_ENV, CONFIG_OPTIONS, CORE_CATALOG, CORS_OPTIONS, CRON_METADATA, type CacheEntry, CacheInterceptor, CacheKey, CacheModule, type CacheModuleOptions, CacheService, type CacheStore, CacheTTL, type CallHandler, type CanActivate, type Catalog, Catch, ConfigModule, type ConfigModuleOptions, type ConfigNamespace, type ConfigPath, type ConfigPathValue, type ConfigSchema, ConfigService, ConfigStore, type ConfigType, type ConfigurableModuleAsyncOptions, ConfigurableModuleBuilder, type ConfigurableModuleBuilderOptions, type ConfigurableModuleClassType, type ConfigurableModuleExtras, type ConfigurableModuleExtrasTransform, type ConfigurableModuleHost, type ConfigurableModuleOptionsFactory, ConflictException, ConnectedSocket, type Constructor, Container, type ContainerOptions, type ContextProvider, type ContributesEntrypoints, Controller, Cookie, Cookies, CorsModule, type CorsOptions, type CreateDecoratorOptions, type CreateDiscoverableDecoratorOptions, type CreateOpenApiDocumentOptions, type CreateZodDtoOptions, Cron, type CronMatcher, type CronMetadata, DefaultValuePipe, type DefineConfigurableModuleSpec, type DefineModuleSpec, Delete, type Diagnostics, type DiscoverableDecorator, type DiscoveredClass, type DiscoveredMethodMeta, type DiscoveryFilter, DiscoveryService, type DynamicModule, ERROR_CATALOG, type Entrypoint, type EntrypointExecutionContext, type EntrypointKind, EntrypointRegistry, type ErrorBodyResult, type ErrorCatalogEntry, type ErrorMatcher, type ErrorReportContext, type ErrorReporter, ErrorsModule, type ErrorsModuleOptions, EventEmitter, EventEmitterModule, EventEmitterSubscriber, type EventHandler, type ExceptionFilter, type ExceptionHandler, type ExecutionContext, type FilterType, ForbiddenException, ForwardRef, GatewayTimeoutException, Get, Global, type GlobalComponentSlot, GoneException, type GuardType, HTTP_MODULE_OPTIONS, Head, Header, Headers, type HealthCheckResult, HealthCheckService, type HealthCheckStatus, type HealthIndicatorFunction, type HealthIndicatorResult, HealthIndicatorService, HealthModule, type HttpArgumentsHost, HttpCode, HttpException, HttpHealthIndicator, HttpMethod, HttpModule, type HttpModuleOptions, type HttpPingOptions, type HttpRequestConfig, HttpRequestException, type HttpResponse, HttpService, type HttpVerb, INTERVAL_METADATA, type InferConfigType, type InferToken, type InferTokens, Inject, Injectable, type InjectableOptions, InjectionToken, type InterceptorType, InternalServerErrorException, Interval, type IntervalMetadata, Ip, type JsonSchema, type LazyProviderSpec, LogLevel, Logger, type LoggerLevelName, type LoggerService, METADATA_KEYS, MemoryCacheStore, MessageBody, MetadataRegistry, MethodNotAllowedException, type MiddlewareConsumer, type MiddlewareType, Module, type ModuleContributions, type ModuleDescription, type ModuleImport, type ModuleOptions, ModuleRef, type ModuleScope, type ModuleSetupContext, ModuleVisibilityError, MultipleProvidersFoundError, type NestInterceptor, type NestMiddleware, type NestModule, NotAcceptableException, NotFoundException, NotImplementedException, ON_EVENT_METADATA, type OnApplicationBootstrap, type OnApplicationShutdown, OnEvent, type OnEventMetadata, type OnGatewayConnection, type OnGatewayDisconnect, type OnGatewayInit, type OnModuleDestroy, type OnModuleInit, type OpenApiDocument, type OpenApiInfo, type OpenApiOperation, type OpenApiParameter, type OpenApiPathItem, type OpenApiRequestBody, type OpenApiResponse, Optional, Options, PLUGIN_REGISTRY_TOKEN, Param, ParamType, ParseArrayPipe, type ParseArrayPipeOptions, ParseBoolPipe, ParseEnumPipe, ParseFloatPipe, ParseIntPipe, ParseUUIDPipe, type ParseUUIDPipeOptions, Patch, PayloadTooLargeException, type PipeTransform, type PipeType, type PipelineRunOptions, PipelineRunner, type Plugin, PluginRegistry, PluginRootModule, Post, type ProviderOptions, Put, Query, REQUEST_CONTEXT, RESERVED_WS_EVENT_PREFIX, ROOT_MODULE_ID, type RateLimitInfo, RawBody, Redirect, type ReflectableDecorator, Reflector, type RegisteredCronJob, type RegisteredIntervalJob, Req, type RequestContext, RequestTimeoutException, RequiredPipe, Res, ReservedWsEvent, type ReservedWsEventHandler, type ReservedWsEventMetadata, type ResolvedComponentMap, type ResponseCheckCallback, type RoomRegistry, type RouteContributor, type RouteContributorContext, type RouteContributorOpenApiContext, type RouteDescription, type RouteInfo, type RouteName, type RouteOptions, type RouteParams, type RuntimeAdapter, SERIALIZE_METADATA, SKIP_THROTTLE_METADATA, ScheduleModule, ScheduleRegistry, Scope, Serialize, SerializerInterceptor, ServiceUnavailableException, SetMetadata, SignedUrl, type SignedUrlGenerateOptions, SignedUrlGuard, type SignedUrlOptions, SkipThrottle, Sse, SubscribeMessage, type SyncDriver, THROTTLER_OPTIONS, THROTTLER_STORAGE, THROTTLE_METADATA, Throttle, type ThrottleConfig, ThrottlerGuard, ThrottlerModule, type ThrottlerModuleOptions, ThrottlerStorage, type ThrottlerStorageRecord, type ThrottlerStore, TieredCacheStore, type Token, TooManyRequestsException, type Type, URL_SIGNING_SECRET, UnauthorizedException, UnprocessableEntityException, UnsupportedMediaTypeException, type UrlForOptions, UrlGeneratorService, UseFilters, UseGuards, UseInterceptors, UseMiddleware, UsePipes, ValidationPipe, VelaApplication, type VelaCreateOptions, VelaError, type VelaErrorOptions, VelaFactory, type VelaRouteMap, Version, WS_SERVER, WebSocketGateway, WebSocketModule, type WebSocketModuleOptions, WebSocketServer, type Writer, type WsArgumentsHost, type WsClient, WsDispatcher, WsException, type WsExecutionContext, type WsMessage, type WsResponse, type WsServer, ZodValidationPipe, applyDecorators, bootstrap, buildAsyncOptionsProviders, buildEntrypointExecutionContext, composeCatalogs, composePlugins, contributesEntrypoints, createDiscoverableDecorator, createLazyParamDecorator, createOpenApiDocument, createParamDecorator, createZodDto, defineConfigurableModule, defineDynamicModule, defineErrorCatalog, defineMetadata, defineModule, definePlugin, describeToken, enableAmbientContainer, env, forwardRef, getCatchTypes, getCurrentContainer, getCurrentRequestContext, getEntrypointKinds, getMetadata, getRequestContainer, getRouteContributors, getRuntimeKey, isVelaError, lazyProvider, matchesAny, mixin, moduleKey, moduleToken, parseCron, provideGlobal, registerAs, registerEntrypointKind, registerRouteContributor, resolveErrorReporter, resolveScopedComponents, runInEntrypointScope, shouldFilterCatch, sideEffectModule, signUrl, stableHash, toErrorBody, verifySignedUrl, zodToJsonSchema };
|
package/dist/index.js
CHANGED
|
@@ -1,76 +1,14 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export { Controller,
|
|
15
|
-
// Edge-safe HMAC signed-URL primitives (also re-exported from `@velajs/vela/storage`)
|
|
16
|
-
export { signUrl, verifySignedUrl } from "./crypto/signed-url.js";
|
|
17
|
-
// Request-scoped context primitive
|
|
18
|
-
export { REQUEST_CONTEXT } from "./http/request-context.js";
|
|
19
|
-
// Explicit request-child container access (for programmatic-route authors,
|
|
20
|
-
// param-decorator factories, and scoped middleware)
|
|
21
|
-
export { getRequestContainer } from "./http/request-container.js";
|
|
22
|
-
// Opt-in ambient container access (ALS via hono/context-storage)
|
|
23
|
-
export { enableAmbientContainer, getCurrentContainer, getCurrentRequestContext } from "./http/ambient.js";
|
|
24
|
-
// Services
|
|
25
|
-
export { Logger, LogLevel } from "./services/index.js";
|
|
26
|
-
// Config
|
|
27
|
-
export { ConfigModule, ConfigService, ConfigStore, CONFIG_OPTIONS, CONFIG_ENV, registerAs } from "./config/index.js";
|
|
28
|
-
// HTTP Client
|
|
29
|
-
export { HttpModule, HttpService, HTTP_MODULE_OPTIONS, HttpRequestException } from "./fetch/index.js";
|
|
30
|
-
// CORS
|
|
31
|
-
export { CorsModule, CORS_OPTIONS } from "./cors/index.js";
|
|
32
|
-
// Cache
|
|
33
|
-
export { CacheModule, CacheService, CacheInterceptor, MemoryCacheStore, TieredCacheStore, CacheKey, CacheTTL, CACHE_MANAGER, CACHE_MODULE_OPTIONS, CACHE_KEY_METADATA, CACHE_TTL_METADATA } from "./cache/index.js";
|
|
34
|
-
// Event Emitter
|
|
35
|
-
export { EventEmitterModule, EventEmitter, EventEmitterSubscriber, OnEvent, ON_EVENT_METADATA } from "./event-emitter/index.js";
|
|
36
|
-
// Schedule
|
|
37
|
-
export { ScheduleModule, ScheduleRegistry, Cron, Interval, parseCron, CRON_METADATA, INTERVAL_METADATA } from "./schedule/index.js";
|
|
38
|
-
// WebSocket (edge-safe core; transport-facing internals live at @velajs/vela/websocket)
|
|
39
|
-
export { WebSocketModule, WebSocketGateway, SubscribeMessage, MessageBody, ConnectedSocket, WebSocketServer, ReservedWsEvent, WsDispatcher, WsException, WS_SERVER, RESERVED_WS_EVENT_PREFIX } from "./websocket/index.js";
|
|
40
|
-
// Health
|
|
41
|
-
export { HealthModule, HealthCheckService, HealthIndicatorService, HttpHealthIndicator } from "./health/index.js";
|
|
42
|
-
// Throttler
|
|
43
|
-
export { ThrottlerModule, ThrottlerGuard, ThrottlerStorage, Throttle, SkipThrottle, THROTTLER_OPTIONS, THROTTLER_STORAGE, THROTTLE_METADATA, SKIP_THROTTLE_METADATA } from "./throttler/index.js";
|
|
44
|
-
// Module
|
|
45
|
-
export { Global, Module, defineDynamicModule, stableHash, moduleKey, ConfigurableModuleBuilder, defineConfigurableModule, defineModule, buildAsyncOptionsProviders, lazyProvider, moduleToken, provideGlobal, sideEffectModule } from "./module/index.js";
|
|
46
|
-
// Discovery — decorator-driven provider discovery (the public replacement for
|
|
47
|
-
// hand-rolled bootstrap scans)
|
|
48
|
-
export { DiscoveryService, createDiscoverableDecorator } from "./discovery/index.js";
|
|
49
|
-
// Entrypoints — the open non-HTTP entry surface (websocket, queue, cron, …)
|
|
50
|
-
export { EntrypointRegistry, registerEntrypointKind, getEntrypointKinds, contributesEntrypoints, runInEntrypointScope, buildEntrypointExecutionContext } from "./entrypoint/index.js";
|
|
51
|
-
// Route contribution — metadata-claimed route generators (@Crud-style)
|
|
52
|
-
export { registerRouteContributor, getRouteContributors } from "./http/route-contributor.js";
|
|
53
|
-
// Plugin manifest + composer
|
|
54
|
-
export { definePlugin, composePlugins, PluginRegistry, PluginRootModule, PLUGIN_REGISTRY_TOKEN } from "./plugin/plugin.js";
|
|
55
|
-
// Pipeline Decorators
|
|
56
|
-
export { UseMiddleware, UseGuards, UsePipes, UseInterceptors, UseFilters, Catch, SetMetadata, Reflector, PipelineRunner, getCatchTypes, shouldFilterCatch, resolveScopedComponents, APP_GUARD, APP_PIPE, APP_INTERCEPTOR, APP_FILTER, APP_MIDDLEWARE, APP_EXCEPTION_HANDLER, ERROR_CATALOG } from "./pipeline/index.js";
|
|
57
|
-
// Built-in Pipes
|
|
58
|
-
export { ParseIntPipe, ParseFloatPipe, ParseBoolPipe, ParseUUIDPipe, ParseEnumPipe, ParseArrayPipe, DefaultValuePipe, RequiredPipe, ZodValidationPipe } from "./pipeline/index.js";
|
|
59
|
-
// Errors
|
|
60
|
-
export { HttpException, BadRequestException, UnauthorizedException, ForbiddenException, NotFoundException, MethodNotAllowedException, NotAcceptableException, RequestTimeoutException, ConflictException, GoneException, PayloadTooLargeException, UnsupportedMediaTypeException, UnprocessableEntityException, TooManyRequestsException, InternalServerErrorException, NotImplementedException, BadGatewayException, ServiceUnavailableException, GatewayTimeoutException } from "./errors/index.js";
|
|
61
|
-
// Exception handling — the ExceptionHandler contract + shared error reporter.
|
|
62
|
-
// Re-exports the core @velajs/errors surface so app authors need one import to
|
|
63
|
-
// author handlers, throw branded errors, and define/compose catalogs.
|
|
64
|
-
export { ErrorsModule, matchesAny, resolveErrorReporter } from "./exceptions/index.js";
|
|
65
|
-
export { VelaError, isVelaError, defineErrorCatalog, composeCatalogs, toErrorBody, CORE_CATALOG } from "@velajs/errors";
|
|
66
|
-
// MetadataRegistry — the central decoration store. Test setup typically
|
|
67
|
-
// uses `MetadataRegistry.clear()` between cases. Internal primitives like
|
|
68
|
-
// RouteManager/ModuleLoader/ComponentManager live only at @velajs/vela/internal.
|
|
69
|
-
export { MetadataRegistry } from "./registry/metadata.registry.js";
|
|
70
|
-
// Validation
|
|
71
|
-
export { createZodDto, ValidationPipe } from "./validation/index.js";
|
|
72
|
-
// Serialization
|
|
73
|
-
export { Serialize, SerializerInterceptor, SERIALIZE_METADATA } from "./serialization/index.js";
|
|
74
|
-
// Testing utilities live in @velajs/testing — see https://github.com/velajs/testing
|
|
75
|
-
// Hono Adapter Utilities
|
|
76
|
-
export { getRuntimeKey, env } from "hono/adapter";
|
|
1
|
+
import { C as InjectionToken, D as describeToken, E as ROOT_MODULE_ID, O as forwardRef, S as ForwardRef, T as MultipleProvidersFoundError, _ as APP_GUARD, a as Injectable, b as APP_PIPE, d as HttpMethod, f as METADATA_KEYS, g as APP_FILTER, h as APP_EXCEPTION_HANDLER, i as Inject, k as MetadataRegistry, m as Scope, o as Optional, p as ParamType, v as APP_INTERCEPTOR, w as ModuleVisibilityError, x as ERROR_CATALOG, y as APP_MIDDLEWARE } from "./decorate-GcSMAbKn.js";
|
|
2
|
+
import { A as UseGuards, B as registerRouteContributor, C as Res, D as createParamDecorator, E as applyDecorators, F as shouldFilterCatch, G as getMetadata, L as PipelineRunner, M as UseMiddleware, N as UsePipes, O as Catch, P as getCatchTypes, S as Req, T as Version, W as defineMetadata, _ as Post, a as Cookie, b as RawBody, c as Get, d as Headers, f as HttpCode, g as Patch, h as Param, i as Controller, j as UseInterceptors, k as UseFilters, l as Head, m as Options, n as All, o as Cookies, p as Ip, r as Body, s as Delete, u as Header, v as Put, w as Sse, x as Redirect, y as Query, z as getRouteContributors } from "./route.manager-DRAZ5X04.js";
|
|
3
|
+
import { S as UnsupportedMediaTypeException, _ as RequestTimeoutException, a as BadRequestException, b as UnauthorizedException, c as GatewayTimeoutException, d as InternalServerErrorException, f as MethodNotAllowedException, g as PayloadTooLargeException, h as NotImplementedException, i as BadGatewayException, l as GoneException, m as NotFoundException, n as resolveErrorReporter, o as ConflictException, p as NotAcceptableException, r as matchesAny, s as ForbiddenException, t as DiscoveryService, u as HttpException, v as ServiceUnavailableException, x as UnprocessableEntityException, y as TooManyRequestsException } from "./discovery.service-BYm95SSD.js";
|
|
4
|
+
import { t as Container } from "./container-BqUHID4l.js";
|
|
5
|
+
import { _ as EntrypointRegistry, a as definePlugin, b as contributesEntrypoints, d as UrlGeneratorService, f as URL_SIGNING_SECRET, g as VelaApplication, h as ModuleRef, i as composePlugins, l as SignedUrl, m as CONFIG_OPTIONS, n as PluginRegistry, o as bootstrap, p as CONFIG_ENV, r as PluginRootModule, t as PLUGIN_REGISTRY_TOKEN, u as SignedUrlGuard, v as getEntrypointKinds, y as registerEntrypointKind } from "./plugin-ByBlVOve.js";
|
|
6
|
+
import { t as REQUEST_CONTEXT } from "./request-context-C3nCGJNd.js";
|
|
7
|
+
import { n as verifySignedUrl, t as signUrl } from "./signed-url-CMmi0SIb.js";
|
|
8
|
+
import { n as Module, r as defineDynamicModule, t as Global } from "./decorators-C8YBFCIk.js";
|
|
9
|
+
import { $ as CacheTTL, A as ThrottlerStorage, At as zodToJsonSchema, B as Cron, C as ZodValidationPipe, Ct as getRequestContainer, D as SkipThrottle, Dt as createLazyParamDecorator, E as runInEntrypointScope, Et as getCurrentRequestContext, F as THROTTLE_METADATA, G as EventEmitterSubscriber, H as ScheduleModule, I as HealthModule, J as lazyProvider, K as ON_EVENT_METADATA, L as HttpHealthIndicator, M as SKIP_THROTTLE_METADATA, Mt as ApiResponse, N as THROTTLER_OPTIONS, Nt as ApiTags, O as Throttle, Ot as mixin, P as THROTTLER_STORAGE, Pt as VelaFactory, Q as CacheKey, R as HealthIndicatorService, S as RequiredPipe, St as Logger, T as buildEntrypointExecutionContext, Tt as getCurrentContainer, U as OnEvent, V as Interval, W as EventEmitterModule, X as provideGlobal, Y as moduleToken, Z as sideEffectModule, _ as ParseBoolPipe, _t as registerAs, a as env, at as CACHE_KEY_METADATA, b as ParseIntPipe, bt as ConfigStore, c as toErrorBody, ct as CACHE_TTL_METADATA, d as Serialize, dt as CorsModule, et as TieredCacheStore, f as ValidationPipe, ft as CORS_OPTIONS, g as ParseArrayPipe, gt as HttpService, h as DefaultValuePipe, ht as HttpRequestException, i as defineErrorCatalog, it as CacheInterceptor, j as ThrottlerGuard, jt as ApiDoc, k as ThrottlerModule, kt as createOpenApiDocument, l as SerializerInterceptor, lt as Reflector, m as ErrorsModule, mt as HTTP_MODULE_OPTIONS, n as VelaError, nt as MemoryCacheStore, o as getRuntimeKey, ot as CACHE_MANAGER, p as createZodDto, pt as HttpModule, q as EventEmitter, r as composeCatalogs, rt as CacheService, s as isVelaError, st as CACHE_MODULE_OPTIONS, t as CORE_CATALOG, tt as CacheModule, u as SERIALIZE_METADATA, ut as SetMetadata, v as ParseEnumPipe, vt as ConfigModule, w as resolveScopedComponents, wt as enableAmbientContainer, x as ParseUUIDPipe, xt as LogLevel, y as ParseFloatPipe, yt as ConfigService, z as HealthCheckService } from "./src-eb5CI6Xn.js";
|
|
10
|
+
import { n as defineModule, r as stableHash, t as buildAsyncOptionsProviders } from "./define-module-NOyOZNXD.js";
|
|
11
|
+
import { n as defineConfigurableModule, r as moduleKey, t as ConfigurableModuleBuilder } from "./configurable-module.builder-5FGMaXG6.js";
|
|
12
|
+
import { i as INTERVAL_METADATA, n as ScheduleRegistry, r as CRON_METADATA, t as parseCron } from "./cron-matcher-C9qv5OUA.js";
|
|
13
|
+
import { E as createDiscoverableDecorator, S as WS_SERVER, _ as RESERVED_WS_EVENT_PREFIX, d as ConnectedSocket, f as MessageBody, g as WebSocketServer, h as WebSocketGateway, m as SubscribeMessage, o as WsDispatcher, p as ReservedWsEvent, s as WsException, t as WebSocketModule } from "./websocket-DXmB-MWJ.js";
|
|
14
|
+
export { APP_EXCEPTION_HANDLER, APP_FILTER, APP_GUARD, APP_INTERCEPTOR, APP_MIDDLEWARE, APP_PIPE, All, ApiDoc, ApiResponse, ApiTags, BadGatewayException, BadRequestException, Body, CACHE_KEY_METADATA, CACHE_MANAGER, CACHE_MODULE_OPTIONS, CACHE_TTL_METADATA, CONFIG_ENV, CONFIG_OPTIONS, CORE_CATALOG, CORS_OPTIONS, CRON_METADATA, CacheInterceptor, CacheKey, CacheModule, CacheService, CacheTTL, Catch, ConfigModule, ConfigService, ConfigStore, ConfigurableModuleBuilder, ConflictException, ConnectedSocket, Container, Controller, Cookie, Cookies, CorsModule, Cron, DefaultValuePipe, Delete, DiscoveryService, ERROR_CATALOG, EntrypointRegistry, ErrorsModule, EventEmitter, EventEmitterModule, EventEmitterSubscriber, ForbiddenException, ForwardRef, GatewayTimeoutException, Get, Global, GoneException, HTTP_MODULE_OPTIONS, Head, Header, Headers, HealthCheckService, HealthIndicatorService, HealthModule, HttpCode, HttpException, HttpHealthIndicator, HttpMethod, HttpModule, HttpRequestException, HttpService, INTERVAL_METADATA, Inject, Injectable, InjectionToken, InternalServerErrorException, Interval, Ip, LogLevel, Logger, METADATA_KEYS, MemoryCacheStore, MessageBody, MetadataRegistry, MethodNotAllowedException, Module, ModuleRef, ModuleVisibilityError, MultipleProvidersFoundError, NotAcceptableException, NotFoundException, NotImplementedException, ON_EVENT_METADATA, OnEvent, Optional, Options, PLUGIN_REGISTRY_TOKEN, Param, ParamType, ParseArrayPipe, ParseBoolPipe, ParseEnumPipe, ParseFloatPipe, ParseIntPipe, ParseUUIDPipe, Patch, PayloadTooLargeException, PipelineRunner, PluginRegistry, PluginRootModule, Post, Put, Query, REQUEST_CONTEXT, RESERVED_WS_EVENT_PREFIX, ROOT_MODULE_ID, RawBody, Redirect, Reflector, Req, RequestTimeoutException, RequiredPipe, Res, ReservedWsEvent, SERIALIZE_METADATA, SKIP_THROTTLE_METADATA, ScheduleModule, ScheduleRegistry, Scope, Serialize, SerializerInterceptor, ServiceUnavailableException, SetMetadata, SignedUrl, SignedUrlGuard, SkipThrottle, Sse, SubscribeMessage, THROTTLER_OPTIONS, THROTTLER_STORAGE, THROTTLE_METADATA, Throttle, ThrottlerGuard, ThrottlerModule, ThrottlerStorage, TieredCacheStore, TooManyRequestsException, URL_SIGNING_SECRET, UnauthorizedException, UnprocessableEntityException, UnsupportedMediaTypeException, UrlGeneratorService, UseFilters, UseGuards, UseInterceptors, UseMiddleware, UsePipes, ValidationPipe, VelaApplication, VelaError, VelaFactory, Version, WS_SERVER, WebSocketGateway, WebSocketModule, WebSocketServer, WsDispatcher, WsException, ZodValidationPipe, applyDecorators, bootstrap, buildAsyncOptionsProviders, buildEntrypointExecutionContext, composeCatalogs, composePlugins, contributesEntrypoints, createDiscoverableDecorator, createLazyParamDecorator, createOpenApiDocument, createParamDecorator, createZodDto, defineConfigurableModule, defineDynamicModule, defineErrorCatalog, defineMetadata, defineModule, definePlugin, describeToken, enableAmbientContainer, env, forwardRef, getCatchTypes, getCurrentContainer, getCurrentRequestContext, getEntrypointKinds, getMetadata, getRequestContainer, getRouteContributors, getRuntimeKey, isVelaError, lazyProvider, matchesAny, mixin, moduleKey, moduleToken, parseCron, provideGlobal, registerAs, registerEntrypointKind, registerRouteContributor, resolveErrorReporter, resolveScopedComponents, runInEntrypointScope, shouldFilterCatch, sideEffectModule, signUrl, stableHash, toErrorBody, verifySignedUrl, zodToJsonSchema };
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export { APP_GUARD, APP_PIPE,
|
|
13
|
-
|
|
14
|
-
export { bootstrap } from './factory/bootstrap';
|
|
15
|
-
export type { BootstrapOptions, BootstrapResult } from './factory/bootstrap';
|
|
16
|
-
export { definePlugin, composePlugins, PluginRegistry, PluginRootModule, PLUGIN_REGISTRY_TOKEN, } from './plugin/plugin';
|
|
17
|
-
export type { Plugin } from './plugin/plugin';
|
|
1
|
+
import { G as ModuleScope, I as ContainerOptions, K as ModuleVisibilityError, L as Diagnostics, P as Container } from "./discovery.service-Cpf1QcZ5.js";
|
|
2
|
+
import { C as BootstrapResult, E as VelaApplication, H as RouteManagerOptions, S as BootstrapOptions, T as ModuleLoader, V as RouteManager, a as APP_INTERCEPTOR, b as isModule, d as Plugin, f as PluginRegistry, h as definePlugin, i as APP_GUARD, l as ComponentManager, m as composePlugins, o as APP_MIDDLEWARE, p as PluginRootModule, r as APP_FILTER, s as APP_PIPE, t as MetadataRegistry, u as PLUGIN_REGISTRY_TOKEN, w as bootstrap, x as ModuleRef, y as getModuleMetadata } from "./metadata.registry-D1od8ZBt.js";
|
|
3
|
+
//#region src/pipeline/app-providers.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Bind every APP_* provider registered in the container as a global
|
|
6
|
+
* component on the RouteManager. The single source of truth for app-level
|
|
7
|
+
* pipeline configuration — used by both VelaFactory.create and
|
|
8
|
+
* @velajs/testing's TestingModuleBuilder.compile.
|
|
9
|
+
*/
|
|
10
|
+
declare function bindAppProviders(routeManager: RouteManager, container: Container, loader: ModuleLoader): void;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { APP_FILTER, APP_GUARD, APP_INTERCEPTOR, APP_MIDDLEWARE, APP_PIPE, type BootstrapOptions, type BootstrapResult, ComponentManager, Container, type ContainerOptions, type Diagnostics, MetadataRegistry, ModuleLoader, ModuleRef, type ModuleScope, ModuleVisibilityError, PLUGIN_REGISTRY_TOKEN, type Plugin, PluginRegistry, PluginRootModule, RouteManager, type RouteManagerOptions, VelaApplication, bindAppProviders, bootstrap, composePlugins, definePlugin, getModuleMetadata, isModule };
|
|
13
|
+
//# sourceMappingURL=internal.d.ts.map
|
package/dist/internal.js
CHANGED
|
@@ -1,19 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export { ModuleVisibilityError
|
|
7
|
-
export { bindAppProviders } from "./pipeline/app-providers.js";
|
|
8
|
-
export { RouteManager } from "./http/route.manager.js";
|
|
9
|
-
export { ModuleLoader } from "./module/module-loader.js";
|
|
10
|
-
export { ComponentManager } from "./pipeline/component.manager.js";
|
|
11
|
-
export { VelaApplication } from "./application.js";
|
|
12
|
-
export { MetadataRegistry } from "./registry/metadata.registry.js";
|
|
13
|
-
export { APP_GUARD, APP_PIPE, APP_INTERCEPTOR, APP_FILTER, APP_MIDDLEWARE } from "./pipeline/tokens.js";
|
|
14
|
-
export { getModuleMetadata, isModule } from "./module/decorators.js";
|
|
15
|
-
// Bootstrap primitive — used by VelaFactory.create, @velajs/testing, and any
|
|
16
|
-
// non-HTTP consumer (CLI tools, custom runtimes).
|
|
17
|
-
export { bootstrap } from "./factory/bootstrap.js";
|
|
18
|
-
// Plugin manifest + composer
|
|
19
|
-
export { definePlugin, composePlugins, PluginRegistry, PluginRootModule, PLUGIN_REGISTRY_TOKEN } from "./plugin/plugin.js";
|
|
1
|
+
import { _ as APP_GUARD, b as APP_PIPE, g as APP_FILTER, k as MetadataRegistry, v as APP_INTERCEPTOR, w as ModuleVisibilityError, y as APP_MIDDLEWARE } from "./decorate-GcSMAbKn.js";
|
|
2
|
+
import { I as ComponentManager, t as RouteManager } from "./route.manager-DRAZ5X04.js";
|
|
3
|
+
import { t as Container } from "./container-BqUHID4l.js";
|
|
4
|
+
import { a as definePlugin, c as ModuleLoader, g as VelaApplication, h as ModuleRef, i as composePlugins, n as PluginRegistry, o as bootstrap, r as PluginRootModule, s as bindAppProviders, t as PLUGIN_REGISTRY_TOKEN } from "./plugin-ByBlVOve.js";
|
|
5
|
+
import { a as isModule, i as getModuleMetadata } from "./decorators-C8YBFCIk.js";
|
|
6
|
+
export { APP_FILTER, APP_GUARD, APP_INTERCEPTOR, APP_MIDDLEWARE, APP_PIPE, ComponentManager, Container, MetadataRegistry, ModuleLoader, ModuleRef, ModuleVisibilityError, PLUGIN_REGISTRY_TOKEN, PluginRegistry, PluginRootModule, RouteManager, VelaApplication, bindAppProviders, bootstrap, composePlugins, definePlugin, getModuleMetadata, isModule };
|
package/dist/live/index.d.ts
CHANGED
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
export { LiveEngine, LIVE_SUBS_DATA_KEY, readPersistedLiveSubscriptions } from './live.engine';
|
|
4
|
-
export { LiveInvalidation, localLive, perAppLiveDriver, stampCommitHeaders } from './live.invalidation';
|
|
5
|
-
export { InMemoryCursorLog } from './live.cursor';
|
|
6
|
-
export { encodeSubscriptionUpdate } from './live.delta';
|
|
7
|
-
export { PresenceService, PresenceResolver, presenceTag, PRESENCE_ROSTER_QUERY } from './presence';
|
|
8
|
-
export type { PresenceMember } from './presence';
|
|
9
|
-
export { LIVE_DRIVER, LIVE_CURSOR_LOG, LIVE_MODULE_OPTIONS, LIVE_RESOLVER_METADATA, LIVE_QUERY_METADATA, } from './live.tokens';
|
|
10
|
-
export type { CommitStamp, CursorLog, InvalidationCommand, LiveDriver, LiveEntrypointMeta, LiveIdentity, LiveInvalidationSink, LiveModuleOptions, LivePresenceOptions, LiveQueryContext, LiveQueryMetadata, LiveQueryOptions, LiveResolverMetadata, ResumeVerdict, SubscriptionRecord, } from './live.types';
|
|
11
|
-
export { LIVE_PROTOCOL, LIVE_EVENT, LIVE_ERROR_CODES, COMMIT_CURSOR_HEADER, COMMIT_EPOCH_HEADER, DEFAULT_KEY_FIELD, encodeLiveEnvelope, encodeLiveFrame, readLiveEnvelope, isClientLiveFrame, isServerLiveFrame, encodeListDelta, applyListDelta, } from '@velajs/live-protocol';
|
|
12
|
-
export type { ClientLiveFrame, LiveFrame, RowOp, ServerLiveFrame } from '@velajs/live-protocol';
|
|
1
|
+
import { $ as LiveResolverMetadata, A as LiveEngine, B as LiveModule, C as encodeSubscriptionUpdate, D as perAppLiveDriver, E as localLive, F as PresenceService, G as LiveEntrypointMeta, H as CursorLog, I as presenceTag, J as LiveModuleOptions, K as LiveIdentity, L as LiveQuery, M as PRESENCE_ROSTER_QUERY, N as PresenceMember, O as stampCommitHeaders, P as PresenceResolver, Q as LiveQueryOptions, R as LiveResolver, S as LIVE_RESOLVER_METADATA, T as LiveInvalidation, U as InvalidationCommand, V as CommitStamp, W as LiveDriver, X as LiveQueryContext, Y as LivePresenceOptions, Z as LiveQueryMetadata, _ as readLiveEnvelope, a as LIVE_ERROR_CODES, b as LIVE_MODULE_OPTIONS, c as LiveFrame, d as applyListDelta, et as ResumeVerdict, f as encodeListDelta, g as isServerLiveFrame, h as isClientLiveFrame, i as DEFAULT_KEY_FIELD, j as readPersistedLiveSubscriptions, k as LIVE_SUBS_DATA_KEY, l as RowOp, m as encodeLiveFrame, n as COMMIT_EPOCH_HEADER, o as LIVE_EVENT, p as encodeLiveEnvelope, q as LiveInvalidationSink, r as ClientLiveFrame, s as LIVE_PROTOCOL, t as COMMIT_CURSOR_HEADER, tt as SubscriptionRecord, u as ServerLiveFrame, v as LIVE_CURSOR_LOG, w as InMemoryCursorLog, x as LIVE_QUERY_METADATA, y as LIVE_DRIVER, z as getLiveQueries } from "../index-D72EQfcC.js";
|
|
2
|
+
export { COMMIT_CURSOR_HEADER, COMMIT_EPOCH_HEADER, type ClientLiveFrame, type CommitStamp, type CursorLog, DEFAULT_KEY_FIELD, InMemoryCursorLog, type InvalidationCommand, LIVE_CURSOR_LOG, LIVE_DRIVER, LIVE_ERROR_CODES, LIVE_EVENT, LIVE_MODULE_OPTIONS, LIVE_PROTOCOL, LIVE_QUERY_METADATA, LIVE_RESOLVER_METADATA, LIVE_SUBS_DATA_KEY, type LiveDriver, LiveEngine, type LiveEntrypointMeta, type LiveFrame, type LiveIdentity, LiveInvalidation, type LiveInvalidationSink, LiveModule, type LiveModuleOptions, type LivePresenceOptions, LiveQuery, type LiveQueryContext, type LiveQueryMetadata, type LiveQueryOptions, LiveResolver, type LiveResolverMetadata, PRESENCE_ROSTER_QUERY, type PresenceMember, PresenceResolver, PresenceService, type ResumeVerdict, type RowOp, type ServerLiveFrame, type SubscriptionRecord, applyListDelta, encodeListDelta, encodeLiveEnvelope, encodeLiveFrame, encodeSubscriptionUpdate, getLiveQueries, isClientLiveFrame, isServerLiveFrame, localLive, perAppLiveDriver, presenceTag, readLiveEnvelope, readPersistedLiveSubscriptions, stampCommitHeaders };
|