bxo 0.0.3 → 0.0.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.
- package/index.ts +0 -6
- package/package.json +1 -1
package/index.ts
CHANGED
@@ -30,10 +30,6 @@ export type Context<TConfig extends RouteConfig = {}> = {
|
|
30
30
|
// Handler function type
|
31
31
|
type Handler<TConfig extends RouteConfig = {}> = (ctx: Context<TConfig>) => Promise<any> | any;
|
32
32
|
|
33
|
-
// Note: Plugin interface moved to plugins/index.ts as PluginFactory type
|
34
|
-
|
35
|
-
|
36
|
-
|
37
33
|
// Route definition
|
38
34
|
interface Route {
|
39
35
|
method: string;
|
@@ -555,7 +551,5 @@ const error = (error: Error, status: number = 500) => {
|
|
555
551
|
// Export Zod for convenience
|
556
552
|
export { z, error };
|
557
553
|
|
558
|
-
export type { PluginFactory } from './plugins';
|
559
|
-
|
560
554
|
// Export types for external use
|
561
555
|
export type { RouteConfig };
|