@nuxt/schema-nightly 4.1.1-29281685.c73957ae → 4.1.1-29282087.9ed08339
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/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2310,7 +2310,7 @@ interface ConfigSchema {
|
|
|
2310
2310
|
* Nitro server handlers.
|
|
2311
2311
|
*
|
|
2312
2312
|
* Each handler accepts the following options:
|
|
2313
|
-
* - handler: The path to the file defining the handler. - route: The route under which the handler is available. This follows the conventions of [rou3](https://github.com/
|
|
2313
|
+
* - handler: The path to the file defining the handler. - route: The route under which the handler is available. This follows the conventions of [rou3](https://github.com/h3js/rou3). - method: The HTTP method of requests that should be handled. - middleware: Specifies whether it is a middleware handler. - lazy: Specifies whether to use lazy loading to import the handler.
|
|
2314
2314
|
*
|
|
2315
2315
|
* @see [`server/` directory documentation](https://nuxt.com/docs/guide/directory-structure/server)
|
|
2316
2316
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -2310,7 +2310,7 @@ interface ConfigSchema {
|
|
|
2310
2310
|
* Nitro server handlers.
|
|
2311
2311
|
*
|
|
2312
2312
|
* Each handler accepts the following options:
|
|
2313
|
-
* - handler: The path to the file defining the handler. - route: The route under which the handler is available. This follows the conventions of [rou3](https://github.com/
|
|
2313
|
+
* - handler: The path to the file defining the handler. - route: The route under which the handler is available. This follows the conventions of [rou3](https://github.com/h3js/rou3). - method: The HTTP method of requests that should be handled. - middleware: Specifies whether it is a middleware handler. - lazy: Specifies whether to use lazy loading to import the handler.
|
|
2314
2314
|
*
|
|
2315
2315
|
* @see [`server/` directory documentation](https://nuxt.com/docs/guide/directory-structure/server)
|
|
2316
2316
|
*
|