Skip to content

Commit 69e3ecd

Browse files
committed
chore: checkin outdated route-tree files for react and solid examples
1 parent 99c672d commit 69e3ecd

2 files changed

Lines changed: 64 additions & 64 deletions

File tree

examples/react/basic-virtual-inside-file-based/src/routeTree.gen.ts

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ import { Route as rootRouteImport } from './routes/__root'
1212
import { Route as PostsRouteImport } from './routes/posts'
1313
import { Route as LayoutRouteImport } from './routes/_layout'
1414
import { Route as IndexRouteImport } from './routes/index'
15-
import { Route as postsDetailsRouteImport } from './routes/posts/details'
15+
import { Route as PostsDetailsRouteImport } from './routes/posts/details'
1616
import { Route as LayoutLayout2RouteImport } from './routes/_layout/_layout-2'
17-
import { Route as postsHomeRouteImport } from './routes/posts/home'
18-
import { Route as postsLetsGoIndexRouteImport } from './routes/posts/lets-go/index'
17+
import { Route as PostsHomeRouteImport } from './routes/posts/home'
18+
import { Route as PostsLetsGoIndexRouteImport } from './routes/posts/lets-go/index'
1919
import { Route as LayoutLayout2LayoutBRouteImport } from './routes/_layout/_layout-2/layout-b'
2020
import { Route as LayoutLayout2LayoutARouteImport } from './routes/_layout/_layout-2/layout-a'
21-
import { Route as postsLetsGoDeeperHomeRouteImport } from './routes/posts/lets-go/deeper/home'
21+
import { Route as PostsLetsGoDeeperHomeRouteImport } from './routes/posts/lets-go/deeper/home'
2222

