@@ -15,6 +15,7 @@ import { createFileRoute } from '@tanstack/react-router'
1515import { Route as rootRoute } from './routes/__root'
1616import { Route as IndexImport } from './routes/index'
1717import { Route as SpaceSpaceIdImport } from './routes/space/$spaceId'
18+ import { Route as SettingsDelegateImport } from './routes/settings/delegate'
1819
1920// Create Virtual Routes
2021
@@ -40,6 +41,12 @@ const SpaceSpaceIdRoute = SpaceSpaceIdImport.update({
4041 getParentRoute : ( ) => rootRoute ,
4142} as any )
4243
44+ const SettingsDelegateRoute = SettingsDelegateImport . update ( {
45+ id : '/settings/delegate' ,
46+ path : '/settings/delegate' ,
47+ getParentRoute : ( ) => rootRoute ,
48+ } as any )
49+
4350// Populate the FileRoutesByPath interface
4451
4552declare module '@tanstack/react-router' {
@@ -58,6 +65,13 @@ declare module '@tanstack/react-router' {
5865 preLoaderRoute : typeof LoginLazyImport
5966 parentRoute : typeof rootRoute
6067 }
68+ '/settings/delegate' : {
69+ id : '/settings/delegate'
70+ path : '/settings/delegate'
71+ fullPath : '/settings/delegate'
72+ preLoaderRoute : typeof SettingsDelegateImport
73+ parentRoute : typeof rootRoute
74+ }
6175 '/space/$spaceId' : {
6276 id : '/space/$spaceId'
6377 path : '/space/$spaceId'
@@ -73,40 +87,45 @@ declare module '@tanstack/react-router' {
7387export interface FileRoutesByFullPath {
7488 '/' : typeof IndexRoute
7589 '/login' : typeof LoginLazyRoute
90+ '/settings/delegate' : typeof SettingsDelegateRoute
7691 '/space/$spaceId' : typeof SpaceSpaceIdRoute
7792}
7893
7994export interface FileRoutesByTo {
8095 '/' : typeof IndexRoute
8196 '/login' : typeof LoginLazyRoute
97+ '/settings/delegate' : typeof SettingsDelegateRoute
8298 '/space/$spaceId' : typeof SpaceSpaceIdRoute
8399}
84100
85101export interface FileRoutesById {
86102 __root__ : typeof rootRoute
87103 '/' : typeof IndexRoute
88104 '/login' : typeof LoginLazyRoute
105+ '/settings/delegate' : typeof SettingsDelegateRoute
89106 '/space/$spaceId' : typeof SpaceSpaceIdRoute
90107}
91108
92109export interface FileRouteTypes {
93110 fileRoutesByFullPath : FileRoutesByFullPath
94- fullPaths : '/' | '/login' | '/space/$spaceId'
111+ fullPaths : '/' | '/login' | '/settings/delegate' | '/ space/$spaceId'
95112 fileRoutesByTo : FileRoutesByTo
96- to : '/' | '/login' | '/space/$spaceId'
97- id : '__root__' | '/' | '/login' | '/space/$spaceId'
113+ to : '/' | '/login' | '/settings/delegate' | '/ space/$spaceId'
114+ id : '__root__' | '/' | '/login' | '/settings/delegate' | '/ space/$spaceId'
98115 fileRoutesById : FileRoutesById
99116}
100117
101118export interface RootRouteChildren {
102119 IndexRoute : typeof IndexRoute
103120 LoginLazyRoute : typeof LoginLazyRoute
121+ SettingsDelegateRoute : typeof SettingsDelegateRoute
104122 SpaceSpaceIdRoute : typeof SpaceSpaceIdRoute
105123}
106124
107125const rootRouteChildren : RootRouteChildren = {
108126 IndexRoute : IndexRoute ,
109127 LoginLazyRoute : LoginLazyRoute ,
128+ SettingsDelegateRoute : SettingsDelegateRoute ,
110129 SpaceSpaceIdRoute : SpaceSpaceIdRoute ,
111130}
112131
@@ -122,6 +141,7 @@ export const routeTree = rootRoute
122141 "children": [
123142 "/",
124143 "/login",
144+ "/settings/delegate",
125145 "/space/$spaceId"
126146 ]
127147 },
@@ -131,6 +151,9 @@ export const routeTree = rootRoute
131151 "/login": {
132152 "filePath": "login.lazy.tsx"
133153 },
154+ "/settings/delegate": {
155+ "filePath": "settings/delegate.tsx"
156+ },
134157 "/space/$spaceId": {
135158 "filePath": "space/$spaceId.tsx"
136159 }
0 commit comments