@h3ravel/router 1.15.0-alpha.1 → 1.15.0-alpha.10

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +16 -16
  2. package/package.json +10 -10
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import * as _h3ravel_contracts0 from "@h3ravel/contracts";
3
3
  import { ActionInput, CallableConstructor, ClassConstructor, ConcreteConstructor, GenericObject, IAbstractRouteCollection, IApplication, ICallableDispatcher, IContainer, IController, IControllerDispatcher, IDispatcher, IHttpContext, IMiddleware, IRequest, IResponse, IRoute, IRouteCollection, IRouteUrlGenerator, IRouter, IUrlGenerator, MiddlewareIdentifier, MiddlewareList, ResourceMethod, ResourceOptions, ResponsableType, RouteActions, RouteMethod, RouteParams, UrlRoutable } from "@h3ravel/contracts";
4
4
  import { Middleware, Request, Response } from "@h3ravel/http";
5
5
  import { H3, Middleware as Middleware$1, MiddlewareOptions } from "h3";
6
- import * as _h3ravel_support9 from "@h3ravel/support";
6
+ import * as _h3ravel_support3 from "@h3ravel/support";
7
7
  import { Collection, ServiceProvider } from "@h3ravel/support";
8
8
  import * as _h3ravel_shared0 from "@h3ravel/shared";
9
9
  import { Magic } from "@h3ravel/shared";
