@navios/core 0.7.1 → 0.9.0

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.
Files changed (68) hide show
  1. package/CHANGELOG.md +78 -0
  2. package/lib/{index-DW9EPAE6.d.mts → index-D9MNh6Tx.d.mts} +534 -342
  3. package/lib/index-D9MNh6Tx.d.mts.map +1 -0
  4. package/lib/{index-pHp-dIGt.d.cts → index-Db1d3cwD.d.cts} +534 -342
  5. package/lib/index-Db1d3cwD.d.cts.map +1 -0
  6. package/lib/index.cjs +12 -3
  7. package/lib/index.d.cts +2 -2
  8. package/lib/index.d.mts +2 -2
  9. package/lib/index.mjs +3 -3
  10. package/lib/legacy-compat/index.cjs +1 -1
  11. package/lib/legacy-compat/index.cjs.map +1 -1
  12. package/lib/legacy-compat/index.d.cts +3 -3
  13. package/lib/legacy-compat/index.d.cts.map +1 -1
  14. package/lib/legacy-compat/index.d.mts +3 -3
  15. package/lib/legacy-compat/index.d.mts.map +1 -1
  16. package/lib/legacy-compat/index.mjs +1 -1
  17. package/lib/legacy-compat/index.mjs.map +1 -1
  18. package/lib/{src-QnxR5b7c.cjs → src-BRPtJ9fG.cjs} +474 -53
  19. package/lib/src-BRPtJ9fG.cjs.map +1 -0
  20. package/lib/{src-DyvCDuKO.mjs → src-Bo23RIo-.mjs} +454 -51
  21. package/lib/src-Bo23RIo-.mjs.map +1 -0
  22. package/lib/testing/index.cjs +346 -29
  23. package/lib/testing/index.cjs.map +1 -1
  24. package/lib/testing/index.d.cts +299 -63
  25. package/lib/testing/index.d.cts.map +1 -1
  26. package/lib/testing/index.d.mts +299 -63
  27. package/lib/testing/index.d.mts.map +1 -1
  28. package/lib/testing/index.mjs +347 -31
  29. package/lib/testing/index.mjs.map +1 -1
  30. package/lib/{use-guards.decorator-B6q_N0sf.cjs → use-guards.decorator-Bs8oDHOi.cjs} +29 -99
  31. package/lib/use-guards.decorator-Bs8oDHOi.cjs.map +1 -0
  32. package/lib/{use-guards.decorator-kZ3lNK8v.mjs → use-guards.decorator-CzVXuLkz.mjs} +23 -99
  33. package/lib/use-guards.decorator-CzVXuLkz.mjs.map +1 -0
  34. package/package.json +4 -4
  35. package/src/__tests__/controller-resolver.spec.mts +229 -0
  36. package/src/__tests__/controller.spec.mts +1 -1
  37. package/src/__tests__/testing-module.spec.mts +459 -0
  38. package/src/__tests__/unit-testing-module.spec.mts +424 -0
  39. package/src/decorators/controller.decorator.mts +29 -7
  40. package/src/decorators/endpoint.decorator.mts +60 -12
  41. package/src/decorators/module.decorator.mts +23 -5
  42. package/src/decorators/multipart.decorator.mts +67 -24
  43. package/src/decorators/stream.decorator.mts +65 -24
  44. package/src/interfaces/abstract-http-handler-adapter.interface.mts +31 -1
  45. package/src/legacy-compat/__type-tests__/legacy-decorators.spec-d.mts +2 -6
  46. package/src/legacy-compat/decorators/endpoint.decorator.mts +1 -1
  47. package/src/legacy-compat/decorators/multipart.decorator.mts +5 -5
  48. package/src/legacy-compat/decorators/stream.decorator.mts +5 -5
  49. package/src/logger/logger.service.mts +0 -2
  50. package/src/navios.application.mts +23 -9
  51. package/src/navios.environment.mts +3 -1
  52. package/src/navios.factory.mts +19 -18
  53. package/src/services/guard-runner.service.mts +46 -9
  54. package/src/services/index.mts +1 -0
  55. package/src/services/instance-resolver.service.mts +187 -0
  56. package/src/services/module-loader.service.mts +3 -2
  57. package/src/stores/request-id.store.mts +45 -3
  58. package/src/testing/index.mts +1 -0
  59. package/src/testing/testing-module.mts +255 -93
  60. package/src/testing/unit-testing-module.mts +298 -0
  61. package/src/tokens/index.mts +1 -0
  62. package/src/tokens/navios-options.token.mts +6 -0
  63. package/lib/index-DW9EPAE6.d.mts.map +0 -1
  64. package/lib/index-pHp-dIGt.d.cts.map +0 -1
  65. package/lib/src-DyvCDuKO.mjs.map +0 -1
  66. package/lib/src-QnxR5b7c.cjs.map +0 -1
  67. package/lib/use-guards.decorator-B6q_N0sf.cjs.map +0 -1
  68. package/lib/use-guards.decorator-kZ3lNK8v.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-Db1d3cwD.d.cts","names":[],"sources":["../src/config/utils/helpers.mts","../src/config/types.mts","../src/config/config-service.interface.mts","../src/config/config.service.mts","../src/config/config.provider.mts","../src/decorators/controller.decorator.mts","../src/decorators/endpoint.decorator.mts","../src/metadata/handler.metadata.mts","../src/metadata/controller.metadata.mts","../src/metadata/module.metadata.mts","../src/interfaces/abstract-execution-context.inteface.mts","../src/logger/utils/cli-colors.util.mts","../src/logger/log-levels.mts","../src/logger/utils/filter-log-levelts.util.mts","../src/logger/utils/is-log-level.util.mts","../src/logger/utils/is-log-level-enabled.mts","../src/logger/utils/shared.utils.mts","../src/logger/logger-service.interface.mts","../src/logger/console-logger.service.mts","../src/logger/logger.service.mts","../src/logger/logger.tokens.mts","../src/interfaces/abstract-http-cors-options.interface.mts","../src/interfaces/abstract-http-listen-options.interface.mts","../src/interfaces/abstract-http-adapter.interface.mts","../src/interfaces/abstract-http-handler-adapter.interface.mts","../src/interfaces/can-activate.mts","../src/interfaces/http-header.mts","../src/interfaces/navios-module.mts","../src/services/module-loader.service.mts","../src/interfaces/plugin.interface.mts","../src/decorators/header.decorator.mts","../src/decorators/http-code.decorator.mts","../src/decorators/module.decorator.mts","../src/decorators/multipart.decorator.mts","../src/decorators/stream.decorator.mts","../src/decorators/use-guards.decorator.mts","../src/exceptions/http.exception.mts","../src/exceptions/bad-request.exception.mts","../src/exceptions/forbidden.exception.mts","../src/exceptions/internal-server-error.exception.mts","../src/exceptions/not-found.exception.mts","../src/exceptions/unauthorized.exception.mts","../src/exceptions/conflict.exception.mts","../src/services/instance-resolver.service.mts","../src/services/guard-runner.service.mts","../src/stores/request-id.store.mts","../src/tokens/endpoint-adapter.token.mts","../src/tokens/execution-context.token.mts","../src/tokens/http-adapter.token.mts","../src/tokens/multipart-adapter.token.mts","../src/navios.environment.mts","../src/navios.application.mts","../src/tokens/navios-options.token.mts","../src/tokens/reply.token.mts","../src/tokens/request.token.mts","../src/tokens/stream-adapter.token.mts","../src/tokens/xml-stream-adapter.token.mts","../src/attribute.factory.mts","../src/factories/endpoint-adapter.factory.mts","../src/factories/http-adapter.factory.mts","../src/factories/multipart-adapter.factory.mts","../src/factories/request.factory.mts","../src/factories/reply.factory.mts","../src/factories/stream-adapter.factory.mts","../src/factories/xml-stream-adapter.factory.mts","../src/navios.factory.mts"],"sourcesContent":[],"mappings":";;;;;;;;iBAEgB,MAAA,YACH,MAAA,CAAO;iBAQJ,8DAEJ,wDAEC,MAAA,CAAO,2BACH,eACd;;;;;;;KCbE,2BAA2B,WACrB;KAKN,aAAA;KAMA,YAAA;KAEO,gCAA8B,KAAK,uBAC3C,cAAY,uBAEV,MAAM,EAAE,+BAEN,EAAE,gCAEA,EAAE,+BAEA,EAAE,eAAa,sBACb,cAAY,mBACP,SAAO,cAAc,EAAE,qCAEnB,SAAO,SAAS,EAAE,QAAM,cAAc,EAAE,sCACxC,SAAO,cAAc,EAAE;AD9B9B,KCkCJ,SDlCU,CAAA,CAAA,CAAA,GCkCK,QDjCP,CCiCgB,CDjChB,EAAA,MCiCyB,CDjCf,CAAA,GAAA,MCiC0B,CDjC1B;AAQd,KC2BJ,ID3Ba,CAAA,CAAA,CAAA,GAAA,MC2BG,CD3BH,SAAA,MAAA,GC4BrB,SD5BqB,CC4BX,CD5BW,CAAA,SAAA,KAAA,EAAA,GAAA,CAAA,SAAA,MAAA,GAAA,MC6BM,CD7BN,GAAA,CAAA,GAAA,MC+BX,CD/BW,GAAA,MCgCb,CDhCa,GAAA,KAAA;AAEb,KCiCA,SDjCA,CAAA,CAAA,EAAA,UCmCA,IDnCA,CCmCK,CDnCL,CAAA,CAAA,GCoCR,CDpCQ,SAAA,GAAA,KAAA,IAAA,IAAA,KAAA,KAAA,EAAA,GAAA,GAAA,SAAA,MCqCU,CDrCV,GAAA,IAAA,SCsCO,IDtCP,CCsCY,CDtCZ,CCsCc,GDtCd,CAAA,CAAA,GCuCJ,SDv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"}
package/lib/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
- const require_src = require('./src-QnxR5b7c.cjs');
2
- const require_use_guards_decorator = require('./use-guards.decorator-B6q_N0sf.cjs');
1
+ const require_src = require('./src-BRPtJ9fG.cjs');
2
+ const require_use_guards_decorator = require('./use-guards.decorator-Bs8oDHOi.cjs');
3
3
 
4
4
  exports.AttributeFactory = require_src.AttributeFactory;
5
5
  exports.BadRequestException = require_src.BadRequestException;
@@ -21,6 +21,7 @@ Object.defineProperty(exports, 'ConsoleLogger', {
21
21
  });
22
22
  exports.Controller = require_use_guards_decorator.Controller;
23
23
  exports.ControllerMetadataKey = require_use_guards_decorator.ControllerMetadataKey;
24
+ exports.ControllerResolverService = require_src.ControllerResolverService;
24
25
  exports.Endpoint = require_use_guards_decorator.Endpoint;
