phecda-server 8.6.0 → 8.7.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.
- package/bin/cli.mjs +1 -9
- package/dist/{chunk-XOWAQGBO.js → chunk-CCK6KDM3.js} +59 -65
- package/dist/{chunk-LLF55NZP.js → chunk-IBVPZSZJ.js} +6 -6
- package/dist/{chunk-URKOYTBU.mjs → chunk-ITDH2YDL.mjs} +6 -6
- package/dist/{chunk-5ZZAOOKE.js → chunk-KVWT2QTL.js} +26 -26
- package/dist/{chunk-LQFHZGVJ.mjs → chunk-LNL3MVTR.mjs} +2 -8
- package/dist/{chunk-ZHNYWZRL.mjs → chunk-T5F6Q2CZ.mjs} +1 -1
- package/dist/{chunk-MUUKKO67.mjs → chunk-UK3RDUEP.mjs} +1 -1
- package/dist/{chunk-SKGOTR4T.js → chunk-UP64TNWR.js} +20 -20
- package/dist/{core-BiS3xJKx.d.ts → core-Bd2ynlyb.d.ts} +1 -1
- package/dist/{core-BYxcQ8kf.d.mts → core-nqk9d66O.d.mts} +1 -1
- package/dist/helper.d.mts +1 -1
- package/dist/helper.d.ts +1 -1
- package/dist/helper.js +3 -3
- package/dist/helper.mjs +2 -2
- package/dist/http/elysia/index.d.mts +3 -3
- package/dist/http/elysia/index.d.ts +3 -3
- package/dist/http/elysia/index.js +40 -40
- package/dist/http/elysia/index.mjs +3 -3
- package/dist/http/express/index.d.mts +3 -3
- package/dist/http/express/index.d.ts +3 -3
- package/dist/http/express/index.js +37 -37
- package/dist/http/express/index.mjs +2 -2
- package/dist/http/fastify/index.d.mts +3 -3
- package/dist/http/fastify/index.d.ts +3 -3
- package/dist/http/fastify/index.js +38 -38
- package/dist/http/fastify/index.mjs +3 -3
- package/dist/http/h3/index.d.mts +3 -3
- package/dist/http/h3/index.d.ts +3 -3
- package/dist/http/h3/index.js +38 -38
- package/dist/http/h3/index.mjs +2 -2
- package/dist/http/hono/index.d.mts +3 -3
- package/dist/http/hono/index.d.ts +3 -3
- package/dist/http/hono/index.js +34 -34
- package/dist/http/hono/index.mjs +2 -2
- package/dist/http/hyper-express/index.d.mts +3 -3
- package/dist/http/hyper-express/index.d.ts +3 -3
- package/dist/http/hyper-express/index.js +35 -35
- package/dist/http/hyper-express/index.mjs +2 -2
- package/dist/http/koa/index.d.mts +3 -3
- package/dist/http/koa/index.d.ts +3 -3
- package/dist/http/koa/index.js +37 -37
- package/dist/http/koa/index.mjs +2 -2
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +54 -54
- package/dist/index.mjs +14 -14
- package/dist/{meta-Csp1xcSR.d.mts → meta-ZbvaS7xK.d.mts} +2 -2
- package/dist/{meta-Csp1xcSR.d.ts → meta-ZbvaS7xK.d.ts} +2 -2
- package/dist/rpc/bullmq/index.d.mts +3 -3
- package/dist/rpc/bullmq/index.d.ts +3 -3
- package/dist/rpc/bullmq/index.js +11 -11
- package/dist/rpc/bullmq/index.mjs +2 -2
- package/dist/rpc/electron/index.d.mts +3 -3
- package/dist/rpc/electron/index.d.ts +3 -3
- package/dist/rpc/electron/index.js +8 -8
- package/dist/rpc/electron/index.mjs +2 -2
- package/dist/rpc/kafka/index.d.mts +3 -3
- package/dist/rpc/kafka/index.d.ts +3 -3
- package/dist/rpc/kafka/index.js +10 -10
- package/dist/rpc/kafka/index.mjs +2 -2
- package/dist/rpc/nats/index.d.mts +3 -3
- package/dist/rpc/nats/index.d.ts +3 -3
- package/dist/rpc/nats/index.js +11 -11
- package/dist/rpc/nats/index.mjs +2 -2
- package/dist/rpc/rabbitmq/index.d.mts +3 -3
- package/dist/rpc/rabbitmq/index.d.ts +3 -3
- package/dist/rpc/rabbitmq/index.js +12 -12
- package/dist/rpc/rabbitmq/index.mjs +2 -2
- package/dist/rpc/redis/index.d.mts +3 -3
- package/dist/rpc/redis/index.d.ts +3 -3
- package/dist/rpc/redis/index.js +10 -10
- package/dist/rpc/redis/index.mjs +2 -2
- package/dist/rpc/web-ext/index.d.mts +3 -3
- package/dist/rpc/web-ext/index.d.ts +3 -3
- package/dist/rpc/web-ext/index.js +8 -8
- package/dist/rpc/web-ext/index.mjs +2 -2
- package/dist/rpc/ws/index.d.mts +3 -3
- package/dist/rpc/ws/index.d.ts +3 -3
- package/dist/rpc/ws/index.js +7 -7
- package/dist/rpc/ws/index.mjs +2 -2
- package/dist/test.d.mts +2 -2
- package/dist/test.d.ts +2 -2
- package/dist/test.js +6 -6
- package/dist/test.mjs +2 -2
- package/dist/{types-Bs64nYvd.d.ts → types-B4zY7i87.d.ts} +1 -1
- package/dist/{types-CjVwVyJT.d.mts → types-BfcBZVua.d.mts} +1 -1
- package/dist/{types-DExQe0qk.d.ts → types-CHWgzilt.d.ts} +1 -1
- package/dist/{types-DSlyrmns.d.mts → types-f_hV_rCD.d.mts} +1 -1
- package/package.json +1 -1
- package/register/index.mjs +2 -0
- package/register/loader.mjs +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import Router, { RouterParamContext } from '@koa/router';
|
|
2
2
|
import { DefaultContext, DefaultState } from 'koa';
|
|
3
|
-
import { H as HttpCtx, a as HttpOptions } from '../../types-
|
|
4
|
-
import { F as Factory } from '../../core-
|
|
3
|
+
import { H as HttpCtx, a as HttpOptions } from '../../types-BfcBZVua.mjs';
|
|
4
|
+
import { F as Factory } from '../../core-nqk9d66O.mjs';
|
|
5
5
|
import 'node:http';
|
|
6
|
-
import '../../meta-
|
|
6
|
+
import '../../meta-ZbvaS7xK.mjs';
|
|
7
7
|
import 'phecda-core';
|
|
8
8
|
|
|
9
9
|
interface KoaCtx extends HttpCtx {
|
package/dist/http/koa/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import Router, { RouterParamContext } from '@koa/router';
|
|
2
2
|
import { DefaultContext, DefaultState } from 'koa';
|
|
3
|
-
import { H as HttpCtx, a as HttpOptions } from '../../types-
|
|
4
|
-
import { F as Factory } from '../../core-
|
|
3
|
+
import { H as HttpCtx, a as HttpOptions } from '../../types-B4zY7i87.js';
|
|
4
|
+
import { F as Factory } from '../../core-Bd2ynlyb.js';
|
|
5
5
|
import 'node:http';
|
|
6
|
-
import '../../meta-
|
|
6
|
+
import '../../meta-ZbvaS7xK.js';
|
|
7
7
|
import 'phecda-core';
|
|
8
8
|
|
|
9
9
|
interface KoaCtx extends HttpCtx {
|
package/dist/http/koa/index.js
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkCCK6KDM3js = require('../../chunk-CCK6KDM3.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkIBVPZSZJjs = require('../../chunk-IBVPZSZJ.js');
|
|
12
12
|
|
|
13
13
|
// src/http/koa/bind.ts
|
|
14
14
|
var _router = require('@koa/router'); var _router2 = _interopRequireDefault(_router);
|
|
@@ -18,14 +18,14 @@ function bind(router, data, opts = {}) {
|
|
|
18
18
|
const { globalGuards, parallelRoute, globalAddons = [], parallelAddons = [], globalFilter, globalPipe, dynamic = false } = opts;
|
|
19
19
|
const { moduleMap, meta } = data;
|
|
20
20
|
const originStack = router.stack.slice(0, router.stack.length);
|
|
21
|
-
const metaMap =
|
|
21
|
+
const metaMap = _chunkCCK6KDM3js.createControllerMetaMap.call(void 0, meta, (meta2) => {
|
|
22
22
|
const { controller, http, method, tag } = meta2.data;
|
|
23
23
|
if (controller === "http" && _optionalChain([http, 'optionalAccess', _ => _.method])) {
|
|
24
24
|
debug(`register method "${method}" in module "${tag}"`);
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
|
-
|
|
28
|
+
_chunkCCK6KDM3js.detectAopDep.call(void 0, meta, {
|
|
29
29
|
addons: [
|
|
30
30
|
...globalAddons,
|
|
31
31
|
...parallelAddons
|
|
@@ -34,29 +34,29 @@ function bind(router, data, opts = {}) {
|
|
|
34
34
|
});
|
|
35
35
|
registerRoute();
|
|
36
36
|
function registerRoute() {
|
|
37
|
-
|
|
37
|
+
_chunkCCK6KDM3js.Context.applyAddons(globalAddons, router, "koa");
|
|
38
38
|
if (parallelRoute) {
|
|
39
39
|
const subRouter = new (0, _router2.default)();
|
|
40
|
-
|
|
40
|
+
_chunkCCK6KDM3js.Context.applyAddons(parallelAddons, subRouter, "koa");
|
|
41
41
|
subRouter.post(parallelRoute, async (ctx, next) => {
|
|
42
42
|
const { body } = ctx.request;
|
|
43
43
|
async function errorHandler(e) {
|
|
44
|
-
const error = await
|
|
44
|
+
const error = await _chunkCCK6KDM3js.Context.filterRecord.default(e);
|
|
45
45
|
ctx.status = error.status;
|
|
46
46
|
ctx.body = error;
|
|
47
47
|
}
|
|
48
|
-
|
|
49
|
-
if (!Array.isArray(body)) return errorHandler(new (0,
|
|
48
|
+
_chunkIBVPZSZJjs.__name.call(void 0, errorHandler, "errorHandler");
|
|
49
|
+
if (!Array.isArray(body)) return errorHandler(new (0, _chunkCCK6KDM3js.BadRequestException)("data format should be an array"));
|
|
50
50
|
try {
|
|
51
51
|
return Promise.all(body.map((item, i) => {
|
|
52
52
|
return new Promise(async (resolve) => {
|
|
53
53
|
if (!item) return resolve(null);
|
|
54
54
|
const { tag, method } = item;
|
|
55
55
|
debug(`(parallel)invoke method "${method}" in module "${tag}"`);
|
|
56
|
-
if (!metaMap.has(tag)) return resolve(await
|
|
56
|
+
if (!metaMap.has(tag)) return resolve(await _chunkCCK6KDM3js.Context.filterRecord.default(new (0, _chunkCCK6KDM3js.BadRequestException)(`module "${tag}" doesn't exist`)));
|
|
57
57
|
const meta2 = metaMap.get(tag)[method];
|
|
58
|
-
if (!meta2) return resolve(await
|
|
59
|
-
const aop =
|
|
58
|
+
if (!meta2) return resolve(await _chunkCCK6KDM3js.Context.filterRecord.default(new (0, _chunkCCK6KDM3js.BadRequestException)(`"${method}" in "${tag}" doesn't exist`)));
|
|
59
|
+
const aop = _chunkCCK6KDM3js.Context.getAop(meta2, {
|
|
60
60
|
globalGuards,
|
|
61
61
|
globalFilter,
|
|
62
62
|
globalPipe
|
|
@@ -72,18 +72,18 @@ function bind(router, data, opts = {}) {
|
|
|
72
72
|
next,
|
|
73
73
|
app: router,
|
|
74
74
|
...item,
|
|
75
|
-
getCookie: /* @__PURE__ */
|
|
76
|
-
setCookie: /* @__PURE__ */
|
|
77
|
-
delCookie: /* @__PURE__ */
|
|
75
|
+
getCookie: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, (key) => ctx.cookies.get(key), "getCookie"),
|
|
76
|
+
setCookie: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, (key, value, opts2) => ctx.cookies.set(key, value, opts2), "setCookie"),
|
|
77
|
+
delCookie: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, (key) => ctx.cookies.set(key, "", {
|
|
78
78
|
expires: /* @__PURE__ */ new Date(0)
|
|
79
79
|
}), "delCookie"),
|
|
80
|
-
redirect: /* @__PURE__ */
|
|
81
|
-
setResHeaders: /* @__PURE__ */
|
|
82
|
-
setResStatus: /* @__PURE__ */
|
|
83
|
-
getRequest: /* @__PURE__ */
|
|
84
|
-
getResponse: /* @__PURE__ */
|
|
80
|
+
redirect: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, (url) => ctx.redirect(url), "redirect"),
|
|
81
|
+
setResHeaders: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, (headers) => ctx.set(headers), "setResHeaders"),
|
|
82
|
+
setResStatus: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, (status) => ctx.status = status, "setResStatus"),
|
|
83
|
+
getRequest: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, () => ctx.req, "getRequest"),
|
|
84
|
+
getResponse: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, () => ctx.res, "getResponse")
|
|
85
85
|
};
|
|
86
|
-
const context = new (0,
|
|
86
|
+
const context = new (0, _chunkCCK6KDM3js.Context)(contextData);
|
|
87
87
|
context.run(aop, resolve, resolve);
|
|
88
88
|
});
|
|
89
89
|
})).then((ret) => {
|
|
@@ -102,15 +102,15 @@ function bind(router, data, opts = {}) {
|
|
|
102
102
|
if (!_optionalChain([http, 'optionalAccess', _2 => _2.method])) continue;
|
|
103
103
|
let aop;
|
|
104
104
|
if (!dynamic) {
|
|
105
|
-
aop =
|
|
105
|
+
aop = _chunkCCK6KDM3js.Context.getAop(meta2, {
|
|
106
106
|
globalFilter,
|
|
107
107
|
globalGuards,
|
|
108
108
|
globalPipe
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
const subRouter = new (0, _router2.default)();
|
|
112
|
-
|
|
113
|
-
router[http.method](
|
|
112
|
+
_chunkCCK6KDM3js.Context.applyAddons(addons, subRouter, "koa");
|
|
113
|
+
router[http.method](_chunkCCK6KDM3js.joinUrl.call(void 0, http.prefix, http.route), async (ctx, next) => {
|
|
114
114
|
debug(`invoke method "${method}" in module "${tag}"`);
|
|
115
115
|
const contextData = {
|
|
116
116
|
type: "koa",
|
|
@@ -126,21 +126,21 @@ function bind(router, data, opts = {}) {
|
|
|
126
126
|
body: ctx.request.body,
|
|
127
127
|
headers: ctx.headers,
|
|
128
128
|
next,
|
|
129
|
-
getCookie: /* @__PURE__ */
|
|
130
|
-
setCookie: /* @__PURE__ */
|
|
131
|
-
delCookie: /* @__PURE__ */
|
|
129
|
+
getCookie: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, (key) => ctx.cookies.get(key), "getCookie"),
|
|
130
|
+
setCookie: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, (key, value, opts2) => ctx.cookies.set(key, value, opts2), "setCookie"),
|
|
131
|
+
delCookie: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, (key) => ctx.cookies.set(key, "", {
|
|
132
132
|
expires: /* @__PURE__ */ new Date(0)
|
|
133
133
|
}), "delCookie"),
|
|
134
|
-
redirect: /* @__PURE__ */
|
|
135
|
-
setResHeaders: /* @__PURE__ */
|
|
136
|
-
setResStatus: /* @__PURE__ */
|
|
137
|
-
getRequest: /* @__PURE__ */
|
|
138
|
-
getResponse: /* @__PURE__ */
|
|
134
|
+
redirect: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, (url) => ctx.redirect(url), "redirect"),
|
|
135
|
+
setResHeaders: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, (headers) => ctx.set(headers), "setResHeaders"),
|
|
136
|
+
setResStatus: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, (status) => ctx.status = status, "setResStatus"),
|
|
137
|
+
getRequest: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, () => ctx.req, "getRequest"),
|
|
138
|
+
getResponse: /* @__PURE__ */ _chunkIBVPZSZJjs.__name.call(void 0, () => ctx.res, "getResponse")
|
|
139
139
|
};
|
|
140
|
-
const context = new (0,
|
|
140
|
+
const context = new (0, _chunkCCK6KDM3js.Context)(contextData);
|
|
141
141
|
if (http.headers) ctx.set(http.headers);
|
|
142
142
|
if (dynamic) {
|
|
143
|
-
aop =
|
|
143
|
+
aop = _chunkCCK6KDM3js.Context.getAop(meta2, {
|
|
144
144
|
globalFilter,
|
|
145
145
|
globalGuards,
|
|
146
146
|
globalPipe
|
|
@@ -159,13 +159,13 @@ function bind(router, data, opts = {}) {
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
_chunkIBVPZSZJjs.__name.call(void 0, registerRoute, "registerRoute");
|
|
163
|
+
_chunkIBVPZSZJjs.HMR.call(void 0, async () => {
|
|
164
164
|
router.stack = originStack;
|
|
165
165
|
registerRoute();
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
|
-
|
|
168
|
+
_chunkIBVPZSZJjs.__name.call(void 0, bind, "bind");
|
|
169
169
|
|
|
170
170
|
|
|
171
171
|
exports.bind = bind;
|
package/dist/http/koa/index.mjs
CHANGED
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
createControllerMetaMap,
|
|
5
5
|
detectAopDep,
|
|
6
6
|
joinUrl
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-LNL3MVTR.mjs";
|
|
8
8
|
import {
|
|
9
9
|
HMR,
|
|
10
10
|
__name
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-ITDH2YDL.mjs";
|
|
12
12
|
|
|
13
13
|
// src/http/koa/bind.ts
|
|
14
14
|
import Router from "@koa/router";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { B as BaseCtx, a as BaseError, C as ControllerMeta, D as DefaultOptions, b as ControllerMetaData, M as Meta, E as Emitter } from './meta-
|
|
2
|
-
export { c as BaseRequestMethod, d as CustomResponse, e as ERROR_SYMBOL, f as ExtractResponse, I as
|
|
3
|
-
import { G as Generator } from './core-
|
|
4
|
-
export { F as Factory, O as Options, S as ServerPhecda, d as defaultServerInject, e as emitter, p as phecdaNamespace, u as useS } from './core-
|
|
1
|
+
import { B as BaseCtx, a as BaseError, C as ControllerMeta, D as DefaultOptions, b as ControllerMetaData, M as Meta, E as Emitter } from './meta-ZbvaS7xK.mjs';
|
|
2
|
+
export { c as BaseRequestMethod, d as CustomResponse, e as ERROR_SYMBOL, f as ExtractResponse, I as IS_ONLY_GENERATE, g as IS_PURE, h as IS_RUNTIME, i as IS_STRICT, L as LOG_LEVEL, j as MetaData, P as PS_EXIT_CODE, S as ServiceMetaData } from './meta-ZbvaS7xK.mjs';
|
|
3
|
+
import { G as Generator } from './core-nqk9d66O.mjs';
|
|
4
|
+
export { F as Factory, O as Options, S as ServerPhecda, d as defaultServerInject, e as emitter, p as phecdaNamespace, u as useS } from './core-nqk9d66O.mjs';
|
|
5
5
|
import { Construct, Base } from 'phecda-core';
|
|
6
6
|
export * from 'phecda-core';
|
|
7
|
-
import { H as HttpCtx } from './types-
|
|
8
|
-
export { C as CookieSerializeOptions, a as HttpOptions } from './types-
|
|
9
|
-
import { R as RpcCtx } from './types-
|
|
10
|
-
export { a as RpcServerOptions } from './types-
|
|
7
|
+
import { H as HttpCtx } from './types-BfcBZVua.mjs';
|
|
8
|
+
export { C as CookieSerializeOptions, a as HttpOptions } from './types-BfcBZVua.mjs';
|
|
9
|
+
import { R as RpcCtx } from './types-f_hV_rCD.mjs';
|
|
10
|
+
export { a as RpcServerOptions } from './types-f_hV_rCD.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 BaseCtx, a as BaseError, C as ControllerMeta, D as DefaultOptions, b as ControllerMetaData, M as Meta, E as Emitter } from './meta-
|
|
2
|
-
export { c as BaseRequestMethod, d as CustomResponse, e as ERROR_SYMBOL, f as ExtractResponse, I as
|
|
3
|
-
import { G as Generator } from './core-
|
|
4
|
-
export { F as Factory, O as Options, S as ServerPhecda, d as defaultServerInject, e as emitter, p as phecdaNamespace, u as useS } from './core-
|
|
1
|
+
import { B as BaseCtx, a as BaseError, C as ControllerMeta, D as DefaultOptions, b as ControllerMetaData, M as Meta, E as Emitter } from './meta-ZbvaS7xK.js';
|
|
2
|
+
export { c as BaseRequestMethod, d as CustomResponse, e as ERROR_SYMBOL, f as ExtractResponse, I as IS_ONLY_GENERATE, g as IS_PURE, h as IS_RUNTIME, i as IS_STRICT, L as LOG_LEVEL, j as MetaData, P as PS_EXIT_CODE, S as ServiceMetaData } from './meta-ZbvaS7xK.js';
|
|
3
|
+
import { G as Generator } from './core-Bd2ynlyb.js';
|
|
4
|
+
export { F as Factory, O as Options, S as ServerPhecda, d as defaultServerInject, e as emitter, p as phecdaNamespace, u as useS } from './core-Bd2ynlyb.js';
|
|
5
5
|
import { Construct, Base } from 'phecda-core';
|
|
6
6
|
export * from 'phecda-core';
|
|
7
|
-
import { H as HttpCtx } from './types-
|
|
8
|
-
export { C as CookieSerializeOptions, a as HttpOptions } from './types-
|
|
9
|
-
import { R as RpcCtx } from './types-
|
|
10
|
-
export { a as RpcServerOptions } from './types-
|
|
7
|
+
import { H as HttpCtx } from './types-B4zY7i87.js';
|
|
8
|
+
export { C as CookieSerializeOptions, a as HttpOptions } from './types-B4zY7i87.js';
|
|
9
|
+
import { R as RpcCtx } from './types-CHWgzilt.js';
|
|
10
|
+
export { a as RpcServerOptions } from './types-CHWgzilt.js';
|
|
11
11
|
export { Mixin } from 'ts-mixer';
|
|
12
12
|
import 'node:http';
|
|
13
13
|
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var _chunkSKGOTR4Tjs = require('./chunk-SKGOTR4T.js');
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
|
|
@@ -25,6 +24,7 @@ var _chunkSKGOTR4Tjs = require('./chunk-SKGOTR4T.js');
|
|
|
25
24
|
|
|
26
25
|
|
|
27
26
|
|
|
27
|
+
var _chunkKVWT2QTLjs = require('./chunk-KVWT2QTL.js');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -33,7 +33,7 @@ var _chunkSKGOTR4Tjs = require('./chunk-SKGOTR4T.js');
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _chunkUP64TNWRjs = require('./chunk-UP64TNWR.js');
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
@@ -60,7 +60,7 @@ var _chunk5ZZAOOKEjs = require('./chunk-5ZZAOOKE.js');
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
var
|
|
63
|
+
var _chunkCCK6KDM3js = require('./chunk-CCK6KDM3.js');
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
|
|
@@ -75,12 +75,12 @@ var _chunkXOWAQGBOjs = require('./chunk-XOWAQGBO.js');
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
var
|
|
78
|
+
var _chunkIBVPZSZJjs = require('./chunk-IBVPZSZJ.js');
|
|
79
79
|
|
|
80
80
|
// src/types.ts
|
|
81
81
|
var CustomResponse = class {
|
|
82
82
|
static {
|
|
83
|
-
|
|
83
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "CustomResponse");
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
};
|
|
@@ -93,38 +93,38 @@ function _ts_decorate(decorators, target, key, desc) {
|
|
|
93
93
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
94
94
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
95
95
|
}
|
|
96
|
-
|
|
96
|
+
_chunkIBVPZSZJjs.__name.call(void 0, _ts_decorate, "_ts_decorate");
|
|
97
97
|
function _ts_metadata(k, v) {
|
|
98
98
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
_chunkIBVPZSZJjs.__name.call(void 0, _ts_metadata, "_ts_metadata");
|
|
101
101
|
var ServerBase = (_class = class extends _phecdacore.Base {constructor(...args2) { super(...args2); _class.prototype.__init.call(this); }
|
|
102
102
|
static {
|
|
103
|
-
|
|
103
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "ServerBase");
|
|
104
104
|
}
|
|
105
|
-
__init() {this.emitter = exports.emitter =
|
|
105
|
+
__init() {this.emitter = exports.emitter = _chunkUP64TNWRjs.emitter}
|
|
106
106
|
log(msg, level = "log") {
|
|
107
|
-
|
|
107
|
+
_chunkIBVPZSZJjs.log.call(void 0, msg, level, this.tag);
|
|
108
108
|
}
|
|
109
109
|
}, _class);
|
|
110
110
|
var HttpBase = class extends ServerBase {
|
|
111
111
|
static {
|
|
112
|
-
|
|
112
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "HttpBase");
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
};
|
|
116
116
|
_ts_decorate([
|
|
117
|
-
|
|
117
|
+
_chunkKVWT2QTLjs.Ctx,
|
|
118
118
|
_ts_metadata("design:type", typeof Ctx === "undefined" ? Object : Ctx)
|
|
119
119
|
], HttpBase.prototype, "context", void 0);
|
|
120
120
|
var RpcBase = class extends ServerBase {
|
|
121
121
|
static {
|
|
122
|
-
|
|
122
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "RpcBase");
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
};
|
|
126
126
|
_ts_decorate([
|
|
127
|
-
|
|
127
|
+
_chunkKVWT2QTLjs.Ctx,
|
|
128
128
|
_ts_metadata("design:type", typeof Ctx === "undefined" ? Object : Ctx)
|
|
129
129
|
], RpcBase.prototype, "context", void 0);
|
|
130
130
|
|
|
@@ -136,21 +136,21 @@ function _ts_decorate2(decorators, target, key, desc) {
|
|
|
136
136
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
137
137
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
_chunkIBVPZSZJjs.__name.call(void 0, _ts_decorate2, "_ts_decorate");
|
|
140
140
|
function _ts_metadata2(k, v) {
|
|
141
141
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
142
142
|
}
|
|
143
|
-
|
|
143
|
+
_chunkIBVPZSZJjs.__name.call(void 0, _ts_metadata2, "_ts_metadata");
|
|
144
144
|
var PFilter = class extends ServerBase {
|
|
145
145
|
static {
|
|
146
|
-
|
|
146
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "PFilter");
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
_init() {
|
|
150
150
|
this.key = _phecdacore.getTag.call(void 0, this);
|
|
151
|
-
|
|
151
|
+
_chunkCCK6KDM3js.addFilter.call(void 0, this.key, this.use.bind(this));
|
|
152
152
|
this.onUnmount(() => {
|
|
153
|
-
delete
|
|
153
|
+
delete _chunkCCK6KDM3js.Context.filterRecord[this.key];
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
156
|
};
|
|
@@ -169,22 +169,22 @@ function _ts_decorate3(decorators, target, key, desc) {
|
|
|
169
169
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
170
170
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
171
171
|
}
|
|
172
|
-
|
|
172
|
+
_chunkIBVPZSZJjs.__name.call(void 0, _ts_decorate3, "_ts_decorate");
|
|
173
173
|
function _ts_metadata3(k, v) {
|
|
174
174
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
175
175
|
}
|
|
176
|
-
|
|
176
|
+
_chunkIBVPZSZJjs.__name.call(void 0, _ts_metadata3, "_ts_metadata");
|
|
177
177
|
var PGuard = (_class2 = class extends ServerBase {constructor(...args3) { super(...args3); _class2.prototype.__init2.call(this); }
|
|
178
178
|
static {
|
|
179
|
-
|
|
179
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "PGuard");
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
__init2() {this.priority = 0}
|
|
183
183
|
_init() {
|
|
184
184
|
this.key = _phecdacore.getTag.call(void 0, this);
|
|
185
|
-
|
|
185
|
+
_chunkCCK6KDM3js.addGuard.call(void 0, this.key, this.use.bind(this), this.priority);
|
|
186
186
|
this.onUnmount(() => {
|
|
187
|
-
delete
|
|
187
|
+
delete _chunkCCK6KDM3js.Context.guardRecord[this.key];
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}, _class2);
|
|
@@ -203,21 +203,21 @@ function _ts_decorate4(decorators, target, key, desc) {
|
|
|
203
203
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
204
204
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
205
205
|
}
|
|
206
|
-
|
|
206
|
+
_chunkIBVPZSZJjs.__name.call(void 0, _ts_decorate4, "_ts_decorate");
|
|
207
207
|
function _ts_metadata4(k, v) {
|
|
208
208
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
209
209
|
}
|
|
210
|
-
|
|
210
|
+
_chunkIBVPZSZJjs.__name.call(void 0, _ts_metadata4, "_ts_metadata");
|
|
211
211
|
var PPipe = class extends ServerBase {
|
|
212
212
|
static {
|
|
213
|
-
|
|
213
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "PPipe");
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
_init() {
|
|
217
217
|
this.key = _phecdacore.getTag.call(void 0, this);
|
|
218
|
-
|
|
218
|
+
_chunkCCK6KDM3js.addPipe.call(void 0, this.key, this.use.bind(this));
|
|
219
219
|
this.onUnmount(() => {
|
|
220
|
-
delete
|
|
220
|
+
delete _chunkCCK6KDM3js.Context.pipeRecord[this.key];
|
|
221
221
|
});
|
|
222
222
|
}
|
|
223
223
|
};
|
|
@@ -236,22 +236,22 @@ function _ts_decorate5(decorators, target, key, desc) {
|
|
|
236
236
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
237
237
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
238
238
|
}
|
|
239
|
-
|
|
239
|
+
_chunkIBVPZSZJjs.__name.call(void 0, _ts_decorate5, "_ts_decorate");
|
|
240
240
|
function _ts_metadata5(k, v) {
|
|
241
241
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
242
242
|
}
|
|
243
|
-
|
|
243
|
+
_chunkIBVPZSZJjs.__name.call(void 0, _ts_metadata5, "_ts_metadata");
|
|
244
244
|
var PAddon = (_class3 = class extends ServerBase {constructor(...args4) { super(...args4); _class3.prototype.__init3.call(this); }
|
|
245
245
|
static {
|
|
246
|
-
|
|
246
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "PAddon");
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
__init3() {this.priority = 0}
|
|
250
250
|
_init() {
|
|
251
251
|
this.key = _phecdacore.getTag.call(void 0, this);
|
|
252
|
-
|
|
252
|
+
_chunkCCK6KDM3js.addAddon.call(void 0, this.key, this.use.bind(this), this.priority);
|
|
253
253
|
this.onUnmount(() => {
|
|
254
|
-
delete
|
|
254
|
+
delete _chunkCCK6KDM3js.Context.addonRecord[this.key];
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
257
|
}, _class3);
|
|
@@ -270,14 +270,14 @@ function _ts_decorate6(decorators, target, key, desc) {
|
|
|
270
270
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
271
271
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
272
272
|
}
|
|
273
|
-
|
|
273
|
+
_chunkIBVPZSZJjs.__name.call(void 0, _ts_decorate6, "_ts_decorate");
|
|
274
274
|
function _ts_metadata6(k, v) {
|
|
275
275
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
276
276
|
}
|
|
277
|
-
|
|
277
|
+
_chunkIBVPZSZJjs.__name.call(void 0, _ts_metadata6, "_ts_metadata");
|
|
278
278
|
var PExtension = class extends ServerBase {
|
|
279
279
|
static {
|
|
280
|
-
|
|
280
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "PExtension");
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
|
|
@@ -285,27 +285,27 @@ var PExtension = class extends ServerBase {
|
|
|
285
285
|
_init() {
|
|
286
286
|
this.key = _phecdacore.getTag.call(void 0, this);
|
|
287
287
|
if (this.pipe) {
|
|
288
|
-
|
|
288
|
+
_chunkCCK6KDM3js.addPipe.call(void 0, this.key, this.pipe.bind(this));
|
|
289
289
|
this.onUnmount(() => {
|
|
290
|
-
delete
|
|
290
|
+
delete _chunkCCK6KDM3js.Context.pipeRecord[this.key];
|
|
291
291
|
});
|
|
292
292
|
}
|
|
293
293
|
if (this.addon) {
|
|
294
|
-
|
|
294
|
+
_chunkCCK6KDM3js.addAddon.call(void 0, this.key, this.addon.bind(this), this.addonPriority);
|
|
295
295
|
this.onUnmount(() => {
|
|
296
|
-
delete
|
|
296
|
+
delete _chunkCCK6KDM3js.Context.addonRecord[this.key];
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
299
|
if (this.guard) {
|
|
300
|
-
|
|
300
|
+
_chunkCCK6KDM3js.addGuard.call(void 0, this.key, this.guard.bind(this), this.guardPriority);
|
|
301
301
|
this.onUnmount(() => {
|
|
302
|
-
delete
|
|
302
|
+
delete _chunkCCK6KDM3js.Context.guardRecord[this.key];
|
|
303
303
|
});
|
|
304
304
|
}
|
|
305
305
|
if (this.filter) {
|
|
306
|
-
|
|
306
|
+
_chunkCCK6KDM3js.addFilter.call(void 0, this.key, this.filter.bind(this));
|
|
307
307
|
this.onUnmount(() => {
|
|
308
|
-
delete
|
|
308
|
+
delete _chunkCCK6KDM3js.Context.filterRecord[this.key];
|
|
309
309
|
});
|
|
310
310
|
}
|
|
311
311
|
}
|
|
@@ -321,7 +321,7 @@ _ts_decorate6([
|
|
|
321
321
|
var _fsextra = require('fs-extra'); var _fsextra2 = _interopRequireDefault(_fsextra);
|
|
322
322
|
var Generator = (_class4 = class {
|
|
323
323
|
static {
|
|
324
|
-
|
|
324
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "Generator");
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
constructor(path) {;_class4.prototype.__init4.call(this);
|
|
@@ -339,7 +339,7 @@ var Generator = (_class4 = class {
|
|
|
339
339
|
// src/generator/rpc.ts
|
|
340
340
|
var RPCGenerator = (_class5 = class extends Generator {constructor(...args5) { super(...args5); _class5.prototype.__init5.call(this);_class5.prototype.__init6.call(this); }
|
|
341
341
|
static {
|
|
342
|
-
|
|
342
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "RPCGenerator");
|
|
343
343
|
}
|
|
344
344
|
__init5() {this.name = "RPC"}
|
|
345
345
|
__init6() {this.classMap = {}}
|
|
@@ -375,7 +375,7 @@ var RPCGenerator = (_class5 = class extends Generator {constructor(...args5) { s
|
|
|
375
375
|
// src/generator/http.ts
|
|
376
376
|
var HTTPGenerator = (_class6 = class extends Generator {constructor(...args6) { super(...args6); _class6.prototype.__init7.call(this);_class6.prototype.__init8.call(this); }
|
|
377
377
|
static {
|
|
378
|
-
|
|
378
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "HTTPGenerator");
|
|
379
379
|
}
|
|
380
380
|
__init7() {this.name = "HTTP"}
|
|
381
381
|
__init8() {this.classMap = {}}
|
|
@@ -392,7 +392,7 @@ var HTTPGenerator = (_class6 = class extends Generator {constructor(...args6) {
|
|
|
392
392
|
addMethod(args) {
|
|
393
393
|
const { http, name, method, params, tag } = args;
|
|
394
394
|
if (!_optionalChain([http, 'optionalAccess', _2 => _2.method])) return;
|
|
395
|
-
const url =
|
|
395
|
+
const url = _chunkCCK6KDM3js.joinUrl.call(void 0, http.prefix, http.route).replace(/\/\:([^\/]*)/g, (_, js) => `/{{${js}}}`);
|
|
396
396
|
if (!this.classMap[name]) this.classMap[name] = {};
|
|
397
397
|
this.classMap[name][method] = `
|
|
398
398
|
${method}(...args){
|
|
@@ -418,7 +418,7 @@ return ret
|
|
|
418
418
|
|
|
419
419
|
var OpenAPIGenerator = (_class7 = class extends Generator {constructor(...args7) { super(...args7); _class7.prototype.__init9.call(this);_class7.prototype.__init10.call(this);_class7.prototype.__init11.call(this); }
|
|
420
420
|
static {
|
|
421
|
-
|
|
421
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "OpenAPIGenerator");
|
|
422
422
|
}
|
|
423
423
|
__init9() {this.ext = ".json"}
|
|
424
424
|
__init10() {this.name = "OpenAPI"}
|
|
@@ -439,7 +439,7 @@ var OpenAPIGenerator = (_class7 = class extends Generator {constructor(...args7)
|
|
|
439
439
|
if (!_optionalChain([http, 'optionalAccess', _3 => _3.method])) return;
|
|
440
440
|
const config = _phecdacore.getMergedMeta.call(void 0, model, method).openapi;
|
|
441
441
|
if (!config) return;
|
|
442
|
-
const path =
|
|
442
|
+
const path = _chunkCCK6KDM3js.joinUrl.call(void 0, http.prefix, http.route);
|
|
443
443
|
if (!this.paths[path]) this.paths[path] = {};
|
|
444
444
|
this.paths[path][http.method] = {
|
|
445
445
|
summary: config.summary,
|
|
@@ -464,7 +464,7 @@ var OpenAPIGenerator = (_class7 = class extends Generator {constructor(...args7)
|
|
|
464
464
|
// src/generator/doc.ts
|
|
465
465
|
var DocGenerator = (_class8 = class extends Generator {
|
|
466
466
|
static {
|
|
467
|
-
|
|
467
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "DocGenerator");
|
|
468
468
|
}
|
|
469
469
|
__init12() {this.name = "DOC"}
|
|
470
470
|
__init13() {this.classMap = {}}
|
|
@@ -500,7 +500,7 @@ var DocGenerator = (_class8 = class extends Generator {
|
|
|
500
500
|
|
|
501
501
|
var GraphGenerator = (_class9 = class extends Generator {constructor(...args8) { super(...args8); _class9.prototype.__init14.call(this);_class9.prototype.__init15.call(this); }
|
|
502
502
|
static {
|
|
503
|
-
|
|
503
|
+
_chunkIBVPZSZJjs.__name.call(void 0, this, "GraphGenerator");
|
|
504
504
|
}
|
|
505
505
|
__init14() {this.ext = ".mmd"}
|
|
506
506
|
__init15() {this.name = "Graph"}
|
|
@@ -618,4 +618,4 @@ var GraphGenerator = (_class9 = class extends Generator {constructor(...args8) {
|
|
|
618
618
|
|
|
619
619
|
|
|
620
620
|
|
|
621
|
-
exports.Addon =
|
|
621
|
+
exports.Addon = _chunkKVWT2QTLjs.Addon; exports.ApiDoc = _chunkKVWT2QTLjs.ApiDoc; exports.Arg = _chunkKVWT2QTLjs.Arg; exports.BadGatewayException = _chunkCCK6KDM3js.BadGatewayException; exports.BadRequestException = _chunkCCK6KDM3js.BadRequestException; exports.BaseParam = _chunkKVWT2QTLjs.BaseParam; exports.Body = _chunkKVWT2QTLjs.Body; exports.ConflictException = _chunkCCK6KDM3js.ConflictException; exports.Context = _chunkCCK6KDM3js.Context; exports.Controller = _chunkKVWT2QTLjs.Controller; exports.Ctx = _chunkKVWT2QTLjs.Ctx; exports.CustomResponse = CustomResponse; exports.Define = _chunkKVWT2QTLjs.Define; exports.Delete = _chunkKVWT2QTLjs.Delete; exports.DocGenerator = DocGenerator; exports.ERROR_SYMBOL = _chunkIBVPZSZJjs.ERROR_SYMBOL; exports.Exception = _chunkCCK6KDM3js.Exception; exports.Factory = _chunkUP64TNWRjs.Factory; exports.Filter = _chunkKVWT2QTLjs.Filter; exports.ForbiddenException = _chunkCCK6KDM3js.ForbiddenException; exports.FrameworkException = _chunkCCK6KDM3js.FrameworkException; exports.Generator = Generator; exports.Get = _chunkKVWT2QTLjs.Get; exports.GraphGenerator = GraphGenerator; exports.Guard = _chunkKVWT2QTLjs.Guard; exports.HTTPGenerator = HTTPGenerator; exports.Head = _chunkKVWT2QTLjs.Head; exports.Header = _chunkKVWT2QTLjs.Header; exports.HttpBase = HttpBase; exports.IS_ONLY_GENERATE = _chunkIBVPZSZJjs.IS_ONLY_GENERATE; exports.IS_PURE = _chunkIBVPZSZJjs.IS_PURE; exports.IS_RUNTIME = _chunkIBVPZSZJjs.IS_RUNTIME; exports.IS_STRICT = _chunkIBVPZSZJjs.IS_STRICT; exports.InvalidInputException = _chunkCCK6KDM3js.InvalidInputException; exports.LOG_LEVEL = _chunkIBVPZSZJjs.LOG_LEVEL; exports.Meta = _chunkUP64TNWRjs.Meta; exports.Mixin = _chunkIBVPZSZJjs.Mixin; exports.NotFoundException = _chunkCCK6KDM3js.NotFoundException; exports.OpenAPIGenerator = OpenAPIGenerator; exports.PAddon = PAddon; exports.PExtension = PExtension; exports.PFilter = PFilter; exports.PGuard = PGuard; exports.PPipe = PPipe; exports.PS_EXIT_CODE = _chunkIBVPZSZJjs.PS_EXIT_CODE; exports.Param = _chunkKVWT2QTLjs.Param; exports.Patch = _chunkKVWT2QTLjs.Patch; exports.PayloadLargeException = _chunkCCK6KDM3js.PayloadLargeException; exports.Pipe = _chunkKVWT2QTLjs.Pipe; exports.Post = _chunkKVWT2QTLjs.Post; exports.Put = _chunkKVWT2QTLjs.Put; exports.Query = _chunkKVWT2QTLjs.Query; exports.Queue = _chunkKVWT2QTLjs.Queue; exports.RPCGenerator = RPCGenerator; exports.Route = _chunkKVWT2QTLjs.Route; exports.Rpc = _chunkKVWT2QTLjs.Rpc; exports.RpcBase = RpcBase; exports.Search = _chunkKVWT2QTLjs.Search; exports.ServerBase = ServerBase; exports.ServerPhecda = _chunkUP64TNWRjs.ServerPhecda; exports.ServiceUnavailableException = _chunkCCK6KDM3js.ServiceUnavailableException; exports.TimeoutException = _chunkCCK6KDM3js.TimeoutException; exports.TimerException = _chunkCCK6KDM3js.TimerException; exports.UnauthorizedException = _chunkCCK6KDM3js.UnauthorizedException; exports.UndefinedException = _chunkCCK6KDM3js.UndefinedException; exports.UnsupportedMediaTypeException = _chunkCCK6KDM3js.UnsupportedMediaTypeException; exports.UploadFile = _chunkKVWT2QTLjs.UploadFile; exports.ValidateException = _chunkCCK6KDM3js.ValidateException; exports.WorkerException = _chunkCCK6KDM3js.WorkerException; exports.addAddon = _chunkCCK6KDM3js.addAddon; exports.addFilter = _chunkCCK6KDM3js.addFilter; exports.addGuard = _chunkCCK6KDM3js.addGuard; exports.addPipe = _chunkCCK6KDM3js.addPipe; exports.defaultFilter = _chunkCCK6KDM3js.defaultFilter; exports.defaultPipe = _chunkCCK6KDM3js.defaultPipe; exports.defaultServerInject = _chunkUP64TNWRjs.defaultServerInject; exports.emitter = _chunkUP64TNWRjs.emitter; exports.getLogger = _chunkIBVPZSZJjs.getLogger; exports.log = _chunkIBVPZSZJjs.log; exports.phecdaNamespace = _chunkUP64TNWRjs.phecdaNamespace; exports.runMiddleware = _chunkIBVPZSZJjs.runMiddleware; exports.setLogger = _chunkIBVPZSZJjs.setLogger; exports.useS = _chunkUP64TNWRjs.useS;
|