react-router 0.0.0-experimental-e5dac68cb → 0.0.0-experimental-59413d9ab
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/development/browser-DYcG-QSM.d.mts +141 -0
- package/dist/development/chunk-5D3KTOSM.js +21 -0
- package/dist/development/chunk-6IGRGMSR.js +9993 -0
- package/dist/development/{chunk-USQXBNSR.mjs → chunk-NM2NJ6LO.mjs} +758 -3325
- package/dist/development/chunk-Q4E2T2VL.mjs +2991 -0
- package/dist/development/chunk-SIFL75JK.js +3027 -0
- package/dist/development/chunk-VBH7ULUE.mjs +2652 -0
- package/dist/development/components-CwtESh53.d.mts +816 -0
- package/dist/development/dom-export.d.mts +3 -2
- package/dist/development/dom-export.js +52 -72
- package/dist/development/dom-export.mjs +6 -4
- package/dist/development/index-react-server-client-CzKQ01cq.d.mts +1360 -0
- package/dist/development/{browser-Bh26Omrk.d.mts → index-react-server-client-unV28389.d.ts} +35 -91
- package/dist/development/index-react-server-client.d.mts +4 -0
- package/dist/development/index-react-server-client.d.ts +3 -0
- package/dist/development/index-react-server-client.js +54 -0
- package/dist/development/index-react-server-client.mjs +53 -0
- package/dist/development/index-react-server.d.mts +1853 -0
- package/dist/development/index-react-server.d.ts +1853 -0
- package/dist/development/index-react-server.js +143 -0
- package/dist/development/index-react-server.mjs +2 -0
- package/dist/development/index.d.mts +14 -45
- package/dist/development/index.d.ts +72 -2189
- package/dist/development/index.js +469 -10355
- package/dist/development/index.mjs +26 -24
- package/dist/development/lib/types/internal.d.mts +2 -2
- package/dist/development/lib/types/internal.d.ts +2 -1
- package/dist/development/lib/types/internal.js +2 -20
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/{production/register-DeIo2iHO.d.mts → development/register-DiOIlEq5.d.mts} +1 -1
- package/dist/development/{register-DeIo2iHO.d.mts → register-DiOIlEq5.d.ts} +1 -1
- package/dist/development/{route-data-C8_wxpLo.d.mts → route-data-Csr8hE3v.d.mts} +1 -1
- package/dist/{production/route-data-C8_wxpLo.d.mts → development/route-data-x_b_BLCv.d.ts} +11 -11
- package/dist/development/rsc-export.d.mts +4 -1851
- package/dist/development/rsc-export.d.ts +4 -1851
- package/dist/development/rsc-export.js +60 -3028
- package/dist/development/rsc-export.mjs +1 -2998
- package/dist/production/browser-DYcG-QSM.d.mts +141 -0
- package/dist/production/chunk-5D3KTOSM.js +21 -0
- package/dist/production/chunk-BUCOUPH7.mjs +2652 -0
- package/dist/production/{chunk-SB3D2OAU.mjs → chunk-JTLYHRZM.mjs} +758 -3325
- package/dist/production/chunk-Q4E2T2VL.mjs +2991 -0
- package/dist/production/chunk-SIFL75JK.js +3027 -0
- package/dist/production/chunk-TAPQIP6U.js +9993 -0
- package/dist/production/components-CwtESh53.d.mts +816 -0
- package/dist/production/dom-export.d.mts +3 -2
- package/dist/production/dom-export.js +52 -72
- package/dist/production/dom-export.mjs +6 -4
- package/dist/production/index-react-server-client-CzKQ01cq.d.mts +1360 -0
- package/dist/production/{browser-Bh26Omrk.d.mts → index-react-server-client-unV28389.d.ts} +35 -91
- package/dist/production/index-react-server-client.d.mts +4 -0
- package/dist/production/index-react-server-client.d.ts +3 -0
- package/dist/production/index-react-server-client.js +54 -0
- package/dist/production/index-react-server-client.mjs +53 -0
- package/dist/production/index-react-server.d.mts +1853 -0
- package/dist/production/index-react-server.d.ts +1853 -0
- package/dist/production/index-react-server.js +143 -0
- package/dist/production/index-react-server.mjs +2 -0
- package/dist/production/index.d.mts +14 -45
- package/dist/production/index.d.ts +72 -2189
- package/dist/production/index.js +469 -10355
- package/dist/production/index.mjs +26 -24
- package/dist/production/lib/types/internal.d.mts +2 -2
- package/dist/production/lib/types/internal.d.ts +2 -1
- package/dist/production/lib/types/internal.js +2 -20
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/production/register-DiOIlEq5.d.mts +24 -0
- package/dist/production/register-DiOIlEq5.d.ts +24 -0
- package/dist/production/{register-BEmY26MO.d.ts → route-data-Csr8hE3v.d.mts} +1 -24
- package/dist/{development/register-BEmY26MO.d.ts → production/route-data-x_b_BLCv.d.ts} +11 -34
- package/dist/production/rsc-export.d.mts +4 -1851
- package/dist/production/rsc-export.d.ts +4 -1851
- package/dist/production/rsc-export.js +60 -3028
- package/dist/production/rsc-export.mjs +1 -2998
- package/package.json +20 -24
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkSIFL75JK_js = require('./chunk-SIFL75JK.js');
|
|
4
|
+
var reactServerClient = require('react-router/internal/react-server-client');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "createCookie", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkSIFL75JK_js.createCookie; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "createCookieSessionStorage", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkSIFL75JK_js.createCookieSessionStorage; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "createMemorySessionStorage", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkSIFL75JK_js.createMemorySessionStorage; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "createSession", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkSIFL75JK_js.createSession; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "createSessionStorage", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkSIFL75JK_js.createSessionStorage; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "createStaticHandler", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkSIFL75JK_js.createStaticHandler; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "data", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkSIFL75JK_js.data; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "isCookie", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkSIFL75JK_js.isCookie; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "isSession", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkSIFL75JK_js.isSession; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "matchRoutes", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkSIFL75JK_js.matchRoutes; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "redirect", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkSIFL75JK_js.redirect; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "redirectDocument", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkSIFL75JK_js.redirectDocument; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "replace", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunkSIFL75JK_js.replace; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "unstable_createContext", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunkSIFL75JK_js.unstable_createContext; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "unstable_matchRSCServerRequest", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunkSIFL75JK_js.matchRSCServerRequest; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "Await", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return reactServerClient.Await; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "BrowserRouter", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return reactServerClient.BrowserRouter; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "Form", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return reactServerClient.Form; }
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "HashRouter", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () { return reactServerClient.HashRouter; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "Link", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return reactServerClient.Link; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "Links", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return reactServerClient.Links; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "MemoryRouter", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return reactServerClient.MemoryRouter; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "Meta", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return reactServerClient.Meta; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "NavLink", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return reactServerClient.NavLink; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "Navigate", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return reactServerClient.Navigate; }
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "Outlet", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return reactServerClient.Outlet; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "Route", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return reactServerClient.Route; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "Router", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return reactServerClient.Router; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "RouterProvider", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return reactServerClient.RouterProvider; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "Routes", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return reactServerClient.Routes; }
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "ScrollRestoration", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () { return reactServerClient.ScrollRestoration; }
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "StaticRouter", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return reactServerClient.StaticRouter; }
|
|
135
|
+
});
|
|
136
|
+
Object.defineProperty(exports, "StaticRouterProvider", {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: function () { return reactServerClient.StaticRouterProvider; }
|
|
139
|
+
});
|
|
140
|
+
Object.defineProperty(exports, "unstable_HistoryRouter", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function () { return reactServerClient.unstable_HistoryRouter; }
|
|
143
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { createCookie, createCookieSessionStorage, createMemorySessionStorage, createSession, createSessionStorage, createStaticHandler, data, isCookie, isSession, matchRoutes, redirect, redirectDocument, replace, unstable_createContext, matchRSCServerRequest as unstable_matchRSCServerRequest } from './chunk-Q4E2T2VL.mjs';
|
|
2
|
+
export { Await, BrowserRouter, Form, HashRouter, Link, Links, MemoryRouter, Meta, NavLink, Navigate, Outlet, Route, Router, RouterProvider, Routes, ScrollRestoration, StaticRouter, StaticRouterProvider, unstable_HistoryRouter } from 'react-router/internal/react-server-client';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
1
|
+
import { h as Router, V as RouteModules, D as DataStrategyFunction, I as InitialEntry, H as HydrationState, l as IndexRouteObject, t as LoaderFunction, p as ActionFunction, M as MetaFunction, s as LinksFunction, j as NonIndexRouteObject, W as unstable_InitialContext, X as MiddlewareEnabled, Y as AppLoadContext, Z as Equal, _ as RouterState, L as Location, n as PatchRoutesOnNavigationFunction, $ as DataRouteObject, q as ClientLoaderFunction, c as Path } from './route-data-Csr8hE3v.mjs';
|
|
2
|
+
export { aa as ActionFunctionArgs, a as Blocker, B as BlockerFunction, C as ClientActionFunction, aH as ClientActionFunctionArgs, aI as ClientLoaderFunctionArgs, aF as DataRouteMatch, ab as DataStrategyFunctionArgs, ac as DataStrategyMatch, ad as DataStrategyResult, af as ErrorResponse, a4 as Fetcher, ag as FormEncType, ah as FormMethod, aN as Future, a1 as GetScrollPositionFunction, a2 as GetScrollRestorationKeyFunction, ai as HTMLFormMethod, aJ as HeadersArgs, r as HeadersFunction, aM as HtmlLinkDescriptor, av as IDLE_BLOCKER, au as IDLE_FETCHER, at as IDLE_NAVIGATION, k as LazyRouteFunction, w as LinkDescriptor, aj as LoaderFunctionArgs, aK as MetaArgs, y as MetaDescriptor, N as NavigateOptions, f as Navigation, a5 as NavigationStates, A as NavigationType, m as Navigator, aL as PageLinkDescriptor, P as ParamParseKey, g as Params, aG as PatchRoutesOnNavigationFunctionArgs, e as PathMatch, al as PathParam, d as PathPattern, am as RedirectFunction, b as RelativeRoutingType, a9 as RevalidationState, o as RouteMatch, i as RouteObject, a8 as RouterFetchOptions, R as RouterInit, a7 as RouterNavigateOptions, a6 as RouterSubscriber, u as ShouldRevalidateFunction, ao as ShouldRevalidateFunctionArgs, a0 as StaticHandler, a3 as StaticHandlerContext, T as To, U as UIMatch, aT as UNSAFE_DataRouterContext, aU as UNSAFE_DataRouterStateContext, ae as UNSAFE_DataWithResponseInit, aS as UNSAFE_ErrorResponseImpl, aV as UNSAFE_FetchersContext, aW as UNSAFE_LocationContext, aX as UNSAFE_NavigationContext, aY as UNSAFE_RouteContext, aZ as UNSAFE_ViewTransitionContext, aP as UNSAFE_createBrowserHistory, aR as UNSAFE_createRouter, aQ as UNSAFE_invariant, ar as createPath, aw as data, ax as generatePath, ay as isRouteErrorResponse, az as matchPath, aA as matchRoutes, as as parsePath, aB as redirect, aC as redirectDocument, aD as replace, aE as resolvePath, ak as unstable_MiddlewareFunction, an as unstable_RouterContext, aq as unstable_RouterContextProvider, aO as unstable_SerializesTo, ap as unstable_createContext } from './route-data-Csr8hE3v.mjs';
|
|
3
|
+
import { a as RouteComponentType, H as HydrateFallbackType, E as ErrorBoundaryType } from './components-CwtESh53.mjs';
|
|
4
|
+
export { f as Await, A as AwaitProps, I as IndexRouteProps, L as LayoutRouteProps, g as MemoryRouter, M as MemoryRouterOpts, b as MemoryRouterProps, h as Navigate, q as NavigateFunction, N as NavigateProps, i as Outlet, O as OutletProps, P as PathRouteProps, j as Route, c as RouteProps, k as Router, d as RouterProps, l as RouterProvider, R as RouterProviderProps, m as Routes, e as RoutesProps, X as UNSAFE_hydrationRouteProperties, Y as UNSAFE_mapRouteProperties, Z as UNSAFE_withComponentProps, $ as UNSAFE_withErrorBoundaryProps, _ as UNSAFE_withHydrateFallbackProps, n as createMemoryRouter, o as createRoutesFromChildren, p as createRoutesFromElements, r as renderMatches, s as useActionData, t as useAsyncError, v as useAsyncValue, u as useBlocker, w as useHref, x as useInRouterContext, y as useLoaderData, z as useLocation, B as useMatch, C as useMatches, D as useNavigate, F as useNavigation, G as useNavigationType, J as useOutlet, K as useOutletContext, Q as useParams, S as useResolvedPath, T as useRevalidator, U as useRouteError, V as useRouteLoaderData, W as useRoutes } from './components-CwtESh53.mjs';
|
|
5
|
+
import { A as AssetsManifest, E as EntryContext, F as FutureConfig, S as ServerBuild } from './index-react-server-client-CzKQ01cq.mjs';
|
|
6
|
+
export { l as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, c as FetcherFormProps, h as FetcherSubmitFunction, G as FetcherSubmitOptions, i as FetcherWithComponents, q as Form, d as FormProps, $ as HandleDataRequestFunction, a0 as HandleDocumentRequestFunction, a1 as HandleErrorFunction, m as HashRouter, H as HashRouterProps, a as HistoryRouterProps, n as Link, L as LinkProps, X as Links, W as Meta, p as NavLink, N as NavLinkProps, b as NavLinkRenderProps, P as ParamKeyValuePair, Z as PrefetchPageLinks, Y as Scripts, _ as ScriptsProps, r as ScrollRestoration, e as ScrollRestorationProps, a2 as ServerEntryModule, f as SetURLSearchParams, T as StaticRouter, M as StaticRouterProps, V as StaticRouterProvider, O as StaticRouterProviderProps, g as SubmitFunction, I as SubmitOptions, J as SubmitTarget, a3 as UNSAFE_FrameworkContext, a4 as UNSAFE_createClientRoutes, a5 as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, a6 as UNSAFE_shouldHydrateRouteLoader, a7 as UNSAFE_useScrollRestoration, U as URLSearchParamsInit, j as createBrowserRouter, k as createHashRouter, K as createSearchParams, Q as createStaticHandler, R as createStaticRouter, o as unstable_HistoryRouter, z as unstable_usePrompt, y as useBeforeUnload, w as useFetcher, x as useFetchers, v as useFormAction, u as useLinkClickHandler, s as useSearchParams, t as useSubmit, C as useViewTransitionState } from './index-react-server-client-CzKQ01cq.mjs';
|
|
5
7
|
import * as React from 'react';
|
|
6
8
|
import React__default, { ReactElement } from 'react';
|
|
7
9
|
import { ParseOptions, SerializeOptions } from 'cookie';
|
|
8
10
|
export { ParseOptions as CookieParseOptions, SerializeOptions as CookieSerializeOptions } from 'cookie';
|
|
9
|
-
import { P as Pages } from './register-
|
|
10
|
-
export {
|
|
11
|
+
import { P as Pages } from './register-DiOIlEq5.mjs';
|
|
12
|
+
export { a as Register } from './register-DiOIlEq5.mjs';
|
|
13
|
+
import { S as ServerPayload, m as matchRSCServerRequest } from './browser-DYcG-QSM.mjs';
|
|
14
|
+
export { h as ServerRouteManifest, a as unstable_DecodeCallServerFunction, b as unstable_DecodeFormActionFunction, D as unstable_DecodeServerResponseFunction, E as unstable_EncodeActionFunction, R as unstable_RSCHydratedRouter, d as unstable_ServerManifestPayload, e as unstable_ServerMatch, f as unstable_ServerRenderPayload, i as unstable_ServerRouteMatch, j as unstable_ServerRouteObject, c as unstable_createCallServer, g as unstable_getServerStream } from './browser-DYcG-QSM.mjs';
|
|
11
15
|
import 'node:async_hooks';
|
|
12
16
|
|
|
13
17
|
declare const SingleFetchRedirectSymbol: unique symbol;
|
|
@@ -26,43 +30,6 @@ declare enum ServerMode {
|
|
|
26
30
|
Test = "test"
|
|
27
31
|
}
|
|
28
32
|
|
|
29
|
-
interface StaticRouterProps {
|
|
30
|
-
basename?: string;
|
|
31
|
-
children?: React.ReactNode;
|
|
32
|
-
location: Partial<Location> | string;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* A `<Router>` that may not navigate to any other location. This is useful
|
|
36
|
-
* on the server where there is no stateful UI.
|
|
37
|
-
*
|
|
38
|
-
* @category Component Routers
|
|
39
|
-
*/
|
|
40
|
-
declare function StaticRouter({ basename, children, location: locationProp, }: StaticRouterProps): React.JSX.Element;
|
|
41
|
-
interface StaticRouterProviderProps {
|
|
42
|
-
context: StaticHandlerContext;
|
|
43
|
-
router: Router;
|
|
44
|
-
hydrate?: boolean;
|
|
45
|
-
nonce?: string;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* A Data Router that may not navigate to any other location. This is useful
|
|
49
|
-
* on the server where there is no stateful UI.
|
|
50
|
-
*
|
|
51
|
-
* @category Component Routers
|
|
52
|
-
*/
|
|
53
|
-
declare function StaticRouterProvider({ context, router, hydrate, nonce, }: StaticRouterProviderProps): React.JSX.Element;
|
|
54
|
-
type CreateStaticHandlerOptions = Omit<CreateStaticHandlerOptions$1, "mapRouteProperties">;
|
|
55
|
-
/**
|
|
56
|
-
* @category Utils
|
|
57
|
-
*/
|
|
58
|
-
declare function createStaticHandler(routes: RouteObject[], opts?: CreateStaticHandlerOptions): StaticHandler;
|
|
59
|
-
/**
|
|
60
|
-
* @category Data Routers
|
|
61
|
-
*/
|
|
62
|
-
declare function createStaticRouter(routes: RouteObject[], context: StaticHandlerContext, opts?: {
|
|
63
|
-
future?: Partial<FutureConfig>;
|
|
64
|
-
}): Router;
|
|
65
|
-
|
|
66
33
|
interface ServerRouterProps {
|
|
67
34
|
context: EntryContext;
|
|
68
35
|
url: string | URL;
|
|
@@ -119,7 +86,7 @@ interface RoutesTestStubProps {
|
|
|
119
86
|
/**
|
|
120
87
|
* Future flags mimicking the settings in react-router.config.ts
|
|
121
88
|
*/
|
|
122
|
-
future?: Partial<FutureConfig
|
|
89
|
+
future?: Partial<FutureConfig>;
|
|
123
90
|
}
|
|
124
91
|
/**
|
|
125
92
|
* @category Utils
|
|
@@ -435,4 +402,6 @@ declare function getHydrationData(state: {
|
|
|
435
402
|
hasHydrateFallback: boolean;
|
|
436
403
|
}, location: Path, basename: string | undefined, isSpaMode: boolean): HydrationState;
|
|
437
404
|
|
|
438
|
-
|
|
405
|
+
declare const unstable_matchRSCServerRequest: typeof matchRSCServerRequest;
|
|
406
|
+
|
|
407
|
+
export { ActionFunction, AppLoadContext, ClientLoaderFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, DataRouteObject, Router as DataRouter, DataStrategyFunction, EntryContext, type FlashSessionData, HydrationState, IndexRouteObject, InitialEntry, type IsCookieFunction, type IsSessionFunction, LinksFunction, LoaderFunction, Location, MetaFunction, NonIndexRouteObject, PatchRoutesOnNavigationFunction, Path, type RequestHandler, RouterState, type RoutesTestStubProps, ServerBuild, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, AssetsManifest as UNSAFE_AssetsManifest, MiddlewareEnabled as UNSAFE_MiddlewareEnabled, RSCDefaultRootErrorBoundary as UNSAFE_RSCDefaultRootErrorBoundary, RemixErrorBoundary as UNSAFE_RemixErrorBoundary, RouteModules as UNSAFE_RouteModules, ServerMode as UNSAFE_ServerMode, SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol, decodeViaTurboStream as UNSAFE_decodeViaTurboStream, deserializeErrors as UNSAFE_deserializeErrors, getHydrationData as UNSAFE_getHydrationData, getPatchRoutesOnNavigationFunction as UNSAFE_getPatchRoutesOnNavigationFunction, getTurboStreamSingleFetchDataStrategy as UNSAFE_getTurboStreamSingleFetchDataStrategy, useFogOFWarDiscovery as UNSAFE_useFogOFWarDiscovery, createCookie, createCookieSessionStorage, createMemorySessionStorage, createRequestHandler, createRoutesStub, createSession, createSessionStorage, href, isCookie, isSession, unstable_InitialContext, RSCStaticRouter as unstable_RSCStaticRouter, ServerPayload as unstable_ServerPayload, unstable_matchRSCServerRequest, routeRSCServerRequest as unstable_routeRSCServerRequest, setDevServerHooks as unstable_setDevServerHooks };
|