@kitbag/router 0.10.0 → 0.10.1
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/kitbag-router.d.ts +5 -1
- package/dist/kitbag-router.js +388 -381
- package/dist/kitbag-router.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/kitbag-router.d.ts
CHANGED
|
@@ -708,6 +708,10 @@ declare type ResolvedRouteQuery = {
|
|
|
708
708
|
* @template TQuery - The type or structure of the query parameters associated with the route.
|
|
709
709
|
*/
|
|
710
710
|
export declare type Route<TName extends string = string, THost extends Host = Host, TPath extends Path = Path, TQuery extends Query = Query, THash extends Hash = Hash, TMeta extends RouteMeta = RouteMeta, TState extends Record<string, Param> = Record<string, Param>> = {
|
|
711
|
+
/**
|
|
712
|
+
* Unique identifier for the route, generated by router.
|
|
713
|
+
*/
|
|
714
|
+
id: string;
|
|
711
715
|
/**
|
|
712
716
|
* The specific route properties that were matched in the current route.
|
|
713
717
|
*/
|
|
@@ -718,7 +722,7 @@ export declare type Route<TName extends string = string, THost extends Host = Ho
|
|
|
718
722
|
*/
|
|
719
723
|
matches: CreateRouteOptionsMatched[];
|
|
720
724
|
/**
|
|
721
|
-
*
|
|
725
|
+
* Identifier for the route as defined by user. Name must be unique among named routes. Name is used for routing and for matching.
|
|
722
726
|
*/
|
|
723
727
|
name: TName;
|
|
724
728
|
/**
|