99// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
1010
1111import { Route as rootRouteImport } from './routes/__root'
12- import { Route as TermsRouteImport } from './routes/terms'
13- import { Route as ResourcePacksRouteImport } from './routes/resource-packs'
14- import { Route as PrivacyRouteImport } from './routes/privacy'
15- import { Route as CraftingTweaksRouteImport } from './routes/crafting-tweaks'
16- import { Route as AddonsRouteImport } from './routes/addons'
1712import { Route as IndexRouteImport } from './routes/index'
13+ import { Route as AddonsRouteImport } from './routes/addons'
14+ import { Route as CraftingTweaksRouteImport } from './routes/crafting-tweaks'
15+ import { Route as PrivacyRouteImport } from './routes/privacy'
16+ import { Route as ResourcePacksRouteImport } from './routes/resource-packs'
17+ import { Route as TermsRouteImport } from './routes/terms'
1818
19- const TermsRoute = TermsRouteImport . update ( {
20- id : '/terms' ,
21- path : '/terms' ,
22- getParentRoute : ( ) => rootRouteImport ,
23- } as any )
24- const ResourcePacksRoute = ResourcePacksRouteImport . update ( {
25- id : '/resource-packs' ,
26- path : '/resource-packs' ,
19+ const IndexRoute = IndexRouteImport . update ( {
20+ id : '/' ,
21+ path : '/' ,
2722 getParentRoute : ( ) => rootRouteImport ,
2823} as any )
29- const PrivacyRoute = PrivacyRouteImport . update ( {
30- id : '/privacy ' ,
31- path : '/privacy ' ,
24+ const AddonsRoute = AddonsRouteImport . update ( {
25+ id : '/addons ' ,
26+ path : '/addons ' ,
3227 getParentRoute : ( ) => rootRouteImport ,
3328} as any )
3429const CraftingTweaksRoute = CraftingTweaksRouteImport . update ( {
3530 id : '/crafting-tweaks' ,
3631 path : '/crafting-tweaks' ,
3732 getParentRoute : ( ) => rootRouteImport ,
3833} as any )
39- const AddonsRoute = AddonsRouteImport . update ( {
40- id : '/addons ' ,
41- path : '/addons ' ,
34+ const PrivacyRoute = PrivacyRouteImport . update ( {
35+ id : '/privacy ' ,
36+ path : '/privacy ' ,
4237 getParentRoute : ( ) => rootRouteImport ,
4338} as any )
44- const IndexRoute = IndexRouteImport . update ( {
45- id : '/' ,
46- path : '/' ,
39+ const ResourcePacksRoute = ResourcePacksRouteImport . update ( {
40+ id : '/resource-packs' ,
41+ path : '/resource-packs' ,
42+ getParentRoute : ( ) => rootRouteImport ,
43+ } as any )
44+ const TermsRoute = TermsRouteImport . update ( {
45+ id : '/terms' ,
46+ path : '/terms' ,
4747 getParentRoute : ( ) => rootRouteImport ,
4848} as any )
4949
@@ -110,25 +110,18 @@ export interface RootRouteChildren {
110110
111111declare module '@tanstack/react-router' {
112112 interface FileRoutesByPath {
113- '/terms' : {
114- id : '/terms'
115- path : '/terms'
116- fullPath : '/terms'
117- preLoaderRoute : typeof TermsRouteImport
118- parentRoute : typeof rootRouteImport
119- }
120- '/resource-packs' : {
121- id : '/resource-packs'
122- path : '/resource-packs'
123- fullPath : '/resource-packs'
124- preLoaderRoute : typeof ResourcePacksRouteImport
113+ '/' : {
114+ id : '/'
115+ path : '/'
116+ fullPath : '/'
117+ preLoaderRoute : typeof IndexRouteImport
125118 parentRoute : typeof rootRouteImport
126119 }
127- '/privacy ' : {
128- id : '/privacy '
129- path : '/privacy '
130- fullPath : '/privacy '
131- preLoaderRoute : typeof PrivacyRouteImport
120+ '/addons ' : {
121+ id : '/addons '
122+ path : '/addons '
123+ fullPath : '/addons '
124+ preLoaderRoute : typeof AddonsRouteImport
132125 parentRoute : typeof rootRouteImport
133126 }
134127 '/crafting-tweaks' : {
@@ -138,18 +131,25 @@ declare module '@tanstack/react-router' {
138131 preLoaderRoute : typeof CraftingTweaksRouteImport
139132 parentRoute : typeof rootRouteImport
140133 }
141- '/addons ' : {
142- id : '/addons '
143- path : '/addons '
144- fullPath : '/addons '
145- preLoaderRoute : typeof AddonsRouteImport
134+ '/privacy ' : {
135+ id : '/privacy '
136+ path : '/privacy '
137+ fullPath : '/privacy '
138+ preLoaderRoute : typeof PrivacyRouteImport
146139 parentRoute : typeof rootRouteImport
147140 }
148- '/' : {
149- id : '/'
150- path : '/'
151- fullPath : '/'
152- preLoaderRoute : typeof IndexRouteImport
141+ '/resource-packs' : {
142+ id : '/resource-packs'
143+ path : '/resource-packs'
144+ fullPath : '/resource-packs'
145+ preLoaderRoute : typeof ResourcePacksRouteImport
146+ parentRoute : typeof rootRouteImport
147+ }
148+ '/terms' : {
149+ id : '/terms'
150+ path : '/terms'
151+ fullPath : '/terms'
152+ preLoaderRoute : typeof TermsRouteImport
153153 parentRoute : typeof rootRouteImport
154154 }
155155 }
0 commit comments