2323
const PostsRoute = PostsRouteImport.update({
2424
id: '/posts',
@@ -34,7 +34,7 @@ const IndexRoute = IndexRouteImport.update({
3434
path: '/',
3535
getParentRoute: () => rootRouteImport,
3636
} as any)
37-
const postsDetailsRoute = postsDetailsRouteImport.update({
37+
const PostsDetailsRoute = PostsDetailsRouteImport.update({
3838
id: '/$postId',
3939
path: '/$postId',
4040
getParentRoute: () => PostsRoute,
@@ -43,12 +43,12 @@ const LayoutLayout2Route = LayoutLayout2RouteImport.update({
4343
id: '/_layout-2',
4444
getParentRoute: () => LayoutRoute,
4545
} as any)
46-
const postsHomeRoute = postsHomeRouteImport.update({
46+
const PostsHomeRoute = PostsHomeRouteImport.update({
4747
id: '/',
4848
path: '/',
4949
getParentRoute: () => PostsRoute,
5050
} as any)
51-
const postsLetsGoIndexRoute = postsLetsGoIndexRouteImport.update({
51+
const PostsLetsGoIndexRoute = PostsLetsGoIndexRouteImport.update({
5252
id: '/inception/',
5353
path: '/inception/',
5454
getParentRoute: () => PostsRoute,
@@ -63,7 +63,7 @@ const LayoutLayout2LayoutARoute = LayoutLayout2LayoutARouteImport.update({
6363
path: '/layout-a',
6464
getParentRoute: () => LayoutLayout2Route,
6565
} as any)
66-
const postsLetsGoDeeperHomeRoute = postsLetsGoDeeperHomeRouteImport.update({
66+
const PostsLetsGoDeeperHomeRoute = PostsLetsGoDeeperHomeRouteImport.update({
6767
id: '/inception/deeper/',
6868
path: '/inception/deeper/',
6969
getParentRoute: () => PostsRoute,
@@ -72,34 +72,34 @@ const postsLetsGoDeeperHomeRoute = postsLetsGoDeeperHomeRouteImport.update({
7272
export interface FileRoutesByFullPath {
7373
'/': typeof IndexRoute
7474
'/posts': typeof PostsRouteWithChildren
75-
'/posts/': typeof postsHomeRoute
76-
'/posts/$postId': typeof postsDetailsRoute
75+
'/posts/': typeof PostsHomeRoute
76+
'/posts/$postId': typeof PostsDetailsRoute
7777
'/layout-a': typeof LayoutLayout2LayoutARoute
7878
'/layout-b': typeof LayoutLayout2LayoutBRoute
79-
'/posts/inception/': typeof postsLetsGoIndexRoute
80-
'/posts/inception/deeper/': typeof postsLetsGoDeeperHomeRoute
79+
'/posts/inception/': typeof PostsLetsGoIndexRoute
80+
'/posts/inception/deeper/': typeof PostsLetsGoDeeperHomeRoute
8181
}
8282
export interface FileRoutesByTo {
8383
'/': typeof IndexRoute
84-
'/posts': typeof postsHomeRoute
85-
'/posts/$postId': typeof postsDetailsRoute
84+
'/posts': typeof PostsHomeRoute
85+
'/posts/$postId': typeof PostsDetailsRoute
8686
'/layout-a': typeof LayoutLayout2LayoutARoute
8787
'/layout-b': typeof LayoutLayout2LayoutBRoute
88-
'/posts/inception': typeof postsLetsGoIndexRoute
89-
'/posts/inception/deeper': typeof postsLetsGoDeeperHomeRoute
88+
'/posts/inception': typeof PostsLetsGoIndexRoute
89+
'/posts/inception/deeper': typeof PostsLetsGoDeeperHomeRoute
9090
}
9191
export interface FileRoutesById {
9292
__root__: typeof rootRouteImport
9393
'/': typeof IndexRoute
9494
'/_layout': typeof LayoutRouteWithChildren
9595
'/posts': typeof PostsRouteWithChildren
96-
'/posts/': typeof postsHomeRoute
96+
'/posts/': typeof PostsHomeRoute
9797
'/_layout/_layout-2': typeof LayoutLayout2RouteWithChildren
98-
'/posts/$postId': typeof postsDetailsRoute
98+
'/posts/$postId': typeof PostsDetailsRoute
9999
'/_layout/_layout-2/layout-a': typeof LayoutLayout2LayoutARoute
100100
'/_layout/_layout-2/layout-b': typeof LayoutLayout2LayoutBRoute
101-
'/posts/inception/': typeof postsLetsGoIndexRoute
102-
'/posts/inception/deeper/': typeof postsLetsGoDeeperHomeRoute
101+
'/posts/inception/': typeof PostsLetsGoIndexRoute
102+
'/posts/inception/deeper/': typeof PostsLetsGoDeeperHomeRoute
103103
}
104104
export interface FileRouteTypes {
105105
fileRoutesByFullPath: FileRoutesByFullPath
@@ -168,7 +168,7 @@ declare module '@tanstack/react-router' {
168168
id: '/posts/$postId'
169169
path: '/$postId'
170170
fullPath: '/posts/$postId'
171-
preLoaderRoute: typeof postsDetailsRouteImport
171+
preLoaderRoute: typeof PostsDetailsRouteImport
172172
parentRoute: typeof PostsRoute
173173
}
174174
'/_layout/_layout-2': {
@@ -182,14 +182,14 @@ declare module '@tanstack/react-router' {
182182
id: '/posts/'
183183
path: '/'
184184
fullPath: '/posts/'
185-
preLoaderRoute: typeof postsHomeRouteImport
185+
preLoaderRoute: typeof PostsHomeRouteImport
186186
parentRoute: typeof PostsRoute
187187
}
188188
'/posts/inception/': {
189189
id: '/posts/inception/'
190190
path: '/inception'
191191
fullPath: '/posts/inception/'
192-
preLoaderRoute: typeof postsLetsGoIndexRouteImport
192+
preLoaderRoute: typeof PostsLetsGoIndexRouteImport
193193
parentRoute: typeof PostsRoute
194194
}
195195
'/_layout/_layout-2/layout-b': {
@@ -210,7 +210,7 @@ declare module '@tanstack/react-router' {
210210
id: '/posts/inception/deeper/'
211211
path: '/inception/deeper'
212212
fullPath: '/posts/inception/deeper/'
213-
preLoaderRoute: typeof postsLetsGoDeeperHomeRouteImport
213+
preLoaderRoute: typeof PostsLetsGoDeeperHomeRouteImport
214214
parentRoute: typeof PostsRoute
215215
}
216216
}
@@ -242,17 +242,17 @@ const LayoutRouteWithChildren =
242242
LayoutRoute._addFileChildren(LayoutRouteChildren)
243243

244244
interface PostsRouteChildren {
245-
postsHomeRoute: typeof postsHomeRoute
246-
postsDetailsRoute: typeof postsDetailsRoute
247-
postsLetsGoIndexRoute: typeof postsLetsGoIndexRoute
248-
postsLetsGoDeeperHomeRoute: typeof postsLetsGoDeeperHomeRoute
245+
PostsHomeRoute: typeof PostsHomeRoute
246+
PostsDetailsRoute: typeof PostsDetailsRoute
247+
PostsLetsGoIndexRoute: typeof PostsLetsGoIndexRoute
248+
PostsLetsGoDeeperHomeRoute: typeof PostsLetsGoDeeperHomeRoute
249249
}
250250

251251
const PostsRouteChildren: PostsRouteChildren = {
252-
postsHomeRoute: postsHomeRoute,
253-
postsDetailsRoute: postsDetailsRoute,
254-
postsLetsGoIndexRoute: postsLetsGoIndexRoute,
255-
postsLetsGoDeeperHomeRoute: postsLetsGoDeeperHomeRoute,
252+
PostsHomeRoute: PostsHomeRoute,
253+
PostsDetailsRoute: PostsDetailsRoute,
254+
PostsLetsGoIndexRoute: PostsLetsGoIndexRoute,
255+
PostsLetsGoDeeperHomeRoute: PostsLetsGoDeeperHomeRoute,
256256
}
257257

258258
const PostsRouteWithChildren = PostsRoute._addFileChildren(PostsRouteChildren)

examples/solid/basic-virtual-inside-file-based/src/routeTree.gen.ts

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ import { Route as rootRouteImport } from './routes/__root'
1212
import { Route as PostsRouteImport } from './routes/posts'
1313
import { Route as LayoutRouteImport } from './routes/_layout'
1414
import { Route as IndexRouteImport } from './routes/index'
15-
import { Route as postsDetailsRouteImport } from './routes/posts/details'
15+
import { Route as PostsDetailsRouteImport } from './routes/posts/details'
1616
import { Route as LayoutLayout2RouteImport } from './routes/_layout/_layout-2'
17-
import { Route as postsHomeRouteImport } from './routes/posts/home'
18-
import { Route as postsLetsGoIndexRouteImport } from './routes/posts/lets-go/index'
17+
import { Route as PostsHomeRouteImport } from './routes/posts/home'
18+
import { Route as PostsLetsGoIndexRouteImport } from './routes/posts/lets-go/index'
1919
import { Route as LayoutLayout2LayoutBRouteImport } from './routes/_layout/_layout-2/layout-b'
2020
import { Route as LayoutLayout2LayoutARouteImport } from './routes/_layout/_layout-2/layout-a'
21-
import { Route as postsLetsGoDeeperHomeRouteImport } from './routes/posts/lets-go/deeper/home'
21+
import { Route as PostsLetsGoDeeperHomeRouteImport } from './routes/posts/lets-go/deeper/home'
2222

2323
const PostsRoute = PostsRouteImport.update({
2424
id: '/posts',
@@ -34,7 +34,7 @@ const IndexRoute = IndexRouteImport.update({
3434
path: '/',
3535
getParentRoute: () => rootRouteImport,
3636
} as any)
37-
const postsDetailsRoute = postsDetailsRouteImport.update({
37+
const PostsDetailsRoute = PostsDetailsRouteImport.update({
3838
id: '/$postId',
3939
path: '/$postId',
4040
getParentRoute: () => PostsRoute,
@@ -43,12 +43,12 @@ const LayoutLayout2Route = LayoutLayout2RouteImport.update({
4343
id: '/_layout-2',
4444
getParentRoute: () => LayoutRoute,
4545
} as any)
46-
const postsHomeRoute = postsHomeRouteImport.update({
46+
const PostsHomeRoute = PostsHomeRouteImport.update({
4747
id: '/',
4848
path: '/',
4949
getParentRoute: () => PostsRoute,
5050
} as any)
51-
const postsLetsGoIndexRoute = postsLetsGoIndexRouteImport.update({
51+
const PostsLetsGoIndexRoute = PostsLetsGoIndexRouteImport.update({
5252
id: '/inception/',
5353
path: '/inception/',
5454
getParentRoute: () => PostsRoute,
@@ -63,7 +63,7 @@ const LayoutLayout2LayoutARoute = LayoutLayout2LayoutARouteImport.update({
6363
path: '/layout-a',
6464
getParentRoute: () => LayoutLayout2Route,
6565
} as any)
66-
const postsLetsGoDeeperHomeRoute = postsLetsGoDeeperHomeRouteImport.update({
66+
const PostsLetsGoDeeperHomeRoute = PostsLetsGoDeeperHomeRouteImport.update({
6767
id: '/inception/deeper/',
6868
path: '/inception/deeper/',
6969
getParentRoute: () => PostsRoute,
@@ -72,34 +72,34 @@ const postsLetsGoDeeperHomeRoute = postsLetsGoDeeperHomeRouteImport.update({
7272
export interface FileRoutesByFullPath {
7373
'/': typeof IndexRoute
7474
'/posts': typeof PostsRouteWithChildren
75-
'/posts/': typeof postsHomeRoute
76-
'/posts/$postId': typeof postsDetailsRoute
75+
'/posts/': typeof PostsHomeRoute
76+
'/posts/$postId': typeof PostsDetailsRoute
7777
'/layout-a': typeof LayoutLayout2LayoutARoute
7878
'/layout-b': typeof LayoutLayout2LayoutBRoute
79-
'/posts/inception/': typeof postsLetsGoIndexRoute
80-
'/posts/inception/deeper/': typeof postsLetsGoDeeperHomeRoute
79+
'/posts/inception/': typeof PostsLetsGoIndexRoute
80+
'/posts/inception/deeper/': typeof PostsLetsGoDeeperHomeRoute
8181
}
8282
export interface FileRoutesByTo {
8383
'/': typeof IndexRoute
84-
'/posts': typeof postsHomeRoute
85-
'/posts/$postId': typeof postsDetailsRoute
84+
'/posts': typeof PostsHomeRoute
85+
'/posts/$postId': typeof PostsDetailsRoute
8686
'/layout-a': typeof LayoutLayout2LayoutARoute
8787
'/layout-b': typeof LayoutLayout2LayoutBRoute
88-
'/posts/inception': typeof postsLetsGoIndexRoute
89-
'/posts/inception/deeper': typeof postsLetsGoDeeperHomeRoute
88+
'/posts/inception': typeof PostsLetsGoIndexRoute
89+
'/posts/inception/deeper': typeof PostsLetsGoDeeperHomeRoute
9090
}
9191
export interface FileRoutesById {
9292
__root__: typeof rootRouteImport
9393
'/': typeof IndexRoute
9494
'/_layout': typeof LayoutRouteWithChildren
9595
'/posts': typeof PostsRouteWithChildren
96-
'/posts/': typeof postsHomeRoute
96+
'/posts/': typeof PostsHomeRoute
9797
'/_layout/_layout-2': typeof LayoutLayout2RouteWithChildren
98-
'/posts/$postId': typeof postsDetailsRoute
98+
'/posts/$postId': typeof PostsDetailsRoute
9999
'/_layout/_layout-2/layout-a': typeof LayoutLayout2LayoutARoute
100100
'/_layout/_layout-2/layout-b': typeof LayoutLayout2LayoutBRoute
101-
'/posts/inception/': typeof postsLetsGoIndexRoute
102-
'/posts/inception/deeper/': typeof postsLetsGoDeeperHomeRoute
101+
'/posts/inception/': typeof PostsLetsGoIndexRoute
102+
'/posts/inception/deeper/': typeof PostsLetsGoDeeperHomeRoute
103103
}
104104
export interface FileRouteTypes {
105105
fileRoutesByFullPath: FileRoutesByFullPath
@@ -168,7 +168,7 @@ declare module '@tanstack/solid-router' {
168168
id: '/posts/$postId'
169169
path: '/$postId'
170170
fullPath: '/posts/$postId'
171-
preLoaderRoute: typeof postsDetailsRouteImport
171+
preLoaderRoute: typeof PostsDetailsRouteImport
172172
parentRoute: typeof PostsRoute
173173
}
174174
'/_layout/_layout-2': {
@@ -182,14 +182,14 @@ declare module '@tanstack/solid-router' {
182182
id: '/posts/'
183183
path: '/'
184184
fullPath: '/posts/'
185-
preLoaderRoute: typeof postsHomeRouteImport
185+
preLoaderRoute: typeof PostsHomeRouteImport
186186
parentRoute: typeof PostsRoute
187187
}
188188
'/posts/inception/': {
189189
id: '/posts/inception/'
190190
path: '/inception'
191191
fullPath: '/posts/inception/'
192-
preLoaderRoute: typeof postsLetsGoIndexRouteImport
192+
preLoaderRoute: typeof PostsLetsGoIndexRouteImport
193193
parentRoute: typeof PostsRoute
194194
}
195195
'/_layout/_layout-2/layout-b': {
@@ -210,7 +210,7 @@ declare module '@tanstack/solid-router' {
210210
id: '/posts/inception/deeper/'
211211
path: '/inception/deeper'
212212
fullPath: '/posts/inception/deeper/'
213-
preLoaderRoute: typeof postsLetsGoDeeperHomeRouteImport
213+
preLoaderRoute: typeof PostsLetsGoDeeperHomeRouteImport
214214
parentRoute: typeof PostsRoute
215215
}
216216
}
@@ -242,17 +242,17 @@ const LayoutRouteWithChildren =
242242
LayoutRoute._addFileChildren(LayoutRouteChildren)
243243

244244
interface PostsRouteChildren {
245-
postsHomeRoute: typeof postsHomeRoute
246-
postsDetailsRoute: typeof postsDetailsRoute
247-
postsLetsGoIndexRoute: typeof postsLetsGoIndexRoute
248-
postsLetsGoDeeperHomeRoute: typeof postsLetsGoDeeperHomeRoute
245+
PostsHomeRoute: typeof PostsHomeRoute
246+
PostsDetailsRoute: typeof PostsDetailsRoute
247+
PostsLetsGoIndexRoute: typeof PostsLetsGoIndexRoute
248+
PostsLetsGoDeeperHomeRoute: typeof PostsLetsGoDeeperHomeRoute
249249
}
250250

251251
const PostsRouteChildren: PostsRouteChildren = {
252-
postsHomeRoute: postsHomeRoute,
253-
postsDetailsRoute: postsDetailsRoute,
254-
postsLetsGoIndexRoute: postsLetsGoIndexRoute,
255-
postsLetsGoDeeperHomeRoute: postsLetsGoDeeperHomeRoute,
252+
PostsHomeRoute: PostsHomeRoute,
253+
PostsDetailsRoute: PostsDetailsRoute,
254+
PostsLetsGoIndexRoute: PostsLetsGoIndexRoute,
255+
PostsLetsGoDeeperHomeRoute: PostsLetsGoDeeperHomeRoute,
256256
}
257257

258258
const PostsRouteWithChildren = PostsRoute._addFileChildren(PostsRouteChildren)

0 commit comments

Comments
 (0)