phecda-server 8.5.2 → 8.5.4

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 (48) hide show
  1. package/bin/cli.mjs +264 -261
  2. package/dist/{core-mOKtuP0F.d.mts → core-BYxcQ8kf.d.mts} +1 -1
  3. package/dist/{core-qL97H3d_.d.ts → core-BiS3xJKx.d.ts} +1 -1
  4. package/dist/helper.d.mts +1 -1
  5. package/dist/helper.d.ts +1 -1
  6. package/dist/http/elysia/index.d.mts +3 -3
  7. package/dist/http/elysia/index.d.ts +3 -3
  8. package/dist/http/express/index.d.mts +4 -4
  9. package/dist/http/express/index.d.ts +4 -4
  10. package/dist/http/fastify/index.d.mts +4 -4
  11. package/dist/http/fastify/index.d.ts +4 -4
  12. package/dist/http/h3/index.d.mts +4 -4
  13. package/dist/http/h3/index.d.ts +4 -4
  14. package/dist/http/hono/index.d.mts +4 -4
  15. package/dist/http/hono/index.d.ts +4 -4
  16. package/dist/http/hyper-express/index.d.mts +4 -4
  17. package/dist/http/hyper-express/index.d.ts +4 -4
  18. package/dist/http/koa/index.d.mts +3 -3
  19. package/dist/http/koa/index.d.ts +3 -3
  20. package/dist/index.d.mts +8 -8
  21. package/dist/index.d.ts +8 -8
  22. package/dist/{meta-EGS-4cNY.d.mts → meta-Csp1xcSR.d.mts} +1 -1
  23. package/dist/{meta-EGS-4cNY.d.ts → meta-Csp1xcSR.d.ts} +1 -1
  24. package/dist/rpc/bullmq/index.d.mts +3 -3
  25. package/dist/rpc/bullmq/index.d.ts +3 -3
  26. package/dist/rpc/electron/index.d.mts +3 -3
  27. package/dist/rpc/electron/index.d.ts +3 -3
  28. package/dist/rpc/kafka/index.d.mts +3 -3
  29. package/dist/rpc/kafka/index.d.ts +3 -3
  30. package/dist/rpc/nats/index.d.mts +3 -3
  31. package/dist/rpc/nats/index.d.ts +3 -3
  32. package/dist/rpc/rabbitmq/index.d.mts +3 -3
  33. package/dist/rpc/rabbitmq/index.d.ts +3 -3
  34. package/dist/rpc/redis/index.d.mts +3 -3
  35. package/dist/rpc/redis/index.d.ts +3 -3
  36. package/dist/rpc/web-ext/index.d.mts +11 -1
  37. package/dist/rpc/web-ext/index.d.ts +11 -1
  38. package/dist/rpc/web-ext/index.js +71 -1
  39. package/dist/rpc/web-ext/index.mjs +71 -0
  40. package/dist/rpc/ws/index.d.mts +3 -3
  41. package/dist/rpc/ws/index.d.ts +3 -3
  42. package/dist/test.d.mts +2 -2
  43. package/dist/test.d.ts +2 -2
  44. package/dist/{types-DGUpAXle.d.ts → types-Bs64nYvd.d.ts} +1 -1
  45. package/dist/{types-BkU6kQWV.d.mts → types-CjVwVyJT.d.mts} +1 -1
  46. package/dist/{types-NkRE3d35.d.ts → types-DExQe0qk.d.ts} +1 -1
  47. package/dist/{types-CoOCYe_X.d.mts → types-DSlyrmns.d.mts} +1 -1
  48. package/package.json +10 -1
package/bin/cli.mjs CHANGED
@@ -1,262 +1,265 @@
1
1
  #! /usr/bin/env node
