Open History to see the last commit
1/* eslint-disable */
2β
3// @ts-nocheck
4β
5// noinspection JSUnusedGlobalSymbols
6β
7// This file was automatically generated by TanStack Router.
8// You should NOT make any changes in this file as it will be overwritten.
9// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
10β
11import { Route as rootRouteImport } from './routes/__root'
12import { Route as IndexRouteImport } from './routes/index'
13import { Route as testsHashScrollAboutRouteImport } from './routes/(tests)/hash-scroll-about'
14import { Route as testsHashScrollReproRouteImport } from './routes/(tests)/hash-scroll-repro'
15import { Route as testsIssue7687RouteImport } from './routes/(tests)/issue-7687'
16import { Route as testsNestedScrollAwayRouteImport } from './routes/(tests)/nested-scroll-away'
17import { Route as testsNestedScrollCarryOverARouteImport } from './routes/(tests)/nested-scroll-carry-over-a'
18import { Route as testsNestedScrollCarryOverBRouteImport } from './routes/(tests)/nested-scroll-carry-over-b'
19import { Route as testsNestedScrollSearchRouteImport } from './routes/(tests)/nested-scroll-search'
20import { Route as testsNormalPageRouteImport } from './routes/(tests)/normal-page'
21import { Route as testsResetScrollFalseARouteImport } from './routes/(tests)/reset-scroll-false-a'
22import { Route as testsResetScrollFalseBRouteImport } from './routes/(tests)/reset-scroll-false-b'
23import { Route as testsResetScrollFalseCRouteImport } from './routes/(tests)/reset-scroll-false-c'
24import { Route as testsSsrScrollKeyRouteImport } from './routes/(tests)/ssr-scroll-key'
25import { Route as testsWithLoaderRouteImport } from './routes/(tests)/with-loader'
26import { Route as testsWithSearchRouteImport } from './routes/(tests)/with-search'
27import { Route as testsIssue7687IndexRouteImport } from './routes/(tests)/issue-7687.index'
28import { Route as testsIssue7687DetailRouteImport } from './routes/(tests)/issue-7687.detail'
29β
30const IndexRoute = IndexRouteImport.update({
31 id: '/',
32 path: '/',
33 getParentRoute: () => rootRouteImport,
34} as any)
35const testsHashScrollAboutRoute = testsHashScrollAboutRouteImport.update({
36 id: '/(tests)/hash-scroll-about',
37 path: '/hash-scroll-about',
38 getParentRoute: () => rootRouteImport,
39} as any)
40const testsHashScrollReproRoute = testsHashScrollReproRouteImport.update({
41 id: '/(tests)/hash-scroll-repro',
42 path: '/hash-scroll-repro',
43 getParentRoute: () => rootRouteImport,
44} as any)
45const testsIssue7687Route = testsIssue7687RouteImport.update({
46 id: '/(tests)/issue-7687',
47 path: '/issue-7687',
48 getParentRoute: () => rootRouteImport,
49} as any)
50const testsNestedScrollAwayRoute = testsNestedScrollAwayRouteImport.update({
51 id: '/(tests)/nested-scroll-away',
52 path: '/nested-scroll-away',
53 getParentRoute: () => rootRouteImport,
54} as any)
55const testsNestedScrollCarryOverARoute =
56 testsNestedScrollCarryOverARouteImport.update({
57 id: '/(tests)/nested-scroll-carry-over-a',
58 path: '/nested-scroll-carry-over-a',
59 getParentRoute: () => rootRouteImport,
60 } as any)
61const testsNestedScrollCarryOverBRoute =
62 testsNestedScrollCarryOverBRouteImport.update({
63 id: '/(tests)/nested-scroll-carry-over-b',
64 path: '/nested-scroll-carry-over-b',
65 getParentRoute: () => rootRouteImport,
66 } as any)
67const testsNestedScrollSearchRoute = testsNestedScrollSearchRouteImport.update({
68 id: '/(tests)/nested-scroll-search',
69 path: '/nested-scroll-search',
70 getParentRoute: () => rootRouteImport,
71} as any)
72const testsNormalPageRoute = testsNormalPageRouteImport.update({
73 id: '/(tests)/normal-page',
74 path: '/normal-page',
75 getParentRoute: () => rootRouteImport,
76} as any)
77const testsResetScrollFalseARoute = testsResetScrollFalseARouteImport.update({
78 id: '/(tests)/reset-scroll-false-a',
79 path: '/reset-scroll-false-a',
80 getParentRoute: () => rootRouteImport,
81} as any)
82const testsResetScrollFalseBRoute = testsResetScrollFalseBRouteImport.update({
83 id: '/(tests)/reset-scroll-false-b',
84 path: '/reset-scroll-false-b',
85 getParentRoute: () => rootRouteImport,
86} as any)
87const testsResetScrollFalseCRoute = testsResetScrollFalseCRouteImport.update({
88 id: '/(tests)/reset-scroll-false-c',
89 path: '/reset-scroll-false-c',
90 getParentRoute: () => rootRouteImport,
91} as any)
92const testsSsrScrollKeyRoute = testsSsrScrollKeyRouteImport.update({
93 id: '/(tests)/ssr-scroll-key',
94 path: '/ssr-scroll-key',
95 getParentRoute: () => rootRouteImport,
96} as any)
97const testsWithLoaderRoute = testsWithLoaderRouteImport.update({
98 id: '/(tests)/with-loader',
99 path: '/with-loader',
100 getParentRoute: () => rootRouteImport,
101} as any)
102const testsWithSearchRoute = testsWithSearchRouteImport.update({
103 id: '/(tests)/with-search',
104 path: '/with-search',
105 getParentRoute: () => rootRouteImport,
106} as any)
107const testsIssue7687IndexRoute = testsIssue7687IndexRouteImport.update({
108 id: '/',
109 path: '/',
110 getParentRoute: () => testsIssue7687Route,
111} as any)
112const testsIssue7687DetailRoute = testsIssue7687DetailRouteImport.update({
113 id: '/detail',
114 path: '/detail',
115 getParentRoute: () => testsIssue7687Route,
116} as any)
117β
118export interface FileRoutesByFullPath {
119 '/': typeof IndexRoute
120 '/hash-scroll-about': typeof testsHashScrollAboutRoute
121 '/hash-scroll-repro': typeof testsHashScrollReproRoute
122 '/issue-7687': typeof testsIssue7687RouteWithChildren
123 '/nested-scroll-away': typeof testsNestedScrollAwayRoute
124 '/nested-scroll-carry-over-a': typeof testsNestedScrollCarryOverARoute
125 '/nested-scroll-carry-over-b': typeof testsNestedScrollCarryOverBRoute
126 '/nested-scroll-search': typeof testsNestedScrollSearchRoute
127 '/normal-page': typeof testsNormalPageRoute
128 '/reset-scroll-false-a': typeof testsResetScrollFalseARoute
129 '/reset-scroll-false-b': typeof testsResetScrollFalseBRoute
130 '/reset-scroll-false-c': typeof testsResetScrollFalseCRoute
131 '/ssr-scroll-key': typeof testsSsrScrollKeyRoute
132 '/with-loader': typeof testsWithLoaderRoute
133 '/with-search': typeof testsWithSearchRoute
134 '/issue-7687/detail': typeof testsIssue7687DetailRoute
135 '/issue-7687/': typeof testsIssue7687IndexRoute
136}
137export interface FileRoutesByTo {
138 '/': typeof IndexRoute
139 '/hash-scroll-about': typeof testsHashScrollAboutRoute
140 '/hash-scroll-repro': typeof testsHashScrollReproRoute
141 '/nested-scroll-away': typeof testsNestedScrollAwayRoute
142 '/nested-scroll-carry-over-a': typeof testsNestedScrollCarryOverARoute
143 '/nested-scroll-carry-over-b': typeof testsNestedScrollCarryOverBRoute
144 '/nested-scroll-search': typeof testsNestedScrollSearchRoute
145 '/normal-page': typeof testsNormalPageRoute
146 '/reset-scroll-false-a': typeof testsResetScrollFalseARoute
147 '/reset-scroll-false-b': typeof testsResetScrollFalseBRoute
148 '/reset-scroll-false-c': typeof testsResetScrollFalseCRoute
149 '/ssr-scroll-key': typeof testsSsrScrollKeyRoute
150 '/with-loader': typeof testsWithLoaderRoute
151 '/with-search': typeof testsWithSearchRoute
152 '/issue-7687/detail': typeof testsIssue7687DetailRoute
153 '/issue-7687': typeof testsIssue7687IndexRoute
154}
155export interface FileRoutesById {
156 __root__: typeof rootRouteImport
157 '/': typeof IndexRoute
158 '/(tests)/hash-scroll-about': typeof testsHashScrollAboutRoute
159 '/(tests)/hash-scroll-repro': typeof testsHashScrollReproRoute
160 '/(tests)/issue-7687': typeof testsIssue7687RouteWithChildren
161 '/(tests)/nested-scroll-away': typeof testsNestedScrollAwayRoute
162 '/(tests)/nested-scroll-carry-over-a': typeof testsNestedScrollCarryOverARoute
163 '/(tests)/nested-scroll-carry-over-b': typeof testsNestedScrollCarryOverBRoute
164 '/(tests)/nested-scroll-search': typeof testsNestedScrollSearchRoute
165 '/(tests)/normal-page': typeof testsNormalPageRoute
166 '/(tests)/reset-scroll-false-a': typeof testsResetScrollFalseARoute
167 '/(tests)/reset-scroll-false-b': typeof testsResetScrollFalseBRoute
168 '/(tests)/reset-scroll-false-c': typeof testsResetScrollFalseCRoute
169 '/(tests)/ssr-scroll-key': typeof testsSsrScrollKeyRoute
170 '/(tests)/with-loader': typeof testsWithLoaderRoute
171 '/(tests)/with-search': typeof testsWithSearchRoute
172 '/(tests)/issue-7687/detail': typeof testsIssue7687DetailRoute
173 '/(tests)/issue-7687/': typeof testsIssue7687IndexRoute
174}
175export interface FileRouteTypes {
176 fileRoutesByFullPath: FileRoutesByFullPath
177 fullPaths:
178 | '/'
179 | '/hash-scroll-about'
180 | '/hash-scroll-repro'
181 | '/issue-7687'
182 | '/nested-scroll-away'
183 | '/nested-scroll-carry-over-a'
184 | '/nested-scroll-carry-over-b'
185 | '/nested-scroll-search'
186 | '/normal-page'
187 | '/reset-scroll-false-a'
188 | '/reset-scroll-false-b'
189 | '/reset-scroll-false-c'
190 | '/ssr-scroll-key'
191 | '/with-loader'
192 | '/with-search'
193 | '/issue-7687/detail'
194 | '/issue-7687/'
195 fileRoutesByTo: FileRoutesByTo
196 to:
197 | '/'
198 | '/hash-scroll-about'
199 | '/hash-scroll-repro'
200 | '/nested-scroll-away'
201 | '/nested-scroll-carry-over-a'
202 | '/nested-scroll-carry-over-b'
203 | '/nested-scroll-search'
204 | '/normal-page'
205 | '/reset-scroll-false-a'
206 | '/reset-scroll-false-b'
207 | '/reset-scroll-false-c'
208 | '/ssr-scroll-key'
209 | '/with-loader'
210 | '/with-search'
211 | '/issue-7687/detail'
212 | '/issue-7687'
213 id:
214 | '__root__'
215 | '/'
216 | '/(tests)/hash-scroll-about'
217 | '/(tests)/hash-scroll-repro'
218 | '/(tests)/issue-7687'
219 | '/(tests)/nested-scroll-away'
220 | '/(tests)/nested-scroll-carry-over-a'
221 | '/(tests)/nested-scroll-carry-over-b'
222 | '/(tests)/nested-scroll-search'
223 | '/(tests)/normal-page'
224 | '/(tests)/reset-scroll-false-a'
225 | '/(tests)/reset-scroll-false-b'
226 | '/(tests)/reset-scroll-false-c'
227 | '/(tests)/ssr-scroll-key'
228 | '/(tests)/with-loader'
229 | '/(tests)/with-search'
230 | '/(tests)/issue-7687/detail'
231 | '/(tests)/issue-7687/'
232 fileRoutesById: FileRoutesById
233}
234export interface RootRouteChildren {
235 IndexRoute: typeof IndexRoute
236 testsHashScrollAboutRoute: typeof testsHashScrollAboutRoute
237 testsHashScrollReproRoute: typeof testsHashScrollReproRoute
238 testsIssue7687Route: typeof testsIssue7687RouteWithChildren
239 testsNestedScrollAwayRoute: typeof testsNestedScrollAwayRoute
240 testsNestedScrollCarryOverARoute: typeof testsNestedScrollCarryOverARoute
241 testsNestedScrollCarryOverBRoute: typeof testsNestedScrollCarryOverBRoute
242 testsNestedScrollSearchRoute: typeof testsNestedScrollSearchRoute
243 testsNormalPageRoute: typeof testsNormalPageRoute
244 testsResetScrollFalseARoute: typeof testsResetScrollFalseARoute
245 testsResetScrollFalseBRoute: typeof testsResetScrollFalseBRoute
246 testsResetScrollFalseCRoute: typeof testsResetScrollFalseCRoute
247 testsSsrScrollKeyRoute: typeof testsSsrScrollKeyRoute
248 testsWithLoaderRoute: typeof testsWithLoaderRoute
249 testsWithSearchRoute: typeof testsWithSearchRoute
250}
251β
252declare module '@tanstack/react-router' {
253 interface FileRoutesByPath {
254 '/': {
255 id: '/'
256 path: '/'
257 fullPath: '/'
258 preLoaderRoute: typeof IndexRouteImport
259 parentRoute: typeof rootRouteImport
260 }
261 '/(tests)/hash-scroll-about': {
262 id: '/(tests)/hash-scroll-about'
263 path: '/hash-scroll-about'
264 fullPath: '/hash-scroll-about'
265 preLoaderRoute: typeof testsHashScrollAboutRouteImport
266 parentRoute: typeof rootRouteImport
267 }
268 '/(tests)/hash-scroll-repro': {
269 id: '/(tests)/hash-scroll-repro'
270 path: '/hash-scroll-repro'
271 fullPath: '/hash-scroll-repro'
272 preLoaderRoute: typeof testsHashScrollReproRouteImport
273 parentRoute: typeof rootRouteImport
274 }
275 '/(tests)/issue-7687': {
276 id: '/(tests)/issue-7687'
277 path: '/issue-7687'
278 fullPath: '/issue-7687'
279 preLoaderRoute: typeof testsIssue7687RouteImport
280 parentRoute: typeof rootRouteImport
281 }
282 '/(tests)/nested-scroll-away': {
283 id: '/(tests)/nested-scroll-away'
284 path: '/nested-scroll-away'
285 fullPath: '/nested-scroll-away'
286 preLoaderRoute: typeof testsNestedScrollAwayRouteImport
287 parentRoute: typeof rootRouteImport
288 }
289 '/(tests)/nested-scroll-carry-over-a': {
290 id: '/(tests)/nested-scroll-carry-over-a'
291 path: '/nested-scroll-carry-over-a'
292 fullPath: '/nested-scroll-carry-over-a'
293 preLoaderRoute: typeof testsNestedScrollCarryOverARouteImport
294 parentRoute: typeof rootRouteImport
295 }
296 '/(tests)/nested-scroll-carry-over-b': {
297 id: '/(tests)/nested-scroll-carry-over-b'
298 path: '/nested-scroll-carry-over-b'
299 fullPath: '/nested-scroll-carry-over-b'
300 preLoaderRoute: typeof testsNestedScrollCarryOverBRouteImport
301 parentRoute: typeof rootRouteImport
302 }
303 '/(tests)/nested-scroll-search': {
304 id: '/(tests)/nested-scroll-search'
305 path: '/nested-scroll-search'
306 fullPath: '/nested-scroll-search'
307 preLoaderRoute: typeof testsNestedScrollSearchRouteImport
308 parentRoute: typeof rootRouteImport
309 }
310 '/(tests)/normal-page': {
311 id: '/(tests)/normal-page'
312 path: '/normal-page'
313 fullPath: '/normal-page'
314 preLoaderRoute: typeof testsNormalPageRouteImport
315 parentRoute: typeof rootRouteImport
316 }
317 '/(tests)/reset-scroll-false-a': {
318 id: '/(tests)/reset-scroll-false-a'
319 path: '/reset-scroll-false-a'
320 fullPath: '/reset-scroll-false-a'
321 preLoaderRoute: typeof testsResetScrollFalseARouteImport
322 parentRoute: typeof rootRouteImport
323 }
324 '/(tests)/reset-scroll-false-b': {
325 id: '/(tests)/reset-scroll-false-b'
326 path: '/reset-scroll-false-b'
327 fullPath: '/reset-scroll-false-b'
328 preLoaderRoute: typeof testsResetScrollFalseBRouteImport
329 parentRoute: typeof rootRouteImport
330 }
331 '/(tests)/reset-scroll-false-c': {
332 id: '/(tests)/reset-scroll-false-c'
333 path: '/reset-scroll-false-c'
334 fullPath: '/reset-scroll-false-c'
335 preLoaderRoute: typeof testsResetScrollFalseCRouteImport
336 parentRoute: typeof rootRouteImport
337 }
338 '/(tests)/ssr-scroll-key': {
339 id: '/(tests)/ssr-scroll-key'
340 path: '/ssr-scroll-key'
341 fullPath: '/ssr-scroll-key'
342 preLoaderRoute: typeof testsSsrScrollKeyRouteImport
343 parentRoute: typeof rootRouteImport
344 }
345 '/(tests)/with-loader': {
346 id: '/(tests)/with-loader'
347 path: '/with-loader'
348 fullPath: '/with-loader'
349 preLoaderRoute: typeof testsWithLoaderRouteImport
350 parentRoute: typeof rootRouteImport
351 }
352 '/(tests)/with-search': {
353 id: '/(tests)/with-search'
354 path: '/with-search'
355 fullPath: '/with-search'
356 preLoaderRoute: typeof testsWithSearchRouteImport
357 parentRoute: typeof rootRouteImport
358 }
359 '/(tests)/issue-7687/': {
360 id: '/(tests)/issue-7687/'
361 path: '/'
362 fullPath: '/issue-7687/'
363 preLoaderRoute: typeof testsIssue7687IndexRouteImport
364 parentRoute: typeof testsIssue7687Route
365 }
366 '/(tests)/issue-7687/detail': {
367 id: '/(tests)/issue-7687/detail'
368 path: '/detail'
369 fullPath: '/issue-7687/detail'
370 preLoaderRoute: typeof testsIssue7687DetailRouteImport
371 parentRoute: typeof testsIssue7687Route
372 }
373 }
374}
375β
376interface testsIssue7687RouteChildren {
377 testsIssue7687DetailRoute: typeof testsIssue7687DetailRoute
378 testsIssue7687IndexRoute: typeof testsIssue7687IndexRoute
379}
380β
381const testsIssue7687RouteChildren: testsIssue7687RouteChildren = {
382 testsIssue7687DetailRoute: testsIssue7687DetailRoute,
383 testsIssue7687IndexRoute: testsIssue7687IndexRoute,
384}
385β
386const testsIssue7687RouteWithChildren = testsIssue7687Route._addFileChildren(
387 testsIssue7687RouteChildren,
388)
389β
390const rootRouteChildren: RootRouteChildren = {
391 IndexRoute: IndexRoute,
392 testsHashScrollAboutRoute: testsHashScrollAboutRoute,
393 testsHashScrollReproRoute: testsHashScrollReproRoute,
394 testsIssue7687Route: testsIssue7687RouteWithChildren,
395 testsNestedScrollAwayRoute: testsNestedScrollAwayRoute,
396 testsNestedScrollCarryOverARoute: testsNestedScrollCarryOverARoute,
397 testsNestedScrollCarryOverBRoute: testsNestedScrollCarryOverBRoute,
398 testsNestedScrollSearchRoute: testsNestedScrollSearchRoute,
399 testsNormalPageRoute: testsNormalPageRoute,
400 testsResetScrollFalseARoute: testsResetScrollFalseARoute,
401 testsResetScrollFalseBRoute: testsResetScrollFalseBRoute,
402 testsResetScrollFalseCRoute: testsResetScrollFalseCRoute,
403 testsSsrScrollKeyRoute: testsSsrScrollKeyRoute,
404 testsWithLoaderRoute: testsWithLoaderRoute,
405 testsWithSearchRoute: testsWithSearchRoute,
406}
407export const routeTree = rootRouteImport
408 ._addFileChildren(rootRouteChildren)
409 ._addFileTypes<FileRouteTypes>()
410β
411import type { getRouter } from './router.tsx'
412import type { createStart } from '@tanstack/react-start'
413declare module '@tanstack/react-start' {
414 interface Register {
415 ssr: true
416 router: Awaited<ReturnType<typeof getRouter>>
417 }
418}