Skip to content

Commit 99c8ee5

Browse files
devin-ai-integration[bot]bot_apk
andcommitted
fix: regenerate TanStack Router route tree with companies route
Co-Authored-By: bot_apk <apk@cognition.ai>
1 parent 51e3c6b commit 99c8ee5

1 file changed

Lines changed: 24 additions & 3 deletions

File tree

frontend/src/routeTree.gen.ts

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import { Route as LayoutRouteImport } from './routes/_layout'
1717
import { Route as LayoutIndexRouteImport } from './routes/_layout/index'
1818
import { Route as LayoutSettingsRouteImport } from './routes/_layout/settings'
1919
import { Route as LayoutItemsRouteImport } from './routes/_layout/items'
20+
import { Route as LayoutCompaniesRouteImport } from './routes/_layout/companies'
2021
import { Route as LayoutAdminRouteImport } from './routes/_layout/admin'
2122

2223
const SignupRoute = SignupRouteImport.update({
@@ -58,28 +59,35 @@ const LayoutItemsRoute = LayoutItemsRouteImport.update({
5859
path: '/items',
5960
getParentRoute: () => LayoutRoute,
6061
} as any)
62+
const LayoutCompaniesRoute = LayoutCompaniesRouteImport.update({
63+
id: '/companies',
64+
path: '/companies',
65+
getParentRoute: () => LayoutRoute,
66+
} as any)
6167
const LayoutAdminRoute = LayoutAdminRouteImport.update({
6268
id: '/admin',
6369
path: '/admin',
6470
getParentRoute: () => LayoutRoute,
6571
} as any)
6672

6773
export interface FileRoutesByFullPath {
74+
'/': typeof LayoutIndexRoute
6875
'/login': typeof LoginRoute
6976
'/recover-password': typeof RecoverPasswordRoute
7077
'/reset-password': typeof ResetPasswordRoute
7178
'/signup': typeof SignupRoute
7279
'/admin': typeof LayoutAdminRoute
80+
'/companies': typeof LayoutCompaniesRoute
7381
'/items': typeof LayoutItemsRoute
7482
'/settings': typeof LayoutSettingsRoute
75-
'/': typeof LayoutIndexRoute
7683
}
7784
export interface FileRoutesByTo {
7885
'/login': typeof LoginRoute
7986
'/recover-password': typeof RecoverPasswordRoute
8087
'/reset-password': typeof ResetPasswordRoute
8188
'/signup': typeof SignupRoute
8289
'/admin': typeof LayoutAdminRoute
90+
'/companies': typeof LayoutCompaniesRoute
8391
'/items': typeof LayoutItemsRoute
8492
'/settings': typeof LayoutSettingsRoute
8593
'/': typeof LayoutIndexRoute
@@ -92,28 +100,31 @@ export interface FileRoutesById {
92100
'/reset-password': typeof ResetPasswordRoute
93101
'/signup': typeof SignupRoute
94102
'/_layout/admin': typeof LayoutAdminRoute
103+
'/_layout/companies': typeof LayoutCompaniesRoute
95104
'/_layout/items': typeof LayoutItemsRoute
96105
'/_layout/settings': typeof LayoutSettingsRoute
97106
'/_layout/': typeof LayoutIndexRoute
98107
}
99108
export interface FileRouteTypes {
100109
fileRoutesByFullPath: FileRoutesByFullPath
101110
fullPaths:
111+
| '/'
102112
| '/login'
103113
| '/recover-password'
104114
| '/reset-password'
105115
| '/signup'
106116
| '/admin'
117+
| '/companies'
107118
| '/items'
108119
| '/settings'
109-
| '/'
110120
fileRoutesByTo: FileRoutesByTo
111121
to:
112122
| '/login'
113123
| '/recover-password'
114124
| '/reset-password'
115125
| '/signup'
116126
| '/admin'
127+
| '/companies'
117128
| '/items'
118129
| '/settings'
119130
| '/'
@@ -125,6 +136,7 @@ export interface FileRouteTypes {
125136
| '/reset-password'
126137
| '/signup'
127138
| '/_layout/admin'
139+
| '/_layout/companies'
128140
| '/_layout/items'
129141
| '/_layout/settings'
130142
| '/_layout/'
@@ -171,7 +183,7 @@ declare module '@tanstack/react-router' {
171183
'/_layout': {
172184
id: '/_layout'
173185
path: ''
174-
fullPath: ''
186+
fullPath: '/'
175187
preLoaderRoute: typeof LayoutRouteImport
176188
parentRoute: typeof rootRouteImport
177189
}
@@ -196,6 +208,13 @@ declare module '@tanstack/react-router' {
196208
preLoaderRoute: typeof LayoutItemsRouteImport
197209
parentRoute: typeof LayoutRoute
198210
}
211+
'/_layout/companies': {
212+
id: '/_layout/companies'
213+
path: '/companies'
214+
fullPath: '/companies'
215+
preLoaderRoute: typeof LayoutCompaniesRouteImport
216+
parentRoute: typeof LayoutRoute
217+
}
199218
'/_layout/admin': {
200219
id: '/_layout/admin'
201220
path: '/admin'
@@ -208,13 +227,15 @@ declare module '@tanstack/react-router' {
208227

209228
interface LayoutRouteChildren {
210229
LayoutAdminRoute: typeof LayoutAdminRoute
230+
LayoutCompaniesRoute: typeof LayoutCompaniesRoute
211231
LayoutItemsRoute: typeof LayoutItemsRoute
212232
LayoutSettingsRoute: typeof LayoutSettingsRoute
213233
LayoutIndexRoute: typeof LayoutIndexRoute
214234
}
215235

216236
const LayoutRouteChildren: LayoutRouteChildren = {
217237
LayoutAdminRoute: LayoutAdminRoute,
238+
LayoutCompaniesRoute: LayoutCompaniesRoute,
218239
LayoutItemsRoute: LayoutItemsRoute,
219240
LayoutSettingsRoute: LayoutSettingsRoute,
220241
LayoutIndexRoute: LayoutIndexRoute,

0 commit comments

Comments
 (0)