2
- import { fork } from 'child_process'
3
- import { createRequire } from 'module'
4
- import pc from 'picocolors'
5
- import cac from 'cac'
6
- import fse from 'fs-extra'
7
- import { log as psLog } from '../dist/index.mjs'
8
-
9
- const log = (...args) => {
10
- if (process.env.PS_BAN_CLI_LOG)
11
- return
12
-
13
- psLog(...args)
14
- }
15
-
16
- const cli = cac('phecda').option('-c,--config <config>', 'config file', {
17
- default: 'ps.json',
18
- }).option('-n,--node-args <node-args>', 'args that will be passed to nodejs', {
19
- default: '',
20
- })
21
-
22
- const require = createRequire(import.meta.url)
23
- let child
24
-
25
- let closePromise
26
- const nodeVersion = parseFloat(process.version.slice(1))
27
-
28
- if (nodeVersion < 18.19) {
29
- log(
30
- `Nodejs version less than 18.19(current is ${nodeVersion}) can't support hmr`,
31
- 'yellow',
32
- )
33
- }
34
-
35
- function startChild(file, args) {
36
- child = globalThis.PS_CREATE_CHILD?.() || fork(file, {
37
- env: { ...process.env },
38
- stdio: 'inherit',
39
- execArgv: [
40
- ...args,
41
- nodeVersion < 18.19
42
- ? '--loader=phecda-server/register/loader.mjs'
43
- : '--import=phecda-server/register',
44
- ],
45
- })
46
-
47
- closePromise = new Promise((resolve) => {
48
- child.once('exit', (code) => {
49
- if (code === 4171)
50
- startChild(file, args)
51
-
52
- if (code === 4172)
53
- return process.exit()
54
-
55
- child = undefined
56
-
57
- resolve()
58
- })
59
- })
60
- }
61
-
62
- function exit() {
63
- log('process exit')
64
-
65
- if (child) {
66
- child.kill()
67
- process.exit(0)
68
- }
69
- else {
70
- process.exit(0)
71
- }
72
- }
73
- process.on('SIGINT', () => {
74
- process.exit()
75
- })
76
-
77
- cli
78
- .command('init [root]', 'init config file')
79
- // .allowUnknownOptions()
80
- .option('-t,--tsconfig <tsconfig>', 'init tsconfig file', {
81
- default: 'tsconfig.json',
82
- })
83
- .action(async (root, options) => {
84
- if (root)
85
- process.chdir(root)
86
-
87
- let hasUnimport
88
-
89
- try {
90
- await import('unimport')
91
- hasUnimport = true
92
- }
93
-
94
- catch (e) {
95
- hasUnimport = false
96
- }
97
-
98
- if (hasUnimport) {
99
- try {
100
- await import('phecda-core')
101
- } catch (e) {
102
- log('please install \'phecda-core\' when using unimport', 'warn')
103
- }
104
- }
105
-
106
- const tsconfigPath = options.tsconfig
107
- const psconfigPath = process.env.PS_CONFIG_FILE || options.config
108
-
109
- if (!fse.existsSync(tsconfigPath)) {
110
- log(`create ${tsconfigPath}`)
111
-
112
- await fse.outputJSON(
113
- tsconfigPath,
114
- {
115
- compilerOptions: {
116
- target: 'esnext',
117
- useDefineForClassFields: false,
118
- experimentalDecorators: true,
119
- emitDecoratorMetadata: true,
120
- module: 'esnext',
121
- lib: ['esnext', 'DOM'],
122
- paths: {
123
-
124
- },
125
- strictPropertyInitialization: false,
126
- moduleResolution: 'bundler',
127
- strict: true,
128
- resolveJsonModule: true,
129
- esModuleInterop: true,
130
- noEmit: true,
131
- noUnusedLocals: true,
132
- noUnusedParameters: true,
133
- noImplicitReturns: true,
134
- skipLibCheck: true,
135
- },
136
- include: ['.', hasUnimport ? (process.env.PS_DTS_PATH || 'ps.d.ts') : false].filter(Boolean),
137
- },
138
-
139
- )
140
- }
141
-
142
- if (!fse.existsSync(psconfigPath)) {
143
- log(`create ${psconfigPath}`)
144
-
145
- await fse.outputJSON(psconfigPath, {
146
- $schema: './node_modules/phecda-server/assets/schema.json',
147
- resolve: [
148
- {
149
- source: 'controller',
150
- importer: 'http',
151
- path: '.ps/http.js',
152
- },
153
- {
154
- source: 'rpc',
155
- importer: 'client',
156
- path: '.ps/rpc.js',
157
- },
158
- ],
159
- unimport: hasUnimport && {
160
- dirs: [
161
- ],
162
- presets: [
163
- {
164
- package: 'phecda-server'
165
- }
166
- ],
167
- dirsScanOptions: {
168
- filePatterns: [
169
- '*.{service,controller,module,rpc,solo,guard,extension,pipe,filter,addon}.ts',
170
- ],
171
- },
172
- },
173
- moduleFile: [],
174
- })
175
- }
176
-
177
- log('init finish')
178
- })
179
-
180
- cli
181
- .command('<file> [root]', 'run file')
182
- .alias('run')
183
- // .allowUnknownOptions()
184
- .option('-p,--prod', 'prod mode', {
185
- default: false,
186
- })
187
- .action((file, root, options) => {
188
- const nodeArgs = options.nodeArgs.split(' ').filter(Boolean)
189
-
190
- if (root)
191
- process.chdir(root)
192
-
193
- if (options.prod)
194
- process.env.NODE_ENV = 'production'
195
- else
196
- process.env.NODE_ENV = 'development'
197
-
198
- process.env.PS_CONFIG_FILE = process.env.PS_CONFIG_FILE || options.config
199
-
200
- log('process start!')
201
-
202
- startChild(file, nodeArgs)
203
- console.log(`${pc.green('->')} press ${pc.green('e')} to exit`)
204
- console.log(`${pc.green('->')} press ${pc.green('r')} to relaunch`)
205
- console.log(`${pc.green('->')} press ${pc.green('c')} to clear terminal`)
206
- console.log(`${pc.green('->')} press ${pc.green('i')} to debug`)
207
-
208
- process.stdin.on('data', async (data) => {
209
- const args = [...nodeArgs]
210
- const input = data.toString().trim().toLocaleLowerCase()
211
- if (input === 'r') {
212
- if (child) {
213
- await child.kill()
214
- if (closePromise)
215
- await closePromise
216
- log('relaunch...')
217
- startChild(file, args)
218
- }
219
- else {
220
- log('relaunch...')
221
- startChild(file, args)
222
- }
223
- }
224
- if (input === 'e')
225
- exit()
226
-
227
- if (input === 'c')
228
- console.clear()
229
-
230
- if (input === 'i' || input.startsWith('i ')) {
231
- const [, arg] = input.split(' ')
232
-
233
- if (child) {
234
- child.send({
235
- type: 'inspect',
236
- arg
237
- })
238
- } else {
239
- args.push(`--inspect${arg ? `=${arg}` : ''}`)
240
- startChild(file, args)
241
- }
242
- }
243
- })
244
- })
245
-
246
- cli
247
- .command('generate <file> [root]', 'generate code(mainly for ci)')
248
- // .allowUnknownOptions()
249
- .action((file, root, options) => {
250
- const nodeArgs = options.nodeArgs.split(' ').filter(Boolean)
251
-
252
- if (root)
253
- process.chdir(root)
254
- process.env.PS_GENERATE = 'true'
255
- process.env.PS_CONFIG_FILE = process.env.PS_CONFIG_FILE || options.config
256
- startChild(file, nodeArgs)
257
- })
258
-
259
- cli.help()
260
- cli.version(require('../package.json').version)
261
-
262
- cli.parse()
2
+ import { fork } from 'child_process'
3
+ import { createRequire } from 'module'
4
+ import pc from 'picocolors'
5
+ import cac from 'cac'
6
+ import fse from 'fs-extra'
7
+ import { log as psLog } from '../dist/index.mjs'
8
+
9
+ const log = (...args) => {
10
+ if (process.env.PS_BAN_CLI_LOG)
11
+ return
12
+
13
+ psLog(...args)
14
+ }
15
+
16
+ const cli = cac('phecda').option('-c,--config <config>', 'config file', {
17
+ default: 'ps.json',
18
+ }).option('-n,--node-args <node-args>', 'args that will be passed to nodejs', {
19
+ default: '',
20
+ })
21
+
22
+ const require = createRequire(import.meta.url)
23
+ let child
24
+
25
+ let closePromise
26
+ const nodeVersion = parseFloat(process.version.slice(1))
27
+
28
+
29
+ const PORT_RELEASE_DELAY = process.env.PS_PORT_RELEASE_DELAY
30
+ ? Number(process.env.PS_PORT_RELEASE_DELAY)
31
+ : 50
32
+
33
+ if (nodeVersion < 18.19) {
34
+ log(
35
+ `Nodejs version less than 18.19(current is ${nodeVersion}) can't support hmr`,
36
+ 'yellow',
37
+ )
38
+ }
39
+
40
+ function startChild(file, args) {
41
+ child = fork(file, {
42
+ env: { ...process.env },
43
+ stdio: 'inherit',
44
+ execArgv: [
45
+ ...args,
46
+ nodeVersion < 18.19
47
+ ? '--loader=phecda-server/register/loader.mjs'
48
+ : '--import=phecda-server/register',
49
+ ],
50
+ })
51
+
52
+ closePromise = new Promise((resolve) => {
53
+ child.once('exit', (code) => {
54
+ setTimeout(() => {
55
+
56
+ child = undefined
57
+ resolve()
58
+
59
+ if (code === 4171)
60
+ startChild(file, args)
61
+
62
+ if (code === 4172)
63
+ return process.exit()
64
+ }, PORT_RELEASE_DELAY)
65
+ })
66
+ })
67
+ }
68
+
69
+ function exit() {
70
+ log('process exit')
71
+
72
+ if (child) {
73
+ child.kill()
74
+ process.exit(0)
75
+ }
76
+ else {
77
+ process.exit(0)
78
+ }
79
+ }
80
+ process.on('SIGINT', () => {
81
+ process.exit()
82
+ })
83
+
84
+ cli
85
+ .command('init [root]', 'init config file')
86
+ // .allowUnknownOptions()
87
+ .option('-t,--tsconfig <tsconfig>', 'init tsconfig file', {
88
+ default: 'tsconfig.json',
89
+ })
90
+ .action(async (root, options) => {
91
+ if (root)
92
+ process.chdir(root)
93
+
94
+ let hasUnimport
95
+
96
+ try {
97
+ await import('unimport')
98
+ hasUnimport = true
99
+ }
100
+
101
+ catch (e) {
102
+ hasUnimport = false
103
+ }
104
+
105
+ if (hasUnimport) {
106
+ try {
107
+ await import('phecda-core')
108
+ } catch (e) {
109
+ log('please install \'phecda-core\' when using unimport', 'warn')
110
+ }
111
+ }
112
+
113
+ const tsconfigPath = options.tsconfig
114
+ const psconfigPath = process.env.PS_CONFIG_FILE || options.config
115
+
116
+ if (!fse.existsSync(tsconfigPath)) {
117
+ log(`create ${tsconfigPath}`)
118
+
119
+ await fse.outputJSON(
120
+ tsconfigPath,
121
+ {
122
+ compilerOptions: {
123
+ target: 'esnext',
124
+ useDefineForClassFields: false,
125
+ experimentalDecorators: true,
126
+ emitDecoratorMetadata: true,
127
+ module: 'esnext',
128
+ lib: ['esnext', 'DOM'],
129
+ paths: {
130
+
131
+ },
132
+ strictPropertyInitialization: false,
133
+ moduleResolution: 'bundler',
134
+ strict: true,
135
+ resolveJsonModule: true,
136
+ esModuleInterop: true,
137
+ noEmit: true,
138
+ noUnusedLocals: true,
139
+ noUnusedParameters: true,
140
+ noImplicitReturns: true,
141
+ skipLibCheck: true,
142
+ },
143
+ include: ['.', hasUnimport ? (process.env.PS_DTS_PATH || 'ps.d.ts') : false].filter(Boolean),
144
+ },
145
+
146
+ )
147
+ }
148
+
149
+ if (!fse.existsSync(psconfigPath)) {
150
+ log(`create ${psconfigPath}`)
151
+
152
+ await fse.outputJSON(psconfigPath, {
153
+ $schema: './node_modules/phecda-server/assets/schema.json',
154
+ resolve: [
155
+ {
156
+ source: 'controller',
157
+ importer: 'http',
158
+ path: '.ps/http.js',
159
+ },
160
+ {
161
+ source: 'rpc',
162
+ importer: 'client',
163
+ path: '.ps/rpc.js',
164
+ },
165
+ ],
166
+ unimport: hasUnimport && {
167
+ dirs: [
168
+ ],
169
+ presets: [
170
+ {
171
+ package: 'phecda-server'
172
+ }
173
+ ],
174
+ dirsScanOptions: {
175
+ filePatterns: [
176
+ '*.{service,controller,module,rpc,solo,guard,extension,pipe,filter,addon}.ts',
177
+ ],
178
+ },
179
+ },
180
+ moduleFile: [],
181
+ })
182
+ }
183
+
184
+ log('init finish')
185
+ })
186
+
187
+ cli
188
+ .command('<file> [root]', 'run file')
189
+ .alias('run')
190
+ // .allowUnknownOptions()
191
+ .option('-p,--prod', 'prod mode', {
192
+ default: false,
193
+ })
194
+ .action((file, root, options) => {
195
+ const nodeArgs = options.nodeArgs.split(' ').filter(Boolean)
196
+
197
+ if (root)
198
+ process.chdir(root)
199
+
200
+ if (options.prod)
201
+ process.env.NODE_ENV = 'production'
202
+ else
203
+ process.env.NODE_ENV = 'development'
204
+
205
+ process.env.PS_CONFIG_FILE = process.env.PS_CONFIG_FILE || options.config
206
+
207
+ log('process start!')
208
+
209
+ startChild(file, nodeArgs)
210
+ console.log(`${pc.green('->')} press ${pc.green('e')} to exit`)
211
+ console.log(`${pc.green('->')} press ${pc.green('r')} to relaunch`)
212
+ console.log(`${pc.green('->')} press ${pc.green('c')} to clear terminal`)
213
+ console.log(`${pc.green('->')} press ${pc.green('i')} to debug`)
214
+
215
+ process.stdin.on('data', async (data) => {
216
+ const args = [...nodeArgs]
217
+ const input = data.toString().trim().toLocaleLowerCase()
218
+ if (input === 'r') {
219
+ if (child) {
220
+ await child.kill()
221
+ if (closePromise)
222
+ await closePromise
223
+ }
224
+ log('relaunch...')
225
+ startChild(file, args)
226
+ }
227
+ if (input === 'e')
228
+ exit()
229
+
230
+ if (input === 'c')
231
+ console.clear()
232
+
233
+ if (input === 'i' || input.startsWith('i ')) {
234
+ const [, arg] = input.split(' ')
235
+
236
+ if (child) {
237
+ child.send({
238
+ type: 'inspect',
239
+ arg
240
+ })
241
+ } else {
242
+ args.push(`--inspect${arg ? `=${arg}` : ''}`)
243
+ startChild(file, args)
244
+ }
245
+ }
246
+ })
247
+ })
248
+
249
+ cli
250
+ .command('generate <file> [root]', 'generate code(mainly for ci)')
251
+ // .allowUnknownOptions()
252
+ .action((file, root, options) => {
253
+ const nodeArgs = options.nodeArgs.split(' ').filter(Boolean)
254
+
255
+ if (root)
256
+ process.chdir(root)
257
+ process.env.PS_GENERATE = 'true'
258
+ process.env.PS_CONFIG_FILE = process.env.PS_CONFIG_FILE || options.config
259
+ startChild(file, nodeArgs)
260
+ })
261
+
262
+ cli.help()
263
+ cli.version(require('../package.json').version)
264
+
265
+ cli.parse()
@@ -1,5 +1,5 @@
1
1
  import { Construct } from 'phecda-core';
