phecda-server 6.0.1 → 6.0.2

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 (69) hide show
  1. package/dist/{chunk-TZYATAJX.js → chunk-7SYPUIBY.js} +2 -5
  2. package/dist/{chunk-YUXERDQ6.mjs → chunk-WXFZZZRY.mjs} +8 -11
  3. package/dist/{core-Blq8frmr.d.ts → core-2SNw8m2B.d.mts} +1 -1
  4. package/dist/{core-D2oL8Ge0.d.mts → core-BmJJLUqj.d.ts} +1 -1
  5. package/dist/helper.d.mts +1 -1
  6. package/dist/helper.d.ts +1 -1
  7. package/dist/helper.js +2 -2
  8. package/dist/helper.mjs +1 -1
  9. package/dist/index.d.mts +8 -8
  10. package/dist/index.d.ts +8 -8
  11. package/dist/index.js +24 -24
  12. package/dist/index.mjs +8 -8
  13. package/dist/{types-BlIBlnVT.d.mts → meta-KtfiBIde.d.mts} +44 -44
  14. package/dist/{types-BlIBlnVT.d.ts → meta-KtfiBIde.d.ts} +44 -44
  15. package/dist/rpc/bullmq/index.d.mts +3 -3
  16. package/dist/rpc/bullmq/index.d.ts +3 -3
  17. package/dist/rpc/bullmq/index.js +6 -6
  18. package/dist/rpc/bullmq/index.mjs +1 -1
  19. package/dist/rpc/kafka/index.d.mts +3 -3
  20. package/dist/rpc/kafka/index.d.ts +3 -3
  21. package/dist/rpc/kafka/index.js +5 -5
  22. package/dist/rpc/kafka/index.mjs +1 -1
  23. package/dist/rpc/nats/index.d.mts +3 -3
  24. package/dist/rpc/nats/index.d.ts +3 -3
  25. package/dist/rpc/nats/index.js +5 -5
  26. package/dist/rpc/nats/index.mjs +1 -1
  27. package/dist/rpc/rabbitmq/index.d.mts +3 -3
  28. package/dist/rpc/rabbitmq/index.d.ts +3 -3
  29. package/dist/rpc/rabbitmq/index.js +6 -6
  30. package/dist/rpc/rabbitmq/index.mjs +1 -1
  31. package/dist/rpc/redis/index.d.mts +3 -3
  32. package/dist/rpc/redis/index.d.ts +3 -3
  33. package/dist/rpc/redis/index.js +6 -6
  34. package/dist/rpc/redis/index.mjs +1 -1
  35. package/dist/server/elysia/index.d.mts +3 -3
  36. package/dist/server/elysia/index.d.ts +3 -3
  37. package/dist/server/elysia/index.js +27 -15
  38. package/dist/server/elysia/index.mjs +15 -3
  39. package/dist/server/express/index.d.mts +3 -3
  40. package/dist/server/express/index.d.ts +3 -3
  41. package/dist/server/express/index.js +20 -16
  42. package/dist/server/express/index.mjs +7 -3
  43. package/dist/server/fastify/index.d.mts +3 -3
  44. package/dist/server/fastify/index.d.ts +3 -3
  45. package/dist/server/fastify/index.js +19 -15
  46. package/dist/server/fastify/index.mjs +7 -3
  47. package/dist/server/h3/index.d.mts +3 -3
  48. package/dist/server/h3/index.d.ts +3 -3
  49. package/dist/server/h3/index.js +18 -14
  50. package/dist/server/h3/index.mjs +7 -3
  51. package/dist/server/hono/index.d.mts +3 -3
  52. package/dist/server/hono/index.d.ts +3 -3
  53. package/dist/server/hono/index.js +19 -15
  54. package/dist/server/hono/index.mjs +7 -3
  55. package/dist/server/hyper-express/index.d.mts +3 -3
  56. package/dist/server/hyper-express/index.d.ts +3 -3
  57. package/dist/server/hyper-express/index.js +19 -15
  58. package/dist/server/hyper-express/index.mjs +7 -3
  59. package/dist/server/koa/index.d.mts +3 -3
  60. package/dist/server/koa/index.d.ts +3 -3
  61. package/dist/server/koa/index.js +20 -16
  62. package/dist/server/koa/index.mjs +7 -3
  63. package/dist/test.d.mts +3 -3
  64. package/dist/test.d.ts +3 -3
  65. package/dist/{types-Dgxirc9f.d.mts → types-BvD3B5Ny.d.mts} +4 -2
  66. package/dist/{types-BCJhmpQh.d.ts → types-DIw7B6Up.d.ts} +4 -2
  67. package/dist/{types-B-ZFZajI.d.ts → types-JVT0mgLD.d.ts} +1 -1
  68. package/dist/{types-AgVwUXPC.d.mts → types-t9D1fU6G.d.mts} +1 -1
  69. package/package.json +1 -1
