@kevisual/router 0.0.85 → 0.0.87
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/app.js +5 -1
- package/dist/commander.d.ts +815 -0
- package/dist/commander.js +2243 -0
- package/dist/opencode.d.ts +45 -0
- package/dist/router-browser.d.ts +45 -0
- package/dist/router-browser.js +4 -0
- package/dist/router-define.d.ts +45 -0
- package/dist/router.d.ts +45 -0
- package/dist/router.js +4 -0
- package/dist/ws.d.ts +45 -0
- package/package.json +6 -4
- package/src/commander.ts +115 -0
- package/src/route.ts +36 -0
- package/src/test/run-schema.ts +87 -0
package/dist/app.js
CHANGED
|
@@ -17419,6 +17419,10 @@ class QueryRouterServer extends QueryRouter {
|
|
|
17419
17419
|
}
|
|
17420
17420
|
return super.run(msg, ctx);
|
|
17421
17421
|
}
|
|
17422
|
+
async runAction(api2, payload, ctx) {
|
|
17423
|
+
const { path, key, id } = api2;
|
|
17424
|
+
return this.run({ path, key, id, payload }, ctx);
|
|
17425
|
+
}
|
|
17422
17426
|
}
|
|
17423
17427
|
|
|
17424
17428
|
// src/server/server.ts
|
|
@@ -19575,7 +19579,7 @@ app
|
|
|
19575
19579
|
10. **中间件找不到会返回 404**,错误信息中会包含找不到的中间件列表。
|
|
19576
19580
|
`;
|
|
19577
19581
|
// package.json
|
|
19578
|
-
var version2 = "0.0.
|
|
19582
|
+
var version2 = "0.0.87";
|
|
19579
19583
|
|
|
19580
19584
|
// agent/routes/route-create.ts
|
|
19581
19585
|
app.route({
|