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 TeamLoginRouteImport } from './routes/team-login'
1213import { Route as SignupRouteImport } from './routes/signup'
1314import { Route as ResetPasswordRouteImport } from './routes/reset-password'
1415import { Route as RecoverPasswordRouteImport } from './routes/recover-password'
15- import { Route as LoginRouteImport } from './routes/login'
16+ import { Route as ClientLoginRouteImport } from './routes/client- login'
1617import { Route as LayoutRouteImport } from './routes/_layout'
17- import { Route as LayoutIndexRouteImport } from './routes/_layout /index'
18+ import { Route as IndexRouteImport } from './routes/index'
1819import { Route as LayoutSettingsRouteImport } from './routes/_layout/settings'
1920import { Route as LayoutItemsRouteImport } from './routes/_layout/items'
2021import { Route as LayoutGalleriesRouteImport } from './routes/_layout/galleries'
22+ import { Route as LayoutDashboardRouteImport } from './routes/_layout/dashboard'
2123import { Route as LayoutAdminRouteImport } from './routes/_layout/admin'
2224import { Route as LayoutProjectsIndexRouteImport } from './routes/_layout/projects.index'
2325import { Route as LayoutProjectsProjectIdRouteImport } from './routes/_layout/projects.$projectId'
2426
27+ const TeamLoginRoute = TeamLoginRouteImport . update ( {
28+ id : '/team-login' ,
29+ path : '/team-login' ,
30+ getParentRoute : ( ) => rootRouteImport ,
31+ } as any )
2532const SignupRoute = SignupRouteImport . update ( {
2633 id : '/signup' ,
2734 path : '/signup' ,
@@ -37,19 +44,19 @@ const RecoverPasswordRoute = RecoverPasswordRouteImport.update({
3744 path : '/recover-password' ,
3845 getParentRoute : ( ) => rootRouteImport ,
3946} as any )
40- const LoginRoute = LoginRouteImport . update ( {
41- id : '/login' ,
42- path : '/login' ,
47+ const ClientLoginRoute = ClientLoginRouteImport . update ( {
48+ id : '/client- login' ,
49+ path : '/client- login' ,
4350 getParentRoute : ( ) => rootRouteImport ,
4451} as any )
4552const LayoutRoute = LayoutRouteImport . update ( {
4653 id : '/_layout' ,
4754 getParentRoute : ( ) => rootRouteImport ,
4855} as any )
49- const LayoutIndexRoute = LayoutIndexRouteImport . update ( {
56+ const IndexRoute = IndexRouteImport . update ( {
5057 id : '/' ,
5158 path : '/' ,
52- getParentRoute : ( ) => LayoutRoute ,
59+ getParentRoute : ( ) => rootRouteImport ,
5360} as any )
5461const LayoutSettingsRoute = LayoutSettingsRouteImport . update ( {
5562 id : '/settings' ,
@@ -66,6 +73,11 @@ const LayoutGalleriesRoute = LayoutGalleriesRouteImport.update({
6673 path : '/galleries' ,
6774 getParentRoute : ( ) => LayoutRoute ,
6875} as any )
76+ const LayoutDashboardRoute = LayoutDashboardRouteImport . update ( {
77+ id : '/dashboard' ,
78+ path : '/dashboard' ,
79+ getParentRoute : ( ) => LayoutRoute ,
80+ } as any )
6981const LayoutAdminRoute = LayoutAdminRouteImport . update ( {
7082 id : '/admin' ,
7183 path : '/admin' ,
@@ -83,99 +95,120 @@ const LayoutProjectsProjectIdRoute = LayoutProjectsProjectIdRouteImport.update({
8395} as any )
8496
8597export interface FileRoutesByFullPath {
86- '/login' : typeof LoginRoute
98+ '/' : typeof IndexRoute
99+ '/client-login' : typeof ClientLoginRoute
87100 '/recover-password' : typeof RecoverPasswordRoute
88101 '/reset-password' : typeof ResetPasswordRoute
89102 '/signup' : typeof SignupRoute
103+ '/team-login' : typeof TeamLoginRoute
90104 '/admin' : typeof LayoutAdminRoute
105+ '/dashboard' : typeof LayoutDashboardRoute
91106 '/galleries' : typeof LayoutGalleriesRoute
92107 '/items' : typeof LayoutItemsRoute
93108 '/settings' : typeof LayoutSettingsRoute
94- '/' : typeof LayoutIndexRoute
95109 '/projects/$projectId' : typeof LayoutProjectsProjectIdRoute
96110 '/projects' : typeof LayoutProjectsIndexRoute
97111}
98112export interface FileRoutesByTo {
99- '/login' : typeof LoginRoute
113+ '/' : typeof IndexRoute
114+ '/client-login' : typeof ClientLoginRoute
100115 '/recover-password' : typeof RecoverPasswordRoute
101116 '/reset-password' : typeof ResetPasswordRoute
102117 '/signup' : typeof SignupRoute
118+ '/team-login' : typeof TeamLoginRoute
103119 '/admin' : typeof LayoutAdminRoute
120+ '/dashboard' : typeof LayoutDashboardRoute
104121 '/galleries' : typeof LayoutGalleriesRoute
105122 '/items' : typeof LayoutItemsRoute
106123 '/settings' : typeof LayoutSettingsRoute
107- '/' : typeof LayoutIndexRoute
108124 '/projects/$projectId' : typeof LayoutProjectsProjectIdRoute
109125 '/projects' : typeof LayoutProjectsIndexRoute
110126}
111127export interface FileRoutesById {
112128 __root__ : typeof rootRouteImport
129+ '/' : typeof IndexRoute
113130 '/_layout' : typeof LayoutRouteWithChildren
114- '/login' : typeof LoginRoute
131+ '/client- login' : typeof ClientLoginRoute
115132 '/recover-password' : typeof RecoverPasswordRoute
116133 '/reset-password' : typeof ResetPasswordRoute
117134 '/signup' : typeof SignupRoute
135+ '/team-login' : typeof TeamLoginRoute
118136 '/_layout/admin' : typeof LayoutAdminRoute
137+ '/_layout/dashboard' : typeof LayoutDashboardRoute
119138 '/_layout/galleries' : typeof LayoutGalleriesRoute
120139 '/_layout/items' : typeof LayoutItemsRoute
121140 '/_layout/settings' : typeof LayoutSettingsRoute
122- '/_layout/' : typeof LayoutIndexRoute
123141 '/_layout/projects/$projectId' : typeof LayoutProjectsProjectIdRoute
124142 '/_layout/projects/' : typeof LayoutProjectsIndexRoute
125143}
126144export interface FileRouteTypes {
127145 fileRoutesByFullPath : FileRoutesByFullPath
128146 fullPaths :
129- | '/login'
147+ | '/'
148+ | '/client-login'
130149 | '/recover-password'
131150 | '/reset-password'
132151 | '/signup'
152+ | '/team-login'
133153 | '/admin'
154+ | '/dashboard'
134155 | '/galleries'
135156 | '/items'
136157 | '/settings'
137- | '/'
138158 | '/projects/$projectId'
139159 | '/projects'
140160 fileRoutesByTo : FileRoutesByTo
141161 to :
142- | '/login'
162+ | '/'
163+ | '/client-login'
143164 | '/recover-password'
144165 | '/reset-password'
145166 | '/signup'
167+ | '/team-login'
146168 | '/admin'
169+ | '/dashboard'
147170 | '/galleries'
148171 | '/items'
149172 | '/settings'
150- | '/'
151173 | '/projects/$projectId'
152174 | '/projects'
153175 id :
154176 | '__root__'
177+ | '/'
155178 | '/_layout'
156- | '/login'
179+ | '/client- login'
157180 | '/recover-password'
158181 | '/reset-password'
159182 | '/signup'
183+ | '/team-login'
160184 | '/_layout/admin'
185+ | '/_layout/dashboard'
161186 | '/_layout/galleries'
162187 | '/_layout/items'
163188 | '/_layout/settings'
164- | '/_layout/'
165189 | '/_layout/projects/$projectId'
166190 | '/_layout/projects/'
167191 fileRoutesById : FileRoutesById
168192}
169193export interface RootRouteChildren {
194+ IndexRoute : typeof IndexRoute
170195 LayoutRoute : typeof LayoutRouteWithChildren
171- LoginRoute : typeof LoginRoute
196+ ClientLoginRoute : typeof ClientLoginRoute
172197 RecoverPasswordRoute : typeof RecoverPasswordRoute
173198 ResetPasswordRoute : typeof ResetPasswordRoute
174199 SignupRoute : typeof SignupRoute
200+ TeamLoginRoute : typeof TeamLoginRoute
175201}
176202
177203declare module '@tanstack/react-router' {
178204 interface FileRoutesByPath {
205+ '/team-login' : {
206+ id : '/team-login'
207+ path : '/team-login'
208+ fullPath : '/team-login'
209+ preLoaderRoute : typeof TeamLoginRouteImport
210+ parentRoute : typeof rootRouteImport
211+ }
179212 '/signup' : {
180213 id : '/signup'
181214 path : '/signup'
@@ -197,11 +230,11 @@ declare module '@tanstack/react-router' {
197230 preLoaderRoute : typeof RecoverPasswordRouteImport
198231 parentRoute : typeof rootRouteImport
199232 }
200- '/login' : {
201- id : '/login'
202- path : '/login'
203- fullPath : '/login'
204- preLoaderRoute : typeof LoginRouteImport
233+ '/client- login' : {
234+ id : '/client- login'
235+ path : '/client- login'
236+ fullPath : '/client- login'
237+ preLoaderRoute : typeof ClientLoginRouteImport
205238 parentRoute : typeof rootRouteImport
206239 }
207240 '/_layout' : {
@@ -211,12 +244,12 @@ declare module '@tanstack/react-router' {
211244 preLoaderRoute : typeof LayoutRouteImport
212245 parentRoute : typeof rootRouteImport
213246 }
214- '/_layout/ ' : {
215- id : '/_layout/ '
247+ '/' : {
248+ id : '/'
216249 path : '/'
217250 fullPath : '/'
218- preLoaderRoute : typeof LayoutIndexRouteImport
219- parentRoute : typeof LayoutRoute
251+ preLoaderRoute : typeof IndexRouteImport
252+ parentRoute : typeof rootRouteImport
220253 }
221254 '/_layout/settings' : {
222255 id : '/_layout/settings'
@@ -239,6 +272,13 @@ declare module '@tanstack/react-router' {
239272 preLoaderRoute : typeof LayoutGalleriesRouteImport
240273 parentRoute : typeof LayoutRoute
241274 }
275+ '/_layout/dashboard' : {
276+ id : '/_layout/dashboard'
277+ path : '/dashboard'
278+ fullPath : '/dashboard'
279+ preLoaderRoute : typeof LayoutDashboardRouteImport
280+ parentRoute : typeof LayoutRoute
281+ }
242282 '/_layout/admin' : {
243283 id : '/_layout/admin'
244284 path : '/admin'
@@ -265,20 +305,20 @@ declare module '@tanstack/react-router' {
265305
266306interface LayoutRouteChildren {
267307 LayoutAdminRoute : typeof LayoutAdminRoute
308+ LayoutDashboardRoute : typeof LayoutDashboardRoute
268309 LayoutGalleriesRoute : typeof LayoutGalleriesRoute
269310 LayoutItemsRoute : typeof LayoutItemsRoute
270311 LayoutSettingsRoute : typeof LayoutSettingsRoute
271- LayoutIndexRoute : typeof LayoutIndexRoute
272312 LayoutProjectsProjectIdRoute : typeof LayoutProjectsProjectIdRoute
273313 LayoutProjectsIndexRoute : typeof LayoutProjectsIndexRoute
274314}
275315
276316const LayoutRouteChildren : LayoutRouteChildren = {
277317 LayoutAdminRoute : LayoutAdminRoute ,
318+ LayoutDashboardRoute : LayoutDashboardRoute ,
278319 LayoutGalleriesRoute : LayoutGalleriesRoute ,
279320 LayoutItemsRoute : LayoutItemsRoute ,
280321 LayoutSettingsRoute : LayoutSettingsRoute ,
281- LayoutIndexRoute : LayoutIndexRoute ,
282322 LayoutProjectsProjectIdRoute : LayoutProjectsProjectIdRoute ,
283323 LayoutProjectsIndexRoute : LayoutProjectsIndexRoute ,
284324}
@@ -287,11 +327,13 @@ const LayoutRouteWithChildren =
287327 LayoutRoute . _addFileChildren ( LayoutRouteChildren )
288328
289329const rootRouteChildren : RootRouteChildren = {
330+ IndexRoute : IndexRoute ,
290331 LayoutRoute : LayoutRouteWithChildren ,
291- LoginRoute : LoginRoute ,
332+ ClientLoginRoute : ClientLoginRoute ,
292333 RecoverPasswordRoute : RecoverPasswordRoute ,
293334 ResetPasswordRoute : ResetPasswordRoute ,
294335 SignupRoute : SignupRoute ,
336+ TeamLoginRoute : TeamLoginRoute ,
295337}
296338export const routeTree = rootRouteImport
297339 . _addFileChildren ( rootRouteChildren )
0 commit comments