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