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