2
- import { M as Meta, E as Emitter } from './meta-EGS-4cNY.mjs';
2
+ import { M as Meta, E as Emitter } from './meta-Csp1xcSR.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 Meta, E as Emitter } from './meta-EGS-4cNY.js';
2
+ import { M as Meta, E as Emitter } from './meta-Csp1xcSR.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 { M as Meta, a as ControllerMeta } from './meta-EGS-4cNY.mjs';
1
+ import { M as Meta, C as ControllerMeta } from './meta-Csp1xcSR.mjs';
2
2
  import { Construct } from 'phecda-core';
3
3
 
4
4
  declare function HMR(cb: (oldModels: Construct[], newModels: Construct[]) => any): void;
package/dist/helper.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { M as Meta, a as ControllerMeta } from './meta-EGS-4cNY.js';
1
+ import { M as Meta, C as ControllerMeta } from './meta-Csp1xcSR.js';
2
2
  import { Construct } from 'phecda-core';
3
3
 
4
4
  declare function HMR(cb: (oldModels: Construct[], newModels: Construct[]) => any): void;
@@ -1,9 +1,9 @@
1
1
  import { Elysia as Elysia$1, Context } from 'elysia';
2
2
  import { AnyLocalHook } from 'elysia/dist/types';
3
- import { H as HttpCtx, a as HttpOptions } from '../../types-BkU6kQWV.mjs';
4
- import { F as Factory } from '../../core-mOKtuP0F.mjs';
3
+ import { H as HttpCtx, a as HttpOptions } from '../../types-CjVwVyJT.mjs';
4
+ import { F as Factory } from '../../core-BYxcQ8kf.mjs';
5
5
  import 'node:http';
