@tanstack/router-core
Advanced tools
Comparing version 0.0.1-beta.170 to 0.0.1-beta.171
@@ -14,7 +14,7 @@ { | ||
"name": "tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js", | ||
"uid": "15e2-47" | ||
"uid": "99bf-47" | ||
}, | ||
{ | ||
"name": "tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js", | ||
"uid": "15e2-49" | ||
"uid": "99bf-49" | ||
} | ||
@@ -30,43 +30,43 @@ ] | ||
{ | ||
"uid": "15e2-51", | ||
"uid": "99bf-51", | ||
"name": "history.ts" | ||
}, | ||
{ | ||
"uid": "15e2-53", | ||
"uid": "99bf-53", | ||
"name": "utils.ts" | ||
}, | ||
{ | ||
"uid": "15e2-55", | ||
"uid": "99bf-55", | ||
"name": "path.ts" | ||
}, | ||
{ | ||
"uid": "15e2-57", | ||
"uid": "99bf-57", | ||
"name": "qss.ts" | ||
}, | ||
{ | ||
"uid": "15e2-59", | ||
"uid": "99bf-59", | ||
"name": "route.ts" | ||
}, | ||
{ | ||
"uid": "15e2-61", | ||
"uid": "99bf-61", | ||
"name": "fileRoute.ts" | ||
}, | ||
{ | ||
"uid": "15e2-65", | ||
"uid": "99bf-65", | ||
"name": "searchParams.ts" | ||
}, | ||
{ | ||
"uid": "15e2-67", | ||
"uid": "99bf-67", | ||
"name": "router.ts" | ||
}, | ||
{ | ||
"uid": "15e2-69", | ||
"uid": "99bf-69", | ||
"name": "scroll-restoration.ts" | ||
}, | ||
{ | ||
"uid": "15e2-71", | ||
"uid": "99bf-71", | ||
"name": "defer.ts" | ||
}, | ||
{ | ||
"uid": "15e2-73", | ||
"uid": "99bf-73", | ||
"name": "index.ts" | ||
@@ -78,3 +78,3 @@ } | ||
"name": "store/build/esm/index.js", | ||
"uid": "15e2-63" | ||
"uid": "99bf-63" | ||
} | ||
@@ -89,92 +89,92 @@ ] | ||
"nodeParts": { | ||
"15e2-47": { | ||
"99bf-47": { | ||
"renderedLength": 199, | ||
"gzipLength": 134, | ||
"brotliLength": 0, | ||
"mainUid": "15e2-46" | ||
"mainUid": "99bf-46" | ||
}, | ||
"15e2-49": { | ||
"99bf-49": { | ||
"renderedLength": 48, | ||
"gzipLength": 65, | ||
"brotliLength": 0, | ||
"mainUid": "15e2-48" | ||
"mainUid": "99bf-48" | ||
}, | ||
"15e2-51": { | ||
"99bf-51": { | ||
"renderedLength": 6455, | ||
"gzipLength": 1542, | ||
"brotliLength": 0, | ||
"mainUid": "15e2-50" | ||
"mainUid": "99bf-50" | ||
}, | ||
"15e2-53": { | ||
"99bf-53": { | ||
"renderedLength": 2821, | ||
"gzipLength": 990, | ||
"brotliLength": 0, | ||
"mainUid": "15e2-52" | ||
"mainUid": "99bf-52" | ||
}, | ||
"15e2-55": { | ||
"99bf-55": { | ||
"renderedLength": 6028, | ||
"gzipLength": 1423, | ||
"brotliLength": 0, | ||
"mainUid": "15e2-54" | ||
"mainUid": "99bf-54" | ||
}, | ||
"15e2-57": { | ||
"99bf-57": { | ||
"renderedLength": 1371, | ||
"gzipLength": 552, | ||
"brotliLength": 0, | ||
"mainUid": "15e2-56" | ||
"mainUid": "99bf-56" | ||
}, | ||
"15e2-59": { | ||
"99bf-59": { | ||
"renderedLength": 2536, | ||
"gzipLength": 895, | ||
"brotliLength": 0, | ||
"mainUid": "15e2-58" | ||
"mainUid": "99bf-58" | ||
}, | ||
"15e2-61": { | ||
"99bf-61": { | ||
"renderedLength": 223, | ||
"gzipLength": 143, | ||
"brotliLength": 0, | ||
"mainUid": "15e2-60" | ||
"mainUid": "99bf-60" | ||
}, | ||
"15e2-63": { | ||
"99bf-63": { | ||
"renderedLength": 1969, | ||
"gzipLength": 653, | ||
"brotliLength": 0, | ||
"mainUid": "15e2-62" | ||
"mainUid": "99bf-62" | ||
}, | ||
"15e2-65": { | ||
"99bf-65": { | ||
"renderedLength": 1924, | ||
"gzipLength": 603, | ||
"brotliLength": 0, | ||
"mainUid": "15e2-64" | ||
"mainUid": "99bf-64" | ||
}, | ||
"15e2-67": { | ||
"99bf-67": { | ||
"renderedLength": 40168, | ||
"gzipLength": 8908, | ||
"brotliLength": 0, | ||
"mainUid": "15e2-66" | ||
"mainUid": "99bf-66" | ||
}, | ||
"15e2-69": { | ||
"99bf-69": { | ||
"renderedLength": 4430, | ||
"gzipLength": 1190, | ||
"brotliLength": 0, | ||
"mainUid": "15e2-68" | ||
"mainUid": "99bf-68" | ||
}, | ||
"15e2-71": { | ||
"99bf-71": { | ||
"renderedLength": 682, | ||
"gzipLength": 314, | ||
"brotliLength": 0, | ||
"mainUid": "15e2-70" | ||
"mainUid": "99bf-70" | ||
}, | ||
"15e2-73": { | ||
"99bf-73": { | ||
"renderedLength": 0, | ||
"gzipLength": 0, | ||
"brotliLength": 0, | ||
"mainUid": "15e2-72" | ||
"mainUid": "99bf-72" | ||
} | ||
}, | ||
"nodeMetas": { | ||
"15e2-46": { | ||
"99bf-46": { | ||
"id": "/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js", | ||
"moduleParts": { | ||
"index.production.js": "15e2-47" | ||
"index.production.js": "99bf-47" | ||
}, | ||
@@ -184,16 +184,16 @@ "imported": [], | ||
{ | ||
"uid": "15e2-72" | ||
"uid": "99bf-72" | ||
}, | ||
{ | ||
"uid": "15e2-58" | ||
"uid": "99bf-58" | ||
}, | ||
{ | ||
"uid": "15e2-66" | ||
"uid": "99bf-66" | ||
} | ||
] | ||
}, | ||
"15e2-48": { | ||
"99bf-48": { | ||
"id": "/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js", | ||
"moduleParts": { | ||
"index.production.js": "15e2-49" | ||
"index.production.js": "99bf-49" | ||
}, | ||
@@ -203,10 +203,10 @@ "imported": [], | ||
{ | ||
"uid": "15e2-72" | ||
"uid": "99bf-72" | ||
} | ||
] | ||
}, | ||
"15e2-50": { | ||
"99bf-50": { | ||
"id": "/packages/router-core/src/history.ts", | ||
"moduleParts": { | ||
"index.production.js": "15e2-51" | ||
"index.production.js": "99bf-51" | ||
}, | ||
@@ -216,13 +216,13 @@ "imported": [], | ||
{ | ||
"uid": "15e2-72" | ||
"uid": "99bf-72" | ||
}, | ||
{ | ||
"uid": "15e2-66" | ||
"uid": "99bf-66" | ||
} | ||
] | ||
}, | ||
"15e2-52": { | ||
"99bf-52": { | ||
"id": "/packages/router-core/src/utils.ts", | ||
"moduleParts": { | ||
"index.production.js": "15e2-53" | ||
"index.production.js": "99bf-53" | ||
}, | ||
@@ -232,20 +232,20 @@ "imported": [], | ||
{ | ||
"uid": "15e2-72" | ||
"uid": "99bf-72" | ||
}, | ||
{ | ||
"uid": "15e2-54" | ||
"uid": "99bf-54" | ||
}, | ||
{ | ||
"uid": "15e2-66" | ||
"uid": "99bf-66" | ||
} | ||
] | ||
}, | ||
"15e2-54": { | ||
"99bf-54": { | ||
"id": "/packages/router-core/src/path.ts", | ||
"moduleParts": { | ||
"index.production.js": "15e2-55" | ||
"index.production.js": "99bf-55" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "15e2-52" | ||
"uid": "99bf-52" | ||
} | ||
@@ -255,16 +255,16 @@ ], | ||
{ | ||
"uid": "15e2-72" | ||
"uid": "99bf-72" | ||
}, | ||
{ | ||
"uid": "15e2-58" | ||
"uid": "99bf-58" | ||
}, | ||
{ | ||
"uid": "15e2-66" | ||
"uid": "99bf-66" | ||
} | ||
] | ||
}, | ||
"15e2-56": { | ||
"99bf-56": { | ||
"id": "/packages/router-core/src/qss.ts", | ||
"moduleParts": { | ||
"index.production.js": "15e2-57" | ||
"index.production.js": "99bf-57" | ||
}, | ||
@@ -274,20 +274,20 @@ "imported": [], | ||
{ | ||
"uid": "15e2-72" | ||
"uid": "99bf-72" | ||
}, | ||
{ | ||
"uid": "15e2-64" | ||
"uid": "99bf-64" | ||
} | ||
] | ||
}, | ||
"15e2-58": { | ||
"99bf-58": { | ||
"id": "/packages/router-core/src/route.ts", | ||
"moduleParts": { | ||
"index.production.js": "15e2-59" | ||
"index.production.js": "99bf-59" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "15e2-46" | ||
"uid": "99bf-46" | ||
}, | ||
{ | ||
"uid": "15e2-54" | ||
"uid": "99bf-54" | ||
} | ||
@@ -297,17 +297,17 @@ ], | ||
{ | ||
"uid": "15e2-72" | ||
"uid": "99bf-72" | ||
}, | ||
{ | ||
"uid": "15e2-60" | ||
"uid": "99bf-60" | ||
} | ||
] | ||
}, | ||
"15e2-60": { | ||
"99bf-60": { | ||
"id": "/packages/router-core/src/fileRoute.ts", | ||
"moduleParts": { | ||
"index.production.js": "15e2-61" | ||
"index.production.js": "99bf-61" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "15e2-58" | ||
"uid": "99bf-58" | ||
} | ||
@@ -317,10 +317,10 @@ ], | ||
{ | ||
"uid": "15e2-72" | ||
"uid": "99bf-72" | ||
} | ||
] | ||
}, | ||
"15e2-62": { | ||
"99bf-62": { | ||
"id": "/packages/store/build/esm/index.js", | ||
"moduleParts": { | ||
"index.production.js": "15e2-63" | ||
"index.production.js": "99bf-63" | ||
}, | ||
@@ -330,14 +330,14 @@ "imported": [], | ||
{ | ||
"uid": "15e2-76" | ||
"uid": "99bf-76" | ||
} | ||
] | ||
}, | ||
"15e2-64": { | ||
"99bf-64": { | ||
"id": "/packages/router-core/src/searchParams.ts", | ||
"moduleParts": { | ||
"index.production.js": "15e2-65" | ||
"index.production.js": "99bf-65" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "15e2-56" | ||
"uid": "99bf-56" | ||
} | ||
@@ -347,32 +347,32 @@ ], | ||
{ | ||
"uid": "15e2-72" | ||
"uid": "99bf-72" | ||
}, | ||
{ | ||
"uid": "15e2-66" | ||
"uid": "99bf-66" | ||
} | ||
] | ||
}, | ||
"15e2-66": { | ||
"99bf-66": { | ||
"id": "/packages/router-core/src/router.ts", | ||
"moduleParts": { | ||
"index.production.js": "15e2-67" | ||
"index.production.js": "99bf-67" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "15e2-76" | ||
"uid": "99bf-76" | ||
}, | ||
{ | ||
"uid": "15e2-46" | ||
"uid": "99bf-46" | ||
}, | ||
{ | ||
"uid": "15e2-54" | ||
"uid": "99bf-54" | ||
}, | ||
{ | ||
"uid": "15e2-64" | ||
"uid": "99bf-64" | ||
}, | ||
{ | ||
"uid": "15e2-52" | ||
"uid": "99bf-52" | ||
}, | ||
{ | ||
"uid": "15e2-50" | ||
"uid": "99bf-50" | ||
} | ||
@@ -382,10 +382,10 @@ ], | ||
{ | ||
"uid": "15e2-72" | ||
"uid": "99bf-72" | ||
} | ||
] | ||
}, | ||
"15e2-68": { | ||
"99bf-68": { | ||
"id": "/packages/router-core/src/scroll-restoration.ts", | ||
"moduleParts": { | ||
"index.production.js": "15e2-69" | ||
"index.production.js": "99bf-69" | ||
}, | ||
@@ -395,10 +395,10 @@ "imported": [], | ||
{ | ||
"uid": "15e2-72" | ||
"uid": "99bf-72" | ||
} | ||
] | ||
}, | ||
"15e2-70": { | ||
"99bf-70": { | ||
"id": "/packages/router-core/src/defer.ts", | ||
"moduleParts": { | ||
"index.production.js": "15e2-71" | ||
"index.production.js": "99bf-71" | ||
}, | ||
@@ -408,53 +408,53 @@ "imported": [], | ||
{ | ||
"uid": "15e2-72" | ||
"uid": "99bf-72" | ||
} | ||
] | ||
}, | ||
"15e2-72": { | ||
"99bf-72": { | ||
"id": "/packages/router-core/src/index.ts", | ||
"moduleParts": { | ||
"index.production.js": "15e2-73" | ||
"index.production.js": "99bf-73" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "15e2-46" | ||
"uid": "99bf-46" | ||
}, | ||
{ | ||
"uid": "15e2-48" | ||
"uid": "99bf-48" | ||
}, | ||
{ | ||
"uid": "15e2-50" | ||
"uid": "99bf-50" | ||
}, | ||
{ | ||
"uid": "15e2-74" | ||
"uid": "99bf-74" | ||
}, | ||
{ | ||
"uid": "15e2-54" | ||
"uid": "99bf-54" | ||
}, | ||
{ | ||
"uid": "15e2-56" | ||
"uid": "99bf-56" | ||
}, | ||
{ | ||
"uid": "15e2-58" | ||
"uid": "99bf-58" | ||
}, | ||
{ | ||
"uid": "15e2-60" | ||
"uid": "99bf-60" | ||
}, | ||
{ | ||
"uid": "15e2-75" | ||
"uid": "99bf-75" | ||
}, | ||
{ | ||
"uid": "15e2-66" | ||
"uid": "99bf-66" | ||
}, | ||
{ | ||
"uid": "15e2-64" | ||
"uid": "99bf-64" | ||
}, | ||
{ | ||
"uid": "15e2-52" | ||
"uid": "99bf-52" | ||
}, | ||
{ | ||
"uid": "15e2-68" | ||
"uid": "99bf-68" | ||
}, | ||
{ | ||
"uid": "15e2-70" | ||
"uid": "99bf-70" | ||
} | ||
@@ -465,3 +465,3 @@ ], | ||
}, | ||
"15e2-74": { | ||
"99bf-74": { | ||
"id": "/packages/router-core/src/link.ts", | ||
@@ -472,7 +472,7 @@ "moduleParts": {}, | ||
{ | ||
"uid": "15e2-72" | ||
"uid": "99bf-72" | ||
} | ||
] | ||
}, | ||
"15e2-75": { | ||
"99bf-75": { | ||
"id": "/packages/router-core/src/routeInfo.ts", | ||
@@ -483,7 +483,7 @@ "moduleParts": {}, | ||
{ | ||
"uid": "15e2-72" | ||
"uid": "99bf-72" | ||
} | ||
] | ||
}, | ||
"15e2-76": { | ||
"99bf-76": { | ||
"id": "/packages/react-store/build/esm/index.js", | ||
@@ -493,6 +493,6 @@ "moduleParts": {}, | ||
{ | ||
"uid": "15e2-77" | ||
"uid": "99bf-77" | ||
}, | ||
{ | ||
"uid": "15e2-62" | ||
"uid": "99bf-62" | ||
} | ||
@@ -502,7 +502,7 @@ ], | ||
{ | ||
"uid": "15e2-66" | ||
"uid": "99bf-66" | ||
} | ||
] | ||
}, | ||
"15e2-77": { | ||
"99bf-77": { | ||
"id": "use-sync-external-store/shim/with-selector", | ||
@@ -513,3 +513,3 @@ "moduleParts": {}, | ||
{ | ||
"uid": "15e2-76" | ||
"uid": "99bf-76" | ||
} | ||
@@ -516,0 +516,0 @@ ], |
@@ -419,5 +419,2 @@ /** | ||
type AnyRouteProps = RegisteredRouteProps<any, any, any, any, any>; | ||
type ComponentPropsFromRoute<TRoute> = TRoute extends Route<infer TParentRoute, infer TPath, infer TFullPath, infer TCustomId, infer TId, infer TLoader, infer TSearchSchema, infer TFullSearchSchema, infer TParams, infer TAllParams, infer TParentContext, infer TAllParentContext, infer TRouteContext, infer TContext, infer TRouterContext, infer TChildren, infer TRouteTree> ? RegisteredRouteProps<TLoader, TFullSearchSchema, TAllParams, TRouteContext, TContext> : never; | ||
type ComponentFromRoute<TRoute> = RegisteredRouteComponent<ComponentPropsFromRoute<TRoute>>; | ||
type RouteLoaderFromRoute<TRoute extends AnyRoute> = LoaderFn<TRoute['types']['loader'], TRoute['types']['searchSchema'], TRoute['types']['fullSearchSchema'], TRoute['types']['allParams'], TRoute['types']['routeContext'], TRoute['types']['context']>; | ||
type RouteOptions<TParentRoute extends AnyRoute = AnyRoute, TCustomId extends string = string, TPath extends string = string, TLoader = unknown, TParentSearchSchema extends AnySearchSchema = {}, TSearchSchema extends AnySearchSchema = {}, TFullSearchSchema extends AnySearchSchema = TSearchSchema, TParams extends AnyPathParams = AnyPathParams, TAllParams extends AnyPathParams = TParams, TParentContext extends AnyContext = AnyContext, TAllParentContext extends AnyContext = AnyContext, TRouteContext extends RouteContext = RouteContext, TAllContext extends AnyContext = AnyContext> = BaseRouteOptions<TParentRoute, TCustomId, TPath, TLoader, TParentSearchSchema, TSearchSchema, TFullSearchSchema, TParams, TAllParams, TParentContext, TAllParentContext, TRouteContext, TAllContext> & UpdatableRouteOptions<TLoader, TSearchSchema, TFullSearchSchema, TAllParams, TRouteContext, TAllContext>; | ||
@@ -786,2 +783,2 @@ type ParamsFallback<TPath extends string, TParams> = unknown extends TParams ? Record<ParsePathParams<TPath>, string> : TParams; | ||
export { ActiveOptions, AllParams, AnyContext, AnyPathParams, AnyRedirect, AnyRootRoute, AnyRoute, AnyRouteMatch, AnyRouteProps, AnyRouter, AnySearchSchema, BaseRouteOptions, BuildNextOptions, CheckId, CheckIdError, CheckPath, CheckPathError, CheckRelativePath, CleanPath, ComponentFromRoute, ComponentPropsFromRoute, DeepAwaited, DeferredPromise, DeferredPromiseState, DefinedPathParamWarning, DehydratedRouteMatch, DehydratedRouter, DehydratedRouterState, Expand, FileRoute, FileRoutePath, FileRoutesByPath, FromLocation, FullSearchSchema, GetKeyFn, HydrationCtx, InferFullSearchSchema, IsAny, IsAnyBoolean, IsKnown, Join, Last, LinkInfo, LinkOptions, ListenerFn, LoaderContext, LoaderFn, LocationState, MatchLocation, MatchRouteOptions, MergeParamsFromParent, MergeUnion, MetaOptions, NavigateOptions, NoInfer, ParamsFallback, ParentParams, ParseParamsFn, ParseParamsObj, ParseParamsOption, ParsePathParams, ParseRoute, ParseRouteChildren, ParsedLocation, ParsedPath, PathParamError, PathParamMask, PathParamOptions, PickAsPartial, PickAsRequired, PickExclude, PickExtra, PickExtract, PickRequired, PickUnsafe, PreloadableObj, Redirect, Register, RegisterErrorRouteComponent, RegisterErrorRouteProps, RegisterPendingRouteComponent, RegisterPendingRouteProps, RegisterRouteComponent, RegisterRouteProps, RegisteredErrorRouteComponent, RegisteredErrorRouteProps, RegisteredPendingRouteComponent, RegisteredPendingRouteProps, RegisteredRouteComponent, RegisteredRouteProps, RegisteredRouter, RelativeToPathAutoComplete, RemoveUnderScores, ResolveFilePath, ResolveFullPath, ResolveFullSearchSchema, ResolveId, ResolveRelativePath, RootRoute, RootRouteId, Route, RouteById, RouteByPath, RouteConstraints, RouteContext, RouteIds, RouteLoaderFromRoute, RouteMatch, RouteMeta, RouteOptions, RoutePathOptions, RoutePathOptionsIntersection, RoutePaths, Router, RouterConstructorOptions, RouterContext, RouterContextOptions, RouterEvent, RouterEvents, RouterHistory, RouterListener, RouterLocation, RouterOptions, RouterState, RoutesById, RoutesByPath, ScrollRestorationOptions, SearchFilter, SearchParamError, SearchParamOptions, SearchParser, SearchSchemaValidator, SearchSchemaValidatorFn, SearchSchemaValidatorObj, SearchSerializer, Segment, Split, StreamedPromise, Timeout, ToIdOption, ToOptions, ToPathOption, Trim, TrimLeft, TrimPath, TrimPathLeft, TrimPathRight, TrimRight, UnionToIntersection, UnloaderFn, UpdatableRouteOptions, Updater, UseLoaderResult, ValueKeys, Values, cleanPath, componentTypes, createBrowserHistory, createHashHistory, createMemoryHistory, decode, defaultParseSearch, defaultStringifySearch, defer, encode, functionalUpdate, interpolatePath, isDehydratedDeferred, isPlainObject, isRedirect, joinPaths, last, lazyFn, matchByPath, matchPathname, parsePathname, parseSearchWith, partialDeepEqual, pick, redirect, replaceEqualDeep, resolvePath, restoreScrollPositions, rootRouteId, stringifySearchWith, trimPath, trimPathLeft, trimPathRight, watchScrollPositions }; | ||
export { ActiveOptions, AllParams, AnyContext, AnyPathParams, AnyRedirect, AnyRootRoute, AnyRoute, AnyRouteMatch, AnyRouteProps, AnyRouter, AnySearchSchema, BaseRouteOptions, BuildNextOptions, CheckId, CheckIdError, CheckPath, CheckPathError, CheckRelativePath, CleanPath, DeepAwaited, DeferredPromise, DeferredPromiseState, DefinedPathParamWarning, DehydratedRouteMatch, DehydratedRouter, DehydratedRouterState, Expand, FileRoute, FileRoutePath, FileRoutesByPath, FromLocation, FullSearchSchema, GetKeyFn, HydrationCtx, InferFullSearchSchema, IsAny, IsAnyBoolean, IsKnown, Join, Last, LinkInfo, LinkOptions, ListenerFn, LoaderContext, LoaderFn, LocationState, MatchLocation, MatchRouteOptions, MergeParamsFromParent, MergeUnion, MetaOptions, NavigateOptions, NoInfer, ParamsFallback, ParentParams, ParseParamsFn, ParseParamsObj, ParseParamsOption, ParsePathParams, ParseRoute, ParseRouteChildren, ParsedLocation, ParsedPath, PathParamError, PathParamMask, PathParamOptions, PickAsPartial, PickAsRequired, PickExclude, PickExtra, PickExtract, PickRequired, PickUnsafe, PreloadableObj, Redirect, Register, RegisterErrorRouteComponent, RegisterErrorRouteProps, RegisterPendingRouteComponent, RegisterPendingRouteProps, RegisterRouteComponent, RegisterRouteProps, RegisteredErrorRouteComponent, RegisteredErrorRouteProps, RegisteredPendingRouteComponent, RegisteredPendingRouteProps, RegisteredRouteComponent, RegisteredRouteProps, RegisteredRouter, RelativeToPathAutoComplete, RemoveUnderScores, ResolveFilePath, ResolveFullPath, ResolveFullSearchSchema, ResolveId, ResolveRelativePath, RootRoute, RootRouteId, Route, RouteById, RouteByPath, RouteConstraints, RouteContext, RouteIds, RouteMatch, RouteMeta, RouteOptions, RoutePathOptions, RoutePathOptionsIntersection, RoutePaths, Router, RouterConstructorOptions, RouterContext, RouterContextOptions, RouterEvent, RouterEvents, RouterHistory, RouterListener, RouterLocation, RouterOptions, RouterState, RoutesById, RoutesByPath, ScrollRestorationOptions, SearchFilter, SearchParamError, SearchParamOptions, SearchParser, SearchSchemaValidator, SearchSchemaValidatorFn, SearchSchemaValidatorObj, SearchSerializer, Segment, Split, StreamedPromise, Timeout, ToIdOption, ToOptions, ToPathOption, Trim, TrimLeft, TrimPath, TrimPathLeft, TrimPathRight, TrimRight, UnionToIntersection, UnloaderFn, UpdatableRouteOptions, Updater, UseLoaderResult, ValueKeys, Values, cleanPath, componentTypes, createBrowserHistory, createHashHistory, createMemoryHistory, decode, defaultParseSearch, defaultStringifySearch, defer, encode, functionalUpdate, interpolatePath, isDehydratedDeferred, isPlainObject, isRedirect, joinPaths, last, lazyFn, matchByPath, matchPathname, parsePathname, parseSearchWith, partialDeepEqual, pick, redirect, replaceEqualDeep, resolvePath, restoreScrollPositions, rootRouteId, stringifySearchWith, trimPath, trimPathLeft, trimPathRight, watchScrollPositions }; |
{ | ||
"name": "@tanstack/router-core", | ||
"author": "Tanner Linsley", | ||
"version": "0.0.1-beta.170", | ||
"version": "0.0.1-beta.171", | ||
"license": "MIT", | ||
@@ -46,3 +46,3 @@ "repository": "tanstack/router", | ||
"@gisatcz/cross-package-react-context": "^0.2.0", | ||
"@tanstack/react-store": "0.0.1-beta.170" | ||
"@tanstack/react-store": "0.0.1-beta.171" | ||
}, | ||
@@ -49,0 +49,0 @@ "scripts": { |
@@ -188,43 +188,3 @@ import { ParsePathParams } from './link' | ||
export type AnyRouteProps = RegisteredRouteProps<any, any, any, any, any> | ||
export type ComponentPropsFromRoute<TRoute> = TRoute extends Route< | ||
infer TParentRoute, | ||
infer TPath, | ||
infer TFullPath, | ||
infer TCustomId, | ||
infer TId, | ||
infer TLoader, | ||
infer TSearchSchema, | ||
infer TFullSearchSchema, | ||
infer TParams, | ||
infer TAllParams, | ||
infer TParentContext, | ||
infer TAllParentContext, | ||
infer TRouteContext, | ||
infer TContext, | ||
infer TRouterContext, | ||
infer TChildren, | ||
infer TRouteTree | ||
> | ||
? RegisteredRouteProps< | ||
TLoader, | ||
TFullSearchSchema, | ||
TAllParams, | ||
TRouteContext, | ||
TContext | ||
> | ||
: never | ||
export type ComponentFromRoute<TRoute> = RegisteredRouteComponent< | ||
ComponentPropsFromRoute<TRoute> | ||
> | ||
export type RouteLoaderFromRoute<TRoute extends AnyRoute> = LoaderFn< | ||
TRoute['types']['loader'], | ||
TRoute['types']['searchSchema'], | ||
TRoute['types']['fullSearchSchema'], | ||
TRoute['types']['allParams'], | ||
TRoute['types']['routeContext'], | ||
TRoute['types']['context'] | ||
> | ||
export type RouteOptions< | ||
@@ -231,0 +191,0 @@ TParentRoute extends AnyRoute = AnyRoute, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1271576
11552
+ Added@tanstack/react-store@0.0.1-beta.171(transitive)
+ Added@tanstack/store@0.0.1-beta.171(transitive)
- Removed@tanstack/react-store@0.0.1-beta.170(transitive)
- Removed@tanstack/store@0.0.1-beta.170(transitive)