@stacksjs/router 0.70.315 → 0.70.317

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.
@@ -197,7 +197,7 @@ declare interface ResourceRouteOptions {
197
197
  * Chainable route interface for middleware and naming support
198
198
  */
199
199
  declare interface ChainableRoute {
200
- middleware: (name: string) => ChainableRoute
200
+ middleware: (name: string | readonly string[]) => ChainableRoute
201
201
  name: (routeName: string) => ChainableRoute
202
202
  skipCsrf: () => ChainableRoute
203
203
  requireCsrf: () => ChainableRoute
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/router",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.70.315",
5
+ "version": "0.70.317",
6
6
  "description": "The Stacks framework router.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -60,19 +60,19 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "@stacksjs/bun-router": "^0.0.21",
63
- "@stacksjs/collections": "0.70.315",
63
+ "@stacksjs/collections": "0.70.317",
64
64
  "ts-rate-limiter": "^0.4.2"
65
65
  },
66
66
  "devDependencies": {
67
- "@stacksjs/actions": "0.70.315",
68
- "@stacksjs/config": "0.70.315",
67
+ "@stacksjs/actions": "0.70.317",
68
+ "@stacksjs/config": "0.70.317",
69
69
  "better-dx": "^0.2.17",
70
- "@stacksjs/error-handling": "0.70.315",
71
- "@stacksjs/logging": "0.70.315",
72
- "@stacksjs/orm": "0.70.315",
73
- "@stacksjs/path": "0.70.315",
74
- "@stacksjs/storage": "0.70.315",
75
- "@stacksjs/types": "0.70.315",
76
- "@stacksjs/validation": "0.70.315"
70
+ "@stacksjs/error-handling": "0.70.317",
71
+ "@stacksjs/logging": "0.70.317",
72
+ "@stacksjs/orm": "0.70.317",
73
+ "@stacksjs/path": "0.70.317",
74
+ "@stacksjs/storage": "0.70.317",
75
+ "@stacksjs/types": "0.70.317",
76
+ "@stacksjs/validation": "0.70.317"
77
77
  }
78
78
  }