Skip to content

Commit 773c7c9

Browse files
committed
chore: generate route-tree for all sandboxes
a recent change to generator, meant that all the sandboxes had their route-trees files being out-of-date
1 parent e2811d3 commit 773c7c9

58 files changed

Lines changed: 134 additions & 151 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

e2e/react-router/basic-react-query-file-based/src/routeTree.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ declare module '@tanstack/react-router' {
124124
'/_layout': {
125125
id: '/_layout'
126126
path: ''
127-
fullPath: ''
127+
fullPath: '/'
128128
preLoaderRoute: typeof LayoutRouteImport
129129
parentRoute: typeof rootRouteImport
130130
}
@@ -152,7 +152,7 @@ declare module '@tanstack/react-router' {
152152
'/_layout/_layout-2': {
153153
id: '/_layout/_layout-2'
154154
path: ''
155-
fullPath: ''
155+
fullPath: '/'
156156
preLoaderRoute: typeof LayoutLayout2RouteImport
157157
parentRoute: typeof LayoutRoute
158158
}

e2e/react-router/generator-cli-only/src/routeTree.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ declare module '@tanstack/react-router' {
120120
'/_pathlessLayout': {
121121
id: '/_pathlessLayout'
122122
path: ''
123-
fullPath: ''
123+
fullPath: '/'
124124
preLoaderRoute: typeof PathlessLayoutRouteImport
125125
parentRoute: typeof rootRouteImport
126126
}
@@ -155,7 +155,7 @@ declare module '@tanstack/react-router' {
155155
'/_pathlessLayout/_nested-layout': {
156156
id: '/_pathlessLayout/_nested-layout'
157157
path: ''
158-
fullPath: ''
158+
fullPath: '/'
159159
preLoaderRoute: typeof PathlessLayoutNestedLayoutRouteImport
160160
parentRoute: typeof PathlessLayoutRoute
161161
}

e2e/react-start/basic-auth/src/routeTree.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ declare module '@tanstack/react-router' {
144144
'/_authed': {
145145
id: '/_authed'
146146
path: ''
147-
fullPath: ''
147+
fullPath: '/'
148148
preLoaderRoute: typeof AuthedRouteImport
149149
parentRoute: typeof rootRouteImport
150150
}

e2e/react-start/basic-react-query/src/routeTree.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ declare module '@tanstack/react-router' {
282282
'/_layout': {
283283
id: '/_layout'
284284
path: ''
285-
fullPath: ''
285+
fullPath: '/'
286286
preLoaderRoute: typeof LayoutRouteImport
287287
parentRoute: typeof rootRouteImport
288288
}
@@ -331,7 +331,7 @@ declare module '@tanstack/react-router' {
331331
'/_layout/_layout-2': {
332332
id: '/_layout/_layout-2'
333333
path: ''
334-
fullPath: ''
334+
fullPath: '/'
335335
preLoaderRoute: typeof LayoutLayout2RouteImport
336336
parentRoute: typeof LayoutRoute
337337
}

e2e/react-start/custom-basepath/src/routeTree.gen.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export interface FileRoutesByFullPath {
113113
'/redirect/throw-it': typeof RedirectThrowItRoute
114114
'/users/$userId': typeof UsersUserIdRoute
115115
'/posts/': typeof PostsIndexRoute
116-
'/redirect': typeof RedirectIndexRoute
116+
'/redirect/': typeof RedirectIndexRoute
117117
'/users/': typeof UsersIndexRoute
118118
'/api/users/$id': typeof ApiUsersIdRoute
119119
'/posts/$postId/deep': typeof PostsPostIdDeepRoute
@@ -165,7 +165,7 @@ export interface FileRouteTypes {
165165
| '/redirect/throw-it'
166166
| '/users/$userId'
167167
| '/posts/'
168-
| '/redirect'
168+
| '/redirect/'
169169
| '/users/'
170170
| '/api/users/$id'
171171
| '/posts/$postId/deep'
@@ -270,7 +270,7 @@ declare module '@tanstack/react-router' {
270270
'/redirect/': {
271271
id: '/redirect/'
272272
path: '/redirect'
273-
fullPath: '/redirect'
273+
fullPath: '/redirect/'
274274
preLoaderRoute: typeof RedirectIndexRouteImport
275275
parentRoute: typeof rootRouteImport
276276
}

e2e/react-start/server-functions-global-middleware/src/routeTree.gen.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,19 @@ export interface FileRoutesById {
5656
}
5757
export interface FileRouteTypes {
5858
fileRoutesByFullPath: FileRoutesByFullPath
59-
fullPaths: '/' | '/multiple-server-functions' | '/pathname-middleware' | '/simple'
59+
fullPaths:
60+
| '/'
61+
| '/multiple-server-functions'
62+
| '/pathname-middleware'
63+
| '/simple'
6064
fileRoutesByTo: FileRoutesByTo
6165
to: '/' | '/multiple-server-functions' | '/pathname-middleware' | '/simple'
62-
id: '__root__' | '/' | '/multiple-server-functions' | '/pathname-middleware' | '/simple'
66+
id:
67+
| '__root__'
68+
| '/'
69+
| '/multiple-server-functions'
70+
| '/pathname-middleware'
71+
| '/simple'
6372
fileRoutesById: FileRoutesById
6473
}
6574
export interface RootRouteChildren {

e2e/react-start/virtual-routes/src/routeTree.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ declare module '@tanstack/react-router' {
196196
'/_first': {
197197
id: '/_first'
198198
path: ''
199-
fullPath: ''
199+
fullPath: '/'
200200
preLoaderRoute: typeof layoutFirstLayoutRouteImport
201201
parentRoute: typeof rootRouteImport
202202
}
@@ -217,7 +217,7 @@ declare module '@tanstack/react-router' {
217217
'/_first/_second-layout': {
218218
id: '/_first/_second-layout'
219219
path: ''
220-
fullPath: ''
220+
fullPath: '/'
221221
preLoaderRoute: typeof layoutSecondLayoutRouteImport
222222
parentRoute: typeof layoutFirstLayoutRoute
223223
}

e2e/solid-router/basic-file-based-code-splitting/src/routeTree.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ declare module '@tanstack/solid-router' {
171171
'/_layout': {
172172
id: '/_layout'
173173
path: ''
174-
fullPath: ''
174+
fullPath: '/'
175175
preLoaderRoute: typeof LayoutRouteImport
176176
parentRoute: typeof rootRouteImport
177177
}
@@ -199,7 +199,7 @@ declare module '@tanstack/solid-router' {
199199
'/_layout/_layout-2': {
200200
id: '/_layout/_layout-2'
201201
path: ''
202-
fullPath: ''
202+
fullPath: '/'
203203
preLoaderRoute: typeof LayoutLayout2RouteImport
204204
parentRoute: typeof LayoutRoute
205205
}

e2e/solid-router/basic-solid-query-file-based/src/routeTree.gen.ts

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { Route as IndexRouteImport } from './routes/index'
1515
import { Route as PostsIndexRouteImport } from './routes/posts.index'
1616
import { Route as PostsPostIdRouteImport } from './routes/posts.$postId'
1717
import { Route as LayoutLayout2RouteImport } from './routes/_layout/_layout-2'
18-
import { Route as TransitionCountQueryRouteImport } from './routes/transition/count/query'
1918
import { Route as LayoutLayout2LayoutBRouteImport } from './routes/_layout/_layout-2/layout-b'
2019
import { Route as LayoutLayout2LayoutARouteImport } from './routes/_layout/_layout-2/layout-a'
2120

@@ -47,11 +46,6 @@ const LayoutLayout2Route = LayoutLayout2RouteImport.update({
4746
id: '/_layout-2',
4847
getParentRoute: () => LayoutRoute,
4948
} as any)
50-
const TransitionCountQueryRoute = TransitionCountQueryRouteImport.update({
51-
id: '/transition/count/query',
52-
path: '/transition/count/query',
53-
getParentRoute: () => rootRouteImport,
54-
} as any)
5549
const LayoutLayout2LayoutBRoute = LayoutLayout2LayoutBRouteImport.update({
5650
id: '/layout-b',
5751
path: '/layout-b',
@@ -70,15 +64,13 @@ export interface FileRoutesByFullPath {
7064
'/posts/': typeof PostsIndexRoute
7165
'/layout-a': typeof LayoutLayout2LayoutARoute
7266
'/layout-b': typeof LayoutLayout2LayoutBRoute
73-
'/transition/count/query': typeof TransitionCountQueryRoute
7467
}
7568
export interface FileRoutesByTo {
7669
'/': typeof IndexRoute
7770
'/posts/$postId': typeof PostsPostIdRoute
7871
'/posts': typeof PostsIndexRoute
7972
'/layout-a': typeof LayoutLayout2LayoutARoute
8073
'/layout-b': typeof LayoutLayout2LayoutBRoute
81-
'/transition/count/query': typeof TransitionCountQueryRoute
8274
}
8375
export interface FileRoutesById {
8476
__root__: typeof rootRouteImport
@@ -90,7 +82,6 @@ export interface FileRoutesById {
9082
'/posts/': typeof PostsIndexRoute
9183
'/_layout/_layout-2/layout-a': typeof LayoutLayout2LayoutARoute
9284
'/_layout/_layout-2/layout-b': typeof LayoutLayout2LayoutBRoute
93-
'/transition/count/query': typeof TransitionCountQueryRoute
9485
}
9586
export interface FileRouteTypes {
9687
fileRoutesByFullPath: FileRoutesByFullPath
@@ -101,15 +92,8 @@ export interface FileRouteTypes {
10192
| '/posts/'
10293
| '/layout-a'
10394
| '/layout-b'
104-
| '/transition/count/query'
10595
fileRoutesByTo: FileRoutesByTo
106-
to:
107-
| '/'
108-
| '/posts/$postId'
109-
| '/posts'
110-
| '/layout-a'
111-
| '/layout-b'
112-
| '/transition/count/query'
96+
to: '/' | '/posts/$postId' | '/posts' | '/layout-a' | '/layout-b'
11397
id:
11498
| '__root__'
11599
| '/'
@@ -120,14 +104,12 @@ export interface FileRouteTypes {
120104
| '/posts/'
121105
| '/_layout/_layout-2/layout-a'
122106
| '/_layout/_layout-2/layout-b'
123-
| '/transition/count/query'
124107
fileRoutesById: FileRoutesById
125108
}
126109
export interface RootRouteChildren {
127110
IndexRoute: typeof IndexRoute
128111
LayoutRoute: typeof LayoutRouteWithChildren
129112
PostsRoute: typeof PostsRouteWithChildren
130-
TransitionCountQueryRoute: typeof TransitionCountQueryRoute
131113
}
132114

133115
declare module '@tanstack/solid-router' {
@@ -142,7 +124,7 @@ declare module '@tanstack/solid-router' {
142124
'/_layout': {
143125
id: '/_layout'
144126
path: ''
145-
fullPath: ''
127+
fullPath: '/'
146128
preLoaderRoute: typeof LayoutRouteImport
147129
parentRoute: typeof rootRouteImport
148130
}
@@ -170,17 +152,10 @@ declare module '@tanstack/solid-router' {
170152
'/_layout/_layout-2': {
171153
id: '/_layout/_layout-2'
172154
path: ''
173-
fullPath: ''
155+
fullPath: '/'
174156
preLoaderRoute: typeof LayoutLayout2RouteImport
175157
parentRoute: typeof LayoutRoute
176158
}
177-
'/transition/count/query': {
178-
id: '/transition/count/query'
179-
path: '/transition/count/query'
180-
fullPath: '/transition/count/query'
181-
preLoaderRoute: typeof TransitionCountQueryRouteImport
182-
parentRoute: typeof rootRouteImport
183-
}
184159
'/_layout/_layout-2/layout-b': {
185160
id: '/_layout/_layout-2/layout-b'
186161
path: '/layout-b'
@@ -239,7 +214,6 @@ const rootRouteChildren: RootRouteChildren = {
239214
IndexRoute: IndexRoute,
240215
LayoutRoute: LayoutRouteWithChildren,
241216
PostsRoute: PostsRouteWithChildren,
242-
TransitionCountQueryRoute: TransitionCountQueryRoute,
243217
}
244218
export const routeTree = rootRouteImport
245219
._addFileChildren(rootRouteChildren)

e2e/solid-router/basic-virtual-file-based/src/routeTree.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ declare module '@tanstack/solid-router' {
178178
'/_first': {
179179
id: '/_first'
180180
path: ''
181-
fullPath: ''
181+
fullPath: '/'
182182
preLoaderRoute: typeof layoutFirstLayoutRouteImport
183183
parentRoute: typeof rootRouteImport
184184
}
@@ -199,7 +199,7 @@ declare module '@tanstack/solid-router' {
199199
'/_first/_second': {
200200
id: '/_first/_second'
201201
path: ''
202-
fullPath: ''
202+
fullPath: '/'
203203
preLoaderRoute: typeof layoutSecondLayoutRouteImport
204204
parentRoute: typeof layoutFirstLayoutRoute
205205
}

0 commit comments

Comments
 (0)