6
- import '../../meta-EGS-4cNY.mjs';
6
+ import '../../meta-Csp1xcSR.mjs';
7
7
  import 'phecda-core';
8
8
 
9
9
  interface ElysiaCtx extends HttpCtx {
@@ -1,9 +1,9 @@
1
1
  import { Elysia as Elysia$1, Context } from 'elysia';
2
2
  import { AnyLocalHook } from 'elysia/dist/types';
3
- import { H as HttpCtx, a as HttpOptions } from '../../types-DGUpAXle.js';
4
- import { F as Factory } from '../../core-qL97H3d_.js';
3
+ import { H as HttpCtx, a as HttpOptions } from '../../types-Bs64nYvd.js';
4
+ import { F as Factory } from '../../core-BiS3xJKx.js';
5
5
  import 'node:http';
6
- import '../../meta-EGS-4cNY.js';
6
+ import '../../meta-Csp1xcSR.js';
7
7
  import 'phecda-core';
8
8
 
9
9
  interface ElysiaCtx extends HttpCtx {
@@ -1,8 +1,8 @@
1
- import { Request, Response, Router, RequestHandler } from 'express';
2
- import { H as HttpCtx, a as HttpOptions } from '../../types-BkU6kQWV.mjs';
3
- import { F as Factory } from '../../core-mOKtuP0F.mjs';
1
+ import { RequestHandler, Request, Response, Router } from 'express';
2
+ import { H as HttpCtx, a as HttpOptions } from '../../types-CjVwVyJT.mjs';
3
+ import { F as Factory } from '../../core-BYxcQ8kf.mjs';
4
4
  import 'node:http';
5
- import '../../meta-EGS-4cNY.mjs';
5
+ import '../../meta-Csp1xcSR.mjs';
6
6
  import 'phecda-core';
7
7
 
8
8
  interface ExpressCtx extends HttpCtx {
@@ -1,8 +1,8 @@
1
- import { Request, Response, Router, RequestHandler } from 'express';
2
- import { H as HttpCtx, a as HttpOptions } from '../../types-DGUpAXle.js';
3
- import { F as Factory } from '../../core-qL97H3d_.js';
1
+ import { RequestHandler, Request, Response, Router } from 'express';
2
+ import { H as HttpCtx, a as HttpOptions } from '../../types-Bs64nYvd.js';
3
+ import { F as Factory } from '../../core-BiS3xJKx.js';
4
4
  import 'node:http';
5
- import '../../meta-EGS-4cNY.js';
5
+ import '../../meta-Csp1xcSR.js';
6
6
  import 'phecda-core';
7
7
 
8
8
  interface ExpressCtx extends HttpCtx {
@@ -1,8 +1,8 @@
1
- import { FastifyRequest, FastifyReply, FastifyInstance, FastifyPluginCallback, FastifyRegisterOptions, FastifyPluginOptions, RouteShorthandOptions } from 'fastify';
2
- import { H as HttpCtx, a as HttpOptions } from '../../types-BkU6kQWV.mjs';
3
- import { F as Factory } from '../../core-mOKtuP0F.mjs';
1
+ import { FastifyPluginCallback, RouteShorthandOptions, FastifyRequest, FastifyReply, FastifyInstance, FastifyRegisterOptions, FastifyPluginOptions } from 'fastify';
2
+ import { H as HttpCtx, a as HttpOptions } from '../../types-CjVwVyJT.mjs';
3
+ import { F as Factory } from '../../core-BYxcQ8kf.mjs';
4
4
  import 'node:http';
5
- import '../../meta-EGS-4cNY.mjs';
5
+ import '../../meta-Csp1xcSR.mjs';
6
6
  import 'phecda-core';
7
7
 
8
8
  interface FastifyCtx extends HttpCtx {
@@ -1,8 +1,8 @@
1
- import { FastifyRequest, FastifyReply, FastifyInstance, FastifyPluginCallback, FastifyRegisterOptions, FastifyPluginOptions, RouteShorthandOptions } from 'fastify';
2
- import { H as HttpCtx, a as HttpOptions } from '../../types-DGUpAXle.js';
3
- import { F as Factory } from '../../core-qL97H3d_.js';
1
+ import { FastifyPluginCallback, RouteShorthandOptions, FastifyRequest, FastifyReply, FastifyInstance, FastifyRegisterOptions, FastifyPluginOptions } from 'fastify';
2
+ import { H as HttpCtx, a as HttpOptions } from '../../types-Bs64nYvd.js';
3
+ import { F as Factory } from '../../core-BiS3xJKx.js';
4
4
  import 'node:http';
5
- import '../../meta-EGS-4cNY.js';
5
+ import '../../meta-Csp1xcSR.js';
6
6
  import 'phecda-core';
7
7
 
8
8
  interface FastifyCtx extends HttpCtx {