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 MergeMiddlewareContextRouteImport } from './routes/merge-middleware-context'
14import { Route as MethodsRouteRouteImport } from './routes/methods/route'
15import { Route as ApiGetAndAnyRouteImport } from './routes/api/get-and-any'
16import { Route as ApiHeadFallbackRouteImport } from './routes/api/head-fallback'
17import { Route as ApiHeadRedirectFallbackRouteImport } from './routes/api/head-redirect-fallback'
18import { Route as ApiMiddlewareContextRouteImport } from './routes/api/middleware-context'
19import { Route as ApiOnlyAnyRouteImport } from './routes/api/only-any'
20import { Route as MethodsIndexRouteImport } from './routes/methods/index'
21import { Route as MethodsOnlyAnyRouteImport } from './routes/methods/only-any'
22import { Route as ApiParamsFooRouteRouteImport } from './routes/api/params/$foo/route'
23import { Route as ApiParsedParamsIdRouteImport } from './routes/api/parsed-params.$id'
24import { Route as ApiParamsFooBarRouteImport } from './routes/api/params/$foo/$bar'
25import { Route as ApiParsedParamsIdChildIdRouteImport } from './routes/api/parsed-params.$id.$childId'
26β
27const IndexRoute = IndexRouteImport.update({
28 id: '/',
29 path: '/',
30 getParentRoute: () => rootRouteImport,
31} as any)
32const MergeMiddlewareContextRoute = MergeMiddlewareContextRouteImport.update({
33 id: '/merge-middleware-context',
34 path: '/merge-middleware-context',
35 getParentRoute: () => rootRouteImport,
36} as any)
37const MethodsRouteRoute = MethodsRouteRouteImport.update({
38 id: '/methods',
39 path: '/methods',
40 getParentRoute: () => rootRouteImport,
41} as any)
42const ApiGetAndAnyRoute = ApiGetAndAnyRouteImport.update({
43 id: '/api/get-and-any',
44 path: '/api/get-and-any',
45 getParentRoute: () => rootRouteImport,
46} as any)
47const ApiHeadFallbackRoute = ApiHeadFallbackRouteImport.update({
48 id: '/api/head-fallback',
49 path: '/api/head-fallback',
50 getParentRoute: () => rootRouteImport,
51} as any)
52const ApiHeadRedirectFallbackRoute = ApiHeadRedirectFallbackRouteImport.update({
53 id: '/api/head-redirect-fallback',
54 path: '/api/head-redirect-fallback',
55 getParentRoute: () => rootRouteImport,
56} as any)
57const ApiMiddlewareContextRoute = ApiMiddlewareContextRouteImport.update({
58 id: '/api/middleware-context',
59 path: '/api/middleware-context',
60 getParentRoute: () => rootRouteImport,
61} as any)
62const ApiOnlyAnyRoute = ApiOnlyAnyRouteImport.update({
63 id: '/api/only-any',
64 path: '/api/only-any',
65 getParentRoute: () => rootRouteImport,
66} as any)
67const MethodsIndexRoute = MethodsIndexRouteImport.update({
68 id: '/',
69 path: '/',
70 getParentRoute: () => MethodsRouteRoute,
71} as any)
72const MethodsOnlyAnyRoute = MethodsOnlyAnyRouteImport.update({
73 id: '/only-any',
74 path: '/only-any',
75 getParentRoute: () => MethodsRouteRoute,
76} as any)
77const ApiParamsFooRouteRoute = ApiParamsFooRouteRouteImport.update({
78 id: '/api/params/$foo',
79 path: '/api/params/$foo',
80 getParentRoute: () => rootRouteImport,
81} as any)
82const ApiParsedParamsIdRoute = ApiParsedParamsIdRouteImport.update({
83 id: '/api/parsed-params/$id',
84 path: '/api/parsed-params/$id',
85 getParentRoute: () => rootRouteImport,
86} as any)
87const ApiParamsFooBarRoute = ApiParamsFooBarRouteImport.update({
88 id: '/$bar',
89 path: '/$bar',
90 getParentRoute: () => ApiParamsFooRouteRoute,
91} as any)
92const ApiParsedParamsIdChildIdRoute =
93 ApiParsedParamsIdChildIdRouteImport.update({
94 id: '/$childId',
95 path: '/$childId',
96 getParentRoute: () => ApiParsedParamsIdRoute,
97 } as any)
98β
99export interface FileRoutesByFullPath {
100 '/': typeof IndexRoute
101 '/methods': typeof MethodsRouteRouteWithChildren
102 '/merge-middleware-context': typeof MergeMiddlewareContextRoute
103 '/api/get-and-any': typeof ApiGetAndAnyRoute
104 '/api/head-fallback': typeof ApiHeadFallbackRoute
105 '/api/head-redirect-fallback': typeof ApiHeadRedirectFallbackRoute
106 '/api/middleware-context': typeof ApiMiddlewareContextRoute
107 '/api/only-any': typeof ApiOnlyAnyRoute
108 '/methods/only-any': typeof MethodsOnlyAnyRoute
109 '/methods/': typeof MethodsIndexRoute
110 '/api/params/$foo': typeof ApiParamsFooRouteRouteWithChildren
111 '/api/parsed-params/$id': typeof ApiParsedParamsIdRouteWithChildren
112 '/api/params/$foo/$bar': typeof ApiParamsFooBarRoute
113 '/api/parsed-params/$id/$childId': typeof ApiParsedParamsIdChildIdRoute
114}
115export interface FileRoutesByTo {
116 '/': typeof IndexRoute
117 '/merge-middleware-context': typeof MergeMiddlewareContextRoute
118 '/api/get-and-any': typeof ApiGetAndAnyRoute
119 '/api/head-fallback': typeof ApiHeadFallbackRoute
120 '/api/head-redirect-fallback': typeof ApiHeadRedirectFallbackRoute
121 '/api/middleware-context': typeof ApiMiddlewareContextRoute
122 '/api/only-any': typeof ApiOnlyAnyRoute
123 '/methods/only-any': typeof MethodsOnlyAnyRoute
124 '/methods': typeof MethodsIndexRoute
125 '/api/params/$foo': typeof ApiParamsFooRouteRouteWithChildren
126 '/api/parsed-params/$id': typeof ApiParsedParamsIdRouteWithChildren
127 '/api/params/$foo/$bar': typeof ApiParamsFooBarRoute
128 '/api/parsed-params/$id/$childId': typeof ApiParsedParamsIdChildIdRoute
129}
130export interface FileRoutesById {
131 __root__: typeof rootRouteImport
132 '/': typeof IndexRoute
133 '/methods': typeof MethodsRouteRouteWithChildren
134 '/merge-middleware-context': typeof MergeMiddlewareContextRoute
135 '/api/get-and-any': typeof ApiGetAndAnyRoute
136 '/api/head-fallback': typeof ApiHeadFallbackRoute
137 '/api/head-redirect-fallback': typeof ApiHeadRedirectFallbackRoute
138 '/api/middleware-context': typeof ApiMiddlewareContextRoute
139 '/api/only-any': typeof ApiOnlyAnyRoute
140 '/methods/only-any': typeof MethodsOnlyAnyRoute
141 '/methods/': typeof MethodsIndexRoute
142 '/api/params/$foo': typeof ApiParamsFooRouteRouteWithChildren
143 '/api/parsed-params/$id': typeof ApiParsedParamsIdRouteWithChildren
144 '/api/params/$foo/$bar': typeof ApiParamsFooBarRoute
145 '/api/parsed-params/$id/$childId': typeof ApiParsedParamsIdChildIdRoute
146}
147export interface FileRouteTypes {
148 fileRoutesByFullPath: FileRoutesByFullPath
149 fullPaths:
150 | '/'
151 | '/methods'
152 | '/merge-middleware-context'
153 | '/api/get-and-any'
154 | '/api/head-fallback'
155 | '/api/head-redirect-fallback'
156 | '/api/middleware-context'
157 | '/api/only-any'
158 | '/methods/only-any'
159 | '/methods/'
160 | '/api/params/$foo'
161 | '/api/parsed-params/$id'
162 | '/api/params/$foo/$bar'
163 | '/api/parsed-params/$id/$childId'
164 fileRoutesByTo: FileRoutesByTo
165 to:
166 | '/'
167 | '/merge-middleware-context'
168 | '/api/get-and-any'
169 | '/api/head-fallback'
170 | '/api/head-redirect-fallback'
171 | '/api/middleware-context'
172 | '/api/only-any'
173 | '/methods/only-any'
174 | '/methods'
175 | '/api/params/$foo'
176 | '/api/parsed-params/$id'
177 | '/api/params/$foo/$bar'
178 | '/api/parsed-params/$id/$childId'
179 id:
180 | '__root__'
181 | '/'
182 | '/methods'
183 | '/merge-middleware-context'
184 | '/api/get-and-any'
185 | '/api/head-fallback'
186 | '/api/head-redirect-fallback'
187 | '/api/middleware-context'
188 | '/api/only-any'
189 | '/methods/only-any'
190 | '/methods/'
191 | '/api/params/$foo'
192 | '/api/parsed-params/$id'
193 | '/api/params/$foo/$bar'
194 | '/api/parsed-params/$id/$childId'
195 fileRoutesById: FileRoutesById
196}
197export interface RootRouteChildren {
198 IndexRoute: typeof IndexRoute
199 MethodsRouteRoute: typeof MethodsRouteRouteWithChildren
200 MergeMiddlewareContextRoute: typeof MergeMiddlewareContextRoute
201 ApiGetAndAnyRoute: typeof ApiGetAndAnyRoute
202 ApiHeadFallbackRoute: typeof ApiHeadFallbackRoute
203 ApiHeadRedirectFallbackRoute: typeof ApiHeadRedirectFallbackRoute
204 ApiMiddlewareContextRoute: typeof ApiMiddlewareContextRoute
205 ApiOnlyAnyRoute: typeof ApiOnlyAnyRoute
206 ApiParamsFooRouteRoute: typeof ApiParamsFooRouteRouteWithChildren
207 ApiParsedParamsIdRoute: typeof ApiParsedParamsIdRouteWithChildren
208}
209β
210declare module '@tanstack/react-router' {
211 interface FileRoutesByPath {
212 '/': {
213 id: '/'
214 path: '/'
215 fullPath: '/'
216 preLoaderRoute: typeof IndexRouteImport
217 parentRoute: typeof rootRouteImport
218 }
219 '/merge-middleware-context': {
220 id: '/merge-middleware-context'
221 path: '/merge-middleware-context'
222 fullPath: '/merge-middleware-context'
223 preLoaderRoute: typeof MergeMiddlewareContextRouteImport
224 parentRoute: typeof rootRouteImport
225 }
226 '/methods': {
227 id: '/methods'
228 path: '/methods'
229 fullPath: '/methods'
230 preLoaderRoute: typeof MethodsRouteRouteImport
231 parentRoute: typeof rootRouteImport
232 }
233 '/api/get-and-any': {
234 id: '/api/get-and-any'
235 path: '/api/get-and-any'
236 fullPath: '/api/get-and-any'
237 preLoaderRoute: typeof ApiGetAndAnyRouteImport
238 parentRoute: typeof rootRouteImport
239 }
240 '/api/head-fallback': {
241 id: '/api/head-fallback'
242 path: '/api/head-fallback'
243 fullPath: '/api/head-fallback'
244 preLoaderRoute: typeof ApiHeadFallbackRouteImport
245 parentRoute: typeof rootRouteImport
246 }
247 '/api/head-redirect-fallback': {
248 id: '/api/head-redirect-fallback'
249 path: '/api/head-redirect-fallback'
250 fullPath: '/api/head-redirect-fallback'
251 preLoaderRoute: typeof ApiHeadRedirectFallbackRouteImport
252 parentRoute: typeof rootRouteImport
253 }
254 '/api/middleware-context': {
255 id: '/api/middleware-context'
256 path: '/api/middleware-context'
257 fullPath: '/api/middleware-context'
258 preLoaderRoute: typeof ApiMiddlewareContextRouteImport
259 parentRoute: typeof rootRouteImport
260 }
261 '/api/only-any': {
262 id: '/api/only-any'
263 path: '/api/only-any'
264 fullPath: '/api/only-any'
265 preLoaderRoute: typeof ApiOnlyAnyRouteImport
266 parentRoute: typeof rootRouteImport
267 }
268 '/methods/': {
269 id: '/methods/'
270 path: '/'
271 fullPath: '/methods/'
272 preLoaderRoute: typeof MethodsIndexRouteImport
273 parentRoute: typeof MethodsRouteRoute
274 }
275 '/methods/only-any': {
276 id: '/methods/only-any'
277 path: '/only-any'
278 fullPath: '/methods/only-any'
279 preLoaderRoute: typeof MethodsOnlyAnyRouteImport
280 parentRoute: typeof MethodsRouteRoute
281 }
282 '/api/params/$foo': {
283 id: '/api/params/$foo'
284 path: '/api/params/$foo'
285 fullPath: '/api/params/$foo'
286 preLoaderRoute: typeof ApiParamsFooRouteRouteImport
287 parentRoute: typeof rootRouteImport
288 }
289 '/api/parsed-params/$id': {
290 id: '/api/parsed-params/$id'
291 path: '/api/parsed-params/$id'
292 fullPath: '/api/parsed-params/$id'
293 preLoaderRoute: typeof ApiParsedParamsIdRouteImport
294 parentRoute: typeof rootRouteImport
295 }
296 '/api/params/$foo/$bar': {
297 id: '/api/params/$foo/$bar'
298 path: '/$bar'
299 fullPath: '/api/params/$foo/$bar'
300 preLoaderRoute: typeof ApiParamsFooBarRouteImport
301 parentRoute: typeof ApiParamsFooRouteRoute
302 }
303 '/api/parsed-params/$id/$childId': {
304 id: '/api/parsed-params/$id/$childId'
305 path: '/$childId'
306 fullPath: '/api/parsed-params/$id/$childId'
307 preLoaderRoute: typeof ApiParsedParamsIdChildIdRouteImport
308 parentRoute: typeof ApiParsedParamsIdRoute
309 }
310 }
311}
312β
313interface MethodsRouteRouteChildren {
314 MethodsOnlyAnyRoute: typeof MethodsOnlyAnyRoute
315 MethodsIndexRoute: typeof MethodsIndexRoute
316}
317β
318const MethodsRouteRouteChildren: MethodsRouteRouteChildren = {
319 MethodsOnlyAnyRoute: MethodsOnlyAnyRoute,
320 MethodsIndexRoute: MethodsIndexRoute,
321}
322β
323const MethodsRouteRouteWithChildren = MethodsRouteRoute._addFileChildren(
324 MethodsRouteRouteChildren,
325)
326β
327interface ApiParamsFooRouteRouteChildren {
328 ApiParamsFooBarRoute: typeof ApiParamsFooBarRoute
329}
330β
331const ApiParamsFooRouteRouteChildren: ApiParamsFooRouteRouteChildren = {
332 ApiParamsFooBarRoute: ApiParamsFooBarRoute,
333}
334β
335const ApiParamsFooRouteRouteWithChildren =
336 ApiParamsFooRouteRoute._addFileChildren(ApiParamsFooRouteRouteChildren)
337β
338interface ApiParsedParamsIdRouteChildren {
339 ApiParsedParamsIdChildIdRoute: typeof ApiParsedParamsIdChildIdRoute
340}
341β
342const ApiParsedParamsIdRouteChildren: ApiParsedParamsIdRouteChildren = {
343 ApiParsedParamsIdChildIdRoute: ApiParsedParamsIdChildIdRoute,
344}
345β
346const ApiParsedParamsIdRouteWithChildren =
347 ApiParsedParamsIdRoute._addFileChildren(ApiParsedParamsIdRouteChildren)
348β
349const rootRouteChildren: RootRouteChildren = {
350 IndexRoute: IndexRoute,
351 MethodsRouteRoute: MethodsRouteRouteWithChildren,
352 MergeMiddlewareContextRoute: MergeMiddlewareContextRoute,
353 ApiGetAndAnyRoute: ApiGetAndAnyRoute,
354 ApiHeadFallbackRoute: ApiHeadFallbackRoute,
355 ApiHeadRedirectFallbackRoute: ApiHeadRedirectFallbackRoute,
356 ApiMiddlewareContextRoute: ApiMiddlewareContextRoute,
357 ApiOnlyAnyRoute: ApiOnlyAnyRoute,
358 ApiParamsFooRouteRoute: ApiParamsFooRouteRouteWithChildren,
359 ApiParsedParamsIdRoute: ApiParsedParamsIdRouteWithChildren,
360}
361export const routeTree = rootRouteImport
362 ._addFileChildren(rootRouteChildren)
363 ._addFileTypes<FileRouteTypes>()
364β
365import type { getRouter } from './router.tsx'
366import type { createStart } from '@tanstack/react-start'
367declare module '@tanstack/react-start' {
368 interface Register {
369 ssr: true
370 router: Awaited<ReturnType<typeof getRouter>>
371 }
372}