|
8 | 8 | // You should NOT make any changes in this file as it will be overwritten. |
9 | 9 | // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. |
10 | 10 |
|
11 | | -import { Route as rootRouteImport } from './routes/__root' |
12 | | -import { Route as ExamplesRouteImport } from './routes/examples' |
13 | | -import { Route as IndexRouteImport } from './routes/index' |
14 | | -import { Route as ExamplesIndexRouteImport } from './routes/examples/index' |
15 | | -import { Route as ExamplesWrappedSolRouteImport } from './routes/examples/wrapped-sol' |
16 | | -import { Route as ExamplesTransferSolRouteImport } from './routes/examples/transfer-sol' |
17 | | -import { Route as ExamplesTokensRouteImport } from './routes/examples/tokens' |
18 | | -import { Route as ExamplesDashboardRouteImport } from './routes/examples/dashboard' |
| 11 | +import { Route as rootRouteImport } from "./routes/__root.tsx" |
| 12 | +import { Route as ExamplesRouteImport } from "./routes/examples.tsx" |
| 13 | +import { Route as IndexRouteImport } from "./routes/index.tsx" |
| 14 | +import { Route as ExamplesIndexRouteImport } from "./routes/examples/index.tsx" |
| 15 | +import { Route as ExamplesWrappedSolRouteImport } from "./routes/examples/wrapped-sol.tsx" |
| 16 | +import { Route as ExamplesTransferSolRouteImport } from "./routes/examples/transfer-sol.tsx" |
| 17 | +import { Route as ExamplesTokensRouteImport } from "./routes/examples/tokens.tsx" |
| 18 | +import { Route as ExamplesDashboardRouteImport } from "./routes/examples/dashboard.tsx" |
19 | 19 |
|
20 | 20 | const ExamplesRoute = ExamplesRouteImport.update({ |
21 | | - id: '/examples', |
22 | | - path: '/examples', |
| 21 | + id: "/examples", |
| 22 | + path: "/examples", |
23 | 23 | getParentRoute: () => rootRouteImport, |
24 | 24 | } as any) |
25 | 25 | const IndexRoute = IndexRouteImport.update({ |
26 | | - id: '/', |
27 | | - path: '/', |
| 26 | + id: "/", |
| 27 | + path: "/", |
28 | 28 | getParentRoute: () => rootRouteImport, |
29 | 29 | } as any) |
30 | 30 | const ExamplesIndexRoute = ExamplesIndexRouteImport.update({ |
31 | | - id: '/', |
32 | | - path: '/', |
| 31 | + id: "/", |
| 32 | + path: "/", |
33 | 33 | getParentRoute: () => ExamplesRoute, |
34 | 34 | } as any) |
35 | 35 | const ExamplesWrappedSolRoute = ExamplesWrappedSolRouteImport.update({ |
36 | | - id: '/wrapped-sol', |
37 | | - path: '/wrapped-sol', |
| 36 | + id: "/wrapped-sol", |
| 37 | + path: "/wrapped-sol", |
38 | 38 | getParentRoute: () => ExamplesRoute, |
39 | 39 | } as any) |
40 | 40 | const ExamplesTransferSolRoute = ExamplesTransferSolRouteImport.update({ |
41 | | - id: '/transfer-sol', |
42 | | - path: '/transfer-sol', |
| 41 | + id: "/transfer-sol", |
| 42 | + path: "/transfer-sol", |
43 | 43 | getParentRoute: () => ExamplesRoute, |
44 | 44 | } as any) |
45 | 45 | const ExamplesTokensRoute = ExamplesTokensRouteImport.update({ |
46 | | - id: '/tokens', |
47 | | - path: '/tokens', |
| 46 | + id: "/tokens", |
| 47 | + path: "/tokens", |
48 | 48 | getParentRoute: () => ExamplesRoute, |
49 | 49 | } as any) |
50 | 50 | const ExamplesDashboardRoute = ExamplesDashboardRouteImport.update({ |
51 | | - id: '/dashboard', |
52 | | - path: '/dashboard', |
| 51 | + id: "/dashboard", |
| 52 | + path: "/dashboard", |
53 | 53 | getParentRoute: () => ExamplesRoute, |
54 | 54 | } as any) |
55 | 55 |
|
56 | 56 | export interface FileRoutesByFullPath { |
57 | | - '/': typeof IndexRoute |
58 | | - '/examples': typeof ExamplesRouteWithChildren |
59 | | - '/examples/dashboard': typeof ExamplesDashboardRoute |
60 | | - '/examples/tokens': typeof ExamplesTokensRoute |
61 | | - '/examples/transfer-sol': typeof ExamplesTransferSolRoute |
62 | | - '/examples/wrapped-sol': typeof ExamplesWrappedSolRoute |
63 | | - '/examples/': typeof ExamplesIndexRoute |
| 57 | + "/": typeof IndexRoute |
| 58 | + "/examples": typeof ExamplesRouteWithChildren |
| 59 | + "/examples/dashboard": typeof ExamplesDashboardRoute |
| 60 | + "/examples/tokens": typeof ExamplesTokensRoute |
| 61 | + "/examples/transfer-sol": typeof ExamplesTransferSolRoute |
| 62 | + "/examples/wrapped-sol": typeof ExamplesWrappedSolRoute |
| 63 | + "/examples/": typeof ExamplesIndexRoute |
64 | 64 | } |
65 | 65 | export interface FileRoutesByTo { |
66 | | - '/': typeof IndexRoute |
67 | | - '/examples/dashboard': typeof ExamplesDashboardRoute |
68 | | - '/examples/tokens': typeof ExamplesTokensRoute |
69 | | - '/examples/transfer-sol': typeof ExamplesTransferSolRoute |
70 | | - '/examples/wrapped-sol': typeof ExamplesWrappedSolRoute |
71 | | - '/examples': typeof ExamplesIndexRoute |
| 66 | + "/": typeof IndexRoute |
| 67 | + "/examples/dashboard": typeof ExamplesDashboardRoute |
| 68 | + "/examples/tokens": typeof ExamplesTokensRoute |
| 69 | + "/examples/transfer-sol": typeof ExamplesTransferSolRoute |
| 70 | + "/examples/wrapped-sol": typeof ExamplesWrappedSolRoute |
| 71 | + "/examples": typeof ExamplesIndexRoute |
72 | 72 | } |
73 | 73 | export interface FileRoutesById { |
74 | 74 | __root__: typeof rootRouteImport |
75 | | - '/': typeof IndexRoute |
76 | | - '/examples': typeof ExamplesRouteWithChildren |
77 | | - '/examples/dashboard': typeof ExamplesDashboardRoute |
78 | | - '/examples/tokens': typeof ExamplesTokensRoute |
79 | | - '/examples/transfer-sol': typeof ExamplesTransferSolRoute |
80 | | - '/examples/wrapped-sol': typeof ExamplesWrappedSolRoute |
81 | | - '/examples/': typeof ExamplesIndexRoute |
| 75 | + "/": typeof IndexRoute |
| 76 | + "/examples": typeof ExamplesRouteWithChildren |
| 77 | + "/examples/dashboard": typeof ExamplesDashboardRoute |
| 78 | + "/examples/tokens": typeof ExamplesTokensRoute |
| 79 | + "/examples/transfer-sol": typeof ExamplesTransferSolRoute |
| 80 | + "/examples/wrapped-sol": typeof ExamplesWrappedSolRoute |
| 81 | + "/examples/": typeof ExamplesIndexRoute |
82 | 82 | } |
83 | 83 | export interface FileRouteTypes { |
84 | 84 | fileRoutesByFullPath: FileRoutesByFullPath |
85 | 85 | fullPaths: |
86 | | - | '/' |
87 | | - | '/examples' |
88 | | - | '/examples/dashboard' |
89 | | - | '/examples/tokens' |
90 | | - | '/examples/transfer-sol' |
91 | | - | '/examples/wrapped-sol' |
92 | | - | '/examples/' |
| 86 | + | "/" |
| 87 | + | "/examples" |
| 88 | + | "/examples/dashboard" |
| 89 | + | "/examples/tokens" |
| 90 | + | "/examples/transfer-sol" |
| 91 | + | "/examples/wrapped-sol" |
| 92 | + | "/examples/" |
93 | 93 | fileRoutesByTo: FileRoutesByTo |
94 | 94 | to: |
95 | | - | '/' |
96 | | - | '/examples/dashboard' |
97 | | - | '/examples/tokens' |
98 | | - | '/examples/transfer-sol' |
99 | | - | '/examples/wrapped-sol' |
100 | | - | '/examples' |
| 95 | + | "/" |
| 96 | + | "/examples/dashboard" |
| 97 | + | "/examples/tokens" |
| 98 | + | "/examples/transfer-sol" |
| 99 | + | "/examples/wrapped-sol" |
| 100 | + | "/examples" |
101 | 101 | id: |
102 | | - | '__root__' |
103 | | - | '/' |
104 | | - | '/examples' |
105 | | - | '/examples/dashboard' |
106 | | - | '/examples/tokens' |
107 | | - | '/examples/transfer-sol' |
108 | | - | '/examples/wrapped-sol' |
109 | | - | '/examples/' |
| 102 | + | "__root__" |
| 103 | + | "/" |
| 104 | + | "/examples" |
| 105 | + | "/examples/dashboard" |
| 106 | + | "/examples/tokens" |
| 107 | + | "/examples/transfer-sol" |
| 108 | + | "/examples/wrapped-sol" |
| 109 | + | "/examples/" |
110 | 110 | fileRoutesById: FileRoutesById |
111 | 111 | } |
112 | 112 | export interface RootRouteChildren { |
113 | 113 | IndexRoute: typeof IndexRoute |
114 | 114 | ExamplesRoute: typeof ExamplesRouteWithChildren |
115 | 115 | } |
116 | 116 |
|
117 | | -declare module '@tanstack/react-router' { |
| 117 | +declare module "@tanstack/react-router" { |
118 | 118 | interface FileRoutesByPath { |
119 | | - '/examples': { |
120 | | - id: '/examples' |
121 | | - path: '/examples' |
122 | | - fullPath: '/examples' |
| 119 | + "/examples": { |
| 120 | + id: "/examples" |
| 121 | + path: "/examples" |
| 122 | + fullPath: "/examples" |
123 | 123 | preLoaderRoute: typeof ExamplesRouteImport |
124 | 124 | parentRoute: typeof rootRouteImport |
125 | 125 | } |
126 | | - '/': { |
127 | | - id: '/' |
128 | | - path: '/' |
129 | | - fullPath: '/' |
| 126 | + "/": { |
| 127 | + id: "/" |
| 128 | + path: "/" |
| 129 | + fullPath: "/" |
130 | 130 | preLoaderRoute: typeof IndexRouteImport |
131 | 131 | parentRoute: typeof rootRouteImport |
132 | 132 | } |
133 | | - '/examples/': { |
134 | | - id: '/examples/' |
135 | | - path: '/' |
136 | | - fullPath: '/examples/' |
| 133 | + "/examples/": { |
| 134 | + id: "/examples/" |
| 135 | + path: "/" |
| 136 | + fullPath: "/examples/" |
137 | 137 | preLoaderRoute: typeof ExamplesIndexRouteImport |
138 | 138 | parentRoute: typeof ExamplesRoute |
139 | 139 | } |
140 | | - '/examples/wrapped-sol': { |
141 | | - id: '/examples/wrapped-sol' |
142 | | - path: '/wrapped-sol' |
143 | | - fullPath: '/examples/wrapped-sol' |
| 140 | + "/examples/wrapped-sol": { |
| 141 | + id: "/examples/wrapped-sol" |
| 142 | + path: "/wrapped-sol" |
| 143 | + fullPath: "/examples/wrapped-sol" |
144 | 144 | preLoaderRoute: typeof ExamplesWrappedSolRouteImport |
145 | 145 | parentRoute: typeof ExamplesRoute |
146 | 146 | } |
147 | | - '/examples/transfer-sol': { |
148 | | - id: '/examples/transfer-sol' |
149 | | - path: '/transfer-sol' |
150 | | - fullPath: '/examples/transfer-sol' |
| 147 | + "/examples/transfer-sol": { |
| 148 | + id: "/examples/transfer-sol" |
| 149 | + path: "/transfer-sol" |
| 150 | + fullPath: "/examples/transfer-sol" |
151 | 151 | preLoaderRoute: typeof ExamplesTransferSolRouteImport |
152 | 152 | parentRoute: typeof ExamplesRoute |
153 | 153 | } |
154 | | - '/examples/tokens': { |
155 | | - id: '/examples/tokens' |
156 | | - path: '/tokens' |
157 | | - fullPath: '/examples/tokens' |
| 154 | + "/examples/tokens": { |
| 155 | + id: "/examples/tokens" |
| 156 | + path: "/tokens" |
| 157 | + fullPath: "/examples/tokens" |
158 | 158 | preLoaderRoute: typeof ExamplesTokensRouteImport |
159 | 159 | parentRoute: typeof ExamplesRoute |
160 | 160 | } |
161 | | - '/examples/dashboard': { |
162 | | - id: '/examples/dashboard' |
163 | | - path: '/dashboard' |
164 | | - fullPath: '/examples/dashboard' |
| 161 | + "/examples/dashboard": { |
| 162 | + id: "/examples/dashboard" |
| 163 | + path: "/dashboard" |
| 164 | + fullPath: "/examples/dashboard" |
165 | 165 | preLoaderRoute: typeof ExamplesDashboardRouteImport |
166 | 166 | parentRoute: typeof ExamplesRoute |
167 | 167 | } |
|
0 commit comments