@tanstack/router-core 0.0.1-beta.36 → 0.0.1-beta.39
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/build/cjs/index.js +2 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/path.js +5 -7
- package/build/cjs/path.js.map +1 -1
- package/build/cjs/route.js +112 -95
- package/build/cjs/route.js.map +1 -1
- package/build/cjs/routeConfig.js +2 -2
- package/build/cjs/routeConfig.js.map +1 -1
- package/build/cjs/routeMatch.js +107 -65
- package/build/cjs/routeMatch.js.map +1 -1
- package/build/cjs/router.js +320 -351
- package/build/cjs/router.js.map +1 -1
- package/build/cjs/searchParams.js +4 -3
- package/build/cjs/searchParams.js.map +1 -1
- package/build/cjs/sharedClone.js +122 -0
- package/build/cjs/sharedClone.js.map +1 -0
- package/build/cjs/utils.js +1 -59
- package/build/cjs/utils.js.map +1 -1
- package/build/esm/index.js +654 -592
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +183 -158
- package/build/types/index.d.ts +54 -68
- package/build/umd/index.development.js +1000 -595
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +2 -1
- package/src/index.ts +1 -0
- package/src/link.ts +20 -12
- package/src/route.ts +160 -139
- package/src/routeMatch.ts +144 -99
- package/src/router.ts +402 -491
- package/src/sharedClone.ts +118 -0
- package/src/utils.ts +0 -65
- package/build/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -31
- package/build/cjs/_virtual/_rollupPluginBabelHelpers.js.map +0 -1
package/build/types/index.d.ts
CHANGED
|
@@ -8,9 +8,10 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @license MIT
|
|
10
10
|
*/
|
|
11
|
-
import { BrowserHistory, MemoryHistory, HashHistory
|
|
11
|
+
import { BrowserHistory, MemoryHistory, HashHistory } from 'history';
|
|
12
12
|
export { createBrowserHistory, createHashHistory, createMemoryHistory } from 'history';
|
|
13
13
|
export { default as invariant } from 'tiny-invariant';
|
|
14
|
+
import { SetStoreFunction } from '@solidjs/reactivity';
|
|
14
15
|
|
|
15
16
|
interface FrameworkGenerics {
|
|
16
17
|
}
|
|
@@ -47,12 +48,6 @@ type PickExtract<T, U> = {
|
|
|
47
48
|
type PickExclude<T, U> = {
|
|
48
49
|
[K in keyof T as T[K] extends U ? never : K]: T[K];
|
|
49
50
|
};
|
|
50
|
-
/**
|
|
51
|
-
* This function returns `a` if `b` is deeply equal.
|
|
52
|
-
* If not, it will replace any deeply equal children of `b` with those of `a`.
|
|
53
|
-
* This can be used for structural sharing between JSON values for example.
|
|
54
|
-
*/
|
|
55
|
-
declare function replaceEqualDeep(prev: any, next: any): any;
|
|
56
51
|
declare function last<T>(arr: T[]): T | undefined;
|
|
57
52
|
declare function warning(cond: any, message: string): cond is true;
|
|
58
53
|
declare function functionalUpdate<TResult>(updater: Updater<TResult>, previous: TResult): TResult;
|
|
@@ -152,7 +147,7 @@ interface LoaderState<TFullSearchSchema extends AnySearchSchema = {}, TAllParams
|
|
|
152
147
|
loadedAt: number;
|
|
153
148
|
loaderContext: LoaderContext<TFullSearchSchema, TAllParams>;
|
|
154
149
|
}
|
|
155
|
-
interface
|
|
150
|
+
interface RouterStore<TSearchObj extends AnySearchSchema = {}, TState extends LocationState = LocationState> {
|
|
156
151
|
status: 'idle' | 'loading';
|
|
157
152
|
latestLocation: Location<TSearchObj, TState>;
|
|
158
153
|
currentMatches: RouteMatch[];
|
|
@@ -164,8 +159,8 @@ interface RouterState<TSearchObj extends AnySearchSchema = {}, TState extends Lo
|
|
|
164
159
|
loaders: Record<string, Loader>;
|
|
165
160
|
isFetching: boolean;
|
|
166
161
|
isPreloading: boolean;
|
|
162
|
+
matchCache: Record<string, MatchCacheEntry>;
|
|
167
163
|
}
|
|
168
|
-
type Listener = (router: Router<any, any, any>) => void;
|
|
169
164
|
type ListenerFn = () => void;
|
|
170
165
|
interface BuildNextOptions {
|
|
171
166
|
to?: string | number | null;
|
|
@@ -195,14 +190,17 @@ interface MatchRouteOptions {
|
|
|
195
190
|
caseSensitive?: boolean;
|
|
196
191
|
fuzzy?: boolean;
|
|
197
192
|
}
|
|
198
|
-
interface DehydratedRouterState extends Pick<
|
|
193
|
+
interface DehydratedRouterState extends Pick<RouterStore, 'status' | 'latestLocation' | 'currentLocation' | 'lastUpdated'> {
|
|
199
194
|
currentMatches: DehydratedRouteMatch[];
|
|
200
195
|
}
|
|
201
196
|
interface DehydratedRouter<TRouterContext = unknown> {
|
|
202
|
-
|
|
197
|
+
store: DehydratedRouterState;
|
|
203
198
|
context: TRouterContext;
|
|
204
199
|
}
|
|
205
|
-
|
|
200
|
+
type MatchCache = Record<string, MatchCacheEntry>;
|
|
201
|
+
interface DehydratedRouteMatch {
|
|
202
|
+
matchId: string;
|
|
203
|
+
store: Pick<RouteMatchStore<any, any>, 'status' | 'routeLoaderData' | 'isInvalid' | 'invalidAt'>;
|
|
206
204
|
}
|
|
207
205
|
interface RouterContext {
|
|
208
206
|
}
|
|
@@ -213,26 +211,17 @@ interface Router<TRouteConfig extends AnyRouteConfig = RouteConfig, TAllRouteInf
|
|
|
213
211
|
};
|
|
214
212
|
history: BrowserHistory | MemoryHistory | HashHistory;
|
|
215
213
|
options: PickAsRequired<RouterOptions<TRouteConfig, TRouterContext>, 'stringifySearch' | 'parseSearch' | 'context'>;
|
|
214
|
+
store: RouterStore<TAllRouteInfo['fullSearchSchema']>;
|
|
215
|
+
setStore: SetStoreFunction<RouterStore<TAllRouteInfo['fullSearchSchema']>>;
|
|
216
216
|
basepath: string;
|
|
217
|
-
listeners: Listener[];
|
|
218
|
-
navigateTimeout?: Timeout;
|
|
219
|
-
nextAction?: 'push' | 'replace';
|
|
220
|
-
state: RouterState<TAllRouteInfo['fullSearchSchema']>;
|
|
221
217
|
routeTree: Route<TAllRouteInfo, RouteInfo>;
|
|
222
218
|
routesById: RoutesById<TAllRouteInfo>;
|
|
223
|
-
navigationPromise?: Promise<void>;
|
|
224
|
-
startedLoadingAt: number;
|
|
225
|
-
resolveNavigation: () => void;
|
|
226
|
-
subscribe: (listener: Listener) => () => void;
|
|
227
219
|
reset: () => void;
|
|
228
|
-
notify: () => void;
|
|
229
220
|
mount: () => () => void;
|
|
230
|
-
onFocus: () => void;
|
|
231
221
|
update: <TRouteConfig extends RouteConfig = RouteConfig, TAllRouteInfo extends AnyAllRouteInfo = AllRouteInfo<TRouteConfig>, TRouterContext = unknown>(opts?: RouterOptions<TRouteConfig, TRouterContext>) => Router<TRouteConfig, TAllRouteInfo, TRouterContext>;
|
|
232
222
|
buildNext: (opts: BuildNextOptions) => Location;
|
|
233
223
|
cancelMatches: () => void;
|
|
234
224
|
load: (next?: Location) => Promise<void>;
|
|
235
|
-
matchCache: Record<string, MatchCacheEntry>;
|
|
236
225
|
cleanMatchCache: () => void;
|
|
237
226
|
getRoute: <TId extends keyof TAllRouteInfo['routeInfoById']>(id: TId) => Route<TAllRouteInfo, TAllRouteInfo['routeInfoById'][TId]>;
|
|
238
227
|
loadRoute: (navigateOpts: BuildNextOptions) => Promise<RouteMatch[]>;
|
|
@@ -256,57 +245,34 @@ interface Router<TRouteConfig extends AnyRouteConfig = RouteConfig, TAllRouteInf
|
|
|
256
245
|
invalidateRoute: (opts: MatchLocation) => void;
|
|
257
246
|
reload: () => Promise<void>;
|
|
258
247
|
resolvePath: (from: string, path: string) => string;
|
|
259
|
-
navigate: <TFrom extends ValidFromPath<TAllRouteInfo> = '/', TTo extends string = '.'>(opts:
|
|
260
|
-
matchRoute: <TFrom extends ValidFromPath<TAllRouteInfo> = '/', TTo extends string = '.'>(matchLocation: ToOptions<TAllRouteInfo, TFrom, TTo>, opts?: MatchRouteOptions) =>
|
|
248
|
+
navigate: <TFrom extends ValidFromPath<TAllRouteInfo> = '/', TTo extends string = '.'>(opts: NavigateOptions<TAllRouteInfo, TFrom, TTo>) => Promise<void>;
|
|
249
|
+
matchRoute: <TFrom extends ValidFromPath<TAllRouteInfo> = '/', TTo extends string = '.'>(matchLocation: ToOptions<TAllRouteInfo, TFrom, TTo>, opts?: MatchRouteOptions) => false | TAllRouteInfo['routeInfoById'][ResolveRelativePath<TFrom, NoInfer<TTo>>]['allParams'];
|
|
261
250
|
buildLink: <TFrom extends ValidFromPath<TAllRouteInfo> = '/', TTo extends string = '.'>(opts: LinkOptions<TAllRouteInfo, TFrom, TTo>) => LinkInfo;
|
|
262
251
|
dehydrate: () => DehydratedRouter<TRouterContext>;
|
|
263
252
|
hydrate: (dehydratedRouter: DehydratedRouter<TRouterContext>) => void;
|
|
264
|
-
__: {
|
|
265
|
-
buildRouteTree: (routeConfig: RouteConfig) => Route<TAllRouteInfo, AnyRouteInfo>;
|
|
266
|
-
parseLocation: (location: History['location'], previousLocation?: Location) => Location;
|
|
267
|
-
buildLocation: (dest: BuildNextOptions) => Location;
|
|
268
|
-
commitLocation: (next: Location, replace?: boolean) => Promise<void>;
|
|
269
|
-
navigate: (location: BuildNextOptions & {
|
|
270
|
-
replace?: boolean;
|
|
271
|
-
}) => Promise<void>;
|
|
272
|
-
};
|
|
273
253
|
}
|
|
274
254
|
declare function createRouter<TRouteConfig extends AnyRouteConfig = RouteConfig, TAllRouteInfo extends AnyAllRouteInfo = AllRouteInfo<TRouteConfig>, TRouterContext = unknown>(userOptions?: RouterOptions<TRouteConfig, TRouterContext>): Router<TRouteConfig, TAllRouteInfo, TRouterContext>;
|
|
275
255
|
|
|
276
|
-
interface
|
|
277
|
-
matchId: string;
|
|
278
|
-
pathname: string;
|
|
279
|
-
params: TRouteInfo['allParams'];
|
|
256
|
+
interface RouteMatchStore<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TRouteInfo extends AnyRouteInfo = RouteInfo> {
|
|
280
257
|
parentMatch?: RouteMatch;
|
|
281
|
-
childMatches: RouteMatch[];
|
|
282
258
|
routeSearch: TRouteInfo['searchSchema'];
|
|
283
259
|
search: Expand<TAllRouteInfo['fullSearchSchema'] & TRouteInfo['fullSearchSchema']>;
|
|
284
260
|
status: 'idle' | 'loading' | 'success' | 'error';
|
|
285
261
|
updatedAt?: number;
|
|
286
262
|
error?: unknown;
|
|
263
|
+
invalid: boolean;
|
|
287
264
|
isInvalid: boolean;
|
|
288
|
-
getIsInvalid: () => boolean;
|
|
289
265
|
loaderData: TRouteInfo['loaderData'];
|
|
290
266
|
routeLoaderData: TRouteInfo['routeLoaderData'];
|
|
291
267
|
isFetching: boolean;
|
|
292
268
|
invalidAt: number;
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
onExit?: void | ((matchContext: {
|
|
301
|
-
params: TRouteInfo['allParams'];
|
|
302
|
-
search: TRouteInfo['fullSearchSchema'];
|
|
303
|
-
}) => void);
|
|
304
|
-
abortController: AbortController;
|
|
305
|
-
latestId: string;
|
|
306
|
-
validate: () => void;
|
|
307
|
-
notify: () => void;
|
|
308
|
-
resolve: () => void;
|
|
309
|
-
};
|
|
269
|
+
}
|
|
270
|
+
interface RouteMatch<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TRouteInfo extends AnyRouteInfo = RouteInfo> extends Route<TAllRouteInfo, TRouteInfo> {
|
|
271
|
+
store: RouteMatchStore<TAllRouteInfo, TRouteInfo>;
|
|
272
|
+
matchId: string;
|
|
273
|
+
pathname: string;
|
|
274
|
+
params: TRouteInfo['allParams'];
|
|
275
|
+
childMatches: RouteMatch[];
|
|
310
276
|
cancel: () => void;
|
|
311
277
|
load: (loaderOpts?: {
|
|
312
278
|
preload: true;
|
|
@@ -322,6 +288,19 @@ interface RouteMatch<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo
|
|
|
322
288
|
}) => Promise<TRouteInfo['routeLoaderData']>;
|
|
323
289
|
invalidate: () => void;
|
|
324
290
|
hasLoaders: () => boolean;
|
|
291
|
+
__: {
|
|
292
|
+
setParentMatch: (parentMatch?: RouteMatch) => void;
|
|
293
|
+
component?: GetFrameworkGeneric<'Component'>;
|
|
294
|
+
errorComponent?: GetFrameworkGeneric<'ErrorComponent'>;
|
|
295
|
+
pendingComponent?: GetFrameworkGeneric<'Component'>;
|
|
296
|
+
loadPromise?: Promise<void>;
|
|
297
|
+
onExit?: void | ((matchContext: {
|
|
298
|
+
params: TRouteInfo['allParams'];
|
|
299
|
+
search: TRouteInfo['fullSearchSchema'];
|
|
300
|
+
}) => void);
|
|
301
|
+
abortController: AbortController;
|
|
302
|
+
validate: () => void;
|
|
303
|
+
};
|
|
325
304
|
}
|
|
326
305
|
declare function createRouteMatch<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TRouteInfo extends AnyRouteInfo = RouteInfo>(router: Router<any, any, any>, route: Route<TAllRouteInfo, TRouteInfo>, opts: {
|
|
327
306
|
parentMatch?: RouteMatch<any, any>;
|
|
@@ -438,14 +417,12 @@ interface Route<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TRo
|
|
|
438
417
|
parentRoute?: AnyRoute;
|
|
439
418
|
childRoutes?: AnyRoute[];
|
|
440
419
|
options: RouteOptions;
|
|
420
|
+
originalIndex: number;
|
|
441
421
|
router: Router<TAllRouteInfo['routeConfig'], TAllRouteInfo, TRouterContext>;
|
|
442
|
-
buildLink: <TTo extends string = '.'>(options: Omit<LinkOptions<TAllRouteInfo, TRouteInfo['fullPath'], TTo>, 'from'>) => LinkInfo;
|
|
443
|
-
matchRoute: <TTo extends string = '.', TResolved extends string = ResolveRelativePath<TRouteInfo['id'], TTo>>(matchLocation: CheckRelativePath<TAllRouteInfo, TRouteInfo['fullPath'], NoInfer<TTo>> & Omit<ToOptions<TAllRouteInfo, TRouteInfo['fullPath'], TTo>, 'from'>, opts?: MatchRouteOptions) => RouteInfoByPath<TAllRouteInfo, TResolved>['allParams'];
|
|
444
|
-
navigate: <TTo extends string = '.'>(options: Omit<LinkOptions<TAllRouteInfo, TRouteInfo['fullPath'], TTo>, 'from'>) => Promise<void>;
|
|
445
422
|
action: unknown extends TRouteInfo['actionResponse'] ? Action<TRouteInfo['actionPayload'], TRouteInfo['actionResponse']> | undefined : Action<TRouteInfo['actionPayload'], TRouteInfo['actionResponse']>;
|
|
446
423
|
loader: unknown extends TRouteInfo['routeLoaderData'] ? Action<LoaderContext<TRouteInfo['fullSearchSchema'], TRouteInfo['allParams']>, TRouteInfo['routeLoaderData']> | undefined : Loader<TRouteInfo['fullSearchSchema'], TRouteInfo['allParams'], TRouteInfo['routeLoaderData']>;
|
|
447
424
|
}
|
|
448
|
-
declare function createRoute<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TRouteInfo extends AnyRouteInfo = RouteInfo, TRouterContext = unknown>(routeConfig: RouteConfig, options: TRouteInfo['options'], parent: undefined | Route<TAllRouteInfo, any>, router: Router<TAllRouteInfo['routeConfig'], TAllRouteInfo, TRouterContext>): Route<TAllRouteInfo, TRouteInfo, TRouterContext>;
|
|
425
|
+
declare function createRoute<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TRouteInfo extends AnyRouteInfo = RouteInfo, TRouterContext = unknown>(routeConfig: RouteConfig, options: TRouteInfo['options'], originalIndex: number, parent: undefined | Route<TAllRouteInfo, any>, router: Router<TAllRouteInfo['routeConfig'], TAllRouteInfo, TRouterContext>): Route<TAllRouteInfo, TRouteInfo, TRouterContext>;
|
|
449
426
|
|
|
450
427
|
interface AnyAllRouteInfo {
|
|
451
428
|
routeConfig: AnyRouteConfig;
|
|
@@ -548,11 +525,13 @@ type RelativeToPathAutoComplete<AllPaths extends string, TFrom extends string, T
|
|
|
548
525
|
...Split<TFrom, false>,
|
|
549
526
|
...Split<RestTTo, false>,
|
|
550
527
|
...infer RestPath
|
|
551
|
-
] ? `${TTo}${Join<RestPath>}` : never :
|
|
552
|
-
|
|
528
|
+
] ? `${TTo}${Join<RestPath>}` : never : (TFrom extends `/` ? never : SplitPaths extends [...Split<TFrom, false>, ...infer RestPath] ? Join<RestPath> extends {
|
|
529
|
+
length: 0;
|
|
530
|
+
} ? never : './' : never) | (TFrom extends `/` ? never : '../') | AllPaths;
|
|
531
|
+
type NavigateOptions<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TFrom extends TAllRouteInfo['routePaths'] = '/', TTo extends string = '.'> = ToOptions<TAllRouteInfo, TFrom, TTo> & {
|
|
553
532
|
replace?: boolean;
|
|
554
533
|
};
|
|
555
|
-
type ToOptions<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TFrom extends
|
|
534
|
+
type ToOptions<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TFrom extends TAllRouteInfo['routePaths'] = '/', TTo extends string = '.', TResolvedTo = ResolveRelativePath<TFrom, NoInfer<TTo>>> = {
|
|
556
535
|
to?: ToPathOption<TAllRouteInfo, TFrom, TTo>;
|
|
557
536
|
hash?: Updater<string>;
|
|
558
537
|
state?: LocationState;
|
|
@@ -572,13 +551,13 @@ type PathParamOptions<TAllRouteInfo extends AnyAllRouteInfo, TFrom, TTo, TFromSc
|
|
|
572
551
|
params: ParamsReducer<TFromFullParams, TToFullParams>;
|
|
573
552
|
};
|
|
574
553
|
type ParamsReducer<TFrom, TTo> = TTo | ((current: TFrom) => TTo);
|
|
575
|
-
type ToPathOption<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TFrom extends
|
|
576
|
-
type ToIdOption<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TFrom extends
|
|
554
|
+
type ToPathOption<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TFrom extends TAllRouteInfo['routePaths'] = '/', TTo extends string = '.'> = TTo | RelativeToPathAutoComplete<TAllRouteInfo['routePaths'], NoInfer<TFrom> extends string ? NoInfer<TFrom> : '', NoInfer<TTo> & string>;
|
|
555
|
+
type ToIdOption<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TFrom extends TAllRouteInfo['routePaths'] = '/', TTo extends string = '.'> = TTo | RelativeToPathAutoComplete<TAllRouteInfo['routeIds'], NoInfer<TFrom> extends string ? NoInfer<TFrom> : '', NoInfer<TTo> & string>;
|
|
577
556
|
interface ActiveOptions {
|
|
578
557
|
exact?: boolean;
|
|
579
558
|
includeHash?: boolean;
|
|
580
559
|
}
|
|
581
|
-
type LinkOptions<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TFrom extends
|
|
560
|
+
type LinkOptions<TAllRouteInfo extends AnyAllRouteInfo = DefaultAllRouteInfo, TFrom extends TAllRouteInfo['routePaths'] = '/', TTo extends string = '.'> = NavigateOptions<TAllRouteInfo, TFrom, TTo> & {
|
|
582
561
|
target?: HTMLAnchorElement['target'];
|
|
583
562
|
activeOptions?: ActiveOptions;
|
|
584
563
|
preload?: false | 'intent';
|
|
@@ -627,4 +606,11 @@ declare const defaultStringifySearch: (search: Record<string, any>) => string;
|
|
|
627
606
|
declare function parseSearchWith(parser: (str: string) => any): (searchStr: string) => AnySearchSchema;
|
|
628
607
|
declare function stringifySearchWith(stringify: (search: any) => string): (search: Record<string, any>) => string;
|
|
629
608
|
|
|
630
|
-
|
|
609
|
+
/**
|
|
610
|
+
* This function returns `a` if `b` is deeply equal.
|
|
611
|
+
* If not, it will replace any deeply equal children of `b` with those of `a`.
|
|
612
|
+
* This can be used for structural sharing between JSON values for example.
|
|
613
|
+
*/
|
|
614
|
+
declare function sharedClone<T>(prev: any, next: T, touchAll?: boolean): T;
|
|
615
|
+
|
|
616
|
+
export { Action, ActionFn, ActionState, ActiveOptions, AllRouteInfo, AnyAllRouteInfo, AnyLoaderData, AnyPathParams, AnyRoute, AnyRouteConfig, AnyRouteConfigWithChildren, AnyRouteInfo, AnySearchSchema, BuildNextOptions, CheckId, CheckIdError, CheckPath, CheckPathError, CheckRelativePath, DeepAwaited, DefaultAllRouteInfo, DefinedPathParamWarning, DehydratedRouter, DehydratedRouterState, Expand, FilterRoutesFn, FrameworkGenerics, FromLocation, GetFrameworkGeneric, IsAny, IsAnyBoolean, IsKnown, LinkInfo, LinkOptions, ListenerFn, Loader, LoaderContext, LoaderFn, LoaderState, Location, LocationState, MatchCache, MatchCacheEntry, MatchLocation, MatchRouteOptions, NavigateOptions, NoInfer, ParentParams, ParsePathParams, ParseRouteConfig, PathParamMask, PathParamOptions, PickAsPartial, PickAsRequired, PickExclude, PickExtra, PickExtract, PickRequired, PickUnsafe, RegisterRouter, RegisteredAllRouteInfo, RegisteredRouter, RelativeToPathAutoComplete, ResolveRelativePath, RootRouteId, Route, RouteConfig, RouteConfigRoute, RouteInfo, RouteInfoById, RouteInfoByPath, RouteMatch, RouteMatchStore, RouteMeta, RouteOptions, Router, RouterContext, RouterOptions, RouterStore, RoutesById, RoutesInfoInner, SearchFilter, SearchParamOptions, SearchParser, SearchSchemaValidator, SearchSchemaValidatorFn, SearchSchemaValidatorObj, SearchSerializer, Segment, Split, Timeout, ToIdOption, ToOptions, ToPathOption, UnionToIntersection, UnloaderFn, Updater, ValidFromPath, ValueKeys, Values, cleanPath, createRoute, createRouteConfig, createRouteMatch, createRouter, decode, defaultParseSearch, defaultStringifySearch, encode, functionalUpdate, interpolatePath, joinPaths, last, matchByPath, matchPathname, parsePathname, parseSearchWith, pick, resolvePath, rootRouteId, sharedClone, stringifySearchWith, trimPath, trimPathLeft, trimPathRight, warning };
|