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