phecda-server 6.0.0 → 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.
- package/dist/{chunk-TZYATAJX.js → chunk-7SYPUIBY.js} +2 -5
- package/dist/{chunk-2UTKBEZE.mjs → chunk-F3W3NN7F.mjs} +5 -0
- package/dist/{chunk-YUXERDQ6.mjs → chunk-WXFZZZRY.mjs} +8 -11
- package/dist/{chunk-PALEEADE.js → chunk-XCND2QW3.js} +6 -1
- package/dist/{core-Blq8frmr.d.ts → core-2SNw8m2B.d.mts} +1 -1
- package/dist/{core-D2oL8Ge0.d.mts → core-BmJJLUqj.d.ts} +1 -1
- package/dist/helper.d.mts +1 -1
- package/dist/helper.d.ts +1 -1
- package/dist/helper.js +2 -2
- package/dist/helper.mjs +1 -1
- package/dist/index.d.mts +10 -9
- package/dist/index.d.ts +10 -9
- package/dist/index.js +28 -26
- package/dist/index.mjs +12 -10
- package/dist/{types-BlIBlnVT.d.mts → meta-KtfiBIde.d.mts} +44 -44
- package/dist/{types-BlIBlnVT.d.ts → meta-KtfiBIde.d.ts} +44 -44
- package/dist/rpc/bullmq/index.d.mts +3 -3
- package/dist/rpc/bullmq/index.d.ts +3 -3
- package/dist/rpc/bullmq/index.js +6 -6
- package/dist/rpc/bullmq/index.mjs +1 -1
- package/dist/rpc/kafka/index.d.mts +3 -3
- package/dist/rpc/kafka/index.d.ts +3 -3
- package/dist/rpc/kafka/index.js +5 -5
- package/dist/rpc/kafka/index.mjs +1 -1
- package/dist/rpc/nats/index.d.mts +3 -3
- package/dist/rpc/nats/index.d.ts +3 -3
- package/dist/rpc/nats/index.js +5 -5
- package/dist/rpc/nats/index.mjs +1 -1
- package/dist/rpc/rabbitmq/index.d.mts +3 -3
- package/dist/rpc/rabbitmq/index.d.ts +3 -3
- package/dist/rpc/rabbitmq/index.js +6 -6
- package/dist/rpc/rabbitmq/index.mjs +1 -1
- package/dist/rpc/redis/index.d.mts +3 -3
- package/dist/rpc/redis/index.d.ts +3 -3
- package/dist/rpc/redis/index.js +6 -6
- package/dist/rpc/redis/index.mjs +1 -1
- package/dist/server/elysia/index.d.mts +3 -3
- package/dist/server/elysia/index.d.ts +3 -3
- package/dist/server/elysia/index.js +29 -17
- package/dist/server/elysia/index.mjs +16 -4
- package/dist/server/express/index.d.mts +3 -3
- package/dist/server/express/index.d.ts +3 -3
- package/dist/server/express/index.js +20 -16
- package/dist/server/express/index.mjs +7 -3
- package/dist/server/fastify/index.d.mts +3 -3
- package/dist/server/fastify/index.d.ts +3 -3
- package/dist/server/fastify/index.js +21 -17
- package/dist/server/fastify/index.mjs +8 -4
- package/dist/server/h3/index.d.mts +3 -3
- package/dist/server/h3/index.d.ts +3 -3
- package/dist/server/h3/index.js +18 -14
- package/dist/server/h3/index.mjs +7 -3
- package/dist/server/hono/index.d.mts +3 -3
- package/dist/server/hono/index.d.ts +3 -3
- package/dist/server/hono/index.js +19 -15
- package/dist/server/hono/index.mjs +7 -3
- package/dist/server/hyper-express/index.d.mts +3 -3
- package/dist/server/hyper-express/index.d.ts +3 -3
- package/dist/server/hyper-express/index.js +19 -15
- package/dist/server/hyper-express/index.mjs +7 -3
- package/dist/server/koa/index.d.mts +3 -3
- package/dist/server/koa/index.d.ts +3 -3
- package/dist/server/koa/index.js +20 -16
- package/dist/server/koa/index.mjs +7 -3
- package/dist/test.d.mts +3 -3
- package/dist/test.d.ts +3 -3
- package/dist/{types-Dgxirc9f.d.mts → types-BvD3B5Ny.d.mts} +4 -2
- package/dist/{types-BCJhmpQh.d.ts → types-DIw7B6Up.d.ts} +4 -2
- package/dist/{types-B-ZFZajI.d.ts → types-JVT0mgLD.d.ts} +1 -1
- package/dist/{types-AgVwUXPC.d.mts → types-t9D1fU6G.d.mts} +1 -1
- 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.
|
|
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;
|
|
@@ -131,6 +131,10 @@ function Put(route = "") {
|
|
|
131
131
|
return Route(route, "put");
|
|
132
132
|
}
|
|
133
133
|
__name(Put, "Put");
|
|
134
|
+
function Search(route = "") {
|
|
135
|
+
return Route(route, "search");
|
|
136
|
+
}
|
|
137
|
+
__name(Search, "Search");
|
|
134
138
|
function Patch(route = "") {
|
|
135
139
|
return Route(route, "patch");
|
|
136
140
|
}
|
|
@@ -223,6 +227,7 @@ export {
|
|
|
223
227
|
Get,
|
|
224
228
|
Post,
|
|
225
229
|
Put,
|
|
230
|
+
Search,
|
|
226
231
|
Patch,
|
|
227
232
|
Delete,
|
|
228
233
|
Controller,
|
|
@@ -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
|
};
|
|
@@ -131,6 +131,10 @@ function Put(route = "") {
|
|
|
131
131
|
return Route(route, "put");
|
|
132
132
|
}
|
|
133
133
|
_chunkGHFSIZUOjs.__name.call(void 0, Put, "Put");
|
|
134
|
+
function Search(route = "") {
|
|
135
|
+
return Route(route, "search");
|
|
136
|
+
}
|
|
137
|
+
_chunkGHFSIZUOjs.__name.call(void 0, Search, "Search");
|
|
134
138
|
function Patch(route = "") {
|
|
135
139
|
return Route(route, "patch");
|
|
136
140
|
}
|
|
@@ -230,4 +234,5 @@ _chunkGHFSIZUOjs.__name.call(void 0, Define, "Define");
|
|
|
230
234
|
|
|
231
235
|
|
|
232
236
|
|
|
233
|
-
|
|
237
|
+
|
|
238
|
+
exports.BaseParam = BaseParam; exports.Body = Body; exports.Head = Head; exports.Query = Query; exports.Param = Param; exports.Arg = Arg; exports.Guard = Guard; exports.Plugin = Plugin; exports.Interceptor = Interceptor; exports.Filter = Filter; exports.Pipe = Pipe; exports.Route = Route; exports.Header = Header; exports.Get = Get; exports.Post = Post; exports.Put = Put; exports.Search = Search; exports.Patch = Patch; exports.Delete = Delete; exports.Controller = Controller; exports.Queue = Queue; exports.Rpc = Rpc; exports.Ctx = Ctx; exports.Define = Define;
|
package/dist/helper.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ControllerMetaData,
|
|
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,
|
|
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
|
|
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 =
|
|
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
package/dist/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { B as BaseContext, D as DefaultOptions, C as ControllerMetaData,
|
|
2
|
-
export {
|
|
3
|
-
import { G as Generator } from './core-
|
|
4
|
-
export { F as Factory, O as Options, c as createPhecda, e as emitter, i as isObject } from './core-
|
|
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-
|
|
8
|
-
export { C as CookieSerializeOptions, a as HttpOptions } from './types-
|
|
9
|
-
import { R as RpcContext } from './types-
|
|
10
|
-
export { b as RpcClientOptions, a as RpcServerOptions } from './types-
|
|
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
|
|
|
@@ -164,6 +164,7 @@ declare function Header(headers: Record<string, string>): MethodDecorator;
|
|
|
164
164
|
declare function Get(route?: string): MethodDecorator;
|
|
165
165
|
declare function Post(route?: string): MethodDecorator;
|
|
166
166
|
declare function Put(route?: string): MethodDecorator;
|
|
167
|
+
declare function Search(route?: string): MethodDecorator;
|
|
167
168
|
declare function Patch(route?: string): MethodDecorator;
|
|
168
169
|
declare function Delete(route?: string): MethodDecorator;
|
|
169
170
|
declare function Controller(prefix?: string): (target: any) => void;
|
|
@@ -246,4 +247,4 @@ type LogLevel = 'error' | 'info' | 'warn' | 'log';
|
|
|
246
247
|
declare function setLogger(logger: Record<LogLevel, (msg: string) => void>): void;
|
|
247
248
|
declare function log(msg: string, level?: LogLevel): void;
|
|
248
249
|
|
|
249
|
-
export { Arg, BadGatewayException, BadRequestException, BaseContext, BaseError, BaseParam, Body, ConflictException, Context, Controller, ControllerMetaData, Ctx, DefaultOptions, Define, Delete, Emitter, Exception, Filter, type FilterType, ForbiddenException, FrameworkException, Generator, Get, Guard, type GuardType, HTTPGenerator, Head, Header, HttpBase, HttpContext, Interceptor, type InterceptorType, InvalidInputException, MetaData, NotFoundException, PExtension, PFilter, PGuard, PInterceptor, PPipe, PPlugin, Param, Patch, PayloadLargeException, Pipe, type PipeArg, type PipeType, Plugin, Post, Put, Query, Queue, RPCGenerator, Route, Rpc, RpcBase, RpcContext, ServerBase, ServiceUnavailableException, TimeoutException, TimerException, UnauthorizedException, UndefinedException, UnsupportedMediaTypeException, ValidateException, WorkerException, addFilter, addGuard, addInterceptor, addPipe, addPlugin, defaultPipe, log, setLogger };
|
|
250
|
+
export { Arg, BadGatewayException, BadRequestException, BaseContext, BaseError, BaseParam, Body, ConflictException, Context, Controller, ControllerMetaData, Ctx, DefaultOptions, Define, Delete, Emitter, Exception, Filter, type FilterType, ForbiddenException, FrameworkException, Generator, Get, Guard, type GuardType, HTTPGenerator, Head, Header, HttpBase, HttpContext, Interceptor, type InterceptorType, InvalidInputException, MetaData, NotFoundException, PExtension, PFilter, PGuard, PInterceptor, PPipe, PPlugin, Param, Patch, PayloadLargeException, Pipe, type PipeArg, type PipeType, Plugin, Post, Put, Query, Queue, RPCGenerator, Route, Rpc, RpcBase, RpcContext, Search, ServerBase, ServiceUnavailableException, TimeoutException, TimerException, UnauthorizedException, UndefinedException, UnsupportedMediaTypeException, ValidateException, WorkerException, addFilter, addGuard, addInterceptor, addPipe, addPlugin, defaultPipe, log, setLogger };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { B as BaseContext, D as DefaultOptions, C as ControllerMetaData,
|
|
2
|
-
export {
|
|
3
|
-
import { G as Generator } from './core-
|
|
4
|
-
export { F as Factory, O as Options, c as createPhecda, e as emitter, i as isObject } from './core-
|
|
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-
|
|
8
|
-
export { C as CookieSerializeOptions, a as HttpOptions } from './types-
|
|
9
|
-
import { R as RpcContext } from './types-
|
|
10
|
-
export { b as RpcClientOptions, a as RpcServerOptions } from './types-
|
|
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
|
|
|
@@ -164,6 +164,7 @@ declare function Header(headers: Record<string, string>): MethodDecorator;
|
|
|
164
164
|
declare function Get(route?: string): MethodDecorator;
|
|
165
165
|
declare function Post(route?: string): MethodDecorator;
|
|
166
166
|
declare function Put(route?: string): MethodDecorator;
|
|
167
|
+
declare function Search(route?: string): MethodDecorator;
|
|
167
168
|
declare function Patch(route?: string): MethodDecorator;
|
|
168
169
|
declare function Delete(route?: string): MethodDecorator;
|
|
169
170
|
declare function Controller(prefix?: string): (target: any) => void;
|
|
@@ -246,4 +247,4 @@ type LogLevel = 'error' | 'info' | 'warn' | 'log';
|
|
|
246
247
|
declare function setLogger(logger: Record<LogLevel, (msg: string) => void>): void;
|
|
247
248
|
declare function log(msg: string, level?: LogLevel): void;
|
|
248
249
|
|
|
249
|
-
export { Arg, BadGatewayException, BadRequestException, BaseContext, BaseError, BaseParam, Body, ConflictException, Context, Controller, ControllerMetaData, Ctx, DefaultOptions, Define, Delete, Emitter, Exception, Filter, type FilterType, ForbiddenException, FrameworkException, Generator, Get, Guard, type GuardType, HTTPGenerator, Head, Header, HttpBase, HttpContext, Interceptor, type InterceptorType, InvalidInputException, MetaData, NotFoundException, PExtension, PFilter, PGuard, PInterceptor, PPipe, PPlugin, Param, Patch, PayloadLargeException, Pipe, type PipeArg, type PipeType, Plugin, Post, Put, Query, Queue, RPCGenerator, Route, Rpc, RpcBase, RpcContext, ServerBase, ServiceUnavailableException, TimeoutException, TimerException, UnauthorizedException, UndefinedException, UnsupportedMediaTypeException, ValidateException, WorkerException, addFilter, addGuard, addInterceptor, addPipe, addPlugin, defaultPipe, log, setLogger };
|
|
250
|
+
export { Arg, BadGatewayException, BadRequestException, BaseContext, BaseError, BaseParam, Body, ConflictException, Context, Controller, ControllerMetaData, Ctx, DefaultOptions, Define, Delete, Emitter, Exception, Filter, type FilterType, ForbiddenException, FrameworkException, Generator, Get, Guard, type GuardType, HTTPGenerator, Head, Header, HttpBase, HttpContext, Interceptor, type InterceptorType, InvalidInputException, MetaData, NotFoundException, PExtension, PFilter, PGuard, PInterceptor, PPipe, PPlugin, Param, Patch, PayloadLargeException, Pipe, type PipeArg, type PipeType, Plugin, Post, Put, Query, Queue, RPCGenerator, Route, Rpc, RpcBase, RpcContext, Search, ServerBase, ServiceUnavailableException, TimeoutException, TimerException, UnauthorizedException, UndefinedException, UnsupportedMediaTypeException, ValidateException, WorkerException, addFilter, addGuard, addInterceptor, addPipe, addPlugin, defaultPipe, log, setLogger };
|
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
|
|
|
@@ -23,13 +22,15 @@ var _chunkLYEZ6RGXjs = require('./chunk-LYEZ6RGX.js');
|
|
|
23
22
|
|
|
24
23
|
|
|
25
24
|
|
|
25
|
+
|
|
26
|
+
var _chunkXCND2QW3js = require('./chunk-XCND2QW3.js');
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
|
|
31
32
|
|
|
32
|
-
var
|
|
33
|
+
var _chunkLYEZ6RGXjs = require('./chunk-LYEZ6RGX.js');
|
|
33
34
|
|
|
34
35
|
|
|
35
36
|
|
|
@@ -55,7 +56,7 @@ var _chunkPALEEADEjs = require('./chunk-PALEEADE.js');
|
|
|
55
56
|
|
|
56
57
|
|
|
57
58
|
|
|
58
|
-
var
|
|
59
|
+
var _chunk7SYPUIBYjs = require('./chunk-7SYPUIBY.js');
|
|
59
60
|
|
|
60
61
|
|
|
61
62
|
|
|
@@ -104,7 +105,7 @@ var HttpBase = class extends ServerBase {
|
|
|
104
105
|
|
|
105
106
|
};
|
|
106
107
|
_ts_decorate([
|
|
107
|
-
|
|
108
|
+
_chunkXCND2QW3js.Ctx,
|
|
108
109
|
_ts_metadata("design:type", typeof HttpContext === "undefined" ? Object : HttpContext)
|
|
109
110
|
], HttpBase.prototype, "context", void 0);
|
|
110
111
|
var RpcBase = class extends ServerBase {
|
|
@@ -114,7 +115,7 @@ var RpcBase = class extends ServerBase {
|
|
|
114
115
|
|
|
115
116
|
};
|
|
116
117
|
_ts_decorate([
|
|
117
|
-
|
|
118
|
+
_chunkXCND2QW3js.Ctx,
|
|
118
119
|
_ts_metadata("design:type", typeof RpcContext === "undefined" ? Object : RpcContext)
|
|
119
120
|
], RpcBase.prototype, "context", void 0);
|
|
120
121
|
|
|
@@ -128,9 +129,9 @@ var PFilter = class extends ServerBase {
|
|
|
128
129
|
constructor(tag) {
|
|
129
130
|
super();
|
|
130
131
|
this.key = tag || _phecdacore.getTag.call(void 0, this);
|
|
131
|
-
|
|
132
|
+
_chunk7SYPUIBYjs.addFilter.call(void 0, this.key, this.use.bind(this));
|
|
132
133
|
this.onUnmount(() => {
|
|
133
|
-
delete
|
|
134
|
+
delete _chunk7SYPUIBYjs.Context.filterRecord[this.key];
|
|
134
135
|
});
|
|
135
136
|
}
|
|
136
137
|
};
|
|
@@ -145,9 +146,9 @@ var PGuard = class extends ServerBase {
|
|
|
145
146
|
constructor(tag) {
|
|
146
147
|
super();
|
|
147
148
|
this.key = tag || _phecdacore.getTag.call(void 0, this);
|
|
148
|
-
|
|
149
|
+
_chunk7SYPUIBYjs.addGuard.call(void 0, this.key, this.use.bind(this));
|
|
149
150
|
this.onUnmount(() => {
|
|
150
|
-
delete
|
|
151
|
+
delete _chunk7SYPUIBYjs.Context.guardRecord[this.key];
|
|
151
152
|
});
|
|
152
153
|
}
|
|
153
154
|
};
|
|
@@ -163,9 +164,9 @@ var PInterceptor = class extends ServerBase {
|
|
|
163
164
|
super();
|
|
164
165
|
this.key = tag || _phecdacore.getTag.call(void 0, this);
|
|
165
166
|
this.onUnmount(() => {
|
|
166
|
-
delete
|
|
167
|
+
delete _chunk7SYPUIBYjs.Context.interceptorRecord[this.key];
|
|
167
168
|
});
|
|
168
|
-
|
|
169
|
+
_chunk7SYPUIBYjs.addInterceptor.call(void 0, this.key, this.use.bind(this));
|
|
169
170
|
}
|
|
170
171
|
};
|
|
171
172
|
|
|
@@ -179,9 +180,9 @@ var PPipe = class extends ServerBase {
|
|
|
179
180
|
constructor(tag) {
|
|
180
181
|
super();
|
|
181
182
|
this.key = tag || _phecdacore.getTag.call(void 0, this);
|
|
182
|
-
|
|
183
|
+
_chunk7SYPUIBYjs.addPipe.call(void 0, this.key, this.use.bind(this));
|
|
183
184
|
this.onUnmount(() => {
|
|
184
|
-
delete
|
|
185
|
+
delete _chunk7SYPUIBYjs.Context.pipeRecord[this.key];
|
|
185
186
|
});
|
|
186
187
|
}
|
|
187
188
|
};
|
|
@@ -196,9 +197,9 @@ var PPlugin = class extends ServerBase {
|
|
|
196
197
|
constructor(tag) {
|
|
197
198
|
super();
|
|
198
199
|
this.key = tag || _phecdacore.getTag.call(void 0, this);
|
|
199
|
-
|
|
200
|
+
_chunk7SYPUIBYjs.addPlugin.call(void 0, this.key, this.use.bind(this));
|
|
200
201
|
this.onUnmount(() => {
|
|
201
|
-
delete
|
|
202
|
+
delete _chunk7SYPUIBYjs.Context.pluginRecord[this.key];
|
|
202
203
|
});
|
|
203
204
|
}
|
|
204
205
|
};
|
|
@@ -214,33 +215,33 @@ var PExtension = class extends ServerBase {
|
|
|
214
215
|
super();
|
|
215
216
|
const key = this.key = tag || _phecdacore.getTag.call(void 0, this);
|
|
216
217
|
if (this.pipe) {
|
|
217
|
-
|
|
218
|
+
_chunk7SYPUIBYjs.addPipe.call(void 0, key, this.pipe.bind(this));
|
|
218
219
|
this.onUnmount(() => {
|
|
219
|
-
delete
|
|
220
|
+
delete _chunk7SYPUIBYjs.Context.pipeRecord[key];
|
|
220
221
|
});
|
|
221
222
|
}
|
|
222
223
|
if (this.plugin) {
|
|
223
|
-
|
|
224
|
+
_chunk7SYPUIBYjs.addPlugin.call(void 0, key, this.plugin.bind(this));
|
|
224
225
|
this.onUnmount(() => {
|
|
225
|
-
delete
|
|
226
|
+
delete _chunk7SYPUIBYjs.Context.pluginRecord[key];
|
|
226
227
|
});
|
|
227
228
|
}
|
|
228
229
|
if (this.intercept) {
|
|
229
|
-
|
|
230
|
+
_chunk7SYPUIBYjs.addInterceptor.call(void 0, key, this.intercept.bind(this));
|
|
230
231
|
this.onUnmount(() => {
|
|
231
|
-
delete
|
|
232
|
+
delete _chunk7SYPUIBYjs.Context.interceptorRecord[key];
|
|
232
233
|
});
|
|
233
234
|
}
|
|
234
235
|
if (this.guard) {
|
|
235
|
-
|
|
236
|
+
_chunk7SYPUIBYjs.addGuard.call(void 0, key, this.guard.bind(this));
|
|
236
237
|
this.onUnmount(() => {
|
|
237
|
-
delete
|
|
238
|
+
delete _chunk7SYPUIBYjs.Context.guardRecord[key];
|
|
238
239
|
});
|
|
239
240
|
}
|
|
240
241
|
if (this.filter) {
|
|
241
|
-
|
|
242
|
+
_chunk7SYPUIBYjs.addFilter.call(void 0, key, this.filter.bind(this));
|
|
242
243
|
this.onUnmount(() => {
|
|
243
|
-
delete
|
|
244
|
+
delete _chunk7SYPUIBYjs.Context.filterRecord[key];
|
|
244
245
|
});
|
|
245
246
|
}
|
|
246
247
|
}
|
|
@@ -418,4 +419,5 @@ return ret
|
|
|
418
419
|
|
|
419
420
|
|
|
420
421
|
|
|
421
|
-
|
|
422
|
+
|
|
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,
|
|
@@ -28,8 +21,16 @@ import {
|
|
|
28
21
|
Query,
|
|
29
22
|
Queue,
|
|
30
23
|
Route,
|
|
31
|
-
Rpc
|
|
32
|
-
|
|
24
|
+
Rpc,
|
|
25
|
+
Search
|
|
26
|
+
} from "./chunk-F3W3NN7F.mjs";
|
|
27
|
+
import {
|
|
28
|
+
Factory,
|
|
29
|
+
Meta,
|
|
30
|
+
createPhecda,
|
|
31
|
+
emitter,
|
|
32
|
+
isObject
|
|
33
|
+
} from "./chunk-HDQAT2IM.mjs";
|
|
33
34
|
import {
|
|
34
35
|
BadGatewayException,
|
|
35
36
|
BadRequestException,
|
|
@@ -55,7 +56,7 @@ import {
|
|
|
55
56
|
addPipe,
|
|
56
57
|
addPlugin,
|
|
57
58
|
defaultPipe
|
|
58
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-WXFZZZRY.mjs";
|
|
59
60
|
import {
|
|
60
61
|
ERROR_SYMBOL,
|
|
61
62
|
IS_HMR,
|
|
@@ -398,6 +399,7 @@ export {
|
|
|
398
399
|
Route,
|
|
399
400
|
Rpc,
|
|
400
401
|
RpcBase,
|
|
402
|
+
Search,
|
|
401
403
|
ServerBase,
|
|
402
404
|
ServiceUnavailableException,
|
|
403
405
|
TimeoutException,
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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 };
|