feat(typedrouter): add middleware support to TypedRouter and export middleware type

This commit is contained in:
2026-03-03 20:22:01 +00:00
parent a1f5916faf
commit ee820dd126
11 changed files with 1187 additions and 453 deletions

View File

@@ -10,18 +10,18 @@
"license": "MIT",
"scripts": {
"test": "(tstest test/)",
"build": "(tsbuild --web --allowimplicitany && tsbundle)",
"build": "(tsbuild && tsbundle)",
"buildDocs": "tsdoc"
},
"devDependencies": {
"@api.global/typedserver": "^3.0.80",
"@git.zone/tsbuild": "^2.7.3",
"@api.global/typedserver": "^8.4.0",
"@git.zone/tsbuild": "^4.1.2",
"@git.zone/tsbundle": "^2.9.0",
"@git.zone/tsrun": "^1.6.2",
"@git.zone/tstest": "^1.11.5",
"@push.rocks/smartenv": "^5.0.13",
"@push.rocks/tapbundle": "^5.6.3",
"@types/node": "^22.19.13"
"@git.zone/tsrun": "^2.0.1",
"@git.zone/tstest": "^3.2.0",
"@push.rocks/smartenv": "^6.0.0",
"@push.rocks/tapbundle": "^6.0.3",
"@types/node": "^25.3.3"
},
"dependencies": {
"@api.global/typedrequest-interfaces": "^3.0.19",
@@ -31,7 +31,7 @@
"@push.rocks/smartdelay": "^3.0.5",
"@push.rocks/smartguard": "^3.1.0",
"@push.rocks/smartpromise": "^4.2.3",
"@push.rocks/webrequest": "^4.0.2",
"@push.rocks/webrequest": "^4.0.5",
"@push.rocks/webstream": "^1.0.10"
},
"files": [