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β
11// Import Routes
12β
13import { Route as rootRoute } from './routes/__root'
14import { Route as UsersImport } from './routes/users'
15import { Route as RedirectImport } from './routes/redirect'
16import { Route as PostsImport } from './routes/posts'
17import { Route as DeferredImport } from './routes/deferred'
18import { Route as LayoutImport } from './routes/_layout'
19import { Route as IndexImport } from './routes/index'
20import { Route as UsersIndexImport } from './routes/users.index'
21import { Route as PostsIndexImport } from './routes/posts.index'
22import { Route as UsersUserIdImport } from './routes/users.$userId'
23import { Route as PostsPostIdImport } from './routes/posts.$postId'
24import { Route as LayoutLayout2Import } from './routes/_layout/_layout-2'
25import { Route as PostsPostIdDeepImport } from './routes/posts_.$postId.deep'
26import { Route as LayoutLayout2LayoutBImport } from './routes/_layout/_layout-2/layout-b'
27import { Route as LayoutLayout2LayoutAImport } from './routes/_layout/_layout-2/layout-a'
28β
29// Create/Update Routes
30β
31const UsersRoute = UsersImport.update({
32 id: '/users',
33 path: '/users',
34 getParentRoute: () => rootRoute,
35} as any)
36β
37const RedirectRoute = RedirectImport.update({
38 id: '/redirect',
39 path: '/redirect',
40 getParentRoute: () => rootRoute,
41} as any)
42β
43const PostsRoute = PostsImport.update({
44 id: '/posts',
45 path: '/posts',
46 getParentRoute: () => rootRoute,
47} as any)
48β
49const DeferredRoute = DeferredImport.update({
50 id: '/deferred',
51 path: '/deferred',
52 getParentRoute: () => rootRoute,
53} as any)
54β
55const LayoutRoute = LayoutImport.update({
56 id: '/_layout',
57 getParentRoute: () => rootRoute,
58} as any)
59β
60const IndexRoute = IndexImport.update({
61 id: '/',
62 path: '/',
63 getParentRoute: () => rootRoute,
64} as any)
65β
66const UsersIndexRoute = UsersIndexImport.update({
67 id: '/',
68 path: '/',
69 getParentRoute: () => UsersRoute,
70} as any)
71β
72const PostsIndexRoute = PostsIndexImport.update({
73 id: '/',
74 path: '/',
75 getParentRoute: () => PostsRoute,
76} as any)
77β
78const UsersUserIdRoute = UsersUserIdImport.update({
79 id: '/$userId',
80 path: '/$userId',
81 getParentRoute: () => UsersRoute,
82} as any)
83β
84const PostsPostIdRoute = PostsPostIdImport.update({
85 id: '/$postId',
86 path: '/$postId',
87 getParentRoute: () => PostsRoute,
88} as any)
89β
90const LayoutLayout2Route = LayoutLayout2Import.update({
91 id: '/_layout-2',
92 getParentRoute: () => LayoutRoute,
93} as any)
94β
95const PostsPostIdDeepRoute = PostsPostIdDeepImport.update({
96 id: '/posts_/$postId/deep',
97 path: '/posts/$postId/deep',
98 getParentRoute: () => rootRoute,
99} as any)
100β
101const LayoutLayout2LayoutBRoute = LayoutLayout2LayoutBImport.update({
102 id: '/layout-b',
103 path: '/layout-b',
104 getParentRoute: () => LayoutLayout2Route,
105} as any)
106β
107const LayoutLayout2LayoutARoute = LayoutLayout2LayoutAImport.update({
108 id: '/layout-a',
109 path: '/layout-a',
110 getParentRoute: () => LayoutLayout2Route,
111} as any)
112β
113// Populate the FileRoutesByPath interface
114β
115declare module '@tanstack/react-router' {
116 interface FileRoutesByPath {
117 '/': {
118 id: '/'
119 path: '/'
120 fullPath: '/'
121 preLoaderRoute: typeof IndexImport
122 parentRoute: typeof rootRoute
123 }
124 '/_layout': {
125 id: '/_layout'
126 path: ''
127 fullPath: ''
128 preLoaderRoute: typeof LayoutImport
129 parentRoute: typeof rootRoute
130 }
131 '/deferred': {
132 id: '/deferred'
133 path: '/deferred'
134 fullPath: '/deferred'
135 preLoaderRoute: typeof DeferredImport
136 parentRoute: typeof rootRoute
137 }
138 '/posts': {
139 id: '/posts'
140 path: '/posts'
141 fullPath: '/posts'
142 preLoaderRoute: typeof PostsImport
143 parentRoute: typeof rootRoute
144 }
145 '/redirect': {
146 id: '/redirect'
147 path: '/redirect'
148 fullPath: '/redirect'
149 preLoaderRoute: typeof RedirectImport
150 parentRoute: typeof rootRoute
151 }
152 '/users': {
153 id: '/users'
154 path: '/users'
155 fullPath: '/users'
156 preLoaderRoute: typeof UsersImport
157 parentRoute: typeof rootRoute
158 }
159 '/_layout/_layout-2': {
160 id: '/_layout/_layout-2'
161 path: ''
162 fullPath: ''
163 preLoaderRoute: typeof LayoutLayout2Import
164 parentRoute: typeof LayoutImport
165 }
166 '/posts/$postId': {
167 id: '/posts/$postId'
168 path: '/$postId'
169 fullPath: '/posts/$postId'
170 preLoaderRoute: typeof PostsPostIdImport
171 parentRoute: typeof PostsImport
172 }
173 '/users/$userId': {
174 id: '/users/$userId'
175 path: '/$userId'
176 fullPath: '/users/$userId'
177 preLoaderRoute: typeof UsersUserIdImport
178 parentRoute: typeof UsersImport
179 }
180 '/posts/': {
181 id: '/posts/'
182 path: '/'
183 fullPath: '/posts/'
184 preLoaderRoute: typeof PostsIndexImport
185 parentRoute: typeof PostsImport
186 }
187 '/users/': {
188 id: '/users/'
189 path: '/'
190 fullPath: '/users/'
191 preLoaderRoute: typeof UsersIndexImport
192 parentRoute: typeof UsersImport
193 }
194 '/_layout/_layout-2/layout-a': {
195 id: '/_layout/_layout-2/layout-a'
196 path: '/layout-a'
197 fullPath: '/layout-a'
198 preLoaderRoute: typeof LayoutLayout2LayoutAImport
199 parentRoute: typeof LayoutLayout2Import
200 }
201 '/_layout/_layout-2/layout-b': {
202 id: '/_layout/_layout-2/layout-b'
203 path: '/layout-b'
204 fullPath: '/layout-b'
205 preLoaderRoute: typeof LayoutLayout2LayoutBImport
206 parentRoute: typeof LayoutLayout2Import
207 }
208 '/posts_/$postId/deep': {
209 id: '/posts_/$postId/deep'
210 path: '/posts/$postId/deep'
211 fullPath: '/posts/$postId/deep'
212 preLoaderRoute: typeof PostsPostIdDeepImport
213 parentRoute: typeof rootRoute
214 }
215 }
216}
217β
218// Create and export the route tree
219β
220interface LayoutLayout2RouteChildren {
221 LayoutLayout2LayoutARoute: typeof LayoutLayout2LayoutARoute
222 LayoutLayout2LayoutBRoute: typeof LayoutLayout2LayoutBRoute
223}
224β
225const LayoutLayout2RouteChildren: LayoutLayout2RouteChildren = {
226 LayoutLayout2LayoutARoute: LayoutLayout2LayoutARoute,
227 LayoutLayout2LayoutBRoute: LayoutLayout2LayoutBRoute,
228}
229β
230const LayoutLayout2RouteWithChildren = LayoutLayout2Route._addFileChildren(
231 LayoutLayout2RouteChildren,
232)
233β
234interface LayoutRouteChildren {
235 LayoutLayout2Route: typeof LayoutLayout2RouteWithChildren
236}
237β
238const LayoutRouteChildren: LayoutRouteChildren = {
239 LayoutLayout2Route: LayoutLayout2RouteWithChildren,
240}
241β
242const LayoutRouteWithChildren =
243 LayoutRoute._addFileChildren(LayoutRouteChildren)
244β
245interface PostsRouteChildren {
246 PostsPostIdRoute: typeof PostsPostIdRoute
247 PostsIndexRoute: typeof PostsIndexRoute
248}
249β
250const PostsRouteChildren: PostsRouteChildren = {
251 PostsPostIdRoute: PostsPostIdRoute,
252 PostsIndexRoute: PostsIndexRoute,
253}
254β
255const PostsRouteWithChildren = PostsRoute._addFileChildren(PostsRouteChildren)
256β
257interface UsersRouteChildren {
258 UsersUserIdRoute: typeof UsersUserIdRoute
259 UsersIndexRoute: typeof UsersIndexRoute
260}
261β
262const UsersRouteChildren: UsersRouteChildren = {
263 UsersUserIdRoute: UsersUserIdRoute,
264 UsersIndexRoute: UsersIndexRoute,
265}
266β
267const UsersRouteWithChildren = UsersRoute._addFileChildren(UsersRouteChildren)
268β
269export interface FileRoutesByFullPath {
270 '/': typeof IndexRoute
271 '': typeof LayoutLayout2RouteWithChildren
272 '/deferred': typeof DeferredRoute
273 '/posts': typeof PostsRouteWithChildren
274 '/redirect': typeof RedirectRoute
275 '/users': typeof UsersRouteWithChildren
276 '/posts/$postId': typeof PostsPostIdRoute
277 '/users/$userId': typeof UsersUserIdRoute
278 '/posts/': typeof PostsIndexRoute
279 '/users/': typeof UsersIndexRoute
280 '/layout-a': typeof LayoutLayout2LayoutARoute
281 '/layout-b': typeof LayoutLayout2LayoutBRoute
282 '/posts/$postId/deep': typeof PostsPostIdDeepRoute
283}
284β
285export interface FileRoutesByTo {
286 '/': typeof IndexRoute
287 '': typeof LayoutLayout2RouteWithChildren
288 '/deferred': typeof DeferredRoute
289 '/redirect': typeof RedirectRoute
290 '/posts/$postId': typeof PostsPostIdRoute
291 '/users/$userId': typeof UsersUserIdRoute
292 '/posts': typeof PostsIndexRoute
293 '/users': typeof UsersIndexRoute
294 '/layout-a': typeof LayoutLayout2LayoutARoute
295 '/layout-b': typeof LayoutLayout2LayoutBRoute
296 '/posts/$postId/deep': typeof PostsPostIdDeepRoute
297}
298β
299export interface FileRoutesById {
300 __root__: typeof rootRoute
301 '/': typeof IndexRoute
302 '/_layout': typeof LayoutRouteWithChildren
303 '/deferred': typeof DeferredRoute
304 '/posts': typeof PostsRouteWithChildren
305 '/redirect': typeof RedirectRoute
306 '/users': typeof UsersRouteWithChildren
307 '/_layout/_layout-2': typeof LayoutLayout2RouteWithChildren
308 '/posts/$postId': typeof PostsPostIdRoute
309 '/users/$userId': typeof UsersUserIdRoute
310 '/posts/': typeof PostsIndexRoute
311 '/users/': typeof UsersIndexRoute
312 '/_layout/_layout-2/layout-a': typeof LayoutLayout2LayoutARoute
313 '/_layout/_layout-2/layout-b': typeof LayoutLayout2LayoutBRoute
314 '/posts_/$postId/deep': typeof PostsPostIdDeepRoute
315}
316β
317export interface FileRouteTypes {
318 fileRoutesByFullPath: FileRoutesByFullPath
319 fullPaths:
320 | '/'
321 | ''
322 | '/deferred'
323 | '/posts'
324 | '/redirect'
325 | '/users'
326 | '/posts/$postId'
327 | '/users/$userId'
328 | '/posts/'
329 | '/users/'
330 | '/layout-a'
331 | '/layout-b'
332 | '/posts/$postId/deep'
333 fileRoutesByTo: FileRoutesByTo
334 to:
335 | '/'
336 | ''
337 | '/deferred'
338 | '/redirect'
339 | '/posts/$postId'
340 | '/users/$userId'
341 | '/posts'
342 | '/users'
343 | '/layout-a'
344 | '/layout-b'
345 | '/posts/$postId/deep'
346 id:
347 | '__root__'
348 | '/'
349 | '/_layout'
350 | '/deferred'
351 | '/posts'
352 | '/redirect'
353 | '/users'
354 | '/_layout/_layout-2'
355 | '/posts/$postId'
356 | '/users/$userId'
357 | '/posts/'
358 | '/users/'
359 | '/_layout/_layout-2/layout-a'
360 | '/_layout/_layout-2/layout-b'
361 | '/posts_/$postId/deep'
362 fileRoutesById: FileRoutesById
363}
364β
365export interface RootRouteChildren {
366 IndexRoute: typeof IndexRoute
367 LayoutRoute: typeof LayoutRouteWithChildren
368 DeferredRoute: typeof DeferredRoute
369 PostsRoute: typeof PostsRouteWithChildren
370 RedirectRoute: typeof RedirectRoute
371 UsersRoute: typeof UsersRouteWithChildren
372 PostsPostIdDeepRoute: typeof PostsPostIdDeepRoute
373}
374β
375const rootRouteChildren: RootRouteChildren = {
376 IndexRoute: IndexRoute,
377 LayoutRoute: LayoutRouteWithChildren,
378 DeferredRoute: DeferredRoute,
379 PostsRoute: PostsRouteWithChildren,
380 RedirectRoute: RedirectRoute,
381 UsersRoute: UsersRouteWithChildren,
382 PostsPostIdDeepRoute: PostsPostIdDeepRoute,
383}
384β
385export const routeTree = rootRoute
386 ._addFileChildren(rootRouteChildren)
387 ._addFileTypes<FileRouteTypes>()
388β
389/* ROUTE_MANIFEST_START
390{
391 "routes": {
392 "__root__": {
393 "filePath": "__root.tsx",
394 "children": [
395 "/",
396 "/_layout",
397 "/deferred",
398 "/posts",
399 "/redirect",
400 "/users",
401 "/posts_/$postId/deep"
402 ]
403 },
404 "/": {
405 "filePath": "index.tsx"
406 },
407 "/_layout": {
408 "filePath": "_layout.tsx",
409 "children": [
410 "/_layout/_layout-2"
411 ]
412 },
413 "/deferred": {
414 "filePath": "deferred.tsx"
415 },
416 "/posts": {
417 "filePath": "posts.tsx",
418 "children": [
419 "/posts/$postId",
420 "/posts/"
421 ]
422 },
423 "/redirect": {
424 "filePath": "redirect.tsx"
425 },
426 "/users": {
427 "filePath": "users.tsx",
428 "children": [
429 "/users/$userId",
430 "/users/"
431 ]
432 },
433 "/_layout/_layout-2": {
434 "filePath": "_layout/_layout-2.tsx",
435 "parent": "/_layout",
436 "children": [
437 "/_layout/_layout-2/layout-a",
438 "/_layout/_layout-2/layout-b"
439 ]
440 },
441 "/posts/$postId": {
442 "filePath": "posts.$postId.tsx",
443 "parent": "/posts"
444 },
445 "/users/$userId": {
446 "filePath": "users.$userId.tsx",
447 "parent": "/users"
448 },
449 "/posts/": {
450 "filePath": "posts.index.tsx",
451 "parent": "/posts"
452 },
453 "/users/": {
454 "filePath": "users.index.tsx",
455 "parent": "/users"
456 },
457 "/_layout/_layout-2/layout-a": {
458 "filePath": "_layout/_layout-2/layout-a.tsx",
459 "parent": "/_layout/_layout-2"
460 },
461 "/_layout/_layout-2/layout-b": {
462 "filePath": "_layout/_layout-2/layout-b.tsx",
463 "parent": "/_layout/_layout-2"
464 },
465 "/posts_/$postId/deep": {
466 "filePath": "posts_.$postId.deep.tsx"
467 }
468 }
469}
470ROUTE_MANIFEST_END */