@@ -15,9 +15,11 @@ import { Route as SettingsRouteImport } from './routes/settings'
1515import { Route as SearchRouteImport } from './routes/search'
1616import { Route as AdminRouteImport } from './routes/admin'
1717import { Route as IndexRouteImport } from './routes/index'
18+ import { Route as SkillsIndexRouteImport } from './routes/skills/index'
1819import { Route as UHandleRouteImport } from './routes/u/$handle'
1920import { Route as SkillsSlugRouteImport } from './routes/skills/$slug'
2021import { Route as CliAuthRouteImport } from './routes/cli/auth'
22+ import { Route as OwnerSlugRouteImport } from './routes/$owner/$slug'
2123
2224const UploadRoute = UploadRouteImport . update ( {
2325 id : '/upload' ,
@@ -49,6 +51,11 @@ const IndexRoute = IndexRouteImport.update({
4951 path : '/' ,
5052 getParentRoute : ( ) => rootRouteImport ,
5153} as any )
54+ const SkillsIndexRoute = SkillsIndexRouteImport . update ( {
55+ id : '/skills/' ,
56+ path : '/skills/' ,
57+ getParentRoute : ( ) => rootRouteImport ,
58+ } as any )
5259const UHandleRoute = UHandleRouteImport . update ( {
5360 id : '/u/$handle' ,
5461 path : '/u/$handle' ,
@@ -64,6 +71,11 @@ const CliAuthRoute = CliAuthRouteImport.update({
6471 path : '/cli/auth' ,
6572 getParentRoute : ( ) => rootRouteImport ,
6673} as any )
74+ const OwnerSlugRoute = OwnerSlugRouteImport . update ( {
75+ id : '/$owner/$slug' ,
76+ path : '/$owner/$slug' ,
77+ getParentRoute : ( ) => rootRouteImport ,
78+ } as any )
6779
6880export interface FileRoutesByFullPath {
6981 '/' : typeof IndexRoute
@@ -72,9 +84,11 @@ export interface FileRoutesByFullPath {
7284 '/settings' : typeof SettingsRoute
7385 '/stars' : typeof StarsRoute
7486 '/upload' : typeof UploadRoute
87+ '/$owner/$slug' : typeof OwnerSlugRoute
7588 '/cli/auth' : typeof CliAuthRoute
7689 '/skills/$slug' : typeof SkillsSlugRoute
7790 '/u/$handle' : typeof UHandleRoute
91+ '/skills' : typeof SkillsIndexRoute
7892}
7993export interface FileRoutesByTo {
8094 '/' : typeof IndexRoute
@@ -83,9 +97,11 @@ export interface FileRoutesByTo {
8397 '/settings' : typeof SettingsRoute
8498 '/stars' : typeof StarsRoute
8599 '/upload' : typeof UploadRoute
100+ '/$owner/$slug' : typeof OwnerSlugRoute
86101 '/cli/auth' : typeof CliAuthRoute
87102 '/skills/$slug' : typeof SkillsSlugRoute
88103 '/u/$handle' : typeof UHandleRoute
104+ '/skills' : typeof SkillsIndexRoute
89105}
90106export interface FileRoutesById {
91107 __root__ : typeof rootRouteImport
@@ -95,9 +111,11 @@ export interface FileRoutesById {
95111 '/settings' : typeof SettingsRoute
96112 '/stars' : typeof StarsRoute
97113 '/upload' : typeof UploadRoute
114+ '/$owner/$slug' : typeof OwnerSlugRoute
98115 '/cli/auth' : typeof CliAuthRoute
99116 '/skills/$slug' : typeof SkillsSlugRoute
100117 '/u/$handle' : typeof UHandleRoute
118+ '/skills/' : typeof SkillsIndexRoute
101119}
102120export interface FileRouteTypes {
103121 fileRoutesByFullPath : FileRoutesByFullPath
@@ -108,9 +126,11 @@ export interface FileRouteTypes {
108126 | '/settings'
109127 | '/stars'
110128 | '/upload'
129+ | '/$owner/$slug'
111130 | '/cli/auth'
112131 | '/skills/$slug'
113132 | '/u/$handle'
133+ | '/skills'
114134 fileRoutesByTo : FileRoutesByTo
115135 to :
116136 | '/'
@@ -119,9 +139,11 @@ export interface FileRouteTypes {
119139 | '/settings'
120140 | '/stars'
121141 | '/upload'
142+ | '/$owner/$slug'
122143 | '/cli/auth'
123144 | '/skills/$slug'
124145 | '/u/$handle'
146+ | '/skills'
125147 id :
126148 | '__root__'
127149 | '/'
@@ -130,9 +152,11 @@ export interface FileRouteTypes {
130152 | '/settings'
131153 | '/stars'
132154 | '/upload'
155+ | '/$owner/$slug'
133156 | '/cli/auth'
134157 | '/skills/$slug'
135158 | '/u/$handle'
159+ | '/skills/'
136160 fileRoutesById : FileRoutesById
137161}
138162export interface RootRouteChildren {
@@ -142,9 +166,11 @@ export interface RootRouteChildren {
142166 SettingsRoute : typeof SettingsRoute
143167 StarsRoute : typeof StarsRoute
144168 UploadRoute : typeof UploadRoute
169+ OwnerSlugRoute : typeof OwnerSlugRoute
145170 CliAuthRoute : typeof CliAuthRoute
146171 SkillsSlugRoute : typeof SkillsSlugRoute
147172 UHandleRoute : typeof UHandleRoute
173+ SkillsIndexRoute : typeof SkillsIndexRoute
148174}
149175
150176declare module '@tanstack/react-router' {
@@ -191,6 +217,13 @@ declare module '@tanstack/react-router' {
191217 preLoaderRoute : typeof IndexRouteImport
192218 parentRoute : typeof rootRouteImport
193219 }
220+ '/skills/' : {
221+ id : '/skills/'
222+ path : '/skills'
223+ fullPath : '/skills'
224+ preLoaderRoute : typeof SkillsIndexRouteImport
225+ parentRoute : typeof rootRouteImport
226+ }
194227 '/u/$handle' : {
195228 id : '/u/$handle'
196229 path : '/u/$handle'
@@ -212,6 +245,13 @@ declare module '@tanstack/react-router' {
212245 preLoaderRoute : typeof CliAuthRouteImport
213246 parentRoute : typeof rootRouteImport
214247 }
248+ '/$owner/$slug' : {
249+ id : '/$owner/$slug'
250+ path : '/$owner/$slug'
251+ fullPath : '/$owner/$slug'
252+ preLoaderRoute : typeof OwnerSlugRouteImport
253+ parentRoute : typeof rootRouteImport
254+ }
215255 }
216256}
217257
@@ -222,9 +262,11 @@ const rootRouteChildren: RootRouteChildren = {
222262 SettingsRoute : SettingsRoute ,
223263 StarsRoute : StarsRoute ,
224264 UploadRoute : UploadRoute ,
265+ OwnerSlugRoute : OwnerSlugRoute ,
225266 CliAuthRoute : CliAuthRoute ,
226267 SkillsSlugRoute : SkillsSlugRoute ,
227268 UHandleRoute : UHandleRoute ,
269+ SkillsIndexRoute : SkillsIndexRoute ,
228270}
229271export const routeTree = rootRouteImport
230272 . _addFileChildren ( rootRouteChildren )
0 commit comments