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 Issue4614RouteImport } from './routes/issue-4614'
14import { Route as Issue7947RouteImport } from './routes/issue-7947'
15import { Route as Issue7947TargetRouteImport } from './routes/issue-7947-target'
16import { Route as PostsRouteImport } from './routes/posts'
17import { Route as PostsPostIdRouteImport } from './routes/posts.$postId'
18β
19const IndexRoute = IndexRouteImport.update({
20 id: '/',
21 path: '/',
22 getParentRoute: () => rootRouteImport,
23} as any)
24const Issue4614Route = Issue4614RouteImport.update({
25 id: '/issue-4614',
26 path: '/issue-4614',
27 getParentRoute: () => rootRouteImport,
28} as any)
29const Issue7947Route = Issue7947RouteImport.update({
30 id: '/issue-7947',
31 path: '/issue-7947',
32 getParentRoute: () => rootRouteImport,
33} as any)
34const Issue7947TargetRoute = Issue7947TargetRouteImport.update({
35 id: '/issue-7947-target',
36 path: '/issue-7947-target',
37 getParentRoute: () => rootRouteImport,
38} as any)
39const PostsRoute = PostsRouteImport.update({
40 id: '/posts',
41 path: '/posts',
42 getParentRoute: () => rootRouteImport,
43} as any)
44const PostsPostIdRoute = PostsPostIdRouteImport.update({
45 id: '/$postId',
46 path: '/$postId',
47 getParentRoute: () => PostsRoute,
48} as any)
49β
50export interface FileRoutesByFullPath {
51 '/': typeof IndexRoute
52 '/issue-4614': typeof Issue4614Route
53 '/issue-7947': typeof Issue7947Route
54 '/issue-7947-target': typeof Issue7947TargetRoute
55 '/posts': typeof PostsRouteWithChildren
56 '/posts/$postId': typeof PostsPostIdRoute
57}
58export interface FileRoutesByTo {
59 '/': typeof IndexRoute
60 '/issue-4614': typeof Issue4614Route
61 '/issue-7947': typeof Issue7947Route
62 '/issue-7947-target': typeof Issue7947TargetRoute
63 '/posts': typeof PostsRouteWithChildren
64 '/posts/$postId': typeof PostsPostIdRoute
65}
66export interface FileRoutesById {
67 __root__: typeof rootRouteImport
68 '/': typeof IndexRoute
69 '/issue-4614': typeof Issue4614Route
70 '/issue-7947': typeof Issue7947Route
71 '/issue-7947-target': typeof Issue7947TargetRoute
72 '/posts': typeof PostsRouteWithChildren
73 '/posts/$postId': typeof PostsPostIdRoute
74}
75export interface FileRouteTypes {
76 fileRoutesByFullPath: FileRoutesByFullPath
77 fullPaths:
78 | '/'
79 | '/issue-4614'
80 | '/issue-7947'
81 | '/issue-7947-target'
82 | '/posts'
83 | '/posts/$postId'
84 fileRoutesByTo: FileRoutesByTo
85 to:
86 | '/'
87 | '/issue-4614'
88 | '/issue-7947'
89 | '/issue-7947-target'
90 | '/posts'
91 | '/posts/$postId'
92 id:
93 | '__root__'
94 | '/'
95 | '/issue-4614'
96 | '/issue-7947'
97 | '/issue-7947-target'
98 | '/posts'
99 | '/posts/$postId'
100 fileRoutesById: FileRoutesById
101}
102export interface RootRouteChildren {
103 IndexRoute: typeof IndexRoute
104 Issue4614Route: typeof Issue4614Route
105 Issue7947Route: typeof Issue7947Route
106 Issue7947TargetRoute: typeof Issue7947TargetRoute
107 PostsRoute: typeof PostsRouteWithChildren
108}
109β
110declare module '@tanstack/react-router' {
111 interface FileRoutesByPath {
112 '/': {
113 id: '/'
114 path: '/'
115 fullPath: '/'
116 preLoaderRoute: typeof IndexRouteImport
117 parentRoute: typeof rootRouteImport
118 }
119 '/issue-4614': {
120 id: '/issue-4614'
121 path: '/issue-4614'
122 fullPath: '/issue-4614'
123 preLoaderRoute: typeof Issue4614RouteImport
124 parentRoute: typeof rootRouteImport
125 }
126 '/issue-7947': {
127 id: '/issue-7947'
128 path: '/issue-7947'
129 fullPath: '/issue-7947'
130 preLoaderRoute: typeof Issue7947RouteImport
131 parentRoute: typeof rootRouteImport
132 }
133 '/issue-7947-target': {
134 id: '/issue-7947-target'
135 path: '/issue-7947-target'
136 fullPath: '/issue-7947-target'
137 preLoaderRoute: typeof Issue7947TargetRouteImport
138 parentRoute: typeof rootRouteImport
139 }
140 '/posts': {
141 id: '/posts'
142 path: '/posts'
143 fullPath: '/posts'
144 preLoaderRoute: typeof PostsRouteImport
145 parentRoute: typeof rootRouteImport
146 }
147 '/posts/$postId': {
148 id: '/posts/$postId'
149 path: '/$postId'
150 fullPath: '/posts/$postId'
151 preLoaderRoute: typeof PostsPostIdRouteImport
152 parentRoute: typeof PostsRoute
153 }
154 }
155}
156β
157interface PostsRouteChildren {
158 PostsPostIdRoute: typeof PostsPostIdRoute
159}
160β
161const PostsRouteChildren: PostsRouteChildren = {
162 PostsPostIdRoute: PostsPostIdRoute,
163}
164β
165const PostsRouteWithChildren = PostsRoute._addFileChildren(PostsRouteChildren)
166β
167const rootRouteChildren: RootRouteChildren = {
168 IndexRoute: IndexRoute,
169 Issue4614Route: Issue4614Route,
170 Issue7947Route: Issue7947Route,
171 Issue7947TargetRoute: Issue7947TargetRoute,
172 PostsRoute: PostsRouteWithChildren,
173}
174export const routeTree = rootRouteImport
175 ._addFileChildren(rootRouteChildren)
176 ._addFileTypes<FileRouteTypes>()
177β
178import type { getRouter } from './router.tsx'
179import type { createStart } from '@tanstack/react-start'
180declare module '@tanstack/react-start' {
181 interface Register {
182 ssr: true
183 router: Awaited<ReturnType<typeof getRouter>>
184 }
185}