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 PathlessLayoutRouteImport } from './routes/_pathlessLayout'
14import { Route as PostsRouteRouteImport } from './routes/posts.route'
15import { Route as PathlessLayoutNestedLayoutRouteImport } from './routes/_pathlessLayout/_nested-layout'
16import { Route as PostsIndexRouteImport } from './routes/posts.index'
17import { Route as PostsPostIdRouteImport } from './routes/posts.$postId'
18import { Route as PathlessLayoutNestedLayoutRouteARouteImport } from './routes/_pathlessLayout/_nested-layout/route-a'
19import { Route as PathlessLayoutNestedLayoutRouteBRouteImport } from './routes/_pathlessLayout/_nested-layout/route-b'
20β
21const IndexRoute = IndexRouteImport.update({
22 id: '/',
23 path: '/',
24 getParentRoute: () => rootRouteImport,
25})
26const PathlessLayoutRoute = PathlessLayoutRouteImport.update({
27 id: '/_pathlessLayout',
28 getParentRoute: () => rootRouteImport,
29})
30const PostsRouteRoute = PostsRouteRouteImport.update({
31 id: '/posts',
32 path: '/posts',
33 getParentRoute: () => rootRouteImport,
34})
35const PathlessLayoutNestedLayoutRoute =
36 PathlessLayoutNestedLayoutRouteImport.update({
37 id: '/_nested-layout',
38 getParentRoute: () => PathlessLayoutRoute,
39 })
40const PostsIndexRoute = PostsIndexRouteImport.update({
41 id: '/',
42 path: '/',
43 getParentRoute: () => PostsRouteRoute,
44})
45const PostsPostIdRoute = PostsPostIdRouteImport.update({
46 id: '/$postId',
47 path: '/$postId',
48 getParentRoute: () => PostsRouteRoute,
49})
50const PathlessLayoutNestedLayoutRouteARoute =
51 PathlessLayoutNestedLayoutRouteARouteImport.update({
52 id: '/route-a',
53 path: '/route-a',
54 getParentRoute: () => PathlessLayoutNestedLayoutRoute,
55 })
56const PathlessLayoutNestedLayoutRouteBRoute =
57 PathlessLayoutNestedLayoutRouteBRouteImport.update({
58 id: '/route-b',
59 path: '/route-b',
60 getParentRoute: () => PathlessLayoutNestedLayoutRoute,
61 })
62β
63const PostsRouteRouteChildren = {
64 PostsPostIdRoute: PostsPostIdRoute,
65 PostsIndexRoute: PostsIndexRoute,
66}
67β
68const PostsRouteRouteWithChildren = PostsRouteRoute._addFileChildren(
69 PostsRouteRouteChildren,
70)
71β
72const PathlessLayoutNestedLayoutRouteChildren = {
73 PathlessLayoutNestedLayoutRouteARoute: PathlessLayoutNestedLayoutRouteARoute,
74 PathlessLayoutNestedLayoutRouteBRoute: PathlessLayoutNestedLayoutRouteBRoute,
75}
76β
77const PathlessLayoutNestedLayoutRouteWithChildren =
78 PathlessLayoutNestedLayoutRoute._addFileChildren(
79 PathlessLayoutNestedLayoutRouteChildren,
80 )
81β
82const PathlessLayoutRouteChildren = {
83 PathlessLayoutNestedLayoutRoute: PathlessLayoutNestedLayoutRouteWithChildren,
84}
85β
86const PathlessLayoutRouteWithChildren = PathlessLayoutRoute._addFileChildren(
87 PathlessLayoutRouteChildren,
88)
89β
90const rootRouteChildren = {
91 IndexRoute: IndexRoute,
92 PostsRouteRoute: PostsRouteRouteWithChildren,
93 PathlessLayoutRoute: PathlessLayoutRouteWithChildren,
94}
95export const routeTree = rootRouteImport._addFileChildren(rootRouteChildren)