25
26
  Object.defineProperty(exports, 'EndpointAdapterFactory', {
26
27
  enumerable: true,
@@ -50,6 +51,12 @@ Object.defineProperty(exports, 'HttpAdapterFactory', {
50
51
  exports.HttpAdapterToken = require_use_guards_decorator.HttpAdapterToken;
51
52
  exports.HttpCode = require_use_guards_decorator.HttpCode;
52
53
  exports.HttpException = require_src.HttpException;
54
+ Object.defineProperty(exports, 'InstanceResolverService', {
55
+ enumerable: true,
56
+ get: function () {
57
+ return require_src._InstanceResolverService;
58
+ }
59
+ });
53
60
  exports.InternalServerErrorException = require_src.InternalServerErrorException;
54
61
  exports.LOG_LEVELS = require_src.LOG_LEVELS;
55
62
  exports.Logger = require_src.Logger;
@@ -83,6 +90,7 @@ Object.defineProperty(exports, 'NaviosApplication', {
83
90
  }
84
91
  });
85
92
  exports.NaviosFactory = require_src.NaviosFactory;
93
+ exports.NaviosOptionsToken = require_use_guards_decorator.NaviosOptionsToken;
86
94
  exports.NotFoundException = require_src.NotFoundException;
87
95
  exports.Reply = require_use_guards_decorator.Reply;
88
96
  Object.defineProperty(exports, 'ReplyFactory', {
@@ -122,6 +130,7 @@ exports.envString = require_src.envString;
122
130
  exports.extractControllerMetadata = require_use_guards_decorator.extractControllerMetadata;
123
131
  exports.extractModuleMetadata = require_use_guards_decorator.extractModuleMetadata;
124
132
  exports.filterLogLevels = require_src.filterLogLevels;
133
+ exports.generateRequestId = require_src.generateRequestId;
125
134
  exports.getAllEndpointMetadata = require_use_guards_decorator.getAllEndpointMetadata;
126
135
  exports.getControllerMetadata = require_use_guards_decorator.getControllerMetadata;
127
136
  exports.getEndpointMetadata = require_use_guards_decorator.getEndpointMetadata;
@@ -144,8 +153,8 @@ exports.isUndefined = require_src.isUndefined;
144
153
  exports.loggerOptionsSchema = require_src.loggerOptionsSchema;
145
154
  exports.normalizePath = require_src.normalizePath;
146
155
  exports.provideConfig = require_src.provideConfig;
147
- exports.requestIdStore = require_src.requestIdStore;
148
156
  exports.runWithRequestId = require_src.runWithRequestId;
157
+ exports.setRequestIdEnabled = require_src.setRequestIdEnabled;
149
158
  exports.stripEndSlash = require_src.stripEndSlash;
150
159
  exports.yellow = require_src.yellow;
151
160
  var _navios_di = require("@navios/di");
package/lib/index.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as CanActivate, $t as EnvConfigProvider, A as NotFoundException, At as clc, B as MultipartResult, Bt as extractControllerMetadata, C as EndpointAdapterToken, Ct as normalizePath, D as GuardRunnerService, Dt as filterLogLevels, E as runWithRequestId, Et as isLogLevel, F as UseGuards, Ft as extractModuleMetadata, G as NaviosPlugin, Gt as getAllEndpointMetadata, H as ModuleOptions, Ht as hasControllerMetadata, I as Stream, It as getModuleMetadata, J as ModuleExtension, Jt as EndpointParams, K as PluginContext, Kt as getEndpointMetadata, L as StreamParams, Lt as hasModuleMetadata, M as ForbiddenException, Mt as AbstractExecutionContext, N as BadRequestException, Nt as ModuleMetadata, O as ConflictException, Ot as LOG_LEVELS, P as HttpException, Pt as ModuleMetadataKey, Q as OmitIndexSignature, Qt as ConfigProviderOptions, R as Multipart, Rt as ControllerMetadata, S as ExecutionContextInjectionToken, St as isUndefined, T as requestIdStore, Tt as isLogLevelEnabled, U as HttpCode, Ut as EndpointMetadataKey, V as Module, Vt as getControllerMetadata, W as Header, Wt as HandlerMetadata, X as NaviosModule, Xt as Controller, Y as ModuleLoaderService, Yt as EndpointResult, Z as HttpHeader, Zt as ControllerOptions, _ as Request, _t as isNumber, a as XmlStreamAdapterFactory, an as ConfigServiceInterface, at as LoggerOptions, b as HttpAdapterToken, bt as isString, c as RequestFactory, cn as PathImpl2, ct as LoggerInstance, d as EndpointAdapterFactory, dn as envString, dt as LoggerService, en as provideConfig, et as AbstractHttpHandlerAdapterInterface, f as AttributeFactory, ft as addLeadingSlash, g as StreamAdapterToken, gt as isNil, h as XmlStreamAdapterToken, ht as isFunction, i as NaviosApplicationOptions, in as ConfigServiceToken, it as Logger, j as InternalServerErrorException, jt as yellow, k as UnauthorizedException, kt as LogLevel, l as MultipartAdapterFactory, ln as PathValue, lt as ConsoleLogger, m as ClassSchemaAttribute, mt as isEmpty, n as NaviosApplication, nn as ConfigServiceOptions, nt as AbstractHttpListenOptions, o as StreamAdapterFactory, on as Path, ot as LoggerOutput, p as ClassAttribute, pt as isConstructor, q as PluginDefinition, qt as Endpoint, r as NaviosApplicationContextOptions, rn as ConfigServiceOptionsSchema, rt as AbstractHttpCorsOptions, s as ReplyFactory, sn as PathImpl, st as loggerOptionsSchema, t as NaviosFactory, tn as ConfigService, tt as AbstractHttpAdapterInterface, u as HttpAdapterFactory, un as envInt, ut as ConsoleLoggerOptions, v as Reply, vt as isObject, w as getRequestId, wt as stripEndSlash, x as ExecutionContext, xt as isSymbol, y as MultipartAdapterToken, yt as isPlainObject, z as MultipartParams, zt as ControllerMetadataKey } from "./index-pHp-dIGt.cjs";
1
+ import { $ as PluginDefinition, $t as HandlerMetadata, A as ControllerResolverService, At as isSymbol, B as HttpException, Bt as yellow, C as EndpointAdapterToken, Ct as isEmpty, D as setRequestIdEnabled, Dt as isObject, E as runWithRequestId, Et as isNumber, F as UnauthorizedException, Ft as isLogLevel, G as MultipartParams, Gt as getModuleMetadata, H as Stream, Ht as ModuleMetadata, I as NotFoundException, It as filterLogLevels, J as ModuleOptions, Jt as ControllerMetadataKey, K as MultipartResult, Kt as hasModuleMetadata, L as InternalServerErrorException, Lt as LOG_LEVELS, M as InstanceResolverService, Mt as normalizePath, N as MultiInstanceResolution, Nt as stripEndSlash, O as GuardRunnerService, Ot as isPlainObject, P as ConflictException, Pt as isLogLevelEnabled, Q as PluginContext, Qt as EndpointMetadataKey, R as ForbiddenException, Rt as LogLevel, S as ExecutionContextInjectionToken, St as isConstructor, T as getRequestId, Tt as isNil, U as StreamParams, Ut as ModuleMetadataKey, V as UseGuards, Vt as AbstractExecutionContext, W as Multipart, Wt as extractModuleMetadata, X as Header, Xt as getControllerMetadata, Y as HttpCode, Yt as extractControllerMetadata, Z as NaviosPlugin, Zt as hasControllerMetadata, _ as NaviosApplication, _n as PathImpl2, _t as LoggerInstance, a as RequestFactory, an as Controller, at as CanActivate, b as HttpAdapterToken, bn as envString, bt as LoggerService, c as EndpointAdapterFactory, cn as EnvConfigProvider, ct as HandlerResult, d as ClassSchemaAttribute, dn as ConfigServiceOptions, dt as AbstractHttpListenOptions, en as getAllEndpointMetadata, et as ModuleExtension, f as XmlStreamAdapterToken, fn as ConfigServiceOptionsSchema, ft as AbstractHttpCorsOptions, g as NaviosOptionsToken, gn as PathImpl, gt as loggerOptionsSchema, h as Reply, hn as Path, ht as LoggerOutput, i as ReplyFactory, in as EndpointResult, it as OmitIndexSignature, j as InstanceResolution, jt as isUndefined, k as ControllerResolution, kt as isString, l as AttributeFactory, ln as provideConfig, lt as StaticHandler, m as Request, mn as ConfigServiceInterface, mt as LoggerOptions, n as XmlStreamAdapterFactory, nn as Endpoint, nt as NaviosModule, o as MultipartAdapterFactory, on as ControllerOptions, ot as AbstractHttpHandlerAdapterInterface, p as StreamAdapterToken, pn as ConfigServiceToken, pt as Logger, q as Module, qt as ControllerMetadata, r as StreamAdapterFactory, rn as EndpointParams, rt as HttpHeader, s as HttpAdapterFactory, sn as ConfigProviderOptions, st as DynamicHandler, t as NaviosFactory, tn as getEndpointMetadata, tt as ModuleLoaderService, u as ClassAttribute, un as ConfigService, ut as AbstractHttpAdapterInterface, v as NaviosApplicationOptions, vn as PathValue, vt as ConsoleLogger, w as generateRequestId, wt as isFunction, x as ExecutionContext, xt as addLeadingSlash, y as MultipartAdapterToken, yn as envInt, yt as ConsoleLoggerOptions, z as BadRequestException, zt as clc } from "./index-Db1d3cwD.cjs";
2
2
  export * from "@navios/di";
3
- export { AbstractExecutionContext, AbstractHttpAdapterInterface, AbstractHttpCorsOptions, AbstractHttpHandlerAdapterInterface, AbstractHttpListenOptions, AttributeFactory, BadRequestException, CanActivate, ClassAttribute, ClassSchemaAttribute, ConfigProviderOptions, ConfigService, ConfigServiceInterface, ConfigServiceOptions, ConfigServiceOptionsSchema, ConfigServiceToken, ConflictException, ConsoleLogger, ConsoleLoggerOptions, Controller, ControllerMetadata, ControllerMetadataKey, ControllerOptions, Endpoint, EndpointAdapterFactory, EndpointAdapterToken, EndpointMetadataKey, EndpointParams, EndpointResult, EnvConfigProvider, ExecutionContext, ExecutionContextInjectionToken, ForbiddenException, GuardRunnerService, HandlerMetadata, Header, HttpAdapterFactory, HttpAdapterToken, HttpCode, HttpException, HttpHeader, InternalServerErrorException, LOG_LEVELS, LogLevel, Logger, LoggerInstance, LoggerOptions, LoggerOutput, LoggerService, Module, ModuleExtension, ModuleLoaderService, ModuleMetadata, ModuleMetadataKey, ModuleOptions, Multipart, MultipartAdapterFactory, MultipartAdapterToken, MultipartParams, MultipartResult, NaviosApplication, NaviosApplicationContextOptions, NaviosApplicationOptions, NaviosFactory, NaviosModule, NaviosPlugin, NotFoundException, OmitIndexSignature, Path, PathImpl, PathImpl2, PathValue, PluginContext, PluginDefinition, Reply, ReplyFactory, Request, RequestFactory, Stream, StreamAdapterFactory, StreamAdapterToken, StreamParams, UnauthorizedException, UseGuards, XmlStreamAdapterFactory, XmlStreamAdapterToken, addLeadingSlash, clc, envInt, envString, extractControllerMetadata, extractModuleMetadata, filterLogLevels, getAllEndpointMetadata, getControllerMetadata, getEndpointMetadata, getModuleMetadata, getRequestId, hasControllerMetadata, hasModuleMetadata, isConstructor, isEmpty, isFunction, isLogLevel, isLogLevelEnabled, isNil, isNumber, isObject, isPlainObject, isString, isSymbol, isUndefined, loggerOptionsSchema, normalizePath, provideConfig, requestIdStore, runWithRequestId, stripEndSlash, yellow };
3
+ export { AbstractExecutionContext, AbstractHttpAdapterInterface, AbstractHttpCorsOptions, AbstractHttpHandlerAdapterInterface, AbstractHttpListenOptions, AttributeFactory, BadRequestException, CanActivate, ClassAttribute, ClassSchemaAttribute, ConfigProviderOptions, ConfigService, ConfigServiceInterface, ConfigServiceOptions, ConfigServiceOptionsSchema, ConfigServiceToken, ConflictException, ConsoleLogger, ConsoleLoggerOptions, Controller, ControllerMetadata, ControllerMetadataKey, ControllerOptions, ControllerResolution, ControllerResolverService, DynamicHandler, Endpoint, EndpointAdapterFactory, EndpointAdapterToken, EndpointMetadataKey, EndpointParams, EndpointResult, EnvConfigProvider, ExecutionContext, ExecutionContextInjectionToken, ForbiddenException, GuardRunnerService, HandlerMetadata, HandlerResult, Header, HttpAdapterFactory, HttpAdapterToken, HttpCode, HttpException, HttpHeader, InstanceResolution, InstanceResolverService, InternalServerErrorException, LOG_LEVELS, LogLevel, Logger, LoggerInstance, LoggerOptions, LoggerOutput, LoggerService, Module, ModuleExtension, ModuleLoaderService, ModuleMetadata, ModuleMetadataKey, ModuleOptions, MultiInstanceResolution, Multipart, MultipartAdapterFactory, MultipartAdapterToken, MultipartParams, MultipartResult, NaviosApplication, NaviosApplicationOptions, NaviosFactory, NaviosModule, NaviosOptionsToken, NaviosPlugin, NotFoundException, OmitIndexSignature, Path, PathImpl, PathImpl2, PathValue, PluginContext, PluginDefinition, Reply, ReplyFactory, Request, RequestFactory, StaticHandler, Stream, StreamAdapterFactory, StreamAdapterToken, StreamParams, UnauthorizedException, UseGuards, XmlStreamAdapterFactory, XmlStreamAdapterToken, addLeadingSlash, clc, envInt, envString, extractControllerMetadata, extractModuleMetadata, filterLogLevels, generateRequestId, getAllEndpointMetadata, getControllerMetadata, getEndpointMetadata, getModuleMetadata, getRequestId, hasControllerMetadata, hasModuleMetadata, isConstructor, isEmpty, isFunction, isLogLevel, isLogLevelEnabled, isNil, isNumber, isObject, isPlainObject, isString, isSymbol, isUndefined, loggerOptionsSchema, normalizePath, provideConfig, runWithRequestId, setRequestIdEnabled, stripEndSlash, yellow };
package/lib/index.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as CanActivate, $t as EnvConfigProvider, A as NotFoundException, At as clc, B as MultipartResult, Bt as extractControllerMetadata, C as EndpointAdapterToken, Ct as normalizePath, D as GuardRunnerService, Dt as filterLogLevels, E as runWithRequestId, Et as isLogLevel, F as UseGuards, Ft as extractModuleMetadata, G as NaviosPlugin, Gt as getAllEndpointMetadata, H as ModuleOptions, Ht as hasControllerMetadata, I as Stream, It as getModuleMetadata, J as ModuleExtension, Jt as EndpointParams, K as PluginContext, Kt as getEndpointMetadata, L as StreamParams, Lt as hasModuleMetadata, M as ForbiddenException, Mt as AbstractExecutionContext, N as BadRequestException, Nt as ModuleMetadata, O as ConflictException, Ot as LOG_LEVELS, P as HttpException, Pt as ModuleMetadataKey, Q as OmitIndexSignature, Qt as ConfigProviderOptions, R as Multipart, Rt as ControllerMetadata, S as ExecutionContextInjectionToken, St as isUndefined, T as requestIdStore, Tt as isLogLevelEnabled, U as HttpCode, Ut as EndpointMetadataKey, V as Module, Vt as getControllerMetadata, W as Header, Wt as HandlerMetadata, X as NaviosModule, Xt as Controller, Y as ModuleLoaderService, Yt as EndpointResult, Z as HttpHeader, Zt as ControllerOptions, _ as Request, _t as isNumber, a as XmlStreamAdapterFactory, an as ConfigServiceInterface, at as LoggerOptions, b as HttpAdapterToken, bt as isString, c as RequestFactory, cn as PathImpl2, ct as LoggerInstance, d as EndpointAdapterFactory, dn as envString, dt as LoggerService, en as provideConfig, et as AbstractHttpHandlerAdapterInterface, f as AttributeFactory, ft as addLeadingSlash, g as StreamAdapterToken, gt as isNil, h as XmlStreamAdapterToken, ht as isFunction, i as NaviosApplicationOptions, in as ConfigServiceToken, it as Logger, j as InternalServerErrorException, jt as yellow, k as UnauthorizedException, kt as LogLevel, l as MultipartAdapterFactory, ln as PathValue, lt as ConsoleLogger, m as ClassSchemaAttribute, mt as isEmpty, n as NaviosApplication, nn as ConfigServiceOptions, nt as AbstractHttpListenOptions, o as StreamAdapterFactory, on as Path, ot as LoggerOutput, p as ClassAttribute, pt as isConstructor, q as PluginDefinition, qt as Endpoint, r as NaviosApplicationContextOptions, rn as ConfigServiceOptionsSchema, rt as AbstractHttpCorsOptions, s as ReplyFactory, sn as PathImpl, st as loggerOptionsSchema, t as NaviosFactory, tn as ConfigService, tt as AbstractHttpAdapterInterface, u as HttpAdapterFactory, un as envInt, ut as ConsoleLoggerOptions, v as Reply, vt as isObject, w as getRequestId, wt as stripEndSlash, x as ExecutionContext, xt as isSymbol, y as MultipartAdapterToken, yt as isPlainObject, z as MultipartParams, zt as ControllerMetadataKey } from "./index-DW9EPAE6.mjs";
1
+ import { $ as PluginDefinition, $t as HandlerMetadata, A as ControllerResolverService, At as isSymbol, B as HttpException, Bt as yellow, C as EndpointAdapterToken, Ct as isEmpty, D as setRequestIdEnabled, Dt as isObject, E as runWithRequestId, Et as isNumber, F as UnauthorizedException, Ft as isLogLevel, G as MultipartParams, Gt as getModuleMetadata, H as Stream, Ht as ModuleMetadata, I as NotFoundException, It as filterLogLevels, J as ModuleOptions, Jt as ControllerMetadataKey, K as MultipartResult, Kt as hasModuleMetadata, L as InternalServerErrorException, Lt as LOG_LEVELS, M as InstanceResolverService, Mt as normalizePath, N as MultiInstanceResolution, Nt as stripEndSlash, O as GuardRunnerService, Ot as isPlainObject, P as ConflictException, Pt as isLogLevelEnabled, Q as PluginContext, Qt as EndpointMetadataKey, R as ForbiddenException, Rt as LogLevel, S as ExecutionContextInjectionToken, St as isConstructor, T as getRequestId, Tt as isNil, U as StreamParams, Ut as ModuleMetadataKey, V as UseGuards, Vt as AbstractExecutionContext, W as Multipart, Wt as extractModuleMetadata, X as Header, Xt as getControllerMetadata, Y as HttpCode, Yt as extractControllerMetadata, Z as NaviosPlugin, Zt as hasControllerMetadata, _ as NaviosApplication, _n as PathImpl2, _t as LoggerInstance, a as RequestFactory, an as Controller, at as CanActivate, b as HttpAdapterToken, bn as envString, bt as LoggerService, c as EndpointAdapterFactory, cn as EnvConfigProvider, ct as HandlerResult, d as ClassSchemaAttribute, dn as ConfigServiceOptions, dt as AbstractHttpListenOptions, en as getAllEndpointMetadata, et as ModuleExtension, f as XmlStreamAdapterToken, fn as ConfigServiceOptionsSchema, ft as AbstractHttpCorsOptions, g as NaviosOptionsToken, gn as PathImpl, gt as loggerOptionsSchema, h as Reply, hn as Path, ht as LoggerOutput, i as ReplyFactory, in as EndpointResult, it as OmitIndexSignature, j as InstanceResolution, jt as isUndefined, k as ControllerResolution, kt as isString, l as AttributeFactory, ln as provideConfig, lt as StaticHandler, m as Request, mn as ConfigServiceInterface, mt as LoggerOptions, n as XmlStreamAdapterFactory, nn as Endpoint, nt as NaviosModule, o as MultipartAdapterFactory, on as ControllerOptions, ot as AbstractHttpHandlerAdapterInterface, p as StreamAdapterToken, pn as ConfigServiceToken, pt as Logger, q as Module, qt as ControllerMetadata, r as StreamAdapterFactory, rn as EndpointParams, rt as HttpHeader, s as HttpAdapterFactory, sn as ConfigProviderOptions, st as DynamicHandler, t as NaviosFactory, tn as getEndpointMetadata, tt as ModuleLoaderService, u as ClassAttribute, un as ConfigService, ut as AbstractHttpAdapterInterface, v as NaviosApplicationOptions, vn as PathValue, vt as ConsoleLogger, w as generateRequestId, wt as isFunction, x as ExecutionContext, xt as addLeadingSlash, y as MultipartAdapterToken, yn as envInt, yt as ConsoleLoggerOptions, z as BadRequestException, zt as clc } from "./index-D9MNh6Tx.mjs";
2
2
  export * from "@navios/di";
3
- export { AbstractExecutionContext, AbstractHttpAdapterInterface, AbstractHttpCorsOptions, AbstractHttpHandlerAdapterInterface, AbstractHttpListenOptions, AttributeFactory, BadRequestException, CanActivate, ClassAttribute, ClassSchemaAttribute, ConfigProviderOptions, ConfigService, ConfigServiceInterface, ConfigServiceOptions, ConfigServiceOptionsSchema, ConfigServiceToken, ConflictException, ConsoleLogger, ConsoleLoggerOptions, Controller, ControllerMetadata, ControllerMetadataKey, ControllerOptions, Endpoint, EndpointAdapterFactory, EndpointAdapterToken, EndpointMetadataKey, EndpointParams, EndpointResult, EnvConfigProvider, ExecutionContext, ExecutionContextInjectionToken, ForbiddenException, GuardRunnerService, HandlerMetadata, Header, HttpAdapterFactory, HttpAdapterToken, HttpCode, HttpException, HttpHeader, InternalServerErrorException, LOG_LEVELS, LogLevel, Logger, LoggerInstance, LoggerOptions, LoggerOutput, LoggerService, Module, ModuleExtension, ModuleLoaderService, ModuleMetadata, ModuleMetadataKey, ModuleOptions, Multipart, MultipartAdapterFactory, MultipartAdapterToken, MultipartParams, MultipartResult, NaviosApplication, NaviosApplicationContextOptions, NaviosApplicationOptions, NaviosFactory, NaviosModule, NaviosPlugin, NotFoundException, OmitIndexSignature, Path, PathImpl, PathImpl2, PathValue, PluginContext, PluginDefinition, Reply, ReplyFactory, Request, RequestFactory, Stream, StreamAdapterFactory, StreamAdapterToken, StreamParams, UnauthorizedException, UseGuards, XmlStreamAdapterFactory, XmlStreamAdapterToken, addLeadingSlash, clc, envInt, envString, extractControllerMetadata, extractModuleMetadata, filterLogLevels, getAllEndpointMetadata, getControllerMetadata, getEndpointMetadata, getModuleMetadata, getRequestId, hasControllerMetadata, hasModuleMetadata, isConstructor, isEmpty, isFunction, isLogLevel, isLogLevelEnabled, isNil, isNumber, isObject, isPlainObject, isString, isSymbol, isUndefined, loggerOptionsSchema, normalizePath, provideConfig, requestIdStore, runWithRequestId, stripEndSlash, yellow };
3
+ export { AbstractExecutionContext, AbstractHttpAdapterInterface, AbstractHttpCorsOptions, AbstractHttpHandlerAdapterInterface, AbstractHttpListenOptions, AttributeFactory, BadRequestException, CanActivate, ClassAttribute, ClassSchemaAttribute, ConfigProviderOptions, ConfigService, ConfigServiceInterface, ConfigServiceOptions, ConfigServiceOptionsSchema, ConfigServiceToken, ConflictException, ConsoleLogger, ConsoleLoggerOptions, Controller, ControllerMetadata, ControllerMetadataKey, ControllerOptions, ControllerResolution, ControllerResolverService, DynamicHandler, Endpoint, EndpointAdapterFactory, EndpointAdapterToken, EndpointMetadataKey, EndpointParams, EndpointResult, EnvConfigProvider, ExecutionContext, ExecutionContextInjectionToken, ForbiddenException, GuardRunnerService, HandlerMetadata, HandlerResult, Header, HttpAdapterFactory, HttpAdapterToken, HttpCode, HttpException, HttpHeader, InstanceResolution, InstanceResolverService, InternalServerErrorException, LOG_LEVELS, LogLevel, Logger, LoggerInstance, LoggerOptions, LoggerOutput, LoggerService, Module, ModuleExtension, ModuleLoaderService, ModuleMetadata, ModuleMetadataKey, ModuleOptions, MultiInstanceResolution, Multipart, MultipartAdapterFactory, MultipartAdapterToken, MultipartParams, MultipartResult, NaviosApplication, NaviosApplicationOptions, NaviosFactory, NaviosModule, NaviosOptionsToken, NaviosPlugin, NotFoundException, OmitIndexSignature, Path, PathImpl, PathImpl2, PathValue, PluginContext, PluginDefinition, Reply, ReplyFactory, Request, RequestFactory, StaticHandler, Stream, StreamAdapterFactory, StreamAdapterToken, StreamParams, UnauthorizedException, UseGuards, XmlStreamAdapterFactory, XmlStreamAdapterToken, addLeadingSlash, clc, envInt, envString, extractControllerMetadata, extractModuleMetadata, filterLogLevels, generateRequestId, getAllEndpointMetadata, getControllerMetadata, getEndpointMetadata, getModuleMetadata, getRequestId, hasControllerMetadata, hasModuleMetadata, isConstructor, isEmpty, isFunction, isLogLevel, isLogLevelEnabled, isNil, isNumber, isObject, isPlainObject, isString, isSymbol, isUndefined, loggerOptionsSchema, normalizePath, provideConfig, runWithRequestId, setRequestIdEnabled, stripEndSlash, yellow };
package/lib/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { $ as envInt, A as loggerOptionsSchema, B as isObject, C as ConfigServiceOptionsSchema, D as _ConsoleLogger, E as _LoggerInstance, F as isConstructor, G as normalizePath, H as isString, I as isEmpty, J as filterLogLevels, K as stripEndSlash, L as isFunction, M as requestIdStore, N as runWithRequestId, O as Logger, P as addLeadingSlash, Q as yellow, R as isNil, S as provideConfig, T as _ConfigService, U as isSymbol, V as isPlainObject, W as isUndefined, X as LOG_LEVELS, Y as isLogLevel, Z as clc, _ as ForbiddenException, a as _ReplyFactory, b as ConfigProviderOptions, c as _HttpAdapterFactory, d as _ModuleLoaderService, et as envString, f as _GuardRunnerService, g as InternalServerErrorException, h as NotFoundException, i as _StreamAdapterFactory, j as getRequestId, k as LoggerOutput, l as _EndpointAdapterFactory, m as UnauthorizedException, n as _NaviosApplication, o as _RequestFactory, p as ConflictException, q as isLogLevelEnabled, r as _XmlStreamAdapterFactory, s as _MultipartAdapterFactory, t as NaviosFactory, u as AttributeFactory, v as BadRequestException, w as ConfigServiceToken, x as EnvConfigProvider, y as HttpException, z as isNumber } from "./src-DyvCDuKO.mjs";
2
- import { C as extractControllerMetadata, D as getAllEndpointMetadata, E as EndpointMetadataKey, O as getEndpointMetadata, S as ControllerMetadataKey, T as hasControllerMetadata, _ as Controller, a as HttpCode, b as getModuleMetadata, c as XmlStreamAdapterToken, d as Reply, f as MultipartAdapterToken, g as EndpointAdapterToken, h as ExecutionContextInjectionToken, i as Module, l as StreamAdapterToken, m as ExecutionContext, n as Stream, o as Header, p as HttpAdapterToken, r as Multipart, s as Endpoint, t as UseGuards, u as Request, v as ModuleMetadataKey, w as getControllerMetadata, x as hasModuleMetadata, y as extractModuleMetadata } from "./use-guards.decorator-kZ3lNK8v.mjs";
1
+ import { $ as LOG_LEVELS, A as Logger, B as isFunction, C as EnvConfigProvider, D as _ConfigService, E as ConfigServiceToken, F as runWithRequestId, G as isString, H as isNumber, I as setRequestIdEnabled, J as normalizePath, K as isSymbol, L as addLeadingSlash, M as loggerOptionsSchema, N as generateRequestId, O as _LoggerInstance, P as getRequestId, Q as isLogLevel, R as isConstructor, S as ConfigProviderOptions, T as ConfigServiceOptionsSchema, U as isObject, V as isNil, W as isPlainObject, X as isLogLevelEnabled, Y as stripEndSlash, Z as filterLogLevels, _ as NotFoundException, a as _ReplyFactory, b as BadRequestException, c as _HttpAdapterFactory, d as _ModuleLoaderService, et as clc, f as _GuardRunnerService, g as UnauthorizedException, h as ConflictException, i as _StreamAdapterFactory, j as LoggerOutput, k as _ConsoleLogger, l as _EndpointAdapterFactory, m as _InstanceResolverService, n as _NaviosApplication, nt as envInt, o as _RequestFactory, p as ControllerResolverService, q as isUndefined, r as _XmlStreamAdapterFactory, rt as envString, s as _MultipartAdapterFactory, t as NaviosFactory, tt as yellow, u as AttributeFactory, v as InternalServerErrorException, w as provideConfig, x as HttpException, y as ForbiddenException, z as isEmpty } from "./src-Bo23RIo-.mjs";
2
+ import { C as ControllerMetadataKey, D as EndpointMetadataKey, E as hasControllerMetadata, O as getAllEndpointMetadata, S as hasModuleMetadata, T as getControllerMetadata, _ as EndpointAdapterToken, a as HttpCode, b as extractModuleMetadata, c as XmlStreamAdapterToken, d as Reply, f as NaviosOptionsToken, g as ExecutionContextInjectionToken, h as ExecutionContext, i as Module, k as getEndpointMetadata, l as StreamAdapterToken, m as HttpAdapterToken, n as Stream, o as Header, p as MultipartAdapterToken, r as Multipart, s as Endpoint, t as UseGuards, u as Request, v as Controller, w as extractControllerMetadata, x as getModuleMetadata, y as ModuleMetadataKey } from "./use-guards.decorator-CzVXuLkz.mjs";
3
3
 
4
4
  export * from "@navios/di"
5
5
 
6
- export { AttributeFactory, BadRequestException, ConfigProviderOptions, _ConfigService as ConfigService, ConfigServiceOptionsSchema, ConfigServiceToken, ConflictException, _ConsoleLogger as ConsoleLogger, Controller, ControllerMetadataKey, Endpoint, _EndpointAdapterFactory as EndpointAdapterFactory, EndpointAdapterToken, EndpointMetadataKey, EnvConfigProvider, ExecutionContext, ExecutionContextInjectionToken, ForbiddenException, _GuardRunnerService as GuardRunnerService, Header, _HttpAdapterFactory as HttpAdapterFactory, HttpAdapterToken, HttpCode, HttpException, InternalServerErrorException, LOG_LEVELS, Logger, _LoggerInstance as LoggerInstance, LoggerOutput, Module, _ModuleLoaderService as ModuleLoaderService, ModuleMetadataKey, Multipart, _MultipartAdapterFactory as MultipartAdapterFactory, MultipartAdapterToken, _NaviosApplication as NaviosApplication, NaviosFactory, NotFoundException, Reply, _ReplyFactory as ReplyFactory, Request, _RequestFactory as RequestFactory, Stream, _StreamAdapterFactory as StreamAdapterFactory, StreamAdapterToken, UnauthorizedException, UseGuards, _XmlStreamAdapterFactory as XmlStreamAdapterFactory, XmlStreamAdapterToken, addLeadingSlash, clc, envInt, envString, extractControllerMetadata, extractModuleMetadata, filterLogLevels, getAllEndpointMetadata, getControllerMetadata, getEndpointMetadata, getModuleMetadata, getRequestId, hasControllerMetadata, hasModuleMetadata, isConstructor, isEmpty, isFunction, isLogLevel, isLogLevelEnabled, isNil, isNumber, isObject, isPlainObject, isString, isSymbol, isUndefined, loggerOptionsSchema, normalizePath, provideConfig, requestIdStore, runWithRequestId, stripEndSlash, yellow };
6
+ export { AttributeFactory, BadRequestException, ConfigProviderOptions, _ConfigService as ConfigService, ConfigServiceOptionsSchema, ConfigServiceToken, ConflictException, _ConsoleLogger as ConsoleLogger, Controller, ControllerMetadataKey, ControllerResolverService, Endpoint, _EndpointAdapterFactory as EndpointAdapterFactory, EndpointAdapterToken, EndpointMetadataKey, EnvConfigProvider, ExecutionContext, ExecutionContextInjectionToken, ForbiddenException, _GuardRunnerService as GuardRunnerService, Header, _HttpAdapterFactory as HttpAdapterFactory, HttpAdapterToken, HttpCode, HttpException, _InstanceResolverService as InstanceResolverService, InternalServerErrorException, LOG_LEVELS, Logger, _LoggerInstance as LoggerInstance, LoggerOutput, Module, _ModuleLoaderService as ModuleLoaderService, ModuleMetadataKey, Multipart, _MultipartAdapterFactory as MultipartAdapterFactory, MultipartAdapterToken, _NaviosApplication as NaviosApplication, NaviosFactory, NaviosOptionsToken, NotFoundException, Reply, _ReplyFactory as ReplyFactory, Request, _RequestFactory as RequestFactory, Stream, _StreamAdapterFactory as StreamAdapterFactory, StreamAdapterToken, UnauthorizedException, UseGuards, _XmlStreamAdapterFactory as XmlStreamAdapterFactory, XmlStreamAdapterToken, addLeadingSlash, clc, envInt, envString, extractControllerMetadata, extractModuleMetadata, filterLogLevels, generateRequestId, getAllEndpointMetadata, getControllerMetadata, getEndpointMetadata, getModuleMetadata, getRequestId, hasControllerMetadata, hasModuleMetadata, isConstructor, isEmpty, isFunction, isLogLevel, isLogLevelEnabled, isNil, isNumber, isObject, isPlainObject, isString, isSymbol, isUndefined, loggerOptionsSchema, normalizePath, provideConfig, runWithRequestId, setRequestIdEnabled, stripEndSlash, yellow };
@@ -1,4 +1,4 @@
1
- const require_use_guards_decorator = require('../use-guards.decorator-B6q_N0sf.cjs');
1
+ const require_use_guards_decorator = require('../use-guards.decorator-Bs8oDHOi.cjs');
2
2
 
3
3
  //#region src/legacy-compat/context-compat.mts
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["classMetadataMap","WeakMap","getConstructor","prototype","constructor","createClassContext","target","has","set","metadata","get","kind","name","addInitializer","createMethodContext","propertyKey","descriptor","Error","static","private","access","value","Module","OriginalModule","createClassContext","options","controllers","imports","guards","target","context","originalDecorator","Controller","OriginalController","createClassContext","options","target","context","originalDecorator","Endpoint","OriginalEndpoint","createMethodContext","endpoint","target","propertyKey","descriptor","Error","typedDescriptor","context","originalDecorator","result","value","UseGuards","OriginalUseGuards","createClassContext","createMethodContext","guards","decoratorImpl","target","propertyKey","descriptor","undefined","context","originalDecorator","result","value","Header","OriginalHeader","createMethodContext","name","value","target","propertyKey","descriptor","context","originalDecorator","result","HttpCode","OriginalHttpCode","createMethodContext","code","target","propertyKey","descriptor","context","originalDecorator","result","value","Multipart","OriginalMultipart","createMethodContext","endpoint","target","propertyKey","descriptor","Error","context","originalDecorator","result","value","Stream","OriginalStream","createMethodContext","endpoint","target","propertyKey","descriptor","context","originalDecorator","result","value"],"sources":["../../src/legacy-compat/context-compat.mts","../../src/legacy-compat/decorators/module.decorator.mts","../../src/legacy-compat/decorators/controller.decorator.mts","../../src/legacy-compat/decorators/endpoint.decorator.mts","../../src/legacy-compat/decorators/use-guards.decorator.mts","../../src/legacy-compat/decorators/header.decorator.mts","../../src/legacy-compat/decorators/http-code.decorator.mts","../../src/legacy-compat/decorators/multipart.decorator.mts","../../src/legacy-compat/decorators/stream.decorator.mts"],"sourcesContent":["/**\n * Compatibility layer for converting legacy decorator signatures to Stage 3 format.\n *\n * This module provides utilities to create mock Stage 3 decorator contexts\n * from legacy decorator arguments, and manages metadata storage using WeakMap.\n */\n\nimport type { ClassType } from '@navios/di'\n\n// WeakMap to store metadata for legacy decorators\n// Keyed by class constructor for class decorators\n// For method decorators, we use the class constructor (extracted from the prototype)\nconst classMetadataMap = new WeakMap<ClassType, Record<string | symbol, any>>()\n\n/**\n * Gets the constructor from a prototype (for method decorators).\n */\nfunction getConstructor(prototype: any): ClassType | null {\n if (!prototype || typeof prototype !== 'object') {\n return null\n }\n // In legacy decorators, target is the prototype\n // The constructor is typically available via prototype.constructor\n const constructor = prototype.constructor\n if (constructor && typeof constructor === 'function') {\n return constructor as ClassType\n }\n return null\n}\n\n/**\n * Creates a mock ClassDecoratorContext for legacy class decorators.\n */\nexport function createClassContext(target: ClassType): ClassDecoratorContext {\n // Get or create metadata storage for this class\n if (!classMetadataMap.has(target)) {\n classMetadataMap.set(target, {})\n }\n const metadata = classMetadataMap.get(target)!\n\n return {\n kind: 'class',\n name: target.name,\n metadata,\n addInitializer() {\n // Legacy decorators don't support initializers\n },\n } as ClassDecoratorContext\n}\n\n/**\n * Creates a mock ClassMethodDecoratorContext for legacy method decorators.\n *\n * Note: Method decorators need to share metadata with the class context\n * because endpoint metadata is stored at the class level.\n */\nexport function createMethodContext(\n target: any,\n propertyKey: string | symbol,\n descriptor: PropertyDescriptor,\n): ClassMethodDecoratorContext {\n // For method decorators, target is the prototype\n // We need to get the class constructor to access class-level metadata\n const constructor = getConstructor(target)\n if (!constructor) {\n throw new Error(\n '[Navios] Could not determine class constructor from method decorator target.',\n )\n }\n\n // Get or create metadata storage for the class\n // Method decorators share metadata with the class\n if (!classMetadataMap.has(constructor)) {\n classMetadataMap.set(constructor, {})\n }\n const metadata = classMetadataMap.get(constructor)!\n\n return {\n kind: 'method',\n name: propertyKey,\n metadata,\n static: false, // We can't determine this from legacy decorators\n private: false, // We can't determine this from legacy decorators\n access: {\n has: () => true,\n get: () => descriptor.value,\n set: () => {},\n },\n addInitializer() {\n // Legacy decorators don't support initializers\n },\n } as ClassMethodDecoratorContext\n}\n","import type { ClassType } from '@navios/di'\n\nimport { Module as OriginalModule, type ModuleOptions } from '../../decorators/module.decorator.mjs'\nimport { createClassContext } from '../context-compat.mjs'\n\n/**\n * Legacy-compatible Module decorator.\n * \n * Works with TypeScript experimental decorators (legacy API).\n * \n * @param options - Module configuration options\n * @returns A class decorator compatible with legacy decorator API\n * \n * @example\n * ```typescript\n * @Module({\n * controllers: [UserController, AuthController],\n * imports: [DatabaseModule],\n * guards: [AuthGuard],\n * })\n * export class AppModule {}\n * ```\n */\nexport function Module(\n options: ModuleOptions = {\n controllers: [],\n imports: [],\n guards: [],\n },\n) {\n return function (target: ClassType) {\n const context = createClassContext(target)\n const originalDecorator = OriginalModule(options)\n return originalDecorator(target, context)\n }\n}\n\n","import type { ClassType } from '@navios/di'\n\nimport type { ControllerOptions } from '../../decorators/controller.decorator.mjs'\n\nimport { Controller as OriginalController } from '../../decorators/controller.decorator.mjs'\nimport { createClassContext } from '../context-compat.mjs'\n\n/**\n * Legacy-compatible Controller decorator.\n *\n * Works with TypeScript experimental decorators (legacy API).\n *\n * @param options - Controller configuration options\n * @returns A class decorator compatible with legacy decorator API\n *\n * @example\n * ```typescript\n * @Controller({ guards: [AuthGuard] })\n * export class UserController {\n * @Endpoint(getUserEndpoint)\n * async getUser() { }\n * }\n * ```\n */\nexport function Controller(options: ControllerOptions = {}) {\n return function (target: ClassType) {\n const context = createClassContext(target)\n const originalDecorator = OriginalController(options)\n return originalDecorator(target, context)\n }\n}\n","import type {\n BaseEndpointConfig,\n EndpointFunctionArgs,\n HttpMethod,\n} from '@navios/builder'\nimport type { z, ZodType } from 'zod/v4'\n\nimport { Endpoint as OriginalEndpoint } from '../../decorators/endpoint.decorator.mjs'\nimport { createMethodContext } from '../context-compat.mjs'\n\n/**\n * Type helper to constrain a PropertyDescriptor's value to match an endpoint signature.\n * Note: In legacy decorators, type constraints are checked when the decorator is applied,\n * but may not be preserved perfectly when decorators are stacked.\n */\ntype EndpointMethodDescriptor<\n Url extends string,\n QuerySchema,\n RequestSchema,\n ResponseSchema extends ZodType,\n> = TypedPropertyDescriptor<\n (\n params: QuerySchema extends ZodType\n ? RequestSchema extends ZodType\n ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema, true>\n : EndpointFunctionArgs<Url, QuerySchema, undefined, true>\n : RequestSchema extends ZodType\n ? EndpointFunctionArgs<Url, undefined, RequestSchema, true>\n : EndpointFunctionArgs<Url, undefined, undefined, true>,\n ) => Promise<z.input<ResponseSchema>>\n>\n\n/**\n * Legacy-compatible Endpoint decorator.\n *\n * Works with TypeScript experimental decorators (legacy API).\n * Provides type safety by ensuring method signatures match the endpoint configuration.\n *\n * @param endpoint - The endpoint declaration from @navios/builder\n * @returns A method decorator compatible with legacy decorator API\n *\n * @example\n * ```typescript\n * @Controller()\n * export class UserController {\n * @Endpoint(getUserEndpoint)\n * async getUser(request: EndpointParams<typeof getUserEndpoint>): EndpointResult<typeof getUserEndpoint> {\n * return { id: '1', name: 'John' }\n * }\n * }\n * ```\n */\nexport function Endpoint<\n Method extends HttpMethod = HttpMethod,\n Url extends string = string,\n QuerySchema = undefined,\n ResponseSchema extends ZodType = ZodType,\n RequestSchema = ZodType,\n>(endpoint: {\n config: BaseEndpointConfig<\n Method,\n Url,\n QuerySchema,\n ResponseSchema,\n RequestSchema\n >\n}) {\n return function (\n target: any,\n propertyKey: string | symbol,\n descriptor: EndpointMethodDescriptor<\n Url,\n QuerySchema,\n RequestSchema,\n ResponseSchema\n >,\n ): PropertyDescriptor | void {\n if (!descriptor) {\n throw new Error(\n '[Navios] @Endpoint decorator requires a method descriptor. Make sure experimentalDecorators is enabled.',\n )\n }\n // Type check the descriptor value matches expected signature\n const typedDescriptor = descriptor as EndpointMethodDescriptor<\n Url,\n QuerySchema,\n RequestSchema,\n ResponseSchema\n >\n const context = createMethodContext(target, propertyKey, typedDescriptor)\n const originalDecorator = OriginalEndpoint(endpoint)\n // @ts-expect-error - we don't need to type the value\n const result = originalDecorator(typedDescriptor.value, context)\n if (result !== typedDescriptor.value) {\n typedDescriptor.value = result\n }\n return typedDescriptor\n }\n}\n","import type {\n ClassType,\n ClassTypeWithInstance,\n InjectionToken,\n} from '@navios/di'\n\nimport type { CanActivate } from '../../interfaces/index.mjs'\n\nimport { UseGuards as OriginalUseGuards } from '../../decorators/use-guards.decorator.mjs'\nimport { createClassContext, createMethodContext } from '../context-compat.mjs'\n\n/**\n * Legacy-compatible UseGuards decorator.\n *\n * Works with TypeScript experimental decorators (legacy API).\n * Can be applied to classes or methods.\n *\n * @param guards - Guard classes or injection tokens to apply\n * @returns A class or method decorator compatible with legacy decorator API\n *\n * @example\n * ```typescript\n * // Apply to a controller\n * @Controller()\n * @UseGuards(AuthGuard, RoleGuard)\n * export class UserController { }\n *\n * // Apply to a specific endpoint\n * @Controller()\n * export class UserController {\n * @Endpoint(getUserEndpoint)\n * @UseGuards(AuthGuard)\n * async getUser() { }\n * }\n * ```\n */\nexport function UseGuards(\n ...guards: (\n | ClassTypeWithInstance<CanActivate>\n | InjectionToken<CanActivate, undefined>\n )[]\n) {\n // Create the decorator function\n // Note: TypeScript's legacy decorator system has strict type checking for decorators\n // We use a flexible implementation that works for both class and method decorators\n function decoratorImpl(\n target: ClassType | Function,\n propertyKey?: string | symbol,\n descriptor?: PropertyDescriptor,\n ): any {\n // Determine if this is a class or method decorator\n if (propertyKey !== undefined && descriptor !== undefined) {\n // Method decorator\n const context = createMethodContext(\n target as Function,\n propertyKey,\n descriptor,\n )\n const originalDecorator = OriginalUseGuards(...guards)\n const result = originalDecorator(descriptor.value, context)\n if (result !== descriptor.value) {\n descriptor.value = result\n }\n return descriptor\n } else {\n // Class decorator\n const context = createClassContext(target as ClassType)\n const originalDecorator = OriginalUseGuards(...guards)\n return originalDecorator(target as ClassType, context)\n }\n }\n\n // Return with 'any' type to work around TypeScript's strict decorator checking\n // TypeScript's legacy decorator system cannot properly type-check decorators\n // that work as both class and method decorators. The runtime behavior is correct.\n // When used as a class decorator, it returns the class (preserving type at runtime)\n // When used as a method decorator, it returns the PropertyDescriptor\n // @ts-ignore - TypeScript limitation with dual-purpose legacy decorators\n return decoratorImpl as any\n}\n","import type { HttpHeader } from '../../interfaces/index.mjs'\n\nimport { Header as OriginalHeader } from '../../decorators/header.decorator.mjs'\nimport { createMethodContext } from '../context-compat.mjs'\n\n/**\n * Legacy-compatible Header decorator.\n * \n * Works with TypeScript experimental decorators (legacy API).\n * \n * @param name - The header name (e.g., 'Content-Type', 'Cache-Control')\n * @param value - The header value (string, number, or array of strings)\n * @returns A method decorator compatible with legacy decorator API\n * \n * @example\n * ```typescript\n * @Controller()\n * export class UserController {\n * @Endpoint(getUserEndpoint)\n * @Header('Cache-Control', 'max-age=3600')\n * async getUser() {\n * return { id: '1', name: 'John' }\n * }\n * }\n * ```\n */\nexport function Header(name: HttpHeader, value: string | number | string[]) {\n return function <T extends object>(\n target: T,\n propertyKey: string | symbol,\n descriptor: PropertyDescriptor,\n ) {\n const context = createMethodContext(target, propertyKey, descriptor)\n const originalDecorator = OriginalHeader(name, value)\n const result = originalDecorator(descriptor.value, context)\n if (result !== descriptor.value) {\n descriptor.value = result\n }\n return descriptor\n }\n}\n\n","import { HttpCode as OriginalHttpCode } from '../../decorators/http-code.decorator.mjs'\nimport { createMethodContext } from '../context-compat.mjs'\n\n/**\n * Legacy-compatible HttpCode decorator.\n *\n * Works with TypeScript experimental decorators (legacy API).\n *\n * @param code - The HTTP status code to return (e.g., 201, 204, 202)\n * @returns A method decorator compatible with legacy decorator API\n *\n * @example\n * ```typescript\n * @Controller()\n * export class UserController {\n * @Endpoint(createUserEndpoint)\n * @HttpCode(201)\n * async createUser() {\n * return { id: '1', name: 'John' }\n * }\n * }\n * ```\n */\nexport function HttpCode(code: number) {\n return function <T extends object>(\n target: T,\n propertyKey: string | symbol,\n descriptor: PropertyDescriptor,\n ) {\n const context = createMethodContext(target, propertyKey, descriptor)\n const originalDecorator = OriginalHttpCode(code)\n const result = originalDecorator(descriptor.value, context)\n if (result !== descriptor.value) {\n descriptor.value = result\n }\n return descriptor\n }\n}\n","import type {\n BaseEndpointConfig,\n EndpointFunctionArgs,\n HttpMethod,\n} from '@navios/builder'\nimport type { z, ZodObject, ZodType } from 'zod/v4'\n\nimport { Multipart as OriginalMultipart } from '../../decorators/multipart.decorator.mjs'\nimport { createMethodContext } from '../context-compat.mjs'\n\n/**\n * Type helper to constrain a PropertyDescriptor's value to match a multipart endpoint signature.\n * Note: In legacy decorators, type constraints are checked when the decorator is applied,\n * but may not be preserved perfectly when decorators are stacked.\n */\ntype MultipartMethodDescriptor<\n Url extends string,\n QuerySchema,\n RequestSchema,\n ResponseSchema extends ZodType,\n> = TypedPropertyDescriptor<\n (\n params: QuerySchema extends ZodObject\n ? RequestSchema extends ZodType\n ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema>\n : EndpointFunctionArgs<Url, QuerySchema, undefined>\n : RequestSchema extends ZodType\n ? EndpointFunctionArgs<Url, undefined, RequestSchema>\n : EndpointFunctionArgs<Url, undefined, undefined>,\n ) => Promise<z.input<ResponseSchema>>\n>\n\n/**\n * Legacy-compatible Multipart decorator.\n *\n * Works with TypeScript experimental decorators (legacy API).\n * Provides type safety by ensuring method signatures match the endpoint configuration.\n *\n * @param endpoint - The multipart endpoint declaration from @navios/builder\n * @returns A method decorator compatible with legacy decorator API\n *\n * @example\n * ```typescript\n * @Controller()\n * export class FileController {\n * @Multipart(uploadFileEndpoint)\n * async uploadFile(request: MultipartParams<typeof uploadFileEndpoint>): MultipartResult<typeof uploadFileEndpoint> {\n * const { file } = request.data\n * return { url: 'https://example.com/file.jpg' }\n * }\n * }\n * ```\n */\nexport function Multipart<\n Method extends HttpMethod = HttpMethod,\n Url extends string = string,\n QuerySchema = undefined,\n ResponseSchema extends ZodType = ZodType,\n RequestSchema = ZodType,\n>(endpoint: {\n config: BaseEndpointConfig<\n Method,\n Url,\n QuerySchema,\n ResponseSchema,\n RequestSchema\n >\n}) {\n return function <T extends object>(\n target: T,\n propertyKey: string | symbol,\n descriptor: MultipartMethodDescriptor<\n Url,\n QuerySchema,\n RequestSchema,\n ResponseSchema\n >,\n ): PropertyDescriptor | void {\n if (!descriptor) {\n throw new Error(\n '[Navios] @Multipart decorator requires a method descriptor. Make sure experimentalDecorators is enabled.',\n )\n }\n const context = createMethodContext(target, propertyKey, descriptor)\n const originalDecorator = OriginalMultipart(endpoint)\n // @ts-expect-error - we don't need to type the value\n const result = originalDecorator(descriptor.value, context)\n if (result !== descriptor.value) {\n descriptor.value = result\n }\n return descriptor\n }\n}\n","import type {\n BaseStreamConfig,\n EndpointFunctionArgs,\n HttpMethod,\n} from '@navios/builder'\nimport type { ZodObject, ZodType } from 'zod/v4'\n\nimport { Stream as OriginalStream } from '../../decorators/stream.decorator.mjs'\nimport { createMethodContext } from '../context-compat.mjs'\n\n/**\n * Type helper to constrain a PropertyDescriptor's value to match a stream endpoint signature.\n * Note: In legacy decorators, type constraints are checked when the decorator is applied,\n * but may not be preserved perfectly when decorators are stacked.\n */\ntype StreamMethodDescriptor<\n Url extends string,\n QuerySchema,\n RequestSchema,\n> = TypedPropertyDescriptor<\n (\n params: QuerySchema extends ZodObject\n ? RequestSchema extends ZodType\n ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema>\n : EndpointFunctionArgs<Url, QuerySchema, undefined>\n : RequestSchema extends ZodType\n ? EndpointFunctionArgs<Url, undefined, RequestSchema>\n : EndpointFunctionArgs<Url, undefined, undefined>,\n reply: any,\n ) => Promise<void>\n>\n\n/**\n * Legacy-compatible Stream decorator.\n *\n * Works with TypeScript experimental decorators (legacy API).\n * Provides type safety by ensuring method signatures match the endpoint configuration.\n *\n * @param endpoint - The stream endpoint declaration from @navios/builder\n * @returns A method decorator compatible with legacy decorator API\n *\n * @example\n * ```typescript\n * @Controller()\n * export class FileController {\n * @Stream(downloadFileEndpoint)\n * async downloadFile(request: StreamParams<typeof downloadFileEndpoint>, reply: any) {\n * const { fileId } = request.urlParams\n * // Stream file data to reply\n * }\n * }\n * ```\n */\nexport function Stream<\n Method extends HttpMethod = HttpMethod,\n Url extends string = string,\n QuerySchema = undefined,\n RequestSchema = ZodType,\n>(endpoint: {\n config: BaseStreamConfig<Method, Url, QuerySchema, RequestSchema>\n}) {\n return function <T extends object>(\n target: T,\n propertyKey: string | symbol,\n descriptor: StreamMethodDescriptor<Url, QuerySchema, RequestSchema>,\n ) {\n const context = createMethodContext(target, propertyKey, descriptor)\n const originalDecorator = OriginalStream(endpoint)\n // @ts-expect-error - we don't need to type the value\n const result = originalDecorator(descriptor.value, context)\n if (result !== descriptor.value) {\n descriptor.value = result\n }\n return descriptor\n }\n}\n"],"mappings":";;;;;;;;GAYA,MAAMA,mCAAmB,IAAIC,SAAAA;;;GAK7B,SAASC,eAAeC,WAAc;AACpC,KAAI,CAACA,aAAa,OAAOA,cAAc,SACrC,QAAO;CAIT,MAAMC,cAAcD,UAAU;AAC9B,KAAIC,eAAe,OAAOA,gBAAgB,WACxC,QAAOA;AAET,QAAO;;;;GAMT,SAAgBC,mBAAmBC,QAAiB;AAElD,KAAI,CAACN,iBAAiBO,IAAID,OAAAA,CACxBN,kBAAiBQ,IAAIF,QAAQ,EAAC,CAAA;CAEhC,MAAMG,WAAWT,iBAAiBU,IAAIJ,OAAAA;AAEtC,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C,WAAAA;EAGzD,MAAMI,SAFoBT,uCAAkBE,SAAAA,CAEXG,WAAWK,OAAOH,QAAAA;AACnD,MAAIE,WAAWJ,WAAWK,MACxBL,YAAWK,QAAQD;AAErB,SAAOJ;;;;;;;;;;;;;;;;;;;;;;;;;;GCrCX,SAAgBM,OAKdG,UAED;AACC,QAAO,SACLC,QACAC,aACAC,YAAmE;EAEnE,MAAMC,UAAUL,oBAAoBE,QAAQC,aAAaC,WAAAA;EAGzD,MAAMG,SAFoBR,oCAAeE,SAAAA,CAERG,WAAWI,OAAOH,QAAAA;AACnD,MAAIE,WAAWH,WAAWI,MACxBJ,YAAWI,QAAQD;AAErB,SAAOH"}
1
+ {"version":3,"file":"index.cjs","names":["classMetadataMap","WeakMap","getConstructor","prototype","constructor","createClassContext","target","has","set","metadata","get","kind","name","addInitializer","createMethodContext","propertyKey","descriptor","Error","static","private","access","value","Module","OriginalModule","createClassContext","options","controllers","imports","guards","target","context","originalDecorator","Controller","OriginalController","createClassContext","options","target","context","originalDecorator","Endpoint","OriginalEndpoint","createMethodContext","endpoint","target","propertyKey","descriptor","Error","typedDescriptor","context","originalDecorator","result","value","UseGuards","OriginalUseGuards","createClassContext","createMethodContext","guards","decoratorImpl","target","propertyKey","descriptor","undefined","context","originalDecorator","result","value","Header","OriginalHeader","createMethodContext","name","value","target","propertyKey","descriptor","context","originalDecorator","result","HttpCode","OriginalHttpCode","createMethodContext","code","target","propertyKey","descriptor","context","originalDecorator","result","value","Multipart","OriginalMultipart","createMethodContext","endpoint","target","propertyKey","descriptor","Error","context","originalDecorator","result","value","Stream","OriginalStream","createMethodContext","endpoint","target","propertyKey","descriptor","context","originalDecorator","result","value"],"sources":["../../src/legacy-compat/context-compat.mts","../../src/legacy-compat/decorators/module.decorator.mts","../../src/legacy-compat/decorators/controller.decorator.mts","../../src/legacy-compat/decorators/endpoint.decorator.mts","../../src/legacy-compat/decorators/use-guards.decorator.mts","../../src/legacy-compat/decorators/header.decorator.mts","../../src/legacy-compat/decorators/http-code.decorator.mts","../../src/legacy-compat/decorators/multipart.decorator.mts","../../src/legacy-compat/decorators/stream.decorator.mts"],"sourcesContent":["/**\n * Compatibility layer for converting legacy decorator signatures to Stage 3 format.\n *\n * This module provides utilities to create mock Stage 3 decorator contexts\n * from legacy decorator arguments, and manages metadata storage using WeakMap.\n */\n\nimport type { ClassType } from '@navios/di'\n\n// WeakMap to store metadata for legacy decorators\n// Keyed by class constructor for class decorators\n// For method decorators, we use the class constructor (extracted from the prototype)\nconst classMetadataMap = new WeakMap<ClassType, Record<string | symbol, any>>()\n\n/**\n * Gets the constructor from a prototype (for method decorators).\n */\nfunction getConstructor(prototype: any): ClassType | null {\n if (!prototype || typeof prototype !== 'object') {\n return null\n }\n // In legacy decorators, target is the prototype\n // The constructor is typically available via prototype.constructor\n const constructor = prototype.constructor\n if (constructor && typeof constructor === 'function') {\n return constructor as ClassType\n }\n return null\n}\n\n/**\n * Creates a mock ClassDecoratorContext for legacy class decorators.\n */\nexport function createClassContext(target: ClassType): ClassDecoratorContext {\n // Get or create metadata storage for this class\n if (!classMetadataMap.has(target)) {\n classMetadataMap.set(target, {})\n }\n const metadata = classMetadataMap.get(target)!\n\n return {\n kind: 'class',\n name: target.name,\n metadata,\n addInitializer() {\n // Legacy decorators don't support initializers\n },\n } as ClassDecoratorContext\n}\n\n/**\n * Creates a mock ClassMethodDecoratorContext for legacy method decorators.\n *\n * Note: Method decorators need to share metadata with the class context\n * because endpoint metadata is stored at the class level.\n */\nexport function createMethodContext(\n target: any,\n propertyKey: string | symbol,\n descriptor: PropertyDescriptor,\n): ClassMethodDecoratorContext {\n // For method decorators, target is the prototype\n // We need to get the class constructor to access class-level metadata\n const constructor = getConstructor(target)\n if (!constructor) {\n throw new Error(\n '[Navios] Could not determine class constructor from method decorator target.',\n )\n }\n\n // Get or create metadata storage for the class\n // Method decorators share metadata with the class\n if (!classMetadataMap.has(constructor)) {\n classMetadataMap.set(constructor, {})\n }\n const metadata = classMetadataMap.get(constructor)!\n\n return {\n kind: 'method',\n name: propertyKey,\n metadata,\n static: false, // We can't determine this from legacy decorators\n private: false, // We can't determine this from legacy decorators\n access: {\n has: () => true,\n get: () => descriptor.value,\n set: () => {},\n },\n addInitializer() {\n // Legacy decorators don't support initializers\n },\n } as ClassMethodDecoratorContext\n}\n","import type { ClassType } from '@navios/di'\n\nimport { Module as OriginalModule, type ModuleOptions } from '../../decorators/module.decorator.mjs'\nimport { createClassContext } from '../context-compat.mjs'\n\n/**\n * Legacy-compatible Module decorator.\n * \n * Works with TypeScript experimental decorators (legacy API).\n * \n * @param options - Module configuration options\n * @returns A class decorator compatible with legacy decorator API\n * \n * @example\n * ```typescript\n * @Module({\n * controllers: [UserController, AuthController],\n * imports: [DatabaseModule],\n * guards: [AuthGuard],\n * })\n * export class AppModule {}\n * ```\n */\nexport function Module(\n options: ModuleOptions = {\n controllers: [],\n imports: [],\n guards: [],\n },\n) {\n return function (target: ClassType) {\n const context = createClassContext(target)\n const originalDecorator = OriginalModule(options)\n return originalDecorator(target, context)\n }\n}\n\n","import type { ClassType } from '@navios/di'\n\nimport type { ControllerOptions } from '../../decorators/controller.decorator.mjs'\n\nimport { Controller as OriginalController } from '../../decorators/controller.decorator.mjs'\nimport { createClassContext } from '../context-compat.mjs'\n\n/**\n * Legacy-compatible Controller decorator.\n *\n * Works with TypeScript experimental decorators (legacy API).\n *\n * @param options - Controller configuration options\n * @returns A class decorator compatible with legacy decorator API\n *\n * @example\n * ```typescript\n * @Controller({ guards: [AuthGuard] })\n * export class UserController {\n * @Endpoint(getUserEndpoint)\n * async getUser() { }\n * }\n * ```\n */\nexport function Controller(options: ControllerOptions = {}) {\n return function (target: ClassType) {\n const context = createClassContext(target)\n const originalDecorator = OriginalController(options)\n return originalDecorator(target, context)\n }\n}\n","import type {\n BaseEndpointConfig,\n EndpointFunctionArgs,\n HttpMethod,\n} from '@navios/builder'\nimport type { z, ZodType } from 'zod/v4'\n\nimport { Endpoint as OriginalEndpoint } from '../../decorators/endpoint.decorator.mjs'\nimport { createMethodContext } from '../context-compat.mjs'\n\n/**\n * Type helper to constrain a PropertyDescriptor's value to match an endpoint signature.\n * Note: In legacy decorators, type constraints are checked when the decorator is applied,\n * but may not be preserved perfectly when decorators are stacked.\n */\ntype EndpointMethodDescriptor<\n Url extends string,\n QuerySchema,\n RequestSchema,\n ResponseSchema extends ZodType,\n> = TypedPropertyDescriptor<\n (\n params: QuerySchema extends ZodType\n ? RequestSchema extends ZodType\n ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema, true>\n : EndpointFunctionArgs<Url, QuerySchema, undefined, true>\n : RequestSchema extends ZodType\n ? EndpointFunctionArgs<Url, undefined, RequestSchema, true>\n : EndpointFunctionArgs<Url, undefined, undefined, true>,\n ) => Promise<z.input<ResponseSchema>>\n>\n\n/**\n * Legacy-compatible Endpoint decorator.\n *\n * Works with TypeScript experimental decorators (legacy API).\n * Provides type safety by ensuring method signatures match the endpoint configuration.\n *\n * @param endpoint - The endpoint declaration from @navios/builder\n * @returns A method decorator compatible with legacy decorator API\n *\n * @example\n * ```typescript\n * @Controller()\n * export class UserController {\n * @Endpoint(getUserEndpoint)\n * async getUser(request: EndpointParams<typeof getUserEndpoint>): EndpointResult<typeof getUserEndpoint> {\n * return { id: '1', name: 'John' }\n * }\n * }\n * ```\n */\nexport function Endpoint<\n Method extends HttpMethod = HttpMethod,\n Url extends string = string,\n QuerySchema = undefined,\n ResponseSchema extends ZodType = ZodType,\n RequestSchema = ZodType,\n>(endpoint: {\n config: BaseEndpointConfig<\n Method,\n Url,\n QuerySchema,\n ResponseSchema,\n RequestSchema\n >\n}) {\n return function (\n target: any,\n propertyKey: string | symbol,\n descriptor: EndpointMethodDescriptor<\n Url,\n QuerySchema,\n RequestSchema,\n ResponseSchema\n >,\n ): PropertyDescriptor | void {\n if (!descriptor) {\n throw new Error(\n '[Navios] @Endpoint decorator requires a method descriptor. Make sure experimentalDecorators is enabled.',\n )\n }\n // Type check the descriptor value matches expected signature\n const typedDescriptor = descriptor as EndpointMethodDescriptor<\n Url,\n QuerySchema,\n RequestSchema,\n ResponseSchema\n >\n const context = createMethodContext(target, propertyKey, typedDescriptor)\n const originalDecorator = OriginalEndpoint(endpoint)\n // @ts-expect-error - we don't need to type the value\n const result = originalDecorator(typedDescriptor.value, context)\n if (result !== typedDescriptor.value) {\n typedDescriptor.value = result as any\n }\n return typedDescriptor\n }\n}\n","import type {\n ClassType,\n ClassTypeWithInstance,\n InjectionToken,\n} from '@navios/di'\n\nimport type { CanActivate } from '../../interfaces/index.mjs'\n\nimport { UseGuards as OriginalUseGuards } from '../../decorators/use-guards.decorator.mjs'\nimport { createClassContext, createMethodContext } from '../context-compat.mjs'\n\n/**\n * Legacy-compatible UseGuards decorator.\n *\n * Works with TypeScript experimental decorators (legacy API).\n * Can be applied to classes or methods.\n *\n * @param guards - Guard classes or injection tokens to apply\n * @returns A class or method decorator compatible with legacy decorator API\n *\n * @example\n * ```typescript\n * // Apply to a controller\n * @Controller()\n * @UseGuards(AuthGuard, RoleGuard)\n * export class UserController { }\n *\n * // Apply to a specific endpoint\n * @Controller()\n * export class UserController {\n * @Endpoint(getUserEndpoint)\n * @UseGuards(AuthGuard)\n * async getUser() { }\n * }\n * ```\n */\nexport function UseGuards(\n ...guards: (\n | ClassTypeWithInstance<CanActivate>\n | InjectionToken<CanActivate, undefined>\n )[]\n) {\n // Create the decorator function\n // Note: TypeScript's legacy decorator system has strict type checking for decorators\n // We use a flexible implementation that works for both class and method decorators\n function decoratorImpl(\n target: ClassType | Function,\n propertyKey?: string | symbol,\n descriptor?: PropertyDescriptor,\n ): any {\n // Determine if this is a class or method decorator\n if (propertyKey !== undefined && descriptor !== undefined) {\n // Method decorator\n const context = createMethodContext(\n target as Function,\n propertyKey,\n descriptor,\n )\n const originalDecorator = OriginalUseGuards(...guards)\n const result = originalDecorator(descriptor.value, context)\n if (result !== descriptor.value) {\n descriptor.value = result\n }\n return descriptor\n } else {\n // Class decorator\n const context = createClassContext(target as ClassType)\n const originalDecorator = OriginalUseGuards(...guards)\n return originalDecorator(target as ClassType, context)\n }\n }\n\n // Return with 'any' type to work around TypeScript's strict decorator checking\n // TypeScript's legacy decorator system cannot properly type-check decorators\n // that work as both class and method decorators. The runtime behavior is correct.\n // When used as a class decorator, it returns the class (preserving type at runtime)\n // When used as a method decorator, it returns the PropertyDescriptor\n // @ts-ignore - TypeScript limitation with dual-purpose legacy decorators\n return decoratorImpl as any\n}\n","import type { HttpHeader } from '../../interfaces/index.mjs'\n\nimport { Header as OriginalHeader } from '../../decorators/header.decorator.mjs'\nimport { createMethodContext } from '../context-compat.mjs'\n\n/**\n * Legacy-compatible Header decorator.\n * \n * Works with TypeScript experimental decorators (legacy API).\n * \n * @param name - The header name (e.g., 'Content-Type', 'Cache-Control')\n * @param value - The header value (string, number, or array of strings)\n * @returns A method decorator compatible with legacy decorator API\n * \n * @example\n * ```typescript\n * @Controller()\n * export class UserController {\n * @Endpoint(getUserEndpoint)\n * @Header('Cache-Control', 'max-age=3600')\n * async getUser() {\n * return { id: '1', name: 'John' }\n * }\n * }\n * ```\n */\nexport function Header(name: HttpHeader, value: string | number | string[]) {\n return function <T extends object>(\n target: T,\n propertyKey: string | symbol,\n descriptor: PropertyDescriptor,\n ) {\n const context = createMethodContext(target, propertyKey, descriptor)\n const originalDecorator = OriginalHeader(name, value)\n const result = originalDecorator(descriptor.value, context)\n if (result !== descriptor.value) {\n descriptor.value = result\n }\n return descriptor\n }\n}\n\n","import { HttpCode as OriginalHttpCode } from '../../decorators/http-code.decorator.mjs'\nimport { createMethodContext } from '../context-compat.mjs'\n\n/**\n * Legacy-compatible HttpCode decorator.\n *\n * Works with TypeScript experimental decorators (legacy API).\n *\n * @param code - The HTTP status code to return (e.g., 201, 204, 202)\n * @returns A method decorator compatible with legacy decorator API\n *\n * @example\n * ```typescript\n * @Controller()\n * export class UserController {\n * @Endpoint(createUserEndpoint)\n * @HttpCode(201)\n * async createUser() {\n * return { id: '1', name: 'John' }\n * }\n * }\n * ```\n */\nexport function HttpCode(code: number) {\n return function <T extends object>(\n target: T,\n propertyKey: string | symbol,\n descriptor: PropertyDescriptor,\n ) {\n const context = createMethodContext(target, propertyKey, descriptor)\n const originalDecorator = OriginalHttpCode(code)\n const result = originalDecorator(descriptor.value, context)\n if (result !== descriptor.value) {\n descriptor.value = result\n }\n return descriptor\n }\n}\n","import type {\n BaseEndpointConfig,\n EndpointFunctionArgs,\n HttpMethod,\n} from '@navios/builder'\nimport type { z, ZodObject, ZodType } from 'zod/v4'\n\nimport { Multipart as OriginalMultipart } from '../../decorators/multipart.decorator.mjs'\nimport { createMethodContext } from '../context-compat.mjs'\n\n/**\n * Type helper to constrain a PropertyDescriptor's value to match a multipart endpoint signature.\n * Note: In legacy decorators, type constraints are checked when the decorator is applied,\n * but may not be preserved perfectly when decorators are stacked.\n */\ntype MultipartMethodDescriptor<\n Url extends string,\n QuerySchema,\n RequestSchema,\n ResponseSchema extends ZodType,\n> = TypedPropertyDescriptor<\n (\n params: QuerySchema extends ZodObject\n ? RequestSchema extends ZodType\n ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema, true>\n : EndpointFunctionArgs<Url, QuerySchema, undefined, true>\n : RequestSchema extends ZodType\n ? EndpointFunctionArgs<Url, undefined, RequestSchema, true>\n : EndpointFunctionArgs<Url, undefined, undefined, true>,\n ) => Promise<z.input<ResponseSchema>>\n>\n\n/**\n * Legacy-compatible Multipart decorator.\n *\n * Works with TypeScript experimental decorators (legacy API).\n * Provides type safety by ensuring method signatures match the endpoint configuration.\n *\n * @param endpoint - The multipart endpoint declaration from @navios/builder\n * @returns A method decorator compatible with legacy decorator API\n *\n * @example\n * ```typescript\n * @Controller()\n * export class FileController {\n * @Multipart(uploadFileEndpoint)\n * async uploadFile(request: MultipartParams<typeof uploadFileEndpoint>): MultipartResult<typeof uploadFileEndpoint> {\n * const { file } = request.data\n * return { url: 'https://example.com/file.jpg' }\n * }\n * }\n * ```\n */\nexport function Multipart<\n Method extends HttpMethod = HttpMethod,\n Url extends string = string,\n QuerySchema = undefined,\n ResponseSchema extends ZodType = ZodType,\n RequestSchema = ZodType,\n>(endpoint: {\n config: BaseEndpointConfig<\n Method,\n Url,\n QuerySchema,\n ResponseSchema,\n RequestSchema\n >\n}) {\n return function <T extends object>(\n target: T,\n propertyKey: string | symbol,\n descriptor: MultipartMethodDescriptor<\n Url,\n QuerySchema,\n RequestSchema,\n ResponseSchema\n >,\n ): PropertyDescriptor | void {\n if (!descriptor) {\n throw new Error(\n '[Navios] @Multipart decorator requires a method descriptor. Make sure experimentalDecorators is enabled.',\n )\n }\n const context = createMethodContext(target, propertyKey, descriptor)\n const originalDecorator = OriginalMultipart(endpoint)\n // @ts-expect-error - we don't need to type the value\n const result = originalDecorator(descriptor.value, context)\n if (result !== descriptor.value) {\n descriptor.value = result as any\n }\n return descriptor\n }\n}\n","import type {\n BaseStreamConfig,\n EndpointFunctionArgs,\n HttpMethod,\n} from '@navios/builder'\nimport type { ZodObject, ZodType } from 'zod/v4'\n\nimport { Stream as OriginalStream } from '../../decorators/stream.decorator.mjs'\nimport { createMethodContext } from '../context-compat.mjs'\n\n/**\n * Type helper to constrain a PropertyDescriptor's value to match a stream endpoint signature.\n * Note: In legacy decorators, type constraints are checked when the decorator is applied,\n * but may not be preserved perfectly when decorators are stacked.\n */\ntype StreamMethodDescriptor<\n Url extends string,\n QuerySchema,\n RequestSchema,\n> = TypedPropertyDescriptor<\n (\n params: QuerySchema extends ZodObject\n ? RequestSchema extends ZodType\n ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema, true>\n : EndpointFunctionArgs<Url, QuerySchema, undefined, true>\n : RequestSchema extends ZodType\n ? EndpointFunctionArgs<Url, undefined, RequestSchema, true>\n : EndpointFunctionArgs<Url, undefined, undefined, true>,\n reply: any,\n ) => Promise<void>\n>\n\n/**\n * Legacy-compatible Stream decorator.\n *\n * Works with TypeScript experimental decorators (legacy API).\n * Provides type safety by ensuring method signatures match the endpoint configuration.\n *\n * @param endpoint - The stream endpoint declaration from @navios/builder\n * @returns A method decorator compatible with legacy decorator API\n *\n * @example\n * ```typescript\n * @Controller()\n * export class FileController {\n * @Stream(downloadFileEndpoint)\n * async downloadFile(request: StreamParams<typeof downloadFileEndpoint>, reply: any) {\n * const { fileId } = request.urlParams\n * // Stream file data to reply\n * }\n * }\n * ```\n */\nexport function Stream<\n Method extends HttpMethod = HttpMethod,\n Url extends string = string,\n QuerySchema = undefined,\n RequestSchema = ZodType,\n>(endpoint: {\n config: BaseStreamConfig<Method, Url, QuerySchema, RequestSchema>\n}) {\n return function <T extends object>(\n target: T,\n propertyKey: string | symbol,\n descriptor: StreamMethodDescriptor<Url, QuerySchema, RequestSchema>,\n ) {\n const context = createMethodContext(target, propertyKey, descriptor)\n const originalDecorator = OriginalStream(endpoint)\n // @ts-expect-error - we don't need to type the value\n const result = originalDecorator(descriptor.value, context)\n if (result !== descriptor.value) {\n descriptor.value = result as any\n }\n return descriptor\n }\n}\n"],"mappings":";;;;;;;;GAYA,MAAMA,mCAAmB,IAAIC,SAAAA;;;GAK7B,SAASC,eAAeC,WAAc;AACpC,KAAI,CAACA,aAAa,OAAOA,cAAc,SACrC,QAAO;CAIT,MAAMC,cAAcD,UAAU;AAC9B,KAAIC,eAAe,OAAOA,gBAAgB,WACxC,QAAOA;AAET,QAAO;;;;GAMT,SAAgBC,mBAAmBC,QAAiB;AAElD,KAAI,CAACN,iBAAiBO,IAAID,OAAAA,CACxBN,kBAAiBQ,IAAIF,QAAQ,EAAC,CAAA;CAEhC,MAAMG,WAAWT,iBAAiBU,IAAIJ,OAAAA;AAEtC,QAAO;EACLK,MAAM;EACNC,MAAMN,OAAOM;EACbH;EACAI,iBAAAA;EAGF;;;;;;;GASF,SAAgBC,oBACdR,QACAS,aACAC,YAA8B;CAI9B,MAAMZ,cAAcF,eAAeI,OAAAA;AACnC,KAAI,CAACF,YACH,OAAM,IAAIa,MACR,+EAAA;AAMJ,KAAI,CAACjB,iBAAiBO,IAAIH,YAAAA,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E,MAAMC,UAAUL,oBAAoBE,QAAQC,aAAaC,WAAAA;EAGzD,MAAMG,SAFoBR,oCAAeE,SAAAA,CAERG,WAAWI,OAAOH,QAAAA;AACnD,MAAIE,WAAWH,WAAWI,MACxBJ,YAAWI,QAAQD;AAErB,SAAOH"}
@@ -1,4 +1,4 @@
1
- import { $ as CanActivate, B as MultipartResult, H as ModuleOptions, Jt as EndpointParams, L as StreamParams, Yt as EndpointResult, Z as HttpHeader, Zt as ControllerOptions, z as MultipartParams } from "../index-pHp-dIGt.cjs";
1
+ import { G as MultipartParams, J as ModuleOptions, K as MultipartResult, U as StreamParams, at as CanActivate, in as EndpointResult, on as ControllerOptions, rn as EndpointParams, rt as HttpHeader } from "../index-Db1d3cwD.cjs";
2
2
  import { ClassType, ClassTypeWithInstance, InjectionToken } from "@navios/di";
3
3
  import { ZodObject, ZodType, z as z$1 } from "zod/v4";
4
4
  import { BaseEndpointConfig, BaseStreamConfig, EndpointFunctionArgs, HttpMethod } from "@navios/builder";
@@ -157,7 +157,7 @@ declare function HttpCode(code: number): <T extends object>(target: T, propertyK
157
157
  * Note: In legacy decorators, type constraints are checked when the decorator is applied,
158
158
  * but may not be preserved perfectly when decorators are stacked.
159
159
  */
160
- type MultipartMethodDescriptor<Url extends string, QuerySchema, RequestSchema, ResponseSchema extends ZodType> = TypedPropertyDescriptor<(params: QuerySchema extends ZodObject ? RequestSchema extends ZodType ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema> : EndpointFunctionArgs<Url, QuerySchema, undefined> : RequestSchema extends ZodType ? EndpointFunctionArgs<Url, undefined, RequestSchema> : EndpointFunctionArgs<Url, undefined, undefined>) => Promise<z$1.input<ResponseSchema>>>;
160
+ type MultipartMethodDescriptor<Url extends string, QuerySchema, RequestSchema, ResponseSchema extends ZodType> = TypedPropertyDescriptor<(params: QuerySchema extends ZodObject ? RequestSchema extends ZodType ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema, true> : EndpointFunctionArgs<Url, QuerySchema, undefined, true> : RequestSchema extends ZodType ? EndpointFunctionArgs<Url, undefined, RequestSchema, true> : EndpointFunctionArgs<Url, undefined, undefined, true>) => Promise<z$1.input<ResponseSchema>>>;
161
161
  /**
162
162
  * Legacy-compatible Multipart decorator.
163
163
  *
@@ -189,7 +189,7 @@ declare function Multipart<Method extends HttpMethod = HttpMethod, Url extends s
189
189
  * Note: In legacy decorators, type constraints are checked when the decorator is applied,
190
190
  * but may not be preserved perfectly when decorators are stacked.
191
191
  */
192
- type StreamMethodDescriptor<Url extends string, QuerySchema, RequestSchema> = TypedPropertyDescriptor<(params: QuerySchema extends ZodObject ? RequestSchema extends ZodType ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema> : EndpointFunctionArgs<Url, QuerySchema, undefined> : RequestSchema extends ZodType ? EndpointFunctionArgs<Url, undefined, RequestSchema> : EndpointFunctionArgs<Url, undefined, undefined>, reply: any) => Promise<void>>;
192
+ type StreamMethodDescriptor<Url extends string, QuerySchema, RequestSchema> = TypedPropertyDescriptor<(params: QuerySchema extends ZodObject ? RequestSchema extends ZodType ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema, true> : EndpointFunctionArgs<Url, QuerySchema, undefined, true> : RequestSchema extends ZodType ? EndpointFunctionArgs<Url, undefined, RequestSchema, true> : EndpointFunctionArgs<Url, undefined, undefined, true>, reply: any) => Promise<void>>;
193
193
  /**
194
194
  * Legacy-compatible Stream decorator.
195
195
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/legacy-compat/decorators/module.decorator.mts","../../src/legacy-compat/decorators/controller.decorator.mts","../../src/legacy-compat/decorators/endpoint.decorator.mts","../../src/legacy-compat/decorators/use-guards.decorator.mts","../../src/legacy-compat/decorators/header.decorator.mts","../../src/legacy-compat/decorators/http-code.decorator.mts","../../src/legacy-compat/decorators/multipart.decorator.mts","../../src/legacy-compat/decorators/stream.decorator.mts"],"sourcesContent":[],"mappings":";;;;;;;;;;;AAuBA;;;;;;;;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,UAAA,MAAA,CAAA,CAAA,MAAA,EKsCE,CLtCF,EAAA,WAAA,EAAA,MAAA,GAAA,MAAA,EAAA,UAAA,EKwCM,sBLxCN,CKwC6B,GLxC7B,EKwCkC,WLxClC,EKwC+C,aLxC/C,CAAA,EAAA,GKwC6D,sBLxC7D,CKwC6D,GLxC7D,EKwC6D,WLxC7D,EKwC6D,aLxC7D,CAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/legacy-compat/decorators/module.decorator.mts","../../src/legacy-compat/decorators/controller.decorator.mts","../../src/legacy-compat/decorators/endpoint.decorator.mts","../../src/legacy-compat/decorators/use-guards.decorator.mts","../../src/legacy-compat/decorators/header.decorator.mts","../../src/legacy-compat/decorators/http-code.decorator.mts","../../src/legacy-compat/decorators/multipart.decorator.mts","../../src/legacy-compat/decorators/stream.decorator.mts"],"sourcesContent":[],"mappings":";;;;;;;;;;;AAuBA;;;;;;;;ACCA;;;;;;iBDDgB,MAAA,WACL,yBAMgB,cAAS;;;;;;;AAPpC;;;;;;;;ACCA;;;;;iBAAgB,UAAA,WAAoB,6BACT,cAAS;;;;;;;ADFpC;KERK,wBFSM,CAAA,YAAA,MAAA,EAAA,WAAA,EAAA,aAAA,EAAA,uBELc,OFKd,CAAA,GEJP,uBFIO,CAAA,CAAA,MAAA,EEFC,WFED,SEFqB,OFErB,GEDH,aFCG,SEDmB,OFCnB,GEAD,oBFAC,CEAoB,GFApB,EEAyB,WFAzB,EEAsC,aFAtC,EAAA,IAAA,CAAA,GECD,oBFDC,CECoB,GFDpB,EECyB,WFDzB,EAAA,SAAA,EAAA,IAAA,CAAA,GEEH,aFFG,SEEmB,OFFnB,GEGD,oBFHC,CEGoB,GFHpB,EAAA,SAAA,EEGoC,aFHpC,EAAA,IAAA,CAAA,GEID,oBFJC,CEIoB,GFJpB,EAAA,SAAA,EAAA,SAAA,EAAA,IAAA,CAAA,EAAA,GEKJ,OFLI,CEKI,GAAA,CAAE,KFLN,CEKY,cFLZ,C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oB,GPCpB,EODyB,WPCzB,EODsC,aPCtC,EAAA,IAAA,CAAA,GOAD,oBPAC,COAoB,GPApB,EOAyB,WPAzB,EAAA,SAAA,EAAA,IAAA,CAAA,GOCH,aPDG,SOCmB,OPDnB,GOED,oBPFC,COEoB,GPFpB,EAAA,SAAA,EOEoC,aPFpC,EAAA,IAAA,CAAA,GOGD,oBPHC,COGoB,GPHpB,EAAA,SAAA,EAAA,SAAA,EAAA,IAAA,CAAA,EAAA,KAAA,EAAA,GAAA,EAAA,GOKJ,OPLI,CAAA,IAAA,CAAA,CAAA;;;;;;;ACAX;;;;;;;;ACnBwC;;;;;;;AAmBJ,iBK6BpB,ML7BoB,CAAA,eK8BnB,UL9BmB,GK8BN,UL9BM,EAAA,YAAA,MAAA,GAAA,MAAA,EAAA,cAAA,SAAA,EAAA,gBKiClB,OLjCkB,CAAA,CAAA,QAAA,EAAA;EAAa,MAAA,EKmCvC,gBLnCuC,CKmCtB,MLnCsB,EKmCd,GLnCc,EKmCT,WLnCS,EKmCI,aLnCJ,CAAA;CAAvC,CAAA,EAAA,CAAA,UAAA,MAAA,CAAA,CAAA,MAAA,EKsCE,CLtCF,EAAA,WAAA,EAAA,MAAA,GAAA,MAAA,EAAA,UAAA,EKwCM,sBLxCN,CKwC6B,GLxC7B,EKwCkC,WLxClC,EKwC+C,aLxC/C,CAAA,EAAA,GKwC6D,sBLxC7D,CKwC6D,GLxC7D,EKwC6D,WLxC7D,EKwC6D,aLxC7D,CAAA"}
@@ -1,4 +1,4 @@
1
- import { $ as CanActivate, B as MultipartResult, H as ModuleOptions, Jt as EndpointParams, L as StreamParams, Yt as EndpointResult, Z as HttpHeader, Zt as ControllerOptions, z as MultipartParams } from "../index-DW9EPAE6.mjs";
1
+ import { G as MultipartParams, J as ModuleOptions, K as MultipartResult, U as StreamParams, at as CanActivate, in as EndpointResult, on as ControllerOptions, rn as EndpointParams, rt as HttpHeader } from "../index-D9MNh6Tx.mjs";
2
2
  import { ClassType, ClassTypeWithInstance, InjectionToken } from "@navios/di";
3
3
  import { ZodObject, ZodType, z as z$1 } from "zod/v4";
4
4
  import { BaseEndpointConfig, BaseStreamConfig, EndpointFunctionArgs, HttpMethod } from "@navios/builder";
@@ -157,7 +157,7 @@ declare function HttpCode(code: number): <T extends object>(target: T, propertyK
157
157
  * Note: In legacy decorators, type constraints are checked when the decorator is applied,
158
158
  * but may not be preserved perfectly when decorators are stacked.
159
159
  */
160
- type MultipartMethodDescriptor<Url extends string, QuerySchema, RequestSchema, ResponseSchema extends ZodType> = TypedPropertyDescriptor<(params: QuerySchema extends ZodObject ? RequestSchema extends ZodType ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema> : EndpointFunctionArgs<Url, QuerySchema, undefined> : RequestSchema extends ZodType ? EndpointFunctionArgs<Url, undefined, RequestSchema> : EndpointFunctionArgs<Url, undefined, undefined>) => Promise<z$1.input<ResponseSchema>>>;
160
+ type MultipartMethodDescriptor<Url extends string, QuerySchema, RequestSchema, ResponseSchema extends ZodType> = TypedPropertyDescriptor<(params: QuerySchema extends ZodObject ? RequestSchema extends ZodType ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema, true> : EndpointFunctionArgs<Url, QuerySchema, undefined, true> : RequestSchema extends ZodType ? EndpointFunctionArgs<Url, undefined, RequestSchema, true> : EndpointFunctionArgs<Url, undefined, undefined, true>) => Promise<z$1.input<ResponseSchema>>>;
161
161
  /**
162
162
  * Legacy-compatible Multipart decorator.
163
163
  *
@@ -189,7 +189,7 @@ declare function Multipart<Method extends HttpMethod = HttpMethod, Url extends s
189
189
  * Note: In legacy decorators, type constraints are checked when the decorator is applied,
190
190
  * but may not be preserved perfectly when decorators are stacked.
191
191
  */
192
- type StreamMethodDescriptor<Url extends string, QuerySchema, RequestSchema> = TypedPropertyDescriptor<(params: QuerySchema extends ZodObject ? RequestSchema extends ZodType ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema> : EndpointFunctionArgs<Url, QuerySchema, undefined> : RequestSchema extends ZodType ? EndpointFunctionArgs<Url, undefined, RequestSchema> : EndpointFunctionArgs<Url, undefined, undefined>, reply: any) => Promise<void>>;
192
+ type StreamMethodDescriptor<Url extends string, QuerySchema, RequestSchema> = TypedPropertyDescriptor<(params: QuerySchema extends ZodObject ? RequestSchema extends ZodType ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema, true> : EndpointFunctionArgs<Url, QuerySchema, undefined, true> : RequestSchema extends ZodType ? EndpointFunctionArgs<Url, undefined, RequestSchema, true> : EndpointFunctionArgs<Url, undefined, undefined, true>, reply: any) => Promise<void>>;
193
193
  /**
194
194
  * Legacy-compatible Stream decorator.
195
195
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/legacy-compat/decorators/module.decorator.mts","../../src/legacy-compat/decorators/controller.decorator.mts","../../src/legacy-compat/decorators/endpoint.decorator.mts","../../src/legacy-compat/decorators/use-guards.decorator.mts","../../src/legacy-compat/decorators/header.decorator.mts","../../src/legacy-compat/decorators/http-code.decorator.mts","../../src/legacy-compat/decorators/multipart.decorator.mts","../../src/legacy-compat/decorators/stream.decorator.mts"],"sourcesContent":[],"mappings":";;;;;;;;;;;AAuBA;;;;;;;;ACCA;;;;;;iBDDgB,MAAA,WACL,yBAMgB,cAAS;;;;;;;AAPpC;;;;;;;;ACCA;;;;;iBAAgB,UAAA,WAAoB,6BACT,cAAS;;;;;;;ADFpC;KERK,wBFSM,CAAA,YAAA,MAAA,EAAA,WAAA,EAAA,aAAA,EAAA,uBELc,OFKd,CAAA,GEJP,uBFIO,CAAA,CAAA,MAAA,EEFC,WFED,SEFqB,OFErB,GEDH,aFCG,SEDmB,OFCnB,GEAD,oBFAC,CEAoB,GFApB,EEAyB,WFAzB,EEAsC,aFAtC,EAAA,IAAA,CAAA,GECD,oBFDC,CECoB,GFDpB,EECyB,WFDzB,EAAA,SAAA,EAAA,IAAA,CAAA,GEEH,aFFG,SEEmB,OFFnB,GEGD,oBFHC,CEGoB,GFHpB,EAAA,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EAAA,aAAA,CAAA,GOLP,uBPKO,CAAA,CAAA,MAAA,EOHC,WPGD,SOHqB,SPGrB,GOFH,aPEG,SOFmB,OPEnB,GODD,oBPCC,CODoB,GPCpB,EODyB,WPCzB,EODsC,aPCtC,CAAA,GOAD,oBPAC,COAoB,GPApB,EOAyB,WPAzB,EAAA,SAAA,CAAA,GOCH,aPDG,SOCmB,OPDnB,GOED,oBPFC,COEoB,GPFpB,EAAA,SAAA,EOEoC,aPFpC,CAAA,GOGD,oBPHC,COGoB,GPHpB,EAAA,SAAA,EAAA,SAAA,CAAA,EAAA,KAAA,EAAA,GAAA,EAAA,GOKJ,OPLI,CAAA,IAAA,CAAA,CAAA;;;;;;;ACAX;;;;;;;;ACnBwC;;;;;;;AAmBJ,iBK6BpB,ML7BoB,CAAA,eK8BnB,UL9BmB,GK8BN,UL9BM,EAAA,YAAA,MAAA,GAAA,MAAA,EAAA,cAAA,SAAA,EAAA,gBKiClB,OLjCkB,CAAA,CAAA,QAAA,EAAA;EAAa,MAAA,EKmCvC,gBLnCuC,CKmCtB,MLnCsB,EKmCd,GLnCc,EKmCT,WLnCS,EKmCI,aLnCJ,CAAA;CAAvC,CAAA,EAAA,CAAA,UAAA,MAAA,CAAA,CAAA,MAAA,EKsCE,CLtCF,EAAA,WAAA,EAAA,MAAA,GAAA,MAAA,EAAA,UAAA,EKwCM,sBLxCN,CKwC6B,GLxC7B,EKwCkC,WLxClC,EKwC+C,aLxC/C,CAAA,EAAA,GKwC6D,sBLxC7D,CKwC6D,GLxC7D,EKwC6D,WLxC7D,EKwC6D,aLxC7D,CAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/legacy-compat/decorators/module.decorator.mts","../../src/legacy-compat/decorators/controller.decorator.mts","../../src/legacy-compat/decorators/endpoint.decorator.mts","../../src/legacy-compat/decorators/use-guards.decorator.mts","../../src/legacy-compat/decorators/header.decorator.mts","../../src/legacy-compat/decorators/http-code.decorator.mts","../../src/legacy-compat/decorators/multip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EAAA,cAAA,SAAA,EAAA,gBKiClB,OLjCkB,CAAA,CAAA,QAAA,EAAA;EAAa,MAAA,EKmCvC,gBLnCuC,CKmCtB,MLnCsB,EKmCd,GLnCc,EKmCT,WLnCS,EKmCI,aLnCJ,CAAA;CAAvC,CAAA,EAAA,CAAA,UAAA,MAAA,CAAA,CAAA,MAAA,EKsCE,CLtCF,EAAA,WAAA,EAAA,MAAA,GAAA,MAAA,EAAA,UAAA,EKwCM,sBLxCN,CKwC6B,GLxC7B,EKwCkC,WLxClC,EKwC+C,aLxC/C,CAAA,EAAA,GKwC6D,sBLxC7D,CKwC6D,GLxC7D,EKwC6D,WLxC7D,EKwC6D,aLxC7D,CAAA"}
@@ -1,4 +1,4 @@
1
- import { _ as Controller$1, a as HttpCode$1, i as Module$1, n as Stream$1, o as Header$1, r as Multipart$1, s as Endpoint$1, t as UseGuards$1 } from "../use-guards.decorator-kZ3lNK8v.mjs";
1
+ import { a as HttpCode$1, i as Module$1, n as Stream$1, o as Header$1, r as Multipart$1, s as Endpoint$1, t as UseGuards$1, v as Controller$1 } from "../use-guards.decorator-CzVXuLkz.mjs";
2
2
 
3
3
  //#region src/legacy-compat/context-compat.mts
4
4
  /**