@h3ravel/http 11.2.0 → 11.2.2

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.cts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference path="./app.globals.d.ts" />
1
2
  import { Application, ConsoleCommand, ServiceProvider } from "@h3ravel/core";
2
3
  import { DotNestedKeys, DotNestedValue, HttpContext, HttpContext as HttpContext$1, IMiddleware, IRequest, IResponse } from "@h3ravel/shared";
3
4
  import { EventHandlerRequest, H3Event } from "h3";
@@ -58,7 +59,7 @@ declare class Request implements IRequest {
58
59
  * Gets route parameters.
59
60
  * @returns An object containing route parameters.
60
61
  */
61
- readonly params: NonNullable<H3Event["context"]["params"]>;
62
+ readonly params: NonNullable<H3Event['context']['params']>;
62
63
  /**
63
64
  * Gets query parameters.
64
65
  * @returns An object containing query parameters.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference path="./app.globals.d.ts" />
1
2
  import { Application, ConsoleCommand, ServiceProvider } from "@h3ravel/core";
2
3
  import { DotNestedKeys, DotNestedValue, HttpContext, HttpContext as HttpContext$1, IMiddleware, IRequest, IResponse } from "@h3ravel/shared";
3
4
  import { EventHandlerRequest, H3Event } from "h3";
@@ -58,7 +59,7 @@ declare class Request implements IRequest {
58
59
  * Gets route parameters.
59
60
  * @returns An object containing route parameters.
60
61
  */
61
- readonly params: NonNullable<H3Event["context"]["params"]>;
62
+ readonly params: NonNullable<H3Event['context']['params']>;
62
63
  /**
63
64
  * Gets query parameters.
64
65
  * @returns An object containing query parameters.
package/dist/index.js CHANGED
@@ -18305,7 +18305,6 @@ var FireCommand = class extends ConsoleCommand {
18305
18305
  {--a|host=localhost : The host address to serve the application on}
18306
18306
  {--p|port=3000 : The port to serve the application on}
18307
18307
  {--t|tries=10 : The max number of ports to attempt to serve from}
18308
- {--d|debug : Show extra debug info, like registered service providers and more}
18309
18308
  `;
18310
18309
  /**
18311
18310
  * The console command description.
@@ -18327,10 +18326,10 @@ var FireCommand = class extends ConsoleCommand {
18327
18326
  const host = this.option("host");
18328
18327
  const tries = this.option("tries");
18329
18328
  const ENV_VARS = {
18330
- EXTENDED_DEBUG: this.option("debug") ? "true" : "false",
18329
+ EXTENDED_DEBUG: Number(this.option("verbose", 0)) > 0 ? "true" : "false",
18331
18330
  CLI_BUILD: "false",
18332
18331
  NODE_ENV: "development",
18333
- SRC_PATH: outDir,
18332
+ DIST_DIR: outDir,
18334
18333
  HOSTNAME: host,
18335
18334
  RETRIES: tries,
18336
18335
  PORT: port