source: imaps-frontend/node_modules/@remix-run/router/index.ts

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 2.5 KB
Line 
1export type {
2 ActionFunction,
3 ActionFunctionArgs,
4 AgnosticDataIndexRouteObject,
5 AgnosticDataNonIndexRouteObject,
6 AgnosticDataRouteMatch,
7 AgnosticDataRouteObject,
8 AgnosticIndexRouteObject,
9 AgnosticNonIndexRouteObject,
10 AgnosticRouteMatch,
11 AgnosticRouteObject,
12 DataStrategyFunction as unstable_DataStrategyFunction,
13 DataStrategyFunctionArgs as unstable_DataStrategyFunctionArgs,
14 DataStrategyMatch as unstable_DataStrategyMatch,
15 ErrorResponse,
16 FormEncType,
17 FormMethod,
18 HandlerResult as unstable_HandlerResult,
19 HTMLFormMethod,
20 JsonFunction,
21 LazyRouteFunction,
22 LoaderFunction,
23 LoaderFunctionArgs,
24 ParamParseKey,
25 Params,
26 AgnosticPatchRoutesOnMissFunction as unstable_AgnosticPatchRoutesOnMissFunction,
27 PathMatch,
28 PathParam,
29 PathPattern,
30 RedirectFunction,
31 ShouldRevalidateFunction,
32 ShouldRevalidateFunctionArgs,
33 TrackedPromise,
34 UIMatch,
35 V7_FormMethod,
36 DataWithResponseInit as UNSAFE_DataWithResponseInit,
37} from "./utils";
38
39export {
40 AbortedDeferredError,
41 data as unstable_data,
42 defer,
43 generatePath,
44 getToPathname,
45 isRouteErrorResponse,
46 joinPaths,
47 json,
48 matchPath,
49 matchRoutes,
50 normalizePathname,
51 redirect,
52 redirectDocument,
53 replace,
54 resolvePath,
55 resolveTo,
56 stripBasename,
57} from "./utils";
58
59export type {
60 BrowserHistory,
61 BrowserHistoryOptions,
62 HashHistory,
63 HashHistoryOptions,
64 History,
65 InitialEntry,
66 Location,
67 MemoryHistory,
68 MemoryHistoryOptions,
69 Path,
70 To,
71} from "./history";
72
73export {
74 Action,
75 createBrowserHistory,
76 createHashHistory,
77 createMemoryHistory,
78 createPath,
79 parsePath,
80} from "./history";
81
82export * from "./router";
83
84///////////////////////////////////////////////////////////////////////////////
85// DANGER! PLEASE READ ME!
86// We consider these exports an implementation detail and do not guarantee
87// against any breaking changes, regardless of the semver release. Use with
88// extreme caution and only if you understand the consequences. Godspeed.
89///////////////////////////////////////////////////////////////////////////////
90
91/** @internal */
92export type { RouteManifest as UNSAFE_RouteManifest } from "./utils";
93export {
94 DeferredData as UNSAFE_DeferredData,
95 ErrorResponseImpl as UNSAFE_ErrorResponseImpl,
96 convertRoutesToDataRoutes as UNSAFE_convertRoutesToDataRoutes,
97 convertRouteMatchToUiMatch as UNSAFE_convertRouteMatchToUiMatch,
98 decodePath as UNSAFE_decodePath,
99 getResolveToMatches as UNSAFE_getResolveToMatches,
100} from "./utils";
101
102export {
103 invariant as UNSAFE_invariant,
104 warning as UNSAFE_warning,
105} from "./history";
Note: See TracBrowser for help on using the repository browser.