@@ -596,8 +596,8 @@ declare const PendingSingletonResourceRegistration_base: (new () => {
596
596
  [x: string]: any;
597
597
  macroCall(method: string, parameters?: any[]): any;
598
598
  };
599
- macros: Record<string, _h3ravel_support9.Macro>;
600
- macro: (name: string, macro: _h3ravel_support9.Macro) => void;
599
+ macros: Record<string, _h3ravel_support3.Macro>;
600
+ macro: (name: string, macro: _h3ravel_support3.Macro) => void;
601
601
  hasMacro: (name: string) => boolean;
602
602
  flushMacros: () => void;
603
603
  mixin: (mixin: object, replace?: boolean) => void;
@@ -607,8 +607,8 @@ declare const PendingSingletonResourceRegistration_base: (new () => {
607
607
  macroCall(method: string, parameters?: any[]): any;
608
608
  };
609
609
  [x: string]: any;
610
- macros: Record<string, _h3ravel_support9.Macro>;
611
- macro(name: string, macro: _h3ravel_support9.Macro): void;
610
+ macros: Record<string, _h3ravel_support3.Macro>;
611
+ macro(name: string, macro: _h3ravel_support3.Macro): void;
612
612
  hasMacro(name: string): boolean;
613
613
  flushMacros(): void;
614
614
  mixin(mixin: object, replace?: boolean): void;
@@ -769,8 +769,8 @@ declare const PendingResourceRegistration_base: (new (...args: any[]) => {
769
769
  [x: string]: any;
770
770
  macroCall(method: string, parameters?: any[]): any;
771
771
  };
772
- macros: Record<string, _h3ravel_support9.Macro>;
773
- macro: (name: string, macro: _h3ravel_support9.Macro) => void;
772
+ macros: Record<string, _h3ravel_support3.Macro>;
773
+ macro: (name: string, macro: _h3ravel_support3.Macro) => void;
774
774
  hasMacro: (name: string) => boolean;
775
775
  flushMacros: () => void;
776
776
  mixin: (mixin: object, replace?: boolean) => void;
@@ -780,8 +780,8 @@ declare const PendingResourceRegistration_base: (new (...args: any[]) => {
780
780
  macroCall(method: string, parameters?: any[]): any;
781
781
  };
782
782
  [x: string]: any;
783
- macros: Record<string, _h3ravel_support9.Macro>;
784
- macro(name: string, macro: _h3ravel_support9.Macro): void;
783
+ macros: Record<string, _h3ravel_support3.Macro>;
784
+ macro(name: string, macro: _h3ravel_support3.Macro): void;
785
785
  hasMacro(name: string): boolean;
786
786
  flushMacros(): void;
787
787
  mixin(mixin: object, replace?: boolean): void;
@@ -928,8 +928,8 @@ declare const Router_base: typeof IRouter & {
928
928
  macroCall(method: string, parameters?: any[]): any;
929
929
  };
930
930
  [x: string]: any;
931
- macros: Record<string, _h3ravel_support9.Macro>;
932
- macro(name: string, macro: _h3ravel_support9.Macro): void;
931
+ macros: Record<string, _h3ravel_support3.Macro>;
932
+ macro(name: string, macro: _h3ravel_support3.Macro): void;
933
933
  hasMacro(name: string): boolean;
934
934
  flushMacros(): void;
935
935
  mixin(mixin: object, replace?: boolean): void;
@@ -1750,7 +1750,7 @@ declare class Route extends IRoute {
1750
1750
  *
1751
1751
  * @return array
1752
1752
  */
1753
- static getValidators(): IRouteValidator[] | (UriValidator | HostValidator | MethodValidator | SchemeValidator)[];
1753
+ static getValidators(): IRouteValidator[] | (UriValidator | MethodValidator | SchemeValidator | HostValidator)[];
1754
1754
  /**
1755
1755
  * Run the route action and return the response.
1756
1756
  *
@@ -2296,8 +2296,8 @@ declare const RouteRegistrar_base: (new () => FRoute & {
2296
2296
  [x: string]: any;
2297
2297
  macroCall(method: string, parameters?: any[]): any;
2298
2298
  };
2299
- macros: Record<string, _h3ravel_support9.Macro>;
2300
- macro: (name: string, macro: _h3ravel_support9.Macro) => void;
2299
+ macros: Record<string, _h3ravel_support3.Macro>;
2300
+ macro: (name: string, macro: _h3ravel_support3.Macro) => void;
2301
2301
  hasMacro: (name: string) => boolean;
2302
2302
  flushMacros: () => void;
2303
2303
  mixin: (mixin: object, replace?: boolean) => void;
@@ -2307,8 +2307,8 @@ declare const RouteRegistrar_base: (new () => FRoute & {
2307
2307
  macroCall(method: string, parameters?: any[]): any;
2308
2308
  };
2309
2309
  [x: string]: any;
2310
- macros: Record<string, _h3ravel_support9.Macro>;
2311
- macro(name: string, macro: _h3ravel_support9.Macro): void;
2310
+ macros: Record<string, _h3ravel_support3.Macro>;
2311
+ macro(name: string, macro: _h3ravel_support3.Macro): void;
2312
2312
  hasMacro(name: string): boolean;
2313
2313
  flushMacros(): void;
2314
2314
  mixin(mixin: object, replace?: boolean): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/router",
3
- "version": "1.15.0-alpha.1",
3
+ "version": "1.15.0-alpha.10",
4
4
  "description": "Route facade, decorators and controller system for H3ravel.",
5
5
  "h3ravel": {
6
6
  "providers": [
@@ -41,18 +41,18 @@
41
41
  "laravel"
42
42
  ],
43
43
  "peerDependencies": {
44
- "@h3ravel/database": "^11.5.0-alpha.1"
44
+ "@h3ravel/database": "^11.5.0-alpha.10"
45
45
  },
46
46
  "dependencies": {
47
47
  "h3": "2.0.1-rc.5",
48
- "@h3ravel/musket": "^0.6.10",
49
- "reflect-metadata": "^0.2.2",
50
- "@h3ravel/contracts": "^0.29.0-alpha.1",
51
- "@h3ravel/http": "^11.8.0-alpha.1",
52
- "@h3ravel/foundation": "^0.1.0-alpha.1",
53
- "@h3ravel/support": "^0.17.0-alpha.1",
54
- "@h3ravel/shared": "^0.29.0-alpha.1",
55
- "@h3ravel/events": "^0.1.0-alpha.1"
48
+ "@h3ravel/contracts": "^0.29.0-alpha.10",
49
+ "@h3ravel/events": "^0.1.0-alpha.10",
50
+ "@h3ravel/musket": "^0.8.0-alpha.6",
51
+ "@h3ravel/http": "^11.8.0-alpha.10",
52
+ "@h3ravel/shared": "^0.29.0-alpha.10",
53
+ "@h3ravel/support": "^0.17.0-alpha.10",
54
+ "@h3ravel/foundation": "^0.1.0-alpha.10",
55
+ "reflect-metadata": "^0.2.2"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "tsdown --config-loader unconfig",