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 LayoutRouteImport } from './routes/_layout'
14import { Route as PostsRouteImport } from './routes/posts'
15import { Route as LayoutLayout2RouteImport } from './routes/_layout/_layout-2'
16import { Route as PostsHomeRouteImport } from './routes/posts/home'
17import { Route as PostsDetailsRouteImport } from './routes/posts/details'
18import { Route as LayoutLayout2LayoutARouteImport } from './routes/_layout/_layout-2/layout-a'
19import { Route as LayoutLayout2LayoutBRouteImport } from './routes/_layout/_layout-2/layout-b'
20import { Route as PostsLetsGoIndexRouteImport } from './routes/posts/lets-go/index'
21import { Route as PostsLetsGoDeeperHomeRouteImport } from './routes/posts/lets-go/deeper/home'
22β
23const IndexRoute = IndexRouteImport.update({
24 id: '/',
25 path: '/',
26 getParentRoute: () => rootRouteImport,
27} as any)
28const LayoutRoute = LayoutRouteImport.update({
29 id: '/_layout',
30 getParentRoute: () => rootRouteImport,
31} as any)
32const PostsRoute = PostsRouteImport.update({
33 id: '/posts',
34 path: '/posts',
35 getParentRoute: () => rootRouteImport,
36} as any)
37const LayoutLayout2Route = LayoutLayout2RouteImport.update({
38 id: '/_layout-2',
39 getParentRoute: () => LayoutRoute,
40} as any)
41const PostsHomeRoute = PostsHomeRouteImport.update({
42 id: '/',
43 path: '/',
44 getParentRoute: () => PostsRoute,
45} as any)
46const PostsDetailsRoute = PostsDetailsRouteImport.update({
47 id: '/$postId',
48 path: '/$postId',
49 getParentRoute: () => PostsRoute,
50} as any)
51const LayoutLayout2LayoutARoute = LayoutLayout2LayoutARouteImport.update({
52 id: '/layout-a',
53 path: '/layout-a',
54 getParentRoute: () => LayoutLayout2Route,
55} as any)
56const LayoutLayout2LayoutBRoute = LayoutLayout2LayoutBRouteImport.update({
57 id: '/layout-b',
58 path: '/layout-b',
59 getParentRoute: () => LayoutLayout2Route,
60} as any)
61const PostsLetsGoIndexRoute = PostsLetsGoIndexRouteImport.update({
62 id: '/inception/',
63 path: '/inception/',
64 getParentRoute: () => PostsRoute,
65} as any)
66const PostsLetsGoDeeperHomeRoute = PostsLetsGoDeeperHomeRouteImport.update({
67 id: '/inception/deeper/',
68 path: '/inception/deeper/',
69 getParentRoute: () => PostsRoute,
70} as any)
71β
72export interface FileRoutesByFullPath {
73 '/': typeof IndexRoute
74 '/posts': typeof PostsRouteWithChildren
75 '/posts/': typeof PostsHomeRoute
76 '/posts/$postId': typeof PostsDetailsRoute
77 '/layout-a': typeof LayoutLayout2LayoutARoute
78 '/layout-b': typeof LayoutLayout2LayoutBRoute
79 '/posts/inception/': typeof PostsLetsGoIndexRoute
80 '/posts/inception/deeper/': typeof PostsLetsGoDeeperHomeRoute
81}
82export interface FileRoutesByTo {
83 '/': typeof IndexRoute
84 '/posts': typeof PostsHomeRoute
85 '/posts/$postId': typeof PostsDetailsRoute
86 '/layout-a': typeof LayoutLayout2LayoutARoute
87 '/layout-b': typeof LayoutLayout2LayoutBRoute
88 '/posts/inception': typeof PostsLetsGoIndexRoute
89 '/posts/inception/deeper': typeof PostsLetsGoDeeperHomeRoute
90}
91export interface FileRoutesById {
92 __root__: typeof rootRouteImport
93 '/': typeof IndexRoute
94 '/_layout': typeof LayoutRouteWithChildren
95 '/posts': typeof PostsRouteWithChildren
96 '/posts/': typeof PostsHomeRoute
97 '/_layout/_layout-2': typeof LayoutLayout2RouteWithChildren
98 '/posts/$postId': typeof PostsDetailsRoute
99 '/_layout/_layout-2/layout-a': typeof LayoutLayout2LayoutARoute
100 '/_layout/_layout-2/layout-b': typeof LayoutLayout2LayoutBRoute
101 '/posts/inception/': typeof PostsLetsGoIndexRoute
102 '/posts/inception/deeper/': typeof PostsLetsGoDeeperHomeRoute
103}
104export interface FileRouteTypes {
105 fileRoutesByFullPath: FileRoutesByFullPath
106 fullPaths:
107 | '/'
108 | '/posts'
109 | '/posts/'
110 | '/posts/$postId'
111 | '/layout-a'
112 | '/layout-b'
113 | '/posts/inception/'
114 | '/posts/inception/deeper/'
115 fileRoutesByTo: FileRoutesByTo
116 to:
117 | '/'
118 | '/posts'
119 | '/posts/$postId'
120 | '/layout-a'
121 | '/layout-b'
122 | '/posts/inception'
123 | '/posts/inception/deeper'
124 id:
125 | '__root__'
126 | '/'
127 | '/_layout'
128 | '/posts'
129 | '/posts/'
130 | '/_layout/_layout-2'
131 | '/posts/$postId'
132 | '/_layout/_layout-2/layout-a'
133 | '/_layout/_layout-2/layout-b'
134 | '/posts/inception/'
135 | '/posts/inception/deeper/'
136 fileRoutesById: FileRoutesById
137}
138export interface RootRouteChildren {
139 IndexRoute: typeof IndexRoute
140 LayoutRoute: typeof LayoutRouteWithChildren
141 PostsRoute: typeof PostsRouteWithChildren
142}
143β
144declare module '@tanstack/react-router' {
145 interface FileRoutesByPath {
146 '/': {
147 id: '/'
148 path: '/'
149 fullPath: '/'
150 preLoaderRoute: typeof IndexRouteImport
151 parentRoute: typeof rootRouteImport
152 }
153 '/_layout': {
154 id: '/_layout'
155 path: ''
156 fullPath: '/'
157 preLoaderRoute: typeof LayoutRouteImport
158 parentRoute: typeof rootRouteImport
159 }
160 '/posts': {
161 id: '/posts'
162 path: '/posts'
163 fullPath: '/posts'
164 preLoaderRoute: typeof PostsRouteImport
165 parentRoute: typeof rootRouteImport
166 }
167 '/_layout/_layout-2': {
168 id: '/_layout/_layout-2'
169 path: ''
170 fullPath: '/'
171 preLoaderRoute: typeof LayoutLayout2RouteImport
172 parentRoute: typeof LayoutRoute
173 }
174 '/posts/': {
175 id: '/posts/'
176 path: '/'
177 fullPath: '/posts/'
178 preLoaderRoute: typeof PostsHomeRouteImport
179 parentRoute: typeof PostsRoute
180 }
181 '/posts/$postId': {
182 id: '/posts/$postId'
183 path: '/$postId'
184 fullPath: '/posts/$postId'
185 preLoaderRoute: typeof PostsDetailsRouteImport
186 parentRoute: typeof PostsRoute
187 }
188 '/_layout/_layout-2/layout-a': {
189 id: '/_layout/_layout-2/layout-a'
190 path: '/layout-a'
191 fullPath: '/layout-a'
192 preLoaderRoute: typeof LayoutLayout2LayoutARouteImport
193 parentRoute: typeof LayoutLayout2Route
194 }
195 '/_layout/_layout-2/layout-b': {
196 id: '/_layout/_layout-2/layout-b'
197 path: '/layout-b'
198 fullPath: '/layout-b'
199 preLoaderRoute: typeof LayoutLayout2LayoutBRouteImport
200 parentRoute: typeof LayoutLayout2Route
201 }
202 '/posts/inception/': {
203 id: '/posts/inception/'
204 path: '/inception'
205 fullPath: '/posts/inception/'
206 preLoaderRoute: typeof PostsLetsGoIndexRouteImport
207 parentRoute: typeof PostsRoute
208 }
209 '/posts/inception/deeper/': {
210 id: '/posts/inception/deeper/'
211 path: '/inception/deeper'
212 fullPath: '/posts/inception/deeper/'
213 preLoaderRoute: typeof PostsLetsGoDeeperHomeRouteImport
214 parentRoute: typeof PostsRoute
215 }
216 }
217}
218β
219interface LayoutLayout2RouteChildren {
220 LayoutLayout2LayoutARoute: typeof LayoutLayout2LayoutARoute
221 LayoutLayout2LayoutBRoute: typeof LayoutLayout2LayoutBRoute
222}
223β
224const LayoutLayout2RouteChildren: LayoutLayout2RouteChildren = {
225 LayoutLayout2LayoutARoute: LayoutLayout2LayoutARoute,
226 LayoutLayout2LayoutBRoute: LayoutLayout2LayoutBRoute,
227}
228β
229const LayoutLayout2RouteWithChildren = LayoutLayout2Route._addFileChildren(
230 LayoutLayout2RouteChildren,
231)
232β
233interface LayoutRouteChildren {
234 LayoutLayout2Route: typeof LayoutLayout2RouteWithChildren
235}
236β
237const LayoutRouteChildren: LayoutRouteChildren = {
238 LayoutLayout2Route: LayoutLayout2RouteWithChildren,
239}
240β
241const LayoutRouteWithChildren =
242 LayoutRoute._addFileChildren(LayoutRouteChildren)
243β
244interface PostsRouteChildren {
245 PostsHomeRoute: typeof PostsHomeRoute
246 PostsDetailsRoute: typeof PostsDetailsRoute
247 PostsLetsGoIndexRoute: typeof PostsLetsGoIndexRoute
248 PostsLetsGoDeeperHomeRoute: typeof PostsLetsGoDeeperHomeRoute
249}
250β
251const PostsRouteChildren: PostsRouteChildren = {
252 PostsHomeRoute: PostsHomeRoute,
253 PostsDetailsRoute: PostsDetailsRoute,
254 PostsLetsGoIndexRoute: PostsLetsGoIndexRoute,
255 PostsLetsGoDeeperHomeRoute: PostsLetsGoDeeperHomeRoute,
256}
257β
258const PostsRouteWithChildren = PostsRoute._addFileChildren(PostsRouteChildren)
259β
260const rootRouteChildren: RootRouteChildren = {
261 IndexRoute: IndexRoute,
262 LayoutRoute: LayoutRouteWithChildren,
263 PostsRoute: PostsRouteWithChildren,
264}
265export const routeTree = rootRouteImport
266 ._addFileChildren(rootRouteChildren)
267 ._addFileTypes<FileRouteTypes>()