1212
1313import { Route as rootRoute } from './routes/__root'
1414import { Route as SearchImport } from './routes/search'
15+ import { Route as RankingImport } from './routes/ranking'
1516import { Route as IndexImport } from './routes/index'
1617import { Route as ReposIndexImport } from './routes/repos/index'
1718import { Route as ReposSearchImport } from './routes/repos/search'
@@ -25,6 +26,11 @@ const SearchRoute = SearchImport.update({
2526 getParentRoute : ( ) => rootRoute ,
2627} as any )
2728
29+ const RankingRoute = RankingImport . update ( {
30+ path : '/ranking' ,
31+ getParentRoute : ( ) => rootRoute ,
32+ } as any )
33+
2834const IndexRoute = IndexImport . update ( {
2935 path : '/' ,
3036 getParentRoute : ( ) => rootRoute ,
@@ -61,6 +67,13 @@ declare module '@tanstack/react-router' {
6167 preLoaderRoute : typeof IndexImport
6268 parentRoute : typeof rootRoute
6369 }
70+ '/ranking' : {
71+ id : '/ranking'
72+ path : '/ranking'
73+ fullPath : '/ranking'
74+ preLoaderRoute : typeof RankingImport
75+ parentRoute : typeof rootRoute
76+ }
6477 '/search' : {
6578 id : '/search'
6679 path : '/search'
@@ -103,6 +116,7 @@ declare module '@tanstack/react-router' {
103116
104117export interface FileRoutesByFullPath {
105118 '/' : typeof IndexRoute
119+ '/ranking' : typeof RankingRoute
106120 '/search' : typeof SearchRoute
107121 '/repos/search' : typeof ReposSearchRoute
108122 '/repos' : typeof ReposIndexRoute
@@ -112,6 +126,7 @@ export interface FileRoutesByFullPath {
112126
113127export interface FileRoutesByTo {
114128 '/' : typeof IndexRoute
129+ '/ranking' : typeof RankingRoute
115130 '/search' : typeof SearchRoute
116131 '/repos/search' : typeof ReposSearchRoute
117132 '/repos' : typeof ReposIndexRoute
@@ -122,6 +137,7 @@ export interface FileRoutesByTo {
122137export interface FileRoutesById {
123138 __root__ : typeof rootRoute
124139 '/' : typeof IndexRoute
140+ '/ranking' : typeof RankingRoute
125141 '/search' : typeof SearchRoute
126142 '/repos/search' : typeof ReposSearchRoute
127143 '/repos/' : typeof ReposIndexRoute
@@ -133,6 +149,7 @@ export interface FileRouteTypes {
133149 fileRoutesByFullPath : FileRoutesByFullPath
134150 fullPaths :
135151 | '/'
152+ | '/ranking'
136153 | '/search'
137154 | '/repos/search'
138155 | '/repos'
@@ -141,6 +158,7 @@ export interface FileRouteTypes {
141158 fileRoutesByTo : FileRoutesByTo
142159 to :
143160 | '/'
161+ | '/ranking'
144162 | '/search'
145163 | '/repos/search'
146164 | '/repos'
@@ -149,6 +167,7 @@ export interface FileRouteTypes {
149167 id :
150168 | '__root__'
151169 | '/'
170+ | '/ranking'
152171 | '/search'
153172 | '/repos/search'
154173 | '/repos/'
@@ -159,6 +178,7 @@ export interface FileRouteTypes {
159178
160179export interface RootRouteChildren {
161180 IndexRoute : typeof IndexRoute
181+ RankingRoute : typeof RankingRoute
162182 SearchRoute : typeof SearchRoute
163183 ReposSearchRoute : typeof ReposSearchRoute
164184 ReposIndexRoute : typeof ReposIndexRoute
@@ -168,6 +188,7 @@ export interface RootRouteChildren {
168188
169189const rootRouteChildren : RootRouteChildren = {
170190 IndexRoute : IndexRoute ,
191+ RankingRoute : RankingRoute ,
171192 SearchRoute : SearchRoute ,
172193 ReposSearchRoute : ReposSearchRoute ,
173194 ReposIndexRoute : ReposIndexRoute ,
@@ -188,6 +209,7 @@ export const routeTree = rootRoute
188209 "filePath": "__root.tsx",
189210 "children": [
190211 "/",
212+ "/ranking",
191213 "/search",
192214 "/repos/search",
193215 "/repos/",
@@ -198,6 +220,9 @@ export const routeTree = rootRoute
198220 "/": {
199221 "filePath": "index.tsx"
200222 },
223+ "/ranking": {
224+ "filePath": "ranking.tsx"
225+ },
201226 "/search": {
202227 "filePath": "search.tsx"
203228 },
0 commit comments