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 UsersRouteImport } from './routes/users'
13import { Route as RedirectRouteImport } from './routes/redirect'
14import { Route as PostsRouteImport } from './routes/posts'
15import { Route as DeferredRouteImport } from './routes/deferred'
16import { Route as PathlessLayoutRouteImport } from './routes/_pathlessLayout'
17import { Route as IndexRouteImport } from './routes/index'
18import { Route as UsersIndexRouteImport } from './routes/users.index'
19import { Route as PostsIndexRouteImport } from './routes/posts.index'
20import { Route as UsersUserIdRouteImport } from './routes/users.$userId'
21import { Route as PostsPostIdRouteImport } from './routes/posts.$postId'
22import { Route as ApiUsersRouteImport } from './routes/api/users'
23import { Route as PathlessLayoutNestedLayoutRouteImport } from './routes/_pathlessLayout/_nested-layout'
24import { Route as PostsPostIdDeepRouteImport } from './routes/posts_.$postId.deep'
25import { Route as ApiUsersUserIdRouteImport } from './routes/api/users.$userId'
26import { Route as PathlessLayoutNestedLayoutRouteBRouteImport } from './routes/_pathlessLayout/_nested-layout/route-b'
27import { Route as PathlessLayoutNestedLayoutRouteARouteImport } from './routes/_pathlessLayout/_nested-layout/route-a'
28β
29const UsersRoute = UsersRouteImport.update({
30 id: '/users',
31 path: '/users',
32 getParentRoute: () => rootRouteImport,
33} as any)
34const RedirectRoute = RedirectRouteImport.update({
35 id: '/redirect',
36 path: '/redirect',
37 getParentRoute: () => rootRouteImport,
38} as any)
39const PostsRoute = PostsRouteImport.update({
40 id: '/posts',
41 path: '/posts',
42 getParentRoute: () => rootRouteImport,
43} as any)
44const DeferredRoute = DeferredRouteImport.update({
45 id: '/deferred',
46 path: '/deferred',
47 getParentRoute: () => rootRouteImport,
48} as any)
49const PathlessLayoutRoute = PathlessLayoutRouteImport.update({
50 id: '/_pathlessLayout',
51 getParentRoute: () => rootRouteImport,
52} as any)
53const IndexRoute = IndexRouteImport.update({
54 id: '/',
55 path: '/',
56 getParentRoute: () => rootRouteImport,
57} as any)
58const UsersIndexRoute = UsersIndexRouteImport.update({
59 id: '/',
60 path: '/',
61 getParentRoute: () => UsersRoute,
62} as any)
63const PostsIndexRoute = PostsIndexRouteImport.update({
64 id: '/',
65 path: '/',
66 getParentRoute: () => PostsRoute,
67} as any)
68const UsersUserIdRoute = UsersUserIdRouteImport.update({
69 id: '/$userId',
70 path: '/$userId',
71 getParentRoute: () => UsersRoute,
72} as any)
73const PostsPostIdRoute = PostsPostIdRouteImport.update({
74 id: '/$postId',
75 path: '/$postId',
76 getParentRoute: () => PostsRoute,
77} as any)
78const ApiUsersRoute = ApiUsersRouteImport.update({
79 id: '/api/users',
80 path: '/api/users',
81 getParentRoute: () => rootRouteImport,
82} as any)
83const PathlessLayoutNestedLayoutRoute =
84 PathlessLayoutNestedLayoutRouteImport.update({
85 id: '/_nested-layout',
86 getParentRoute: () => PathlessLayoutRoute,
87 } as any)
88const PostsPostIdDeepRoute = PostsPostIdDeepRouteImport.update({
89 id: '/posts_/$postId/deep',
90 path: '/posts/$postId/deep',
91 getParentRoute: () => rootRouteImport,
92} as any)
93const ApiUsersUserIdRoute = ApiUsersUserIdRouteImport.update({
94 id: '/$userId',
95 path: '/$userId',
96 getParentRoute: () => ApiUsersRoute,
97} as any)
98const PathlessLayoutNestedLayoutRouteBRoute =
99 PathlessLayoutNestedLayoutRouteBRouteImport.update({
100 id: '/route-b',
101 path: '/route-b',
102 getParentRoute: () => PathlessLayoutNestedLayoutRoute,
103 } as any)
104const PathlessLayoutNestedLayoutRouteARoute =
105 PathlessLayoutNestedLayoutRouteARouteImport.update({
106 id: '/route-a',
107 path: '/route-a',
108 getParentRoute: () => PathlessLayoutNestedLayoutRoute,
109 } as any)
110β
111export interface FileRoutesByFullPath {
112 '/': typeof IndexRoute
113 '/deferred': typeof DeferredRoute
114 '/posts': typeof PostsRouteWithChildren
115 '/redirect': typeof RedirectRoute
116 '/users': typeof UsersRouteWithChildren
117 '/api/users': typeof ApiUsersRouteWithChildren
118 '/posts/$postId': typeof PostsPostIdRoute
119 '/users/$userId': typeof UsersUserIdRoute
120 '/posts/': typeof PostsIndexRoute
121 '/users/': typeof UsersIndexRoute
122 '/route-a': typeof PathlessLayoutNestedLayoutRouteARoute
123 '/route-b': typeof PathlessLayoutNestedLayoutRouteBRoute
124 '/api/users/$userId': typeof ApiUsersUserIdRoute
125 '/posts/$postId/deep': typeof PostsPostIdDeepRoute
126}
127export interface FileRoutesByTo {
128 '/': typeof IndexRoute
129 '/deferred': typeof DeferredRoute
130 '/redirect': typeof RedirectRoute
131 '/api/users': typeof ApiUsersRouteWithChildren
132 '/posts/$postId': typeof PostsPostIdRoute
133 '/users/$userId': typeof UsersUserIdRoute
134 '/posts': typeof PostsIndexRoute
135 '/users': typeof UsersIndexRoute
136 '/route-a': typeof PathlessLayoutNestedLayoutRouteARoute
137 '/route-b': typeof PathlessLayoutNestedLayoutRouteBRoute
138 '/api/users/$userId': typeof ApiUsersUserIdRoute
139 '/posts/$postId/deep': typeof PostsPostIdDeepRoute
140}
141export interface FileRoutesById {
142 __root__: typeof rootRouteImport
143 '/': typeof IndexRoute
144 '/_pathlessLayout': typeof PathlessLayoutRouteWithChildren
145 '/deferred': typeof DeferredRoute
146 '/posts': typeof PostsRouteWithChildren
147 '/redirect': typeof RedirectRoute
148 '/users': typeof UsersRouteWithChildren
149 '/_pathlessLayout/_nested-layout': typeof PathlessLayoutNestedLayoutRouteWithChildren
150 '/api/users': typeof ApiUsersRouteWithChildren
151 '/posts/$postId': typeof PostsPostIdRoute
152 '/users/$userId': typeof UsersUserIdRoute
153 '/posts/': typeof PostsIndexRoute
154 '/users/': typeof UsersIndexRoute
155 '/_pathlessLayout/_nested-layout/route-a': typeof PathlessLayoutNestedLayoutRouteARoute
156 '/_pathlessLayout/_nested-layout/route-b': typeof PathlessLayoutNestedLayoutRouteBRoute
157 '/api/users/$userId': typeof ApiUsersUserIdRoute
158 '/posts_/$postId/deep': typeof PostsPostIdDeepRoute
159}
160export interface FileRouteTypes {
161 fileRoutesByFullPath: FileRoutesByFullPath
162 fullPaths:
163 | '/'
164 | '/deferred'
165 | '/posts'
166 | '/redirect'
167 | '/users'
168 | '/api/users'
169 | '/posts/$postId'
170 | '/users/$userId'
171 | '/posts/'
172 | '/users/'
173 | '/route-a'
174 | '/route-b'
175 | '/api/users/$userId'
176 | '/posts/$postId/deep'
177 fileRoutesByTo: FileRoutesByTo
178 to:
179 | '/'
180 | '/deferred'
181 | '/redirect'
182 | '/api/users'
183 | '/posts/$postId'
184 | '/users/$userId'
185 | '/posts'
186 | '/users'
187 | '/route-a'
188 | '/route-b'
189 | '/api/users/$userId'
190 | '/posts/$postId/deep'
191 id:
192 | '__root__'
193 | '/'
194 | '/_pathlessLayout'
195 | '/deferred'
196 | '/posts'
197 | '/redirect'
198 | '/users'
199 | '/_pathlessLayout/_nested-layout'
200 | '/api/users'
201 | '/posts/$postId'
202 | '/users/$userId'
203 | '/posts/'
204 | '/users/'
205 | '/_pathlessLayout/_nested-layout/route-a'
206 | '/_pathlessLayout/_nested-layout/route-b'
207 | '/api/users/$userId'
208 | '/posts_/$postId/deep'
209 fileRoutesById: FileRoutesById
210}
211export interface RootRouteChildren {
212 IndexRoute: typeof IndexRoute
213 PathlessLayoutRoute: typeof PathlessLayoutRouteWithChildren
214 DeferredRoute: typeof DeferredRoute
215 PostsRoute: typeof PostsRouteWithChildren
216 RedirectRoute: typeof RedirectRoute
217 UsersRoute: typeof UsersRouteWithChildren
218 ApiUsersRoute: typeof ApiUsersRouteWithChildren
219 PostsPostIdDeepRoute: typeof PostsPostIdDeepRoute
220}
221β
222declare module '@tanstack/solid-router' {
223 interface FileRoutesByPath {
224 '/users': {
225 id: '/users'
226 path: '/users'
227 fullPath: '/users'
228 preLoaderRoute: typeof UsersRouteImport
229 parentRoute: typeof rootRouteImport
230 }
231 '/redirect': {
232 id: '/redirect'
233 path: '/redirect'
234 fullPath: '/redirect'
235 preLoaderRoute: typeof RedirectRouteImport
236 parentRoute: typeof rootRouteImport
237 }
238 '/posts': {
239 id: '/posts'
240 path: '/posts'
241 fullPath: '/posts'
242 preLoaderRoute: typeof PostsRouteImport
243 parentRoute: typeof rootRouteImport
244 }
245 '/deferred': {
246 id: '/deferred'
247 path: '/deferred'
248 fullPath: '/deferred'
249 preLoaderRoute: typeof DeferredRouteImport
250 parentRoute: typeof rootRouteImport
251 }
252 '/_pathlessLayout': {
253 id: '/_pathlessLayout'
254 path: ''
255 fullPath: ''
256 preLoaderRoute: typeof PathlessLayoutRouteImport
257 parentRoute: typeof rootRouteImport
258 }
259 '/': {
260 id: '/'
261 path: '/'
262 fullPath: '/'
263 preLoaderRoute: typeof IndexRouteImport
264 parentRoute: typeof rootRouteImport
265 }
266 '/users/': {
267 id: '/users/'
268 path: '/'
269 fullPath: '/users/'
270 preLoaderRoute: typeof UsersIndexRouteImport
271 parentRoute: typeof UsersRoute
272 }
273 '/posts/': {
274 id: '/posts/'
275 path: '/'
276 fullPath: '/posts/'
277 preLoaderRoute: typeof PostsIndexRouteImport
278 parentRoute: typeof PostsRoute
279 }
280 '/users/$userId': {
281 id: '/users/$userId'
282 path: '/$userId'
283 fullPath: '/users/$userId'
284 preLoaderRoute: typeof UsersUserIdRouteImport
285 parentRoute: typeof UsersRoute
286 }
287 '/posts/$postId': {
288 id: '/posts/$postId'
289 path: '/$postId'
290 fullPath: '/posts/$postId'
291 preLoaderRoute: typeof PostsPostIdRouteImport
292 parentRoute: typeof PostsRoute
293 }
294 '/api/users': {
295 id: '/api/users'
296 path: '/api/users'
297 fullPath: '/api/users'
298 preLoaderRoute: typeof ApiUsersRouteImport
299 parentRoute: typeof rootRouteImport
300 }
301 '/_pathlessLayout/_nested-layout': {
302 id: '/_pathlessLayout/_nested-layout'
303 path: ''
304 fullPath: ''
305 preLoaderRoute: typeof PathlessLayoutNestedLayoutRouteImport
306 parentRoute: typeof PathlessLayoutRoute
307 }
308 '/posts_/$postId/deep': {
309 id: '/posts_/$postId/deep'
310 path: '/posts/$postId/deep'
311 fullPath: '/posts/$postId/deep'
312 preLoaderRoute: typeof PostsPostIdDeepRouteImport
313 parentRoute: typeof rootRouteImport
314 }
315 '/api/users/$userId': {
316 id: '/api/users/$userId'
317 path: '/$userId'
318 fullPath: '/api/users/$userId'
319 preLoaderRoute: typeof ApiUsersUserIdRouteImport
320 parentRoute: typeof ApiUsersRoute
321 }
322 '/_pathlessLayout/_nested-layout/route-b': {
323 id: '/_pathlessLayout/_nested-layout/route-b'
324 path: '/route-b'
325 fullPath: '/route-b'
326 preLoaderRoute: typeof PathlessLayoutNestedLayoutRouteBRouteImport
327 parentRoute: typeof PathlessLayoutNestedLayoutRoute
328 }
329 '/_pathlessLayout/_nested-layout/route-a': {
330 id: '/_pathlessLayout/_nested-layout/route-a'
331 path: '/route-a'
332 fullPath: '/route-a'
333 preLoaderRoute: typeof PathlessLayoutNestedLayoutRouteARouteImport
334 parentRoute: typeof PathlessLayoutNestedLayoutRoute
335 }
336 }
337}
338β
339interface PathlessLayoutNestedLayoutRouteChildren {
340 PathlessLayoutNestedLayoutRouteARoute: typeof PathlessLayoutNestedLayoutRouteARoute
341 PathlessLayoutNestedLayoutRouteBRoute: typeof PathlessLayoutNestedLayoutRouteBRoute
342}
343β
344const PathlessLayoutNestedLayoutRouteChildren: PathlessLayoutNestedLayoutRouteChildren =
345 {
346 PathlessLayoutNestedLayoutRouteARoute:
347 PathlessLayoutNestedLayoutRouteARoute,
348 PathlessLayoutNestedLayoutRouteBRoute:
349 PathlessLayoutNestedLayoutRouteBRoute,
350 }
351β
352const PathlessLayoutNestedLayoutRouteWithChildren =
353 PathlessLayoutNestedLayoutRoute._addFileChildren(
354 PathlessLayoutNestedLayoutRouteChildren,
355 )
356β
357interface PathlessLayoutRouteChildren {
358 PathlessLayoutNestedLayoutRoute: typeof PathlessLayoutNestedLayoutRouteWithChildren
359}
360β
361const PathlessLayoutRouteChildren: PathlessLayoutRouteChildren = {
362 PathlessLayoutNestedLayoutRoute: PathlessLayoutNestedLayoutRouteWithChildren,
363}
364β
365const PathlessLayoutRouteWithChildren = PathlessLayoutRoute._addFileChildren(
366 PathlessLayoutRouteChildren,
367)
368β
369interface PostsRouteChildren {
370 PostsPostIdRoute: typeof PostsPostIdRoute
371 PostsIndexRoute: typeof PostsIndexRoute
372}
373β
374const PostsRouteChildren: PostsRouteChildren = {
375 PostsPostIdRoute: PostsPostIdRoute,
376 PostsIndexRoute: PostsIndexRoute,
377}
378β
379const PostsRouteWithChildren = PostsRoute._addFileChildren(PostsRouteChildren)
380β
381interface UsersRouteChildren {
382 UsersUserIdRoute: typeof UsersUserIdRoute
383 UsersIndexRoute: typeof UsersIndexRoute
384}
385β
386const UsersRouteChildren: UsersRouteChildren = {
387 UsersUserIdRoute: UsersUserIdRoute,
388 UsersIndexRoute: UsersIndexRoute,
389}
390β
391const UsersRouteWithChildren = UsersRoute._addFileChildren(UsersRouteChildren)
392β
393interface ApiUsersRouteChildren {
394 ApiUsersUserIdRoute: typeof ApiUsersUserIdRoute
395}
396β
397const ApiUsersRouteChildren: ApiUsersRouteChildren = {
398 ApiUsersUserIdRoute: ApiUsersUserIdRoute,
399}
400β
401const ApiUsersRouteWithChildren = ApiUsersRoute._addFileChildren(
402 ApiUsersRouteChildren,
403)
404β
405const rootRouteChildren: RootRouteChildren = {
406 IndexRoute: IndexRoute,
407 PathlessLayoutRoute: PathlessLayoutRouteWithChildren,
408 DeferredRoute: DeferredRoute,
409 PostsRoute: PostsRouteWithChildren,
410 RedirectRoute: RedirectRoute,
411 UsersRoute: UsersRouteWithChildren,
412 ApiUsersRoute: ApiUsersRouteWithChildren,
413 PostsPostIdDeepRoute: PostsPostIdDeepRoute,
414}
415export const routeTree = rootRouteImport
416 ._addFileChildren(rootRouteChildren)
417 ._addFileTypes<FileRouteTypes>()
418β
419import type { getRouter } from './router.tsx'
420import type { createStart } from '@tanstack/solid-start'
421declare module '@tanstack/solid-start' {
422 interface Register {
423 ssr: true
424 router: Awaited<ReturnType<typeof getRouter>>
425 }
426}