@kevisual/router 0.0.55 → 0.0.56

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.
@@ -115,6 +115,9 @@ type Skill<T = SimpleObject$1> = {
115
115
  [key: string]: any;
116
116
  };
117
117
  } & T;
118
+ declare const tool: {
119
+ schema: typeof z;
120
+ };
118
121
  /** */
119
122
  declare const createSkill: <T = SimpleObject$1>(skill: Skill<T>) => Skill<T>;
120
123
  type RouteInfo = Pick<Route, (typeof pickValue)[number]>;
@@ -510,5 +513,5 @@ declare class QueryUtil<T extends RouteObject = RouteObject> {
510
513
 
511
514
  declare const App: typeof QueryRouterServer;
512
515
 
513
- export { App, CustomError, Mini, QueryRouter, QueryRouterServer, QueryUtil, Route, createSchema, createSkill, define, util };
514
- export type { RouteArray, RouteContext, RouteObject, RouteOpts, Rule, Run, Schema, Skill };
516
+ export { App, CustomError, Mini, QueryRouter, QueryRouterServer, QueryUtil, Route, createSchema, createSkill, define, tool, util };
517
+ export type { RouteArray, RouteContext, RouteMiddleware, RouteObject, RouteOpts, Rule, Run, Schema, Skill };