@@ -17,7 +17,6 @@ import { Route as Schema2Import } from './routes/schema2'
1717import { Route as PlaygroundImport } from './routes/playground'
1818import { Route as IndexImport } from './routes/index'
1919import { Route as SpaceSpaceIdImport } from './routes/space/$spaceId'
20- import { Route as SpaceOldSpaceIdImport } from './routes/space-old/$spaceId'
2120
2221// Create Virtual Routes
2322
@@ -62,12 +61,6 @@ const SpaceSpaceIdRoute = SpaceSpaceIdImport.update({
6261 getParentRoute : ( ) => rootRoute ,
6362} as any )
6463
65- const SpaceOldSpaceIdRoute = SpaceOldSpaceIdImport . update ( {
66- id : '/space-old/$spaceId' ,
67- path : '/space-old/$spaceId' ,
68- getParentRoute : ( ) => rootRoute ,
69- } as any )
70-
7164// Populate the FileRoutesByPath interface
7265
7366declare module '@tanstack/react-router' {
@@ -107,13 +100,6 @@ declare module '@tanstack/react-router' {
107100 preLoaderRoute : typeof Login2LazyImport
108101 parentRoute : typeof rootRoute
109102 }
110- '/space-old/$spaceId' : {
111- id : '/space-old/$spaceId'
112- path : '/space-old/$spaceId'
113- fullPath : '/space-old/$spaceId'
114- preLoaderRoute : typeof SpaceOldSpaceIdImport
115- parentRoute : typeof rootRoute
116- }
117103 '/space/$spaceId' : {
118104 id : '/space/$spaceId'
119105 path : '/space/$spaceId'
@@ -132,7 +118,6 @@ export interface FileRoutesByFullPath {
132118 '/schema2' : typeof Schema2Route
133119 '/login' : typeof LoginLazyRoute
134120 '/login2' : typeof Login2LazyRoute
135- '/space-old/$spaceId' : typeof SpaceOldSpaceIdRoute
136121 '/space/$spaceId' : typeof SpaceSpaceIdRoute
137122}
138123
@@ -142,7 +127,6 @@ export interface FileRoutesByTo {
142127 '/schema2' : typeof Schema2Route
143128 '/login' : typeof LoginLazyRoute
144129 '/login2' : typeof Login2LazyRoute
145- '/space-old/$spaceId' : typeof SpaceOldSpaceIdRoute
146130 '/space/$spaceId' : typeof SpaceSpaceIdRoute
147131}
148132
@@ -153,7 +137,6 @@ export interface FileRoutesById {
153137 '/schema2' : typeof Schema2Route
154138 '/login' : typeof LoginLazyRoute
155139 '/login2' : typeof Login2LazyRoute
156- '/space-old/$spaceId' : typeof SpaceOldSpaceIdRoute
157140 '/space/$spaceId' : typeof SpaceSpaceIdRoute
158141}
159142
@@ -165,7 +148,6 @@ export interface FileRouteTypes {
165148 | '/schema2'
166149 | '/login'
167150 | '/login2'
168- | '/space-old/$spaceId'
169151 | '/space/$spaceId'
170152 fileRoutesByTo : FileRoutesByTo
171153 to :
@@ -174,7 +156,6 @@ export interface FileRouteTypes {
174156 | '/schema2'
175157 | '/login'
176158 | '/login2'
177- | '/space-old/$spaceId'
178159 | '/space/$spaceId'
179160 id :
180161 | '__root__'
@@ -183,7 +164,6 @@ export interface FileRouteTypes {
183164 | '/schema2'
184165 | '/login'
185166 | '/login2'
186- | '/space-old/$spaceId'
187167 | '/space/$spaceId'
188168 fileRoutesById : FileRoutesById
189169}
@@ -194,7 +174,6 @@ export interface RootRouteChildren {
194174 Schema2Route : typeof Schema2Route
195175 LoginLazyRoute : typeof LoginLazyRoute
196176 Login2LazyRoute : typeof Login2LazyRoute
197- SpaceOldSpaceIdRoute : typeof SpaceOldSpaceIdRoute
198177 SpaceSpaceIdRoute : typeof SpaceSpaceIdRoute
199178}
200179
@@ -204,7 +183,6 @@ const rootRouteChildren: RootRouteChildren = {
204183 Schema2Route : Schema2Route ,
205184 LoginLazyRoute : LoginLazyRoute ,
206185 Login2LazyRoute : Login2LazyRoute ,
207- SpaceOldSpaceIdRoute : SpaceOldSpaceIdRoute ,
208186 SpaceSpaceIdRoute : SpaceSpaceIdRoute ,
209187}
210188
@@ -223,7 +201,6 @@ export const routeTree = rootRoute
223201 "/schema2",
224202 "/login",
225203 "/login2",
226- "/space-old/$spaceId",
227204 "/space/$spaceId"
228205 ]
229206 },
@@ -242,9 +219,6 @@ export const routeTree = rootRoute
242219 "/login2": {
243220 "filePath": "login2.lazy.tsx"
244221 },
245- "/space-old/$spaceId": {
246- "filePath": "space-old/$spaceId.tsx"
247- },
248222 "/space/$spaceId": {
249223 "filePath": "space/$spaceId.tsx"
250224 }
0 commit comments