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

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 2.1 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 ErrorResponse,
13 FormEncType,
14 FormMethod,
15 HTMLFormMethod,
16 JsonFunction,
17 LazyRouteFunction,
18 LoaderFunction,
19 LoaderFunctionArgs,
20 ParamParseKey,
21 Params,
22 PathMatch,
23 PathParam,
24 PathPattern,
25 RedirectFunction,
26 ShouldRevalidateFunction,
27 ShouldRevalidateFunctionArgs,
28 TrackedPromise,
29 UIMatch,
30 V7_FormMethod,
31} from "./utils";
32
33export {
34 AbortedDeferredError,
35 defer,
36 generatePath,
37 getToPathname,
38 isRouteErrorResponse,
39 joinPaths,
40 json,
41 matchPath,
42 matchRoutes,
43 normalizePathname,
44 redirect,
45 redirectDocument,
46 resolvePath,
47 resolveTo,
48 stripBasename,
49} from "./utils";
50
51export type {
52 BrowserHistory,
53 BrowserHistoryOptions,
54 HashHistory,
55 HashHistoryOptions,
56 History,
57 InitialEntry,
58 Location,
59 MemoryHistory,
60 MemoryHistoryOptions,
61 Path,
62 To,
63} from "./history";
64
65export {
66 Action,
67 createBrowserHistory,
68 createHashHistory,
69 createMemoryHistory,
70 createPath,
71 parsePath,
72} from "./history";
73
74export * from "./router";
75
76///////////////////////////////////////////////////////////////////////////////
77// DANGER! PLEASE READ ME!
78// We consider these exports an implementation detail and do not guarantee
79// against any breaking changes, regardless of the semver release. Use with
80// extreme caution and only if you understand the consequences. Godspeed.
81///////////////////////////////////////////////////////////////////////////////
82
83/** @internal */
84export type { RouteManifest as UNSAFE_RouteManifest } from "./utils";
85export {
86 DeferredData as UNSAFE_DeferredData,
87 ErrorResponseImpl as UNSAFE_ErrorResponseImpl,
88 convertRoutesToDataRoutes as UNSAFE_convertRoutesToDataRoutes,
89 convertRouteMatchToUiMatch as UNSAFE_convertRouteMatchToUiMatch,
90 getResolveToMatches as UNSAFE_getResolveToMatches,
91} from "./utils";
92
93export {
94 invariant as UNSAFE_invariant,
95 warning as UNSAFE_warning,
96} from "./history";
Note: See TracBrowser for help on using the repository browser.