@@ -27,10 +27,7 @@ var Exception = class extends Error {
27
27
 
28
28
 
29
29
  constructor(message, status = 0, description = "Exception") {
30
- super(message);
31
- this.message = message;
32
- this.status = status;
33
- this.description = description;
30
+ super(message), this.message = message, this.status = status, this.description = description;
34
31
  }
35
32
  get data() {
36
33
  return {
@@ -539,4 +536,4 @@ _chunkGHFSIZUOjs.__name.call(void 0, detectAopDep, "detectAopDep");
539
536
 
540
537
 
541
538
 
542
- exports.defaultPipe = defaultPipe; exports.Exception = Exception; exports.UndefinedException = UndefinedException; exports.ValidateException = ValidateException; exports.ForbiddenException = ForbiddenException; exports.BadRequestException = BadRequestException; exports.NotFoundException = NotFoundException; exports.ConflictException = ConflictException; exports.BadGatewayException = BadGatewayException; exports.InvalidInputException = InvalidInputException; exports.UnsupportedMediaTypeException = UnsupportedMediaTypeException; exports.PayloadLargeException = PayloadLargeException; exports.TimeoutException = TimeoutException; exports.UnauthorizedException = UnauthorizedException; exports.ServiceUnavailableException = ServiceUnavailableException; exports.FrameworkException = FrameworkException; exports.TimerException = TimerException; exports.WorkerException = WorkerException; exports.HMR = HMR; exports.resolveDep = resolveDep; exports.argToReq = argToReq; exports.genClientQueue = genClientQueue; exports.shallowClone = shallowClone; exports.mergeObject = mergeObject; exports.createControllerMetaMap = createControllerMetaMap; exports.detectAopDep = detectAopDep; exports.Context = Context; exports.addPlugin = addPlugin; exports.addPipe = addPipe; exports.addFilter = addFilter; exports.addGuard = addGuard; exports.addInterceptor = addInterceptor;
539
+ exports.defaultPipe = defaultPipe; exports.Exception = Exception; exports.UndefinedException = UndefinedException; exports.ValidateException = ValidateException; exports.ForbiddenException = ForbiddenException; exports.BadRequestException = BadRequestException; exports.NotFoundException = NotFoundException; exports.ConflictException = ConflictException; exports.BadGatewayException = BadGatewayException; exports.InvalidInputException = InvalidInputException; exports.UnsupportedMediaTypeException = UnsupportedMediaTypeException; exports.PayloadLargeException = PayloadLargeException; exports.TimeoutException = TimeoutException; exports.UnauthorizedException = UnauthorizedException; exports.ServiceUnavailableException = ServiceUnavailableException; exports.FrameworkException = FrameworkException; exports.TimerException = TimerException; exports.WorkerException = WorkerException; exports.Context = Context; exports.addPlugin = addPlugin; exports.addPipe = addPipe; exports.addFilter = addFilter; exports.addGuard = addGuard; exports.addInterceptor = addInterceptor; exports.HMR = HMR; exports.resolveDep = resolveDep; exports.argToReq = argToReq; exports.genClientQueue = genClientQueue; exports.shallowClone = shallowClone; exports.mergeObject = mergeObject; exports.createControllerMetaMap = createControllerMetaMap; exports.detectAopDep = detectAopDep;
@@ -27,10 +27,7 @@ var Exception = class extends Error {
27
27
  status;
28
28
  description;
29
29
  constructor(message, status = 0, description = "Exception") {
30
- super(message);
31
- this.message = message;
32
- this.status = status;
33
- this.description = description;
30
+ super(message), this.message = message, this.status = status, this.description = description;
34
31
  }
35
32
  get data() {
36
33
  return {
@@ -525,6 +522,12 @@ export {
525
522
  FrameworkException,
526
523
  TimerException,
527
524
  WorkerException,
525
+ Context,
526
+ addPlugin,
527
+ addPipe,
528
+ addFilter,
529
+ addGuard,
530
+ addInterceptor,
528
531
  HMR,
529
532
  resolveDep,
530
533
  argToReq,
@@ -532,11 +535,5 @@ export {
532
535
  shallowClone,
533
536
  mergeObject,
534
537
  createControllerMetaMap,
535
- detectAopDep,
536
- Context,
537
- addPlugin,
538
- addPipe,
539
- addFilter,
540
- addGuard,
541
- addInterceptor
538
+ detectAopDep
542
539
  };
@@ -1,5 +1,5 @@
1
1
  import { Construct } from 'phecda-core';
2
- import { M as MetaData, h as Meta, E as Emitter } from './types-BlIBlnVT.js';
2
+ import { b as MetaData, M as Meta, E as Emitter } from './meta-KtfiBIde.mjs';
3
3
 
4
4
  declare abstract class Generator {
5
5
  private _path;
@@ -1,5 +1,5 @@
1
1
  import { Construct } from 'phecda-core';
2
- import { M as MetaData, h as Meta, E as Emitter } from './types-BlIBlnVT.mjs';
2
+ import { b as MetaData, M as Meta, E as Emitter } from './meta-KtfiBIde.js';
3
3
 
4
4
  declare abstract class Generator {
5
5
  private _path;
package/dist/helper.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as ControllerMetaData, h as Meta, i as ControllerMeta } from './types-BlIBlnVT.mjs';
1
+ import { C as ControllerMetaData, M as Meta, a as ControllerMeta } from './meta-KtfiBIde.mjs';
2
2
  import 'phecda-core';
3
3
 
4
4
  declare function HMR(cb: (...args: any) => any): void;
package/dist/helper.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as ControllerMetaData, h as Meta, i as ControllerMeta } from './types-BlIBlnVT.js';
1
+ import { C as ControllerMetaData, M as Meta, a as ControllerMeta } from './meta-KtfiBIde.js';
2
2
  import 'phecda-core';
3
3
 
4
4
  declare function HMR(cb: (...args: any) => any): void;
package/dist/helper.js CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkTZYATAJXjs = require('./chunk-TZYATAJX.js');
10
+ var _chunk7SYPUIBYjs = require('./chunk-7SYPUIBY.js');
11
11
  require('./chunk-GHFSIZUO.js');
12
12
 
13
13
 
@@ -18,4 +18,4 @@ require('./chunk-GHFSIZUO.js');
18
18
 
19
19
 
20
20
 
21
- exports.HMR = _chunkTZYATAJXjs.HMR; exports.argToReq = _chunkTZYATAJXjs.argToReq; exports.createControllerMetaMap = _chunkTZYATAJXjs.createControllerMetaMap; exports.detectAopDep = _chunkTZYATAJXjs.detectAopDep; exports.genClientQueue = _chunkTZYATAJXjs.genClientQueue; exports.mergeObject = _chunkTZYATAJXjs.mergeObject; exports.resolveDep = _chunkTZYATAJXjs.resolveDep; exports.shallowClone = _chunkTZYATAJXjs.shallowClone;
21
+ exports.HMR = _chunk7SYPUIBYjs.HMR; exports.argToReq = _chunk7SYPUIBYjs.argToReq; exports.createControllerMetaMap = _chunk7SYPUIBYjs.createControllerMetaMap; exports.detectAopDep = _chunk7SYPUIBYjs.detectAopDep; exports.genClientQueue = _chunk7SYPUIBYjs.genClientQueue; exports.mergeObject = _chunk7SYPUIBYjs.mergeObject; exports.resolveDep = _chunk7SYPUIBYjs.resolveDep; exports.shallowClone = _chunk7SYPUIBYjs.shallowClone;
package/dist/helper.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  mergeObject,
8
8
  resolveDep,
9
9
  shallowClone
10
- } from "./chunk-YUXERDQ6.mjs";
10
+ } from "./chunk-WXFZZZRY.mjs";
11
11
  import "./chunk-UXD62LGG.mjs";
12
12
  export {
13
13
  HMR,
package/dist/index.d.mts CHANGED
@@ -1,13 +1,13 @@
1
- import { B as BaseContext, D as DefaultOptions, C as ControllerMetaData, M as MetaData, E as Emitter, a as BaseError } from './types-BlIBlnVT.mjs';
2
- export { e as BaseRequestType, d as BaseReturn, i as ControllerMeta, f as CustomResponse, j as ERROR_SYMBOL, g as ExtractResponse, I as IS_HMR, k as IS_ONLY_GENERATE, l as IS_STRICT, L as LOG_LEVEL, h as Meta, O as OmitFunction, m as PS_EXIT_CODE, P as PickFunc, S as ServiceMetaData, c as ToClientFn, b as ToClientInstance, T as ToClientMap } from './types-BlIBlnVT.mjs';
3
- import { G as Generator } from './core-D2oL8Ge0.mjs';
4
- export { F as Factory, O as Options, c as createPhecda, e as emitter, i as isObject } from './core-D2oL8Ge0.mjs';
1
+ import { B as BaseContext, D as DefaultOptions, C as ControllerMetaData, b as MetaData, E as Emitter, c as BaseError } from './meta-KtfiBIde.mjs';
2
+ export { g as BaseRequestType, f as BaseReturn, a as ControllerMeta, h as CustomResponse, j as ERROR_SYMBOL, i as ExtractResponse, I as IS_HMR, k as IS_ONLY_GENERATE, l as IS_STRICT, L as LOG_LEVEL, M as Meta, O as OmitFunction, m as PS_EXIT_CODE, P as PickFunc, S as ServiceMetaData, e as ToClientFn, d as ToClientInstance, T as ToClientMap } from './meta-KtfiBIde.mjs';
3
+ import { G as Generator } from './core-2SNw8m2B.mjs';
4
+ export { F as Factory, O as Options, c as createPhecda, e as emitter, i as isObject } from './core-2SNw8m2B.mjs';
5
5
  import { Base } from 'phecda-core';
6
6
  export * from 'phecda-core';
7
- import { H as HttpContext } from './types-Dgxirc9f.mjs';
8
- export { C as CookieSerializeOptions, a as HttpOptions } from './types-Dgxirc9f.mjs';
9
- import { R as RpcContext } from './types-AgVwUXPC.mjs';
10
- export { b as RpcClientOptions, a as RpcServerOptions } from './types-AgVwUXPC.mjs';
7
+ import { H as HttpContext } from './types-BvD3B5Ny.mjs';
8
+ export { C as CookieSerializeOptions, a as HttpOptions } from './types-BvD3B5Ny.mjs';
9
+ import { R as RpcContext } from './types-t9D1fU6G.mjs';
10
+ export { b as RpcClientOptions, a as RpcServerOptions } from './types-t9D1fU6G.mjs';
11
11
  export { Mixin } from 'ts-mixer';
12
12
  import 'node:http';
13
13
 
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- import { B as BaseContext, D as DefaultOptions, C as ControllerMetaData, M as MetaData, E as Emitter, a as BaseError } from './types-BlIBlnVT.js';
2
- export { e as BaseRequestType, d as BaseReturn, i as ControllerMeta, f as CustomResponse, j as ERROR_SYMBOL, g as ExtractResponse, I as IS_HMR, k as IS_ONLY_GENERATE, l as IS_STRICT, L as LOG_LEVEL, h as Meta, O as OmitFunction, m as PS_EXIT_CODE, P as PickFunc, S as ServiceMetaData, c as ToClientFn, b as ToClientInstance, T as ToClientMap } from './types-BlIBlnVT.js';
3
- import { G as Generator } from './core-Blq8frmr.js';
4
- export { F as Factory, O as Options, c as createPhecda, e as emitter, i as isObject } from './core-Blq8frmr.js';
1
+ import { B as BaseContext, D as DefaultOptions, C as ControllerMetaData, b as MetaData, E as Emitter, c as BaseError } from './meta-KtfiBIde.js';
2
+ export { g as BaseRequestType, f as BaseReturn, a as ControllerMeta, h as CustomResponse, j as ERROR_SYMBOL, i as ExtractResponse, I as IS_HMR, k as IS_ONLY_GENERATE, l as IS_STRICT, L as LOG_LEVEL, M as Meta, O as OmitFunction, m as PS_EXIT_CODE, P as PickFunc, S as ServiceMetaData, e as ToClientFn, d as ToClientInstance, T as ToClientMap } from './meta-KtfiBIde.js';
3
+ import { G as Generator } from './core-BmJJLUqj.js';
4
+ export { F as Factory, O as Options, c as createPhecda, e as emitter, i as isObject } from './core-BmJJLUqj.js';
5
5
  import { Base } from 'phecda-core';
6
6
  export * from 'phecda-core';
7
- import { H as HttpContext } from './types-BCJhmpQh.js';
8
- export { C as CookieSerializeOptions, a as HttpOptions } from './types-BCJhmpQh.js';
9
- import { R as RpcContext } from './types-B-ZFZajI.js';
10
- export { b as RpcClientOptions, a as RpcServerOptions } from './types-B-ZFZajI.js';
7
+ import { H as HttpContext } from './types-DIw7B6Up.js';
8
+ export { C as CookieSerializeOptions, a as HttpOptions } from './types-DIw7B6Up.js';
9
+ import { R as RpcContext } from './types-JVT0mgLD.js';
10
+ export { b as RpcClientOptions, a as RpcServerOptions } from './types-JVT0mgLD.js';
11
11
  export { Mixin } from 'ts-mixer';
12
12
  import 'node:http';
13
13
 
package/dist/index.js CHANGED
@@ -4,7 +4,6 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkLYEZ6RGXjs = require('./chunk-LYEZ6RGX.js');
8
7
 
9
8
 
10
9
 
@@ -24,13 +23,14 @@ var _chunkLYEZ6RGXjs = require('./chunk-LYEZ6RGX.js');
24
23
 
25
24
 
26
25
 
26
+ var _chunkXCND2QW3js = require('./chunk-XCND2QW3.js');
27
27
 
28
28
 
29
29
 
30
30
 
31
31
 
32
32
 
33
- var _chunkXCND2QW3js = require('./chunk-XCND2QW3.js');
33
+ var _chunkLYEZ6RGXjs = require('./chunk-LYEZ6RGX.js');
34
34
 
35
35
 
36
36
 
@@ -56,7 +56,7 @@ var _chunkXCND2QW3js = require('./chunk-XCND2QW3.js');
56
56
 
57
57
 
58
58
 
59
- var _chunkTZYATAJXjs = require('./chunk-TZYATAJX.js');
59
+ var _chunk7SYPUIBYjs = require('./chunk-7SYPUIBY.js');
60
60
 
61
61
 
62
62
 
@@ -129,9 +129,9 @@ var PFilter = class extends ServerBase {
129
129
  constructor(tag) {
130
130
  super();
131
131
  this.key = tag || _phecdacore.getTag.call(void 0, this);
132
- _chunkTZYATAJXjs.addFilter.call(void 0, this.key, this.use.bind(this));
132
+ _chunk7SYPUIBYjs.addFilter.call(void 0, this.key, this.use.bind(this));
133
133
  this.onUnmount(() => {
134
- delete _chunkTZYATAJXjs.Context.filterRecord[this.key];
134
+ delete _chunk7SYPUIBYjs.Context.filterRecord[this.key];
135
135
  });
136
136
  }
137
137
  };
@@ -146,9 +146,9 @@ var PGuard = class extends ServerBase {
146
146
  constructor(tag) {
147
147
  super();
148
148
  this.key = tag || _phecdacore.getTag.call(void 0, this);
149
- _chunkTZYATAJXjs.addGuard.call(void 0, this.key, this.use.bind(this));
149
+ _chunk7SYPUIBYjs.addGuard.call(void 0, this.key, this.use.bind(this));
150
150
  this.onUnmount(() => {
151
- delete _chunkTZYATAJXjs.Context.guardRecord[this.key];
151
+ delete _chunk7SYPUIBYjs.Context.guardRecord[this.key];
152
152
  });
153
153
  }
154
154
  };
@@ -164,9 +164,9 @@ var PInterceptor = class extends ServerBase {
164
164
  super();
165
165
  this.key = tag || _phecdacore.getTag.call(void 0, this);
166
166
  this.onUnmount(() => {
167
- delete _chunkTZYATAJXjs.Context.interceptorRecord[this.key];
167
+ delete _chunk7SYPUIBYjs.Context.interceptorRecord[this.key];
168
168
  });
169
- _chunkTZYATAJXjs.addInterceptor.call(void 0, this.key, this.use.bind(this));
169
+ _chunk7SYPUIBYjs.addInterceptor.call(void 0, this.key, this.use.bind(this));
170
170
  }
171
171
  };
172
172
 
@@ -180,9 +180,9 @@ var PPipe = class extends ServerBase {
180
180
  constructor(tag) {
181
181
  super();
182
182
  this.key = tag || _phecdacore.getTag.call(void 0, this);
183
- _chunkTZYATAJXjs.addPipe.call(void 0, this.key, this.use.bind(this));
183
+ _chunk7SYPUIBYjs.addPipe.call(void 0, this.key, this.use.bind(this));
184
184
  this.onUnmount(() => {
185
- delete _chunkTZYATAJXjs.Context.pipeRecord[this.key];
185
+ delete _chunk7SYPUIBYjs.Context.pipeRecord[this.key];
186
186
  });
187
187
  }
188
188
  };
@@ -197,9 +197,9 @@ var PPlugin = class extends ServerBase {
197
197
  constructor(tag) {
198
198
  super();
199
199
  this.key = tag || _phecdacore.getTag.call(void 0, this);
200
- _chunkTZYATAJXjs.addPlugin.call(void 0, this.key, this.use.bind(this));
200
+ _chunk7SYPUIBYjs.addPlugin.call(void 0, this.key, this.use.bind(this));
201
201
  this.onUnmount(() => {
202
- delete _chunkTZYATAJXjs.Context.pluginRecord[this.key];
202
+ delete _chunk7SYPUIBYjs.Context.pluginRecord[this.key];
203
203
  });
204
204
  }
205
205
  };
@@ -215,33 +215,33 @@ var PExtension = class extends ServerBase {
215
215
  super();
216
216
  const key = this.key = tag || _phecdacore.getTag.call(void 0, this);
217
217
  if (this.pipe) {
218
- _chunkTZYATAJXjs.addPipe.call(void 0, key, this.pipe.bind(this));
218
+ _chunk7SYPUIBYjs.addPipe.call(void 0, key, this.pipe.bind(this));
219
219
  this.onUnmount(() => {
220
- delete _chunkTZYATAJXjs.Context.pipeRecord[key];
220
+ delete _chunk7SYPUIBYjs.Context.pipeRecord[key];
221
221
  });
222
222
  }
223
223
  if (this.plugin) {
224
- _chunkTZYATAJXjs.addPlugin.call(void 0, key, this.plugin.bind(this));
224
+ _chunk7SYPUIBYjs.addPlugin.call(void 0, key, this.plugin.bind(this));
225
225
  this.onUnmount(() => {
226
- delete _chunkTZYATAJXjs.Context.pluginRecord[key];
226
+ delete _chunk7SYPUIBYjs.Context.pluginRecord[key];
227
227
  });
228
228
  }
229
229
  if (this.intercept) {
230
- _chunkTZYATAJXjs.addInterceptor.call(void 0, key, this.intercept.bind(this));
230
+ _chunk7SYPUIBYjs.addInterceptor.call(void 0, key, this.intercept.bind(this));
231
231
  this.onUnmount(() => {
232
- delete _chunkTZYATAJXjs.Context.interceptorRecord[key];
232
+ delete _chunk7SYPUIBYjs.Context.interceptorRecord[key];
233
233
  });
234
234
  }
235
235
  if (this.guard) {
236
- _chunkTZYATAJXjs.addGuard.call(void 0, key, this.guard.bind(this));
236
+ _chunk7SYPUIBYjs.addGuard.call(void 0, key, this.guard.bind(this));
237
237
  this.onUnmount(() => {
238
- delete _chunkTZYATAJXjs.Context.guardRecord[key];
238
+ delete _chunk7SYPUIBYjs.Context.guardRecord[key];
239
239
  });
240
240
  }
241
241
  if (this.filter) {
242
- _chunkTZYATAJXjs.addFilter.call(void 0, key, this.filter.bind(this));
242
+ _chunk7SYPUIBYjs.addFilter.call(void 0, key, this.filter.bind(this));
243
243
  this.onUnmount(() => {
244
- delete _chunkTZYATAJXjs.Context.filterRecord[key];
244
+ delete _chunk7SYPUIBYjs.Context.filterRecord[key];
245
245
  });
246
246
  }
247
247
  }
@@ -420,4 +420,4 @@ return ret
420
420
 
421
421
 
422
422
 
423
- exports.Arg = _chunkXCND2QW3js.Arg; exports.BadGatewayException = _chunkTZYATAJXjs.BadGatewayException; exports.BadRequestException = _chunkTZYATAJXjs.BadRequestException; exports.BaseParam = _chunkXCND2QW3js.BaseParam; exports.Body = _chunkXCND2QW3js.Body; exports.ConflictException = _chunkTZYATAJXjs.ConflictException; exports.Context = _chunkTZYATAJXjs.Context; exports.Controller = _chunkXCND2QW3js.Controller; exports.Ctx = _chunkXCND2QW3js.Ctx; exports.CustomResponse = CustomResponse; exports.Define = _chunkXCND2QW3js.Define; exports.Delete = _chunkXCND2QW3js.Delete; exports.ERROR_SYMBOL = _chunkGHFSIZUOjs.ERROR_SYMBOL; exports.Exception = _chunkTZYATAJXjs.Exception; exports.Factory = _chunkLYEZ6RGXjs.Factory; exports.Filter = _chunkXCND2QW3js.Filter; exports.ForbiddenException = _chunkTZYATAJXjs.ForbiddenException; exports.FrameworkException = _chunkTZYATAJXjs.FrameworkException; exports.Generator = Generator; exports.Get = _chunkXCND2QW3js.Get; exports.Guard = _chunkXCND2QW3js.Guard; exports.HTTPGenerator = HTTPGenerator; exports.Head = _chunkXCND2QW3js.Head; exports.Header = _chunkXCND2QW3js.Header; exports.HttpBase = HttpBase; exports.IS_HMR = _chunkGHFSIZUOjs.IS_HMR; exports.IS_ONLY_GENERATE = _chunkGHFSIZUOjs.IS_ONLY_GENERATE; exports.IS_STRICT = _chunkGHFSIZUOjs.IS_STRICT; exports.Interceptor = _chunkXCND2QW3js.Interceptor; exports.InvalidInputException = _chunkTZYATAJXjs.InvalidInputException; exports.LOG_LEVEL = _chunkGHFSIZUOjs.LOG_LEVEL; exports.Meta = _chunkLYEZ6RGXjs.Meta; exports.Mixin = _chunkGHFSIZUOjs.Mixin; exports.NotFoundException = _chunkTZYATAJXjs.NotFoundException; exports.PExtension = PExtension; exports.PFilter = PFilter; exports.PGuard = PGuard; exports.PInterceptor = PInterceptor; exports.PPipe = PPipe; exports.PPlugin = PPlugin; exports.PS_EXIT_CODE = _chunkGHFSIZUOjs.PS_EXIT_CODE; exports.Param = _chunkXCND2QW3js.Param; exports.Patch = _chunkXCND2QW3js.Patch; exports.PayloadLargeException = _chunkTZYATAJXjs.PayloadLargeException; exports.Pipe = _chunkXCND2QW3js.Pipe; exports.Plugin = _chunkXCND2QW3js.Plugin; exports.Post = _chunkXCND2QW3js.Post; exports.Put = _chunkXCND2QW3js.Put; exports.Query = _chunkXCND2QW3js.Query; exports.Queue = _chunkXCND2QW3js.Queue; exports.RPCGenerator = RPCGenerator; exports.Route = _chunkXCND2QW3js.Route; exports.Rpc = _chunkXCND2QW3js.Rpc; exports.RpcBase = RpcBase; exports.Search = _chunkXCND2QW3js.Search; exports.ServerBase = ServerBase; exports.ServiceUnavailableException = _chunkTZYATAJXjs.ServiceUnavailableException; exports.TimeoutException = _chunkTZYATAJXjs.TimeoutException; exports.TimerException = _chunkTZYATAJXjs.TimerException; exports.UnauthorizedException = _chunkTZYATAJXjs.UnauthorizedException; exports.UndefinedException = _chunkTZYATAJXjs.UndefinedException; exports.UnsupportedMediaTypeException = _chunkTZYATAJXjs.UnsupportedMediaTypeException; exports.ValidateException = _chunkTZYATAJXjs.ValidateException; exports.WorkerException = _chunkTZYATAJXjs.WorkerException; exports.addFilter = _chunkTZYATAJXjs.addFilter; exports.addGuard = _chunkTZYATAJXjs.addGuard; exports.addInterceptor = _chunkTZYATAJXjs.addInterceptor; exports.addPipe = _chunkTZYATAJXjs.addPipe; exports.addPlugin = _chunkTZYATAJXjs.addPlugin; exports.createPhecda = _chunkLYEZ6RGXjs.createPhecda; exports.defaultPipe = _chunkTZYATAJXjs.defaultPipe; exports.emitter = _chunkLYEZ6RGXjs.emitter; exports.isObject = _chunkLYEZ6RGXjs.isObject; exports.log = _chunkGHFSIZUOjs.log; exports.setLogger = _chunkGHFSIZUOjs.setLogger;
423
+ exports.Arg = _chunkXCND2QW3js.Arg; exports.BadGatewayException = _chunk7SYPUIBYjs.BadGatewayException; exports.BadRequestException = _chunk7SYPUIBYjs.BadRequestException; exports.BaseParam = _chunkXCND2QW3js.BaseParam; exports.Body = _chunkXCND2QW3js.Body; exports.ConflictException = _chunk7SYPUIBYjs.ConflictException; exports.Context = _chunk7SYPUIBYjs.Context; exports.Controller = _chunkXCND2QW3js.Controller; exports.Ctx = _chunkXCND2QW3js.Ctx; exports.CustomResponse = CustomResponse; exports.Define = _chunkXCND2QW3js.Define; exports.Delete = _chunkXCND2QW3js.Delete; exports.ERROR_SYMBOL = _chunkGHFSIZUOjs.ERROR_SYMBOL; exports.Exception = _chunk7SYPUIBYjs.Exception; exports.Factory = _chunkLYEZ6RGXjs.Factory; exports.Filter = _chunkXCND2QW3js.Filter; exports.ForbiddenException = _chunk7SYPUIBYjs.ForbiddenException; exports.FrameworkException = _chunk7SYPUIBYjs.FrameworkException; exports.Generator = Generator; exports.Get = _chunkXCND2QW3js.Get; exports.Guard = _chunkXCND2QW3js.Guard; exports.HTTPGenerator = HTTPGenerator; exports.Head = _chunkXCND2QW3js.Head; exports.Header = _chunkXCND2QW3js.Header; exports.HttpBase = HttpBase; exports.IS_HMR = _chunkGHFSIZUOjs.IS_HMR; exports.IS_ONLY_GENERATE = _chunkGHFSIZUOjs.IS_ONLY_GENERATE; exports.IS_STRICT = _chunkGHFSIZUOjs.IS_STRICT; exports.Interceptor = _chunkXCND2QW3js.Interceptor; exports.InvalidInputException = _chunk7SYPUIBYjs.InvalidInputException; exports.LOG_LEVEL = _chunkGHFSIZUOjs.LOG_LEVEL; exports.Meta = _chunkLYEZ6RGXjs.Meta; exports.Mixin = _chunkGHFSIZUOjs.Mixin; exports.NotFoundException = _chunk7SYPUIBYjs.NotFoundException; exports.PExtension = PExtension; exports.PFilter = PFilter; exports.PGuard = PGuard; exports.PInterceptor = PInterceptor; exports.PPipe = PPipe; exports.PPlugin = PPlugin; exports.PS_EXIT_CODE = _chunkGHFSIZUOjs.PS_EXIT_CODE; exports.Param = _chunkXCND2QW3js.Param; exports.Patch = _chunkXCND2QW3js.Patch; exports.PayloadLargeException = _chunk7SYPUIBYjs.PayloadLargeException; exports.Pipe = _chunkXCND2QW3js.Pipe; exports.Plugin = _chunkXCND2QW3js.Plugin; exports.Post = _chunkXCND2QW3js.Post; exports.Put = _chunkXCND2QW3js.Put; exports.Query = _chunkXCND2QW3js.Query; exports.Queue = _chunkXCND2QW3js.Queue; exports.RPCGenerator = RPCGenerator; exports.Route = _chunkXCND2QW3js.Route; exports.Rpc = _chunkXCND2QW3js.Rpc; exports.RpcBase = RpcBase; exports.Search = _chunkXCND2QW3js.Search; exports.ServerBase = ServerBase; exports.ServiceUnavailableException = _chunk7SYPUIBYjs.ServiceUnavailableException; exports.TimeoutException = _chunk7SYPUIBYjs.TimeoutException; exports.TimerException = _chunk7SYPUIBYjs.TimerException; exports.UnauthorizedException = _chunk7SYPUIBYjs.UnauthorizedException; exports.UndefinedException = _chunk7SYPUIBYjs.UndefinedException; exports.UnsupportedMediaTypeException = _chunk7SYPUIBYjs.UnsupportedMediaTypeException; exports.ValidateException = _chunk7SYPUIBYjs.ValidateException; exports.WorkerException = _chunk7SYPUIBYjs.WorkerException; exports.addFilter = _chunk7SYPUIBYjs.addFilter; exports.addGuard = _chunk7SYPUIBYjs.addGuard; exports.addInterceptor = _chunk7SYPUIBYjs.addInterceptor; exports.addPipe = _chunk7SYPUIBYjs.addPipe; exports.addPlugin = _chunk7SYPUIBYjs.addPlugin; exports.createPhecda = _chunkLYEZ6RGXjs.createPhecda; exports.defaultPipe = _chunk7SYPUIBYjs.defaultPipe; exports.emitter = _chunkLYEZ6RGXjs.emitter; exports.isObject = _chunkLYEZ6RGXjs.isObject; exports.log = _chunkGHFSIZUOjs.log; exports.setLogger = _chunkGHFSIZUOjs.setLogger;
package/dist/index.mjs CHANGED
@@ -1,10 +1,3 @@
1
- import {
2
- Factory,
3
- Meta,
4
- createPhecda,
5
- emitter,
6
- isObject
7
- } from "./chunk-HDQAT2IM.mjs";
8
1
  import {
9
2
  Arg,
10
3
  BaseParam,
@@ -31,6 +24,13 @@ import {
31
24
  Rpc,
32
25
  Search
33
26
  } from "./chunk-F3W3NN7F.mjs";
27
+ import {
28
+ Factory,
29
+ Meta,
30
+ createPhecda,
31
+ emitter,
32
+ isObject
33
+ } from "./chunk-HDQAT2IM.mjs";
34
34
  import {
35
35
  BadGatewayException,
36
36
  BadRequestException,
@@ -56,7 +56,7 @@ import {
56
56
  addPipe,
57
57
  addPlugin,
58
58
  defaultPipe
59
- } from "./chunk-YUXERDQ6.mjs";
59
+ } from "./chunk-WXFZZZRY.mjs";
60
60
  import {
61
61
  ERROR_SYMBOL,
62
62
  IS_HMR,
@@ -1,48 +1,5 @@
1
1
  import { Events, Construct } from 'phecda-core';
2
2
 
3
- interface ServiceMetaData {
4
- func: string;
5
- name: string;
6
- tag: string;
7
- define?: any;
8
- [key: string]: any;
9
- }
10
- interface ControllerMetaData extends ServiceMetaData {
11
- controller: string;
12
- http?: {
13
- type: BaseRequestType;
14
- prefix: string;
15
- route: string;
16
- headers?: Record<string, string>;
17
- };
18
- rpc?: {
19
- queue?: string;
20
- isEvent?: boolean;
21
- };
22
- ctxs?: string[];
23
- params: {
24
- type: string;
25
- index: number;
26
- key: string;
27
- pipe?: string;
28
- define: Record<string, any>;
29
- }[];
30
- guards: string[];
31
- pipe?: string;
32
- filter?: string;
33
- interceptors: string[];
34
- plugins: string[];
35
- }
36
- type MetaData = ControllerMetaData | ServiceMetaData;
37
- declare class Meta {
38
- data: MetaData;
39
- paramsType: any[];
40
- constructor(data: MetaData, paramsType: any[]);
41
- }
42
- interface ControllerMeta extends Meta {
43
- data: ControllerMetaData;
44
- }
45
-
46
3
  declare const ERROR_SYMBOL = "__PS_ERROR__";
47
4
  declare const IS_HMR: boolean;
48
5
  declare const IS_ONLY_GENERATE: boolean;
@@ -104,4 +61,47 @@ declare class CustomResponse<Value> {
104
61
  }
105
62
  type ExtractResponse<Class extends CustomResponse<any>> = Class extends CustomResponse<infer Value> ? Value : never;
106
63
 
107
- export { type BaseContext as B, type ControllerMetaData as C, type DefaultOptions as D, type Emitter as E, IS_HMR as I, LOG_LEVEL as L, type MetaData as M, type OmitFunction as O, type PickFunc as P, type ServiceMetaData as S, type ToClientMap as T, type BaseError as a, type ToClientInstance as b, type ToClientFn as c, type BaseReturn as d, type BaseRequestType as e, CustomResponse as f, type ExtractResponse as g, Meta as h, type ControllerMeta as i, ERROR_SYMBOL as j, IS_ONLY_GENERATE as k, IS_STRICT as l, PS_EXIT_CODE as m };
64
+ interface ServiceMetaData {
65
+ func: string;
66
+ name: string;
67
+ tag: string;
68
+ define?: any;
69
+ [key: string]: any;
70
+ }
71
+ interface ControllerMetaData extends ServiceMetaData {
72
+ controller: string;
73
+ http?: {
74
+ type: BaseRequestType;
75
+ prefix: string;
76
+ route: string;
77
+ headers?: Record<string, string>;
78
+ };
79
+ rpc?: {
80
+ queue?: string;
81
+ isEvent?: boolean;
82
+ };
83
+ ctxs?: string[];
84
+ params: {
85
+ type: string;
86
+ index: number;
87
+ key: string;
88
+ pipe?: string;
89
+ define: Record<string, any>;
90
+ }[];
91
+ guards: string[];
92
+ pipe?: string;
93
+ filter?: string;
94
+ interceptors: string[];
95
+ plugins: string[];
96
+ }
97
+ type MetaData = ControllerMetaData | ServiceMetaData;
98
+ declare class Meta {
99
+ data: MetaData;
100
+ paramsType: any[];
101
+ constructor(data: MetaData, paramsType: any[]);
102
+ }
103
+ interface ControllerMeta extends Meta {
104
+ data: ControllerMetaData;
105
+ }
106
+
107
+ export { type BaseContext as B, type ControllerMetaData as C, type DefaultOptions as D, type Emitter as E, IS_HMR as I, LOG_LEVEL as L, Meta as M, type OmitFunction as O, type PickFunc as P, type ServiceMetaData as S, type ToClientMap as T, type ControllerMeta as a, type MetaData as b, type BaseError as c, type ToClientInstance as d, type ToClientFn as e, type BaseReturn as f, type BaseRequestType as g, CustomResponse as h, type ExtractResponse as i, ERROR_SYMBOL as j, IS_ONLY_GENERATE as k, IS_STRICT as l, PS_EXIT_CODE as m };
@@ -1,48 +1,5 @@
1
1
  import { Events, Construct } from 'phecda-core';
2
2
 
3
- interface ServiceMetaData {
4
- func: string;
5
- name: string;
6
- tag: string;
7
- define?: any;
8
- [key: string]: any;
9
- }
10
- interface ControllerMetaData extends ServiceMetaData {
11
- controller: string;
12
- http?: {
13
- type: BaseRequestType;
14
- prefix: string;
15
- route: string;
16
- headers?: Record<string, string>;
17
- };
18
- rpc?: {
19
- queue?: string;
20
- isEvent?: boolean;
21
- };
22
- ctxs?: string[];
23
- params: {
24
- type: string;
25
- index: number;
26
- key: string;
27
- pipe?: string;
28
- define: Record<string, any>;
29
- }[];
30
- guards: string[];
31
- pipe?: string;
32
- filter?: string;
33
- interceptors: string[];
34
- plugins: string[];
35
- }
36
- type MetaData = ControllerMetaData | ServiceMetaData;
37
- declare class Meta {
38
- data: MetaData;
39
- paramsType: any[];
40
- constructor(data: MetaData, paramsType: any[]);
41
- }
42
- interface ControllerMeta extends Meta {
43
- data: ControllerMetaData;
44
- }
45
-
46
3
  declare const ERROR_SYMBOL = "__PS_ERROR__";
47
4
  declare const IS_HMR: boolean;
48
5
  declare const IS_ONLY_GENERATE: boolean;
@@ -104,4 +61,47 @@ declare class CustomResponse<Value> {
104
61
  }
105
62
  type ExtractResponse<Class extends CustomResponse<any>> = Class extends CustomResponse<infer Value> ? Value : never;
106
63
 
107
- export { type BaseContext as B, type ControllerMetaData as C, type DefaultOptions as D, type Emitter as E, IS_HMR as I, LOG_LEVEL as L, type MetaData as M, type OmitFunction as O, type PickFunc as P, type ServiceMetaData as S, type ToClientMap as T, type BaseError as a, type ToClientInstance as b, type ToClientFn as c, type BaseReturn as d, type BaseRequestType as e, CustomResponse as f, type ExtractResponse as g, Meta as h, type ControllerMeta as i, ERROR_SYMBOL as j, IS_ONLY_GENERATE as k, IS_STRICT as l, PS_EXIT_CODE as m };
64
+ interface ServiceMetaData {
65
+ func: string;
66
+ name: string;
67
+ tag: string;
68
+ define?: any;
69
+ [key: string]: any;
70
+ }
71
+ interface ControllerMetaData extends ServiceMetaData {
72
+ controller: string;
73
+ http?: {
74
+ type: BaseRequestType;
75
+ prefix: string;
76
+ route: string;
77
+ headers?: Record<string, string>;
78
+ };
79
+ rpc?: {
80
+ queue?: string;
81
+ isEvent?: boolean;
82
+ };
83
+ ctxs?: string[];
84
+ params: {
85
+ type: string;
86
+ index: number;
87
+ key: string;
88
+ pipe?: string;
89
+ define: Record<string, any>;
90
+ }[];
91
+ guards: string[];
92
+ pipe?: string;
93
+ filter?: string;
94
+ interceptors: string[];
95
+ plugins: string[];
96
+ }
97
+ type MetaData = ControllerMetaData | ServiceMetaData;
98
+ declare class Meta {
99
+ data: MetaData;
100
+ paramsType: any[];
101
+ constructor(data: MetaData, paramsType: any[]);
102
+ }
103
+ interface ControllerMeta extends Meta {
104
+ data: ControllerMetaData;
105
+ }
106
+
107
+ export { type BaseContext as B, type ControllerMetaData as C, type DefaultOptions as D, type Emitter as E, IS_HMR as I, LOG_LEVEL as L, Meta as M, type OmitFunction as O, type PickFunc as P, type ServiceMetaData as S, type ToClientMap as T, type ControllerMeta as a, type MetaData as b, type BaseError as c, type ToClientInstance as d, type ToClientFn as e, type BaseReturn as f, type BaseRequestType as g, CustomResponse as h, type ExtractResponse as i, ERROR_SYMBOL as j, IS_ONLY_GENERATE as k, IS_STRICT as l, PS_EXIT_CODE as m };
@@ -1,7 +1,7 @@
1
1
  import { WorkerOptions, QueueOptions, Worker, Queue } from 'bullmq';
2
- import { F as Factory } from '../../core-D2oL8Ge0.mjs';
3
- import { R as RpcContext, a as RpcServerOptions, b as RpcClientOptions } from '../../types-AgVwUXPC.mjs';
4
- import { T as ToClientMap } from '../../types-BlIBlnVT.mjs';
2
+ import { F as Factory } from '../../core-2SNw8m2B.mjs';
3
+ import { R as RpcContext, a as RpcServerOptions, b as RpcClientOptions } from '../../types-t9D1fU6G.mjs';
4
+ import { T as ToClientMap } from '../../meta-KtfiBIde.mjs';
5
5
  import 'phecda-core';
6
6
 
7
7
  interface BullmqCtx extends RpcContext {
@@ -1,7 +1,7 @@
1
1
  import { WorkerOptions, QueueOptions, Worker, Queue } from 'bullmq';
2
- import { F as Factory } from '../../core-Blq8frmr.js';
3
- import { R as RpcContext, a as RpcServerOptions, b as RpcClientOptions } from '../../types-B-ZFZajI.js';
4
- import { T as ToClientMap } from '../../types-BlIBlnVT.js';
2
+ import { F as Factory } from '../../core-BmJJLUqj.js';
3
+ import { R as RpcContext, a as RpcServerOptions, b as RpcClientOptions } from '../../types-JVT0mgLD.js';
4
+ import { T as ToClientMap } from '../../meta-KtfiBIde.js';
5
5
  import 'phecda-core';
6
6
 
7
7
  interface BullmqCtx extends RpcContext {
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkTZYATAJXjs = require('../../chunk-TZYATAJX.js');
7
+ var _chunk7SYPUIBYjs = require('../../chunk-7SYPUIBY.js');
8
8
 
9
9
 
10
10
  var _chunkGHFSIZUOjs = require('../../chunk-GHFSIZUO.js');
@@ -18,14 +18,14 @@ async function create({ moduleMap, meta }, opts = {}) {
18
18
  const workerMap = {};
19
19
  const queueMap = {};
20
20
  const existQueue = /* @__PURE__ */ new Set();
21
- const metaMap = _chunkTZYATAJXjs.createControllerMetaMap.call(void 0, meta, (meta2) => {
21
+ const metaMap = _chunk7SYPUIBYjs.createControllerMetaMap.call(void 0, meta, (meta2) => {
22
22
  const { controller, rpc, func, tag } = meta2.data;
23
23
  if (controller === "rpc" && _optionalChain([rpc, 'optionalAccess', _ => _.queue]) !== void 0) {
24
24
  debug(`register method "${func}" in module "${tag}"`);
25
25
  return true;
26
26
  }
27
27
  });
28
- _chunkTZYATAJXjs.detectAopDep.call(void 0, meta, {
28
+ _chunk7SYPUIBYjs.detectAopDep.call(void 0, meta, {
29
29
  guards: globalGuards,
30
30
  interceptors: globalInterceptors
31
31
  }, "rpc");
@@ -53,7 +53,7 @@ async function create({ moduleMap, meta }, opts = {}) {
53
53
  const meta2 = metaMap.get(tag)[func];
54
54
  const { data: { rpc: { isEvent } = {} } } = meta2;
55
55
  if (!isEvent && !(clientQueue in queueMap)) queueMap[clientQueue] = new (0, _bullmq.Queue)(clientQueue, queueOpts);
56
- const context = new (0, _chunkTZYATAJXjs.Context)({
56
+ const context = new (0, _chunk7SYPUIBYjs.Context)({
57
57
  type: "bullmq",
58
58
  moduleMap,
59
59
  meta: meta2,
@@ -87,7 +87,7 @@ async function create({ moduleMap, meta }, opts = {}) {
87
87
  }
88
88
  _chunkGHFSIZUOjs.__name.call(void 0, handleRequest, "handleRequest");
89
89
  subscribeQueues();
90
- _chunkTZYATAJXjs.HMR.call(void 0, async () => {
90
+ _chunk7SYPUIBYjs.HMR.call(void 0, async () => {
91
91
  for (const i in workerMap) await workerMap[i].close(true);
92
92
  for (const i in queueMap) await queueMap[i].close();
93
93
  await subscribeQueues();
@@ -108,7 +108,7 @@ async function createClient(controllers, opts = {}) {
108
108
  const { max, workerOpts, queueOpts, timeout, key } = opts;
109
109
  const ret = {};
110
110
  const emitter = new (0, _events.EventEmitter)();
111
- const clientQueue = _chunkTZYATAJXjs.genClientQueue.call(void 0, key);
111
+ const clientQueue = _chunk7SYPUIBYjs.genClientQueue.call(void 0, key);
112
112
  const queueMap = {};
113
113
  new (0, _bullmq.Worker)(clientQueue, async (job) => {
114
114
  const { data, id, error } = job.data;
@@ -4,7 +4,7 @@ import {
4
4
  createControllerMetaMap,
5
5
  detectAopDep,
6
6
  genClientQueue
7
- } from "../../chunk-YUXERDQ6.mjs";
7
+ } from "../../chunk-WXFZZZRY.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "../../chunk-UXD62LGG.mjs";
@@ -1,7 +1,7 @@
1
1
  import { Consumer, Producer } from 'kafkajs';
2
- import { F as Factory } from '../../core-D2oL8Ge0.mjs';
3
- import { R as RpcContext, a as RpcServerOptions, b as RpcClientOptions } from '../../types-AgVwUXPC.mjs';
4
- import { T as ToClientMap } from '../../types-BlIBlnVT.mjs';
2
+ import { F as Factory } from '../../core-2SNw8m2B.mjs';
3
+ import { R as RpcContext, a as RpcServerOptions, b as RpcClientOptions } from '../../types-t9D1fU6G.mjs';
4
+ import { T as ToClientMap } from '../../meta-KtfiBIde.mjs';
5
5
  import 'phecda-core';
6
6
 
7
7
  interface KafkaCtx extends RpcContext {