@tanstack/router-core 1.114.24 → 1.114.25
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/cjs/history.d.cts +8 -0
- package/dist/cjs/index.cjs +6 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +2 -2
- package/dist/cjs/router.cjs +1695 -0
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/cjs/router.d.cts +117 -55
- package/dist/esm/history.d.ts +8 -0
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +7 -1
- package/dist/esm/router.d.ts +117 -55
- package/dist/esm/router.js +1696 -1
- package/dist/esm/router.js.map +1 -1
- package/package.json +2 -1
- package/src/history.ts +9 -0
- package/src/index.ts +11 -2
- package/src/router.ts +2511 -106
package/dist/cjs/index.cjs
CHANGED
|
@@ -37,8 +37,14 @@ exports.rootRouteId = root.rootRouteId;
|
|
|
37
37
|
exports.BaseRootRoute = route.BaseRootRoute;
|
|
38
38
|
exports.BaseRoute = route.BaseRoute;
|
|
39
39
|
exports.BaseRouteApi = route.BaseRouteApi;
|
|
40
|
+
exports.PathParamError = router.PathParamError;
|
|
41
|
+
exports.RouterCore = router.RouterCore;
|
|
42
|
+
exports.SearchParamError = router.SearchParamError;
|
|
43
|
+
exports.componentTypes = router.componentTypes;
|
|
40
44
|
exports.defaultSerializeError = router.defaultSerializeError;
|
|
45
|
+
exports.getInitialRouterState = router.getInitialRouterState;
|
|
41
46
|
exports.getLocationChangeInfo = router.getLocationChangeInfo;
|
|
47
|
+
exports.lazyFn = router.lazyFn;
|
|
42
48
|
exports.retainSearchParams = searchMiddleware.retainSearchParams;
|
|
43
49
|
exports.stripSearchParams = searchMiddleware.stripSearchParams;
|
|
44
50
|
exports.defaultParseSearch = searchParams.defaultParseSearch;
|
package/dist/cjs/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/cjs/index.d.cts
CHANGED
|
@@ -16,8 +16,8 @@ export { rootRouteId } from './root.cjs';
|
|
|
16
16
|
export type { RootRouteId } from './root.cjs';
|
|
17
17
|
export { BaseRoute, BaseRouteApi, BaseRootRoute } from './route.cjs';
|
|
18
18
|
export type { AnyPathParams, SearchSchemaInput, AnyContext, RouteContext, PreloadableObj, RoutePathOptions, StaticDataRouteOption, RoutePathOptionsIntersection, SearchFilter, SearchMiddlewareContext, SearchMiddleware, ResolveId, InferFullSearchSchema, InferFullSearchSchemaInput, InferAllParams, InferAllContext, MetaDescriptor, RouteLinkEntry, SearchValidator, AnySearchValidator, DefaultSearchValidator, ErrorRouteProps, ErrorComponentProps, NotFoundRouteProps, ParseSplatParams, SplatParams, ResolveParams, ParseParamsFn, StringifyParamsFn, ParamsOptions, UpdatableStaticRouteOption, LooseReturnType, LooseAsyncReturnType, ContextReturnType, ContextAsyncReturnType, ResolveRouteContext, ResolveLoaderData, RoutePrefix, TrimPath, TrimPathLeft, TrimPathRight, ResolveSearchSchemaFnInput, ResolveSearchSchemaInput, ResolveSearchSchemaFn, ResolveSearchSchema, ResolveFullSearchSchema, ResolveFullSearchSchemaInput, ResolveAllContext, BeforeLoadContextParameter, RouteContextParameter, ResolveAllParamsFromParent, AnyRoute, Route, RouteTypes, FullSearchSchemaOption, RemountDepsOptions, MakeRemountDepsOptionsUnion, ResolveFullPath, AnyRouteWithContext, RouteOptions, FileBaseRouteOptions, BaseRouteOptions, UpdatableRouteOptions, RouteLoaderFn, LoaderFnContext, RouteContextFn, BeforeLoadFn, ContextOptions, RouteContextOptions, BeforeLoadContextOptions, RootRouteOptions, UpdatableRouteOptionsExtensions, RouteConstraints, RouteTypesById, RouteMask, RouteExtensions, RouteLazyFn, RouteAddChildrenFn, RouteAddFileChildrenFn, RouteAddFileTypesFn, } from './route.cjs';
|
|
19
|
-
export { defaultSerializeError, getLocationChangeInfo } from './router.cjs';
|
|
20
|
-
export type { ViewTransitionOptions, ExtractedBaseEntry, ExtractedStream, ExtractedPromise, ExtractedEntry, StreamState, TrailingSlashOption, Register, AnyRouter, AnyRouterWithContext, RegisteredRouter, RouterState, BuildNextOptions, RouterListener, RouterEvent, ListenerFn, RouterEvents, MatchRoutesOpts, RouterOptionsExtensions,
|
|
19
|
+
export { defaultSerializeError, getLocationChangeInfo, RouterCore, componentTypes, lazyFn, SearchParamError, PathParamError, getInitialRouterState, } from './router.cjs';
|
|
20
|
+
export type { ViewTransitionOptions, ExtractedBaseEntry, ExtractedStream, ExtractedPromise, ExtractedEntry, StreamState, TrailingSlashOption, Register, AnyRouter, AnyRouterWithContext, RegisteredRouter, RouterState, BuildNextOptions, RouterListener, RouterEvent, ListenerFn, RouterEvents, MatchRoutesOpts, RouterOptionsExtensions, DefaultRemountDepsFn, PreloadRouteFn, MatchRouteFn, RouterContextOptions, RouterOptions, RouterConstructorOptions, UpdateFn, ParseLocationFn, InvalidateFn, ControllablePromise, InjectedHtmlEntry, RouterErrorSerializer, MatchedRoutesResult, EmitFn, LoadFn, GetMatchFn, SubscribeFn, UpdateMatchFn, CommitLocationFn, GetMatchRoutesFn, MatchRoutesFn, StartTransitionFn, LoadRouteChunkFn, ServerSrr, ClearCacheFn, CreateRouterFn, } from './router.cjs';
|
|
21
21
|
export type { MatchLocation, CommitLocationOptions, NavigateFn, BuildLocationFn, } from './RouterProvider.cjs';
|
|
22
22
|
export { retainSearchParams, stripSearchParams } from './searchMiddleware.cjs';
|
|
23
23
|
export { defaultParseSearch, defaultStringifySearch, parseSearchWith, stringifySearchWith, } from './searchParams